pivotal-tracker 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.3
1
+ 0.5.4
@@ -17,6 +17,7 @@ module PivotalTracker
17
17
  element :position, Integer
18
18
  element :complete, Boolean
19
19
  element :created_at, DateTime
20
+ has_one :story, Story
20
21
 
21
22
  def initialize(attributes={})
22
23
  if attributes[:owner]
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "pivotal-tracker"
8
- s.version = "0.5.3"
8
+ s.version = "0.5.4"
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"]
12
- s.date = "2012-04-06"
12
+ s.date = "2012-05-05"
13
13
  s.email = "justin.smestad@gmail.com"
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
@@ -75,7 +75,7 @@ Gem::Specification.new do |s|
75
75
  ]
76
76
  s.homepage = "http://github.com/jsmestad/pivotal-tracker"
77
77
  s.require_paths = ["lib"]
78
- s.rubygems_version = "1.8.11"
78
+ s.rubygems_version = "1.8.24"
79
79
  s.summary = "Ruby wrapper for the Pivotal Tracker API"
80
80
 
81
81
  if s.respond_to? :specification_version then
@@ -28,6 +28,13 @@
28
28
  request_type: GET
29
29
  update_method: StaleFishFixtures.update_tasks_fixture
30
30
  last_updated_at: 2010-07-29T20:15:10+01:00
31
+ - create_tasks:
32
+ file: 'tasks.xml'
33
+ update_interval: 2.weeks
34
+ check_against: http://www.pivotaltracker.com/services/v3/projects/102622/stories/4459994/tasks
35
+ request_type: POST
36
+ update_method: StaleFishFixtures.update_tasks_fixture
37
+ last_updated_at: 2010-07-29T20:15:10+01:00
31
38
  - project:
32
39
  file: 'project.xml'
33
40
  update_interval: 2.weeks
@@ -18,4 +18,11 @@ describe PivotalTracker::Task do
18
18
  @story.tasks.find(468113).should be_a(PivotalTracker::Task)
19
19
  end
20
20
  end
21
+
22
+ context ".create" do
23
+ it "should return the created task" do
24
+ @story.tasks.create(:description => 'Test task')
25
+ end
26
+ end
27
+
21
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pivotal-tracker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-04-06 00:00:00.000000000 Z
14
+ date: 2012-05-05 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rest-client
18
- requirement: &70188525575260 !ruby/object:Gem::Requirement
18
+ requirement: !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ~>
@@ -23,10 +23,15 @@ dependencies:
23
23
  version: 1.6.0
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *70188525575260
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ~>
30
+ - !ruby/object:Gem::Version
31
+ version: 1.6.0
27
32
  - !ruby/object:Gem::Dependency
28
33
  name: happymapper
29
- requirement: &70188525573620 !ruby/object:Gem::Requirement
34
+ requirement: !ruby/object:Gem::Requirement
30
35
  none: false
31
36
  requirements:
32
37
  - - ! '>='
@@ -34,10 +39,15 @@ dependencies:
34
39
  version: 0.3.2
35
40
  type: :runtime
36
41
  prerelease: false
37
- version_requirements: *70188525573620
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: 0.3.2
38
48
  - !ruby/object:Gem::Dependency
39
49
  name: builder
40
- requirement: &70188525573060 !ruby/object:Gem::Requirement
50
+ requirement: !ruby/object:Gem::Requirement
41
51
  none: false
42
52
  requirements:
43
53
  - - ! '>='
@@ -45,10 +55,15 @@ dependencies:
45
55
  version: '0'
46
56
  type: :runtime
47
57
  prerelease: false
48
- version_requirements: *70188525573060
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ! '>='
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
49
64
  - !ruby/object:Gem::Dependency
50
65
  name: nokogiri
51
- requirement: &70188525572520 !ruby/object:Gem::Requirement
66
+ requirement: !ruby/object:Gem::Requirement
52
67
  none: false
53
68
  requirements:
54
69
  - - ~>
@@ -56,10 +71,15 @@ dependencies:
56
71
  version: '1.4'
57
72
  type: :runtime
58
73
  prerelease: false
59
- version_requirements: *70188525572520
74
+ version_requirements: !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ~>
78
+ - !ruby/object:Gem::Version
79
+ version: '1.4'
60
80
  - !ruby/object:Gem::Dependency
61
81
  name: rest-client
62
- requirement: &70188525587620 !ruby/object:Gem::Requirement
82
+ requirement: !ruby/object:Gem::Requirement
63
83
  none: false
64
84
  requirements:
65
85
  - - ~>
@@ -67,10 +87,15 @@ dependencies:
67
87
  version: 1.6.0
68
88
  type: :runtime
69
89
  prerelease: false
70
- version_requirements: *70188525587620
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ none: false
92
+ requirements:
93
+ - - ~>
94
+ - !ruby/object:Gem::Version
95
+ version: 1.6.0
71
96
  - !ruby/object:Gem::Dependency
72
97
  name: happymapper
73
- requirement: &70188525585260 !ruby/object:Gem::Requirement
98
+ requirement: !ruby/object:Gem::Requirement
74
99
  none: false
75
100
  requirements:
76
101
  - - ! '>='
@@ -78,10 +103,15 @@ dependencies:
78
103
  version: 0.3.2
79
104
  type: :runtime
80
105
  prerelease: false
81
- version_requirements: *70188525585260
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ none: false
108
+ requirements:
109
+ - - ! '>='
110
+ - !ruby/object:Gem::Version
111
+ version: 0.3.2
82
112
  - !ruby/object:Gem::Dependency
83
113
  name: builder
84
- requirement: &70188525583640 !ruby/object:Gem::Requirement
114
+ requirement: !ruby/object:Gem::Requirement
85
115
  none: false
86
116
  requirements:
87
117
  - - ! '>='
@@ -89,10 +119,15 @@ dependencies:
89
119
  version: '0'
90
120
  type: :runtime
91
121
  prerelease: false
92
- version_requirements: *70188525583640
122
+ version_requirements: !ruby/object:Gem::Requirement
123
+ none: false
124
+ requirements:
125
+ - - ! '>='
126
+ - !ruby/object:Gem::Version
127
+ version: '0'
93
128
  - !ruby/object:Gem::Dependency
94
129
  name: nokogiri
95
- requirement: &70188525581580 !ruby/object:Gem::Requirement
130
+ requirement: !ruby/object:Gem::Requirement
96
131
  none: false
97
132
  requirements:
98
133
  - - ! '>='
@@ -100,10 +135,15 @@ dependencies:
100
135
  version: 1.4.3
101
136
  type: :runtime
102
137
  prerelease: false
103
- version_requirements: *70188525581580
138
+ version_requirements: !ruby/object:Gem::Requirement
139
+ none: false
140
+ requirements:
141
+ - - ! '>='
142
+ - !ruby/object:Gem::Version
143
+ version: 1.4.3
104
144
  - !ruby/object:Gem::Dependency
105
145
  name: rspec
106
- requirement: &70188525605620 !ruby/object:Gem::Requirement
146
+ requirement: !ruby/object:Gem::Requirement
107
147
  none: false
108
148
  requirements:
109
149
  - - ! '>='
@@ -111,10 +151,15 @@ dependencies:
111
151
  version: '0'
112
152
  type: :development
113
153
  prerelease: false
114
- version_requirements: *70188525605620
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ none: false
156
+ requirements:
157
+ - - ! '>='
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
115
160
  - !ruby/object:Gem::Dependency
116
161
  name: bundler
117
- requirement: &70188525603680 !ruby/object:Gem::Requirement
162
+ requirement: !ruby/object:Gem::Requirement
118
163
  none: false
119
164
  requirements:
120
165
  - - ~>
@@ -122,10 +167,15 @@ dependencies:
122
167
  version: 1.0.12
123
168
  type: :development
124
169
  prerelease: false
125
- version_requirements: *70188525603680
170
+ version_requirements: !ruby/object:Gem::Requirement
171
+ none: false
172
+ requirements:
173
+ - - ~>
174
+ - !ruby/object:Gem::Version
175
+ version: 1.0.12
126
176
  - !ruby/object:Gem::Dependency
127
177
  name: jeweler
128
- requirement: &70188525601600 !ruby/object:Gem::Requirement
178
+ requirement: !ruby/object:Gem::Requirement
129
179
  none: false
130
180
  requirements:
131
181
  - - ! '>='
@@ -133,10 +183,15 @@ dependencies:
133
183
  version: '0'
134
184
  type: :development
135
185
  prerelease: false
136
- version_requirements: *70188525601600
186
+ version_requirements: !ruby/object:Gem::Requirement
187
+ none: false
188
+ requirements:
189
+ - - ! '>='
190
+ - !ruby/object:Gem::Version
191
+ version: '0'
137
192
  - !ruby/object:Gem::Dependency
138
193
  name: stale_fish
139
- requirement: &70188525614540 !ruby/object:Gem::Requirement
194
+ requirement: !ruby/object:Gem::Requirement
140
195
  none: false
141
196
  requirements:
142
197
  - - ~>
@@ -144,7 +199,12 @@ dependencies:
144
199
  version: 1.3.0
145
200
  type: :development
146
201
  prerelease: false
147
- version_requirements: *70188525614540
202
+ version_requirements: !ruby/object:Gem::Requirement
203
+ none: false
204
+ requirements:
205
+ - - ~>
206
+ - !ruby/object:Gem::Version
207
+ version: 1.3.0
148
208
  description:
149
209
  email: justin.smestad@gmail.com
150
210
  executables: []
@@ -223,7 +283,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
223
283
  version: '0'
224
284
  segments:
225
285
  - 0
226
- hash: 1018037644320080562
286
+ hash: 2990938742871192491
227
287
  required_rubygems_version: !ruby/object:Gem::Requirement
228
288
  none: false
229
289
  requirements:
@@ -232,7 +292,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
292
  version: '0'
233
293
  requirements: []
234
294
  rubyforge_project:
235
- rubygems_version: 1.8.11
295
+ rubygems_version: 1.8.24
236
296
  signing_key:
237
297
  specification_version: 3
238
298
  summary: Ruby wrapper for the Pivotal Tracker API