v2gpti 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a59e8df79c07240cc985943a8f86063f6fd4754a
4
- data.tar.gz: e78bda21eeb234d5b69bbf29da0c59e9fb691e4f
3
+ metadata.gz: bbca65a36ba99402c938e32fdc43448a87dec18c
4
+ data.tar.gz: 55bdabc5b52f1802edcb0f9282110af6a39c0566
5
5
  SHA512:
6
- metadata.gz: e1ffe4b42c1c2a006c79de8a2d065204b5a508ac5322f28aa01b7535278358f7a8e187a49c349add6d55f82294ae648109ee1cd10377962b2fb9888f14150717
7
- data.tar.gz: c75dfc4a68dfde1185ad9ca7bb71d8bdcd5d1dfb1d3e53a2d6e41f65c3d190c0e54569807efedfe3ae77932cecaaccac2ea1cd2b8a29466cb69966e38bd826b2
6
+ metadata.gz: 9d588cd11852a38ec40262fd5a96b053168d2b6d91aab309b65a19ac10e0b58a1de97f2d9b70885d488adf393f283eb54fbce68759ed55018183069447b927d4
7
+ data.tar.gz: 23cea4846171223146edc65dfbd8014a244f17237a5268f5a4c6a25c9f167b60a32ede918f516df3934923bc1349e880174c56af18af35db2dcf2ec1d556e3c5
@@ -34,7 +34,7 @@ module GitPivotalTrackerIntegration
34
34
  self.check_branch
35
35
  story = Util::Story.select_release @project
36
36
  $LOG.debug("Release Story:#{story.name}")
37
- sort_for_deliver story
37
+ #sort_for_deliver story
38
38
  Util::Story.pretty_print story
39
39
 
40
40
  current_branch = Util::Git.branch_name
@@ -134,7 +134,8 @@ module GitPivotalTrackerIntegration
134
134
  stories = project.stories(filter: "current_state:finished type:bug,chore,feature -id:#{build_story.id}", limit: 1000)
135
135
 
136
136
  # capture story details in a file as well as to stdout
137
- notes_file = ENV['HOME']+"/#{project.name}-#{build_story.name}"
137
+ FileUtils.mkdir_p 'release_notes'
138
+ notes_file = File.join("release_notes", "#{project.name}-#{build_story.name}.txt")
138
139
 
139
140
  File.open(notes_file, 'w') do |file|
140
141
  puts "Included Stories"
@@ -37,8 +37,10 @@ module GitPivotalTrackerIntegration
37
37
 
38
38
  $LOG.debug("#{self.class} in project:#{@project.name} pwd:#{pwd} branch:#{Util::Git.branch_name}")
39
39
  story = Util::Story.select_release(@project, filter.nil? ? 'v' : filter)
40
- place_version_release story
41
- pull_out_rejected_stories story
40
+
41
+ # commenting the 2 lines below before we find an acceptable solution for story sorting
42
+ #place_version_release story
43
+ #pull_out_rejected_stories story
42
44
  Util::Story.pretty_print story
43
45
  $LOG.debug("story:#{story.name}")
44
46
 
@@ -43,7 +43,7 @@ module GitPivotalTrackerIntegration
43
43
 
44
44
  abort "There are no available stories." if story.nil?
45
45
 
46
- if story.story_type == "feature" && story.estimate.to_i < 0
46
+ if story.story_type == "feature" && story.estimate.nil?
47
47
  story.estimate = estimate_story
48
48
  story.save
49
49
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: v2gpti
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Wolski
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-05-22 00:00:00.000000000 Z
13
+ date: 2015-06-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: highline