pivotal_reporting 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/pivotal_report.rb +3 -3
- data/pivotal_reporting.gemspec +2 -2
- metadata +7 -7
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.2
|
data/lib/pivotal_report.rb
CHANGED
@@ -94,7 +94,7 @@ class PivotalReport
|
|
94
94
|
o << set.map(&:estimate).inject(0){|s,e| s + e.to_i }.to_s.rjust('Total '.length)
|
95
95
|
o << " || "
|
96
96
|
%w{feature bug chore}.each do |type|
|
97
|
-
o << stories_with_label(cat, stories_for_type(type)).map(&:estimate).inject(0){|s,e| s + e }.to_s.rjust(type.length)
|
97
|
+
o << stories_with_label(cat, stories_for_type(type)).map(&:estimate).inject(0){|s,e| s + e.to_i }.to_s.rjust(type.length)
|
98
98
|
o << " | "
|
99
99
|
end
|
100
100
|
puts o.join
|
@@ -120,7 +120,7 @@ class PivotalReport
|
|
120
120
|
o << stories.map(&:estimate).inject(0){|s,e| s + e.to_i }.to_s.rjust('Total '.length)
|
121
121
|
o << " || "
|
122
122
|
%w{feature bug chore}.each do |type|
|
123
|
-
o << stories_for_type(type).map(&:estimate).inject(0){|s,e| s + e }.to_s.rjust(type.length)
|
123
|
+
o << stories_for_type(type).map(&:estimate).inject(0){|s,e| s + e.to_i }.to_s.rjust(type.length)
|
124
124
|
o << " | "
|
125
125
|
end
|
126
126
|
puts o.join
|
@@ -153,7 +153,7 @@ class PivotalReport
|
|
153
153
|
|
154
154
|
def stories_with_label(label, set=nil)
|
155
155
|
set ||= stories
|
156
|
-
set.select{|s| s.labels.to_s
|
156
|
+
set.select{|s| s.labels.to_s =~ /(^|,)#{label}($|,)/ }
|
157
157
|
end
|
158
158
|
|
159
159
|
def stories_for_user(user, set=nil)
|
data/pivotal_reporting.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "pivotal_reporting"
|
8
|
-
s.version = "1.1.
|
8
|
+
s.version = "1.1.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Joshua Szmajda"]
|
12
|
-
s.date = "2012-
|
12
|
+
s.date = "2012-03-26"
|
13
13
|
s.description = "Please see the README. This tool generates some reports that could be useful if you're managing a team of developers using Pivotal Tracker"
|
14
14
|
s.email = "joshsz@gmail.com"
|
15
15
|
s.executables = ["pivotal_report"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pivotal_reporting
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-03-26 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pivotal-tracker
|
16
|
-
requirement: &
|
16
|
+
requirement: &13620160 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *13620160
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: jeweler
|
27
|
-
requirement: &
|
27
|
+
requirement: &13619620 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: 1.8.3
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *13619620
|
36
36
|
description: Please see the README. This tool generates some reports that could be
|
37
37
|
useful if you're managing a team of developers using Pivotal Tracker
|
38
38
|
email: joshsz@gmail.com
|
@@ -65,7 +65,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
65
65
|
version: '0'
|
66
66
|
segments:
|
67
67
|
- 0
|
68
|
-
hash:
|
68
|
+
hash: -2465333209697338005
|
69
69
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
70
|
none: false
|
71
71
|
requirements:
|