ki_pivotal 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -68,10 +68,14 @@ module KiPivotal
68
68
  with_session do
69
69
  pretty = opts.fetch(:pretty) { true }
70
70
 
71
- project = get_project(project_id)
71
+ project_ids = project_id.to_s.split(',')
72
+ data = []
73
+ project_ids.each do |project_id|
74
+ project = get_project(project_id)
72
75
 
73
- data = project.stories.all.inject([]) { |array, story| array << story_to_hash(story).merge({'project_id' => project_id}) }
76
+ data += project.stories.all.inject([]) { |array, story| array << story_to_hash(story).merge({'project_id' => project_id}) }
74
77
 
78
+ end
75
79
  MultiJson.dump(data, :pretty => pretty)
76
80
  end
77
81
  end
@@ -1,3 +1,3 @@
1
1
  module KiPivotal
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ki_pivotal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-09-30 00:00:00.000000000 Z
13
+ date: 2012-10-02 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: gli
17
- requirement: !ruby/object:Gem::Requirement
17
+ requirement: &70164008452880 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,15 +22,10 @@ dependencies:
22
22
  version: 1.6.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
- requirements:
28
- - - ~>
29
- - !ruby/object:Gem::Version
30
- version: 1.6.0
25
+ version_requirements: *70164008452880
31
26
  - !ruby/object:Gem::Dependency
32
27
  name: multi_json
33
- requirement: !ruby/object:Gem::Requirement
28
+ requirement: &70164008452180 !ruby/object:Gem::Requirement
34
29
  none: false
35
30
  requirements:
36
31
  - - ~>
@@ -38,15 +33,10 @@ dependencies:
38
33
  version: 1.3.6
39
34
  type: :runtime
40
35
  prerelease: false
41
- version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
44
- - - ~>
45
- - !ruby/object:Gem::Version
46
- version: 1.3.6
36
+ version_requirements: *70164008452180
47
37
  - !ruby/object:Gem::Dependency
48
38
  name: multi_xml
49
- requirement: !ruby/object:Gem::Requirement
39
+ requirement: &70164008451180 !ruby/object:Gem::Requirement
50
40
  none: false
51
41
  requirements:
52
42
  - - ~>
@@ -54,15 +44,10 @@ dependencies:
54
44
  version: 0.5.1
55
45
  type: :runtime
56
46
  prerelease: false
57
- version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
- requirements:
60
- - - ~>
61
- - !ruby/object:Gem::Version
62
- version: 0.5.1
47
+ version_requirements: *70164008451180
63
48
  - !ruby/object:Gem::Dependency
64
49
  name: pivotal-tracker
65
- requirement: !ruby/object:Gem::Requirement
50
+ requirement: &70164008450580 !ruby/object:Gem::Requirement
66
51
  none: false
67
52
  requirements:
68
53
  - - ~>
@@ -70,15 +55,10 @@ dependencies:
70
55
  version: 0.5.4
71
56
  type: :runtime
72
57
  prerelease: false
73
- version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
- requirements:
76
- - - ~>
77
- - !ruby/object:Gem::Version
78
- version: 0.5.4
58
+ version_requirements: *70164008450580
79
59
  - !ruby/object:Gem::Dependency
80
60
  name: colored
81
- requirement: !ruby/object:Gem::Requirement
61
+ requirement: &70164008449320 !ruby/object:Gem::Requirement
82
62
  none: false
83
63
  requirements:
84
64
  - - ~>
@@ -86,15 +66,10 @@ dependencies:
86
66
  version: 1.2.0
87
67
  type: :runtime
88
68
  prerelease: false
89
- version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
- requirements:
92
- - - ~>
93
- - !ruby/object:Gem::Version
94
- version: 1.2.0
69
+ version_requirements: *70164008449320
95
70
  - !ruby/object:Gem::Dependency
96
71
  name: debugger
97
- requirement: !ruby/object:Gem::Requirement
72
+ requirement: &70164008448440 !ruby/object:Gem::Requirement
98
73
  none: false
99
74
  requirements:
100
75
  - - ~>
@@ -102,15 +77,10 @@ dependencies:
102
77
  version: 1.2.0
103
78
  type: :development
104
79
  prerelease: false
105
- version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
- requirements:
108
- - - ~>
109
- - !ruby/object:Gem::Version
110
- version: 1.2.0
80
+ version_requirements: *70164008448440
111
81
  - !ruby/object:Gem::Dependency
112
82
  name: rake
113
- requirement: !ruby/object:Gem::Requirement
83
+ requirement: &70164008447900 !ruby/object:Gem::Requirement
114
84
  none: false
115
85
  requirements:
116
86
  - - ~>
@@ -118,15 +88,10 @@ dependencies:
118
88
  version: 0.9.2
119
89
  type: :development
120
90
  prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- none: false
123
- requirements:
124
- - - ~>
125
- - !ruby/object:Gem::Version
126
- version: 0.9.2
91
+ version_requirements: *70164008447900
127
92
  - !ruby/object:Gem::Dependency
128
93
  name: rspec
129
- requirement: !ruby/object:Gem::Requirement
94
+ requirement: &70164008447240 !ruby/object:Gem::Requirement
130
95
  none: false
131
96
  requirements:
132
97
  - - ~>
@@ -134,15 +99,10 @@ dependencies:
134
99
  version: 2.11.0
135
100
  type: :development
136
101
  prerelease: false
137
- version_requirements: !ruby/object:Gem::Requirement
138
- none: false
139
- requirements:
140
- - - ~>
141
- - !ruby/object:Gem::Version
142
- version: 2.11.0
102
+ version_requirements: *70164008447240
143
103
  - !ruby/object:Gem::Dependency
144
104
  name: simplecov
145
- requirement: !ruby/object:Gem::Requirement
105
+ requirement: &70164008446240 !ruby/object:Gem::Requirement
146
106
  none: false
147
107
  requirements:
148
108
  - - ~>
@@ -150,15 +110,10 @@ dependencies:
150
110
  version: 0.6.4
151
111
  type: :development
152
112
  prerelease: false
153
- version_requirements: !ruby/object:Gem::Requirement
154
- none: false
155
- requirements:
156
- - - ~>
157
- - !ruby/object:Gem::Version
158
- version: 0.6.4
113
+ version_requirements: *70164008446240
159
114
  - !ruby/object:Gem::Dependency
160
115
  name: test-construct
161
- requirement: !ruby/object:Gem::Requirement
116
+ requirement: &70164008445520 !ruby/object:Gem::Requirement
162
117
  none: false
163
118
  requirements:
164
119
  - - ~>
@@ -166,15 +121,10 @@ dependencies:
166
121
  version: 1.2.0
167
122
  type: :development
168
123
  prerelease: false
169
- version_requirements: !ruby/object:Gem::Requirement
170
- none: false
171
- requirements:
172
- - - ~>
173
- - !ruby/object:Gem::Version
174
- version: 1.2.0
124
+ version_requirements: *70164008445520
175
125
  - !ruby/object:Gem::Dependency
176
126
  name: vcr
177
- requirement: !ruby/object:Gem::Requirement
127
+ requirement: &70164008444940 !ruby/object:Gem::Requirement
178
128
  none: false
179
129
  requirements:
180
130
  - - ~>
@@ -182,15 +132,10 @@ dependencies:
182
132
  version: 2.2.4
183
133
  type: :development
184
134
  prerelease: false
185
- version_requirements: !ruby/object:Gem::Requirement
186
- none: false
187
- requirements:
188
- - - ~>
189
- - !ruby/object:Gem::Version
190
- version: 2.2.4
135
+ version_requirements: *70164008444940
191
136
  - !ruby/object:Gem::Dependency
192
137
  name: webmock
193
- requirement: !ruby/object:Gem::Requirement
138
+ requirement: &70164008444320 !ruby/object:Gem::Requirement
194
139
  none: false
195
140
  requirements:
196
141
  - - ~>
@@ -198,12 +143,7 @@ dependencies:
198
143
  version: 1.8.8
199
144
  type: :development
200
145
  prerelease: false
201
- version_requirements: !ruby/object:Gem::Requirement
202
- none: false
203
- requirements:
204
- - - ~>
205
- - !ruby/object:Gem::Version
206
- version: 1.8.8
146
+ version_requirements: *70164008444320
207
147
  description: Kiseru Pivotal Tracker client
208
148
  email:
209
149
  - ben@freeagent.com
@@ -242,21 +182,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
242
182
  - - ! '>='
243
183
  - !ruby/object:Gem::Version
244
184
  version: '0'
245
- segments:
246
- - 0
247
- hash: -3896748397085585523
248
185
  required_rubygems_version: !ruby/object:Gem::Requirement
249
186
  none: false
250
187
  requirements:
251
188
  - - ! '>='
252
189
  - !ruby/object:Gem::Version
253
190
  version: '0'
254
- segments:
255
- - 0
256
- hash: -3896748397085585523
257
191
  requirements: []
258
192
  rubyforge_project:
259
- rubygems_version: 1.8.24
193
+ rubygems_version: 1.8.10
260
194
  signing_key:
261
195
  specification_version: 3
262
196
  summary: Kiseru Pivotal Tracker client