pivotal-tracker 0.5.7 → 0.5.8

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -2,14 +2,9 @@ source 'http://rubygems.org'
2
2
 
3
3
  group :runtime do
4
4
  gem 'rest-client', '~> 1.6.0'
5
- gem 'nokogiri-happymapper', '>= 0.5.4', :require => 'happymapper'
5
+ gem 'happymapper', '>= 0.3.2'
6
6
  gem 'builder'
7
- gem 'nokogiri', '>= 1.5.5'
8
- gem 'crack'
9
- end
10
-
11
- platforms :jruby do
12
- gem "jruby-openssl"
7
+ gem 'nokogiri', '~> 1.4'
13
8
  end
14
9
 
15
10
  group :test do
@@ -7,28 +7,23 @@ GEM
7
7
  multi_json (~> 1.0)
8
8
  autotest (4.4.6)
9
9
  ZenTest (>= 4.4.1)
10
- bouncy-castle-java (1.5.0146.1)
11
10
  builder (3.0.0)
12
- crack (0.3.1)
13
11
  diff-lcs (1.1.3)
14
12
  fakeweb (1.3.0)
15
13
  git (1.2.5)
14
+ happymapper (0.4.0)
15
+ libxml-ruby (~> 2.0)
16
16
  i18n (0.6.0)
17
17
  jeweler (1.8.3)
18
18
  bundler (~> 1.0)
19
19
  git (>= 1.2.5)
20
20
  rake
21
21
  rdoc
22
- jruby-openssl (0.7.7)
23
- bouncy-castle-java (>= 1.5.0146.1)
24
22
  json (1.6.5)
25
- json (1.6.5-java)
23
+ libxml-ruby (2.2.2)
26
24
  mime-types (1.17.2)
27
25
  multi_json (1.0.4)
28
- nokogiri (1.5.5)
29
- nokogiri (1.5.5-java)
30
- nokogiri-happymapper (0.5.4)
31
- nokogiri (~> 1.4)
26
+ nokogiri (1.5.0)
32
27
  rake (0.9.2.2)
33
28
  rdoc (3.12)
34
29
  json (~> 1.4)
@@ -47,17 +42,14 @@ GEM
47
42
  fakeweb
48
43
 
49
44
  PLATFORMS
50
- java
51
45
  ruby
52
46
 
53
47
  DEPENDENCIES
54
48
  autotest
55
49
  builder
56
- crack
50
+ happymapper (>= 0.3.2)
57
51
  jeweler
58
- jruby-openssl
59
- nokogiri (>= 1.5.5)
60
- nokogiri-happymapper (>= 0.5.4)
52
+ nokogiri (~> 1.4)
61
53
  rake
62
54
  rest-client (~> 1.6.0)
63
55
  rspec
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.7
1
+ 0.5.8
@@ -43,7 +43,7 @@ module PivotalTracker
43
43
  element :integration_id, Integer
44
44
  element :deadline, DateTime # Only available for Release stories
45
45
 
46
- has_many :attachments, Attachment, :tag => 'attachments', :xpath => '//attachments'
46
+ has_many :attachments, Attachment, :tag => 'attachments'
47
47
 
48
48
  def initialize(attributes={})
49
49
  if attributes[:owner]
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "pivotal-tracker"
8
- s.version = "0.5.7"
8
+ s.version = "0.5.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Justin Smestad", "Josh Nichols", "Terence Lee"]
@@ -85,11 +85,9 @@ Gem::Specification.new do |s|
85
85
 
86
86
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
87
87
  s.add_runtime_dependency(%q<rest-client>, ["~> 1.6.0"])
88
- s.add_runtime_dependency(%q<nokogiri-happymapper>, [">= 0.5.4"])
88
+ s.add_runtime_dependency(%q<happymapper>, [">= 0.3.2"])
89
89
  s.add_runtime_dependency(%q<builder>, [">= 0"])
90
- s.add_runtime_dependency(%q<nokogiri>, [">= 1.5.5"])
91
- s.add_runtime_dependency(%q<crack>, [">= 0"])
92
- s.add_runtime_dependency(%q<jruby-openssl>, [">= 0"])
90
+ s.add_runtime_dependency(%q<nokogiri>, ["~> 1.4"])
93
91
  s.add_runtime_dependency(%q<rest-client>, ["~> 1.6.0"])
94
92
  s.add_runtime_dependency(%q<happymapper>, [">= 0.3.2"])
95
93
  s.add_runtime_dependency(%q<builder>, [">= 0"])
@@ -100,11 +98,9 @@ Gem::Specification.new do |s|
100
98
  s.add_development_dependency(%q<stale_fish>, ["~> 1.3.0"])
101
99
  else
102
100
  s.add_dependency(%q<rest-client>, ["~> 1.6.0"])
