-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
35 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ project/plugins/lib_managed/ | |
project/plugins/src_managed/ | ||
project/plugins/target/ | ||
target/ | ||
*.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.5") | ||
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "1.1") | ||
addSbtPlugin("com.akolov" % "sbt-pantarhei" % "0.0.3") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import com.akolov.pantarhei.Github | ||
import org.scalatest.WordSpecLike | ||
|
||
class GithubIT extends WordSpecLike { | ||
|
||
"The class Github" should { | ||
|
||
|
||
"contain a parseUrl method" should { | ||
|
||
"query pull requests" in { | ||
val gh = Github("[email protected]:kolov/sbt-pantarhei.git") | ||
val reqs = gh.getPullRequests(2) | ||
reqs.foreach(println) | ||
} | ||
|
||
"query commits" in { | ||
val gh = Github("[email protected]:kolov/sbt-pantarhei.git") | ||
val reqs = gh.getCommits(1) | ||
reqs.foreach(println) | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters