v2gpti 1.1.9 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/bin/git-deliver +1 -1
  3. data/bin/git-finish +1 -1
  4. data/bin/git-newbug +1 -1
  5. data/bin/git-newfeature +1 -1
  6. data/bin/git-qa +1 -1
  7. data/bin/git-release +1 -1
  8. data/bin/git-report +1 -1
  9. data/bin/git-start +1 -1
  10. data/bin/git-uat +1 -1
  11. data/config_template +16 -0
  12. data/lib/git-pivotal-tracker-integration/command/base.rb +235 -322
  13. data/lib/git-pivotal-tracker-integration/command/configuration.rb +183 -109
  14. data/lib/git-pivotal-tracker-integration/command/deliver.rb +145 -200
  15. data/lib/git-pivotal-tracker-integration/command/finish.rb +70 -63
  16. data/lib/git-pivotal-tracker-integration/command/newbug.rb +36 -39
  17. data/lib/git-pivotal-tracker-integration/command/newfeature.rb +43 -42
  18. data/lib/git-pivotal-tracker-integration/command/release.rb +171 -203
  19. data/lib/git-pivotal-tracker-integration/command/report.rb +33 -36
  20. data/lib/git-pivotal-tracker-integration/command/start.rb +74 -78
  21. data/lib/git-pivotal-tracker-integration/util/git.rb +202 -204
  22. data/lib/git-pivotal-tracker-integration/util/shell.rb +19 -16
  23. data/lib/git-pivotal-tracker-integration/util/story.rb +155 -177
  24. data/lib/git-pivotal-tracker-integration/version-update/gradle.rb +44 -40
  25. data/lib/git-pivotal-tracker-integration.rb +44 -0
  26. data/spec/git-pivotal-tracker-integration/command/configuration_spec.rb +1 -2
  27. data/spec/git-pivotal-tracker-integration/command/finish_spec.rb +1 -1
  28. data/spec/git-pivotal-tracker-integration/command/release_spec.rb +1 -1
  29. data/spec/git-pivotal-tracker-integration/command/start_spec.rb +1 -1
  30. data/spec/git-pivotal-tracker-integration/util/story_spec.rb +21 -32
  31. data/tracker_api/lib/tracker_api/client.rb +241 -0
  32. data/tracker_api/lib/tracker_api/endpoints/activity.rb +38 -0
  33. data/tracker_api/lib/tracker_api/endpoints/comments.rb +27 -0
  34. data/tracker_api/lib/tracker_api/endpoints/epic.rb +17 -0
  35. data/tracker_api/lib/tracker_api/endpoints/epics.rb +20 -0
  36. data/tracker_api/lib/tracker_api/endpoints/file_attachment.rb +18 -0
  37. data/tracker_api/lib/tracker_api/endpoints/iterations.rb +20 -0
  38. data/tracker_api/lib/tracker_api/endpoints/me.rb +17 -0
  39. data/tracker_api/lib/tracker_api/endpoints/memberships.rb +20 -0
  40. data/tracker_api/lib/tracker_api/endpoints/notifications.rb +20 -0
  41. data/tracker_api/lib/tracker_api/endpoints/project.rb +17 -0
  42. data/tracker_api/lib/tracker_api/endpoints/projects.rb +18 -0
  43. data/tracker_api/lib/tracker_api/endpoints/stories.rb +20 -0
  44. data/tracker_api/lib/tracker_api/endpoints/story.rb +37 -0
  45. data/tracker_api/lib/tracker_api/endpoints/tasks.rb +20 -0
  46. data/tracker_api/lib/tracker_api/error.rb +18 -0
  47. data/tracker_api/lib/tracker_api/logger.rb +31 -0
  48. data/tracker_api/lib/tracker_api/resources/account.rb +18 -0
  49. data/tracker_api/lib/tracker_api/resources/activity.rb +24 -0
  50. data/tracker_api/lib/tracker_api/resources/base.rb +71 -0
  51. data/tracker_api/lib/tracker_api/resources/change.rb +15 -0
  52. data/tracker_api/lib/tracker_api/resources/comment.rb +20 -0
  53. data/tracker_api/lib/tracker_api/resources/epic.rb +17 -0
  54. data/tracker_api/lib/tracker_api/resources/file_attachment.rb +23 -0
  55. data/tracker_api/lib/tracker_api/resources/iteration.rb +24 -0
  56. data/tracker_api/lib/tracker_api/resources/label.rb +14 -0
  57. data/tracker_api/lib/tracker_api/resources/me.rb +21 -0
  58. data/tracker_api/lib/tracker_api/resources/membership_summary.rb +15 -0
  59. data/tracker_api/lib/tracker_api/resources/notification.rb +26 -0
  60. data/tracker_api/lib/tracker_api/resources/person.rb +14 -0
  61. data/tracker_api/lib/tracker_api/resources/primary_resource.rb +13 -0
  62. data/tracker_api/lib/tracker_api/resources/project.rb +131 -0
  63. data/tracker_api/lib/tracker_api/resources/project_membership.rb +16 -0
  64. data/tracker_api/lib/tracker_api/resources/story.rb +102 -0
  65. data/tracker_api/lib/tracker_api/resources/task.rb +16 -0
  66. data/tracker_api/lib/tracker_api/resources/time_zone.rb +13 -0
  67. data/tracker_api/lib/tracker_api/version.rb +3 -0
  68. data/tracker_api/lib/tracker_api.rb +60 -0
  69. metadata +202 -53
  70. data/lib/git-pivotal-tracker-integration/command/command.rb +0 -20
  71. data/lib/git-pivotal-tracker-integration/util/util.rb +0 -20
  72. data/lib/git-pivotal-tracker-integration/version-update/version_update.rb +0 -20
  73. data/lib/git_pivotal_tracker_integration.rb +0 -18
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0873a14574267b847efed75272f643f5f483bb5d
4
- data.tar.gz: 939c5dc209d5e16656e3084d145be0aa947e6ffa
3
+ metadata.gz: 1e2d26bb5af50e56bbd6d2a7ffa94b7a9c3986dd
4
+ data.tar.gz: 2352b63b312eff8bf9da962fea13ad56d2504592
5
5
  SHA512:
6
- metadata.gz: 244bcccd687fc7b6a882c961b49aac8b22ca80c0a87653bb9b3948910489d3301e614b12768087be96d5db60ce52d0d4a22965d3eed2e32b931f01c6135d76d9
7
- data.tar.gz: 899624f5afeb138bd103f276b061e9d88982ea107fdda0718c86bbb60dc1b6dc242d6834dc35781f91f1cfc96a74b89bdb156f0bc3e9185ba282e520489b3fc6
6
+ metadata.gz: bb827adb1a2d67f4639514a9dd3a1b4120e0754ea3aa37d2f89399928775c075ea5bcd6ec9450f91648b7fa47c3786e271c1ad7515549c17bc78eeb4348b0780
7
+ data.tar.gz: 7d30b5266efeab98efb40fd5ecab2dc1e694d418aff8bdfd433a68ab3b95b43f9bef81cae4bcbd276f54aa9d1ca5524e97a84b6c2d626d36e3281d6cf13b45a3
data/bin/git-deliver CHANGED
@@ -4,6 +4,6 @@
4
4
  # All Rights Reserved
5
5
 
6
6
 
7
- require 'git-pivotal-tracker-integration/command/deliver'
7
+ require 'git-pivotal-tracker-integration'
8
8
 
9
9
  GitPivotalTrackerIntegration::Command::Deliver.new().run ARGV[0]
data/bin/git-finish CHANGED
@@ -14,6 +14,6 @@
14
14
  # See the License for the specific language governing permissions and
15
15
  # limitations under the License.
16
16
 
17
- require 'git-pivotal-tracker-integration/command/finish'
17
+ require 'git-pivotal-tracker-integration'
18
18
 
19
19
  GitPivotalTrackerIntegration::Command::Finish.new().run ARGV[0]
data/bin/git-newbug CHANGED
@@ -14,6 +14,6 @@
14
14
  # See the License for the specific language governing permissions and
15
15
  # limitations under the License.
16
16
 
17
- require 'git-pivotal-tracker-integration/command/newbug'
17
+ require 'git-pivotal-tracker-integration'
18
18
 
19
19
  GitPivotalTrackerIntegration::Command::Newbug.new().run ARGV
data/bin/git-newfeature CHANGED
@@ -14,6 +14,6 @@
14
14
  # See the License for the specific language governing permissions and
15
15
  # limitations under the License.
16
16
 
17
- require 'git-pivotal-tracker-integration/command/newfeature'
17
+ require 'git-pivotal-tracker-integration'
18
18
 
19
19
  GitPivotalTrackerIntegration::Command::Newfeature.new().run ARGV
data/bin/git-qa CHANGED
@@ -4,6 +4,6 @@
4
4
  # All Rights Reserved
5
5
 
6
6
 
7
- require 'git-pivotal-tracker-integration/command/deliver'
7
+ require 'git-pivotal-tracker-integration'
8
8
 
9
9
  GitPivotalTrackerIntegration::Command::Deliver.new().run ARGV[0]
data/bin/git-release CHANGED
@@ -14,6 +14,6 @@
14
14
  # See the License for the specific language governing permissions and
15
15
  # limitations under the License.
16
16
 
17
- require 'git-pivotal-tracker-integration/command/release'
17
+ require 'git-pivotal-tracker-integration'
18
18
 
19
19
  GitPivotalTrackerIntegration::Command::Release.new().run ARGV[0]
data/bin/git-report CHANGED
@@ -14,6 +14,6 @@
14
14
  # See the License for the specific language governing permissions and
15
15
  # limitations under the License.
16
16
 
17
- require 'git-pivotal-tracker-integration/command/report'
17
+ require 'git-pivotal-tracker-integration'
18
18
 
19
19
  GitPivotalTrackerIntegration::Command::Report.new().run ARGV
data/bin/git-start CHANGED
@@ -14,6 +14,6 @@
14
14
  # See the License for the specific language governing permissions and
15
15
  # limitations under the License.
16
16
 
17
- require 'git-pivotal-tracker-integration/command/start'
17
+ require 'git-pivotal-tracker-integration'
18
18
 
19
19
  GitPivotalTrackerIntegration::Command::Start.new().run ARGV
data/bin/git-uat CHANGED
@@ -14,6 +14,6 @@
14
14
  # See the License for the specific language governing permissions and
15
15
  # limitations under the License.
16
16
 
17
- require 'git-pivotal-tracker-integration/command/release'
17
+ require 'git-pivotal-tracker-integration'
18
18
 
19
19
  GitPivotalTrackerIntegration::Command::Release.new().run ARGV[0]
data/config_template ADDED
@@ -0,0 +1,16 @@
1
+ [pivotal-tracker]
2
+ project-id =
3
+
4
+ [project]
5
+ project-name =
6
+ project-manager =
7
+ project-manager-email =
8
+
9
+ [toggl]
10
+ project-id =
11
+
12
+ [platform]
13
+ platform-name =
14
+
15
+ [spec]
16
+ spec-path = v2gpti.gemspec