103
- s.add_dependency(%q<nokogiri-happymapper>, [">= 0.5.4"])
101
+ s.add_dependency(%q<happymapper>, [">= 0.3.2"])
104
102
  s.add_dependency(%q<builder>, [">= 0"])
105
- s.add_dependency(%q<nokogiri>, [">= 1.5.5"])
106
- s.add_dependency(%q<crack>, [">= 0"])
107
- s.add_dependency(%q<jruby-openssl>, [">= 0"])
103
+ s.add_dependency(%q<nokogiri>, ["~> 1.4"])
108
104
  s.add_dependency(%q<rest-client>, ["~> 1.6.0"])
109
105
  s.add_dependency(%q<happymapper>, [">= 0.3.2"])
110
106
  s.add_dependency(%q<builder>, [">= 0"])
@@ -116,11 +112,9 @@ Gem::Specification.new do |s|
116
112
  end
117
113
  else
118
114
  s.add_dependency(%q<rest-client>, ["~> 1.6.0"])
119
- s.add_dependency(%q<nokogiri-happymapper>, [">= 0.5.4"])
115
+ s.add_dependency(%q<happymapper>, [">= 0.3.2"])
120
116
  s.add_dependency(%q<builder>, [">= 0"])
121
- s.add_dependency(%q<nokogiri>, [">= 1.5.5"])
122
- s.add_dependency(%q<crack>, [">= 0"])
123
- s.add_dependency(%q<jruby-openssl>, [">= 0"])
117
+ s.add_dependency(%q<nokogiri>, ["~> 1.4"])
124
118
  s.add_dependency(%q<rest-client>, ["~> 1.6.0"])
125
119
  s.add_dependency(%q<happymapper>, [">= 0.3.2"])
126
120
  s.add_dependency(%q<builder>, [">= 0"])
@@ -29,7 +29,7 @@ describe PivotalTracker::Note do
29
29
 
30
30
  def note_for(attrs)
31
31
  note = @story.notes.new(attrs)
32
- @note = Crack::XML.parse(note.send(:to_xml))['note']
32
+ @note = Hash.from_xml(note.send(:to_xml))['note']
33
33
  end
34
34
 
35
35
  describe "attributes that are not sent to the tracker" do
@@ -136,7 +136,7 @@ describe PivotalTracker::Story do
136
136
 
137
137
  def story_for(attrs)
138
138
  story = @project.stories.new(attrs)
139
- @story = Crack::XML.parse(story.send(:to_xml))['story']
139
+ @story = Hash.from_xml(story.send(:to_xml))['story']
140
140
  end
141
141
 
142
142
  describe "attributes that are not sent to the tracker" do
metadata CHANGED
@@ -1,255 +1,211 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pivotal-tracker
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.5.7
4
+ version: 0.5.8
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Justin Smestad
9
9
  - Josh Nichols
10
10
  - Terence Lee
11
- autorequire:
11
+ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
  date: 2012-10-28 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rest-client
18
- version_requirements: !ruby/object:Gem::Requirement
18
+ requirement: !ruby/object:Gem::Requirement
19
+ none: false
19
20
  requirements:
20
21
  - - ~>
21
22
  - !ruby/object:Gem::Version
22
23
  version: 1.6.0
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
23
27
  none: false
24
- requirement: !ruby/object:Gem::Requirement
25
28
  requirements:
26
29
  - - ~>
27
30
  - !ruby/object:Gem::Version
28
31
  version: 1.6.0
29
- none: false
30
- prerelease: false
31
- type: :runtime
32
32
  - !ruby/object:Gem::Dependency
33
- name: nokogiri-happymapper
34
- version_requirements: !ruby/object:Gem::Requirement
35
- requirements:
36
- - - ! '>='
37
- - !ruby/object:Gem::Version
38
- version: 0.5.4
39
- none: false
33
+ name: happymapper
40
34
  requirement: !ruby/object:Gem::Requirement
35
+ none: false
41
36
  requirements:
42
37
  - - ! '>='
43
38
  - !ruby/object:Gem::Version
44
- version: 0.5.4
45
- none: false
46
- prerelease: false
39
+ version: 0.3.2
47
40
  type: :runtime
48
- - !ruby/object:Gem::Dependency
49
- name: builder
41
+ prerelease: false
50
42
  version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
54
- version: !binary |-
55
- MA==
56
43
  none: false
57
- requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
45
  - - ! '>='
60
46
  - !ruby/object:Gem::Version
61
- version: !binary |-
62
- MA==
63
- none: false
64
- prerelease: false
65
- type: :runtime
47
+ version: 0.3.2
66
48
  - !ruby/object:Gem::Dependency
67
- name: nokogiri
68
- version_requirements: !ruby/object:Gem::Requirement
69
- requirements:
70
- - - ! '>='
71
- - !ruby/object:Gem::Version
72
- version: 1.5.5
73
- none: false
49
+ name: builder
74
50
  requirement: !ruby/object:Gem::Requirement
51
+ none: false
75
52
  requirements:
76
53
  - - ! '>='
77
54
  - !ruby/object:Gem::Version
78
- version: 1.5.5
79
- none: false
80
- prerelease: false
55
+ version: '0'
81
56
  type: :runtime
82
- - !ruby/object:Gem::Dependency
83
- name: crack
57
+ prerelease: false
84
58
  version_requirements: !ruby/object:Gem::Requirement
59
+ none: false
85
60
  requirements:
86
61
  - - ! '>='
87
62
  - !ruby/object:Gem::Version
88
- version: !binary |-
89
- MA==
90
- none: false
63
+ version: '0'
64
+ - !ruby/object:Gem::Dependency
65
+ name: nokogiri
91
66
  requirement: !ruby/object:Gem::Requirement
67
+ none: false
92
68
  requirements:
93
- - - ! '>='
69
+ - - ~>
94
70
  - !ruby/object:Gem::Version
95
- version: !binary |-
96
- MA==
97
- none: false
98
- prerelease: false
71
+ version: '1.4'
99
72
  type: :runtime
100
- - !ruby/object:Gem::Dependency
101
- name: jruby-openssl
73
+ prerelease: false
102
74
  version_requirements: !ruby/object:Gem::Requirement
103
- requirements:
104
- - - ! '>='
105
- - !ruby/object:Gem::Version
106
- version: !binary |-
107
- MA==
108
75
  none: false
109
- requirement: !ruby/object:Gem::Requirement
110
76
  requirements:
111
- - - ! '>='
77
+ - - ~>
112
78
  - !ruby/object:Gem::Version
113
- version: !binary |-
114
- MA==
115
- none: false
116
- prerelease: false
117
- type: :runtime
79
+ version: '1.4'
118
80
  - !ruby/object:Gem::Dependency
119
81
  name: rest-client
120
- version_requirements: !ruby/object:Gem::Requirement
82
+ requirement: !ruby/object:Gem::Requirement
83
+ none: false
121
84
  requirements:
122
85
  - - ~>
123
86
  - !ruby/object:Gem::Version
124
87
  version: 1.6.0
88
+ type: :runtime
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
125
91
  none: false
126
- requirement: !ruby/object:Gem::Requirement
127
92
  requirements:
128
93
  - - ~>
129
94
  - !ruby/object:Gem::Version
130
95
  version: 1.6.0
131
- none: false
132
- prerelease: false
133
- type: :runtime
134
96
  - !ruby/object:Gem::Dependency
135
97
  name: happymapper
136
- version_requirements: !ruby/object:Gem::Requirement
98
+ requirement: !ruby/object:Gem::Requirement
99
+ none: false
137
100
  requirements:
138
101
  - - ! '>='
139
102
  - !ruby/object:Gem::Version
140
103
  version: 0.3.2
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
141
107
  none: false
142
- requirement: !ruby/object:Gem::Requirement
143
108
  requirements:
144
109
  - - ! '>='
145
110
  - !ruby/object:Gem::Version
146
111
  version: 0.3.2
147
- none: false
148
- prerelease: false
149
- type: :runtime
150
112
  - !ruby/object:Gem::Dependency
151
113
  name: builder
152
- version_requirements: !ruby/object:Gem::Requirement
114
+ requirement: !ruby/object:Gem::Requirement
115
+ none: false
153
116
  requirements:
154
117
  - - ! '>='
155
118
  - !ruby/object:Gem::Version
156
- version: !binary |-
157
- MA==
119
+ version: '0'
120
+ type: :runtime
121
+ prerelease: false
122
+ version_requirements: !ruby/object:Gem::Requirement
158
123
  none: false
159
- requirement: !ruby/object:Gem::Requirement
160
124
  requirements:
161
125
  - - ! '>='
162
126
  - !ruby/object:Gem::Version
163
- version: !binary |-
164
- MA==
165
- none: false
166
- prerelease: false
167
- type: :runtime
127
+ version: '0'
168
128
  - !ruby/object:Gem::Dependency
169
129
  name: nokogiri
170
- version_requirements: !ruby/object:Gem::Requirement
130
+ requirement: !ruby/object:Gem::Requirement
131
+ none: false
171
132
  requirements:
172
133
  - - ! '>='
173
134
  - !ruby/object:Gem::Version
174
135
  version: 1.4.3
136
+ type: :runtime
137
+ prerelease: false
138
+ version_requirements: !ruby/object:Gem::Requirement
175
139
  none: false
176
- requirement: !ruby/object:Gem::Requirement
177
140
  requirements:
178
141
  - - ! '>='
179
142
  - !ruby/object:Gem::Version
180
143
  version: 1.4.3
181
- none: false
182
- prerelease: false
183
- type: :runtime
184
144
  - !ruby/object:Gem::Dependency
185
145
  name: rspec
186
- version_requirements: !ruby/object:Gem::Requirement
146
+ requirement: !ruby/object:Gem::Requirement
147
+ none: false
187
148
  requirements:
188
149
  - - ! '>='
189
150
  - !ruby/object:Gem::Version
190
- version: !binary |-
191
- MA==
151
+ version: '0'
152
+ type: :development
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
192
155
  none: false
193
- requirement: !ruby/object:Gem::Requirement
194
156
  requirements:
195
157
  - - ! '>='
196
158
  - !ruby/object:Gem::Version
197
- version: !binary |-
198
- MA==
199
- none: false
200
- prerelease: false
201
- type: :development
159
+ version: '0'
202
160
  - !ruby/object:Gem::Dependency
203
161
  name: bundler
204
- version_requirements: !ruby/object:Gem::Requirement
162
+ requirement: !ruby/object:Gem::Requirement
163
+ none: false
205
164
  requirements:
206
165
  - - ~>
207
166
  - !ruby/object:Gem::Version
208
167
  version: 1.0.12
168
+ type: :development
169
+ prerelease: false
170
+ version_requirements: !ruby/object:Gem::Requirement
209
171
  none: false
210
- requirement: !ruby/object:Gem::Requirement
211
172
  requirements:
212
173
  - - ~>
213
174
  - !ruby/object:Gem::Version
214
175
  version: 1.0.12
215
- none: false
216
- prerelease: false
217
- type: :development
218
176
  - !ruby/object:Gem::Dependency
219
177
  name: jeweler
220
- version_requirements: !ruby/object:Gem::Requirement
178
+ requirement: !ruby/object:Gem::Requirement
179
+ none: false
221
180
  requirements:
222
181
  - - ! '>='
223
182
  - !ruby/object:Gem::Version
224
- version: !binary |-
225
- MA==
183
+ version: '0'
184
+ type: :development
185
+ prerelease: false
186
+ version_requirements: !ruby/object:Gem::Requirement
226
187
  none: false
227
- requirement: !ruby/object:Gem::Requirement
228
188
  requirements:
229
189
  - - ! '>='
230
190
  - !ruby/object:Gem::Version
231
- version: !binary |-
232
- MA==
233
- none: false
234
- prerelease: false
235
- type: :development
191
+ version: '0'
236
192
  - !ruby/object:Gem::Dependency
237
193
  name: stale_fish
238
- version_requirements: !ruby/object:Gem::Requirement
194
+ requirement: !ruby/object:Gem::Requirement
195
+ none: false
239
196
  requirements:
240
197
  - - ~>
241
198
  - !ruby/object:Gem::Version
242
199
  version: 1.3.0
200
+ type: :development
201
+ prerelease: false
202
+ version_requirements: !ruby/object:Gem::Requirement
243
203
  none: false
244
- requirement: !ruby/object:Gem::Requirement
245
204
  requirements:
246
205
  - - ~>
247
206
  - !ruby/object:Gem::Version
248
207
  version: 1.3.0
249
- none: false
250
- prerelease: false
251
- type: :development
252
- description:
208
+ description:
253
209
  email: justin.smestad@gmail.com
254
210
  executables: []
255
211
  extensions: []
@@ -317,31 +273,29 @@ files:
317
273
  - spec/support/stale_fish_fixtures.rb
318
274
  homepage: http://github.com/jsmestad/pivotal-tracker
319
275
  licenses: []
320
- post_install_message:
276
+ post_install_message:
321
277
  rdoc_options: []
322
278
  require_paths:
323
279
  - lib
324
280
  required_ruby_version: !ruby/object:Gem::Requirement
281
+ none: false
325
282
  requirements:
326
283
  - - ! '>='
327
284
  - !ruby/object:Gem::Version
285
+ version: '0'
328
286
  segments:
329
287
  - 0
330
- hash: 2
331
- version: !binary |-
332
- MA==
333
- none: false
288
+ hash: -3752302943956095847
334
289
  required_rubygems_version: !ruby/object:Gem::Requirement
290
+ none: false
335
291
  requirements:
336
292
  - - ! '>='
337
293
  - !ruby/object:Gem::Version
338
- version: !binary |-
339
- MA==
340
- none: false
294
+ version: '0'
341
295
  requirements: []
342
- rubyforge_project:
296
+ rubyforge_project:
343
297
  rubygems_version: 1.8.24
344
- signing_key:
298
+ signing_key:
345
299
  specification_version: 3
346
300
  summary: Ruby wrapper for the Pivotal Tracker API
347
301
  test_files: []