pivotal-tracker 0.5.9 → 0.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile CHANGED
@@ -8,10 +8,6 @@ group :runtime do
8
8
  gem 'crack'
9
9
  end
10
10
 
11
- platforms :jruby do
12
- gem "jruby-openssl"
13
- end
14
-
15
11
  group :test do
16
12
  gem 'rspec'
17
13
  gem 'rake'
@@ -1,53 +1,47 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- ZenTest (4.7.0)
5
- activesupport (3.2.1)
4
+ ZenTest (4.8.2)
5
+ activesupport (3.2.9)
6
6
  i18n (~> 0.6)
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
- builder (3.0.0)
10
+ builder (3.1.4)
12
11
  crack (0.3.1)
13
12
  diff-lcs (1.1.3)
14
13
  fakeweb (1.3.0)
15
14
  git (1.2.5)
16
- i18n (0.6.0)
17
- jeweler (1.8.3)
15
+ i18n (0.6.1)
16
+ jeweler (1.8.4)
18
17
  bundler (~> 1.0)
19
18
  git (>= 1.2.5)
20
19
  rake
21
20
  rdoc
22
- jruby-openssl (0.7.7)
23
- bouncy-castle-java (>= 1.5.0146.1)
24
- json (1.6.5)
25
- json (1.6.5-java)
26
- mime-types (1.17.2)
27
- multi_json (1.0.4)
21
+ json (1.7.5)
22
+ mime-types (1.19)
23
+ multi_json (1.3.7)
28
24
  nokogiri (1.5.5)
29
- nokogiri (1.5.5-java)
30
- nokogiri-happymapper (0.5.4)
31
- nokogiri (~> 1.4)
32
- rake (0.9.2.2)
25
+ nokogiri-happymapper (0.5.6)
26
+ nokogiri (~> 1.5)
27
+ rake (10.0.2)
33
28
  rdoc (3.12)
34
29
  json (~> 1.4)
35
30
  rest-client (1.6.7)
36
31
  mime-types (>= 1.16)
37
- rspec (2.8.0)
38
- rspec-core (~> 2.8.0)
39
- rspec-expectations (~> 2.8.0)
40
- rspec-mocks (~> 2.8.0)
41
- rspec-core (2.8.0)
42
- rspec-expectations (2.8.0)
43
- diff-lcs (~> 1.1.2)
44
- rspec-mocks (2.8.0)
32
+ rspec (2.12.0)
33
+ rspec-core (~> 2.12.0)
34
+ rspec-expectations (~> 2.12.0)
35
+ rspec-mocks (~> 2.12.0)
36
+ rspec-core (2.12.0)
37
+ rspec-expectations (2.12.0)
38
+ diff-lcs (~> 1.1.3)
39
+ rspec-mocks (2.12.0)
45
40
  stale_fish (1.3.2)
46
41
  activesupport
47
42
  fakeweb
48
43
 
49
44
  PLATFORMS
50
- java
51
45
  ruby
52
46
 
53
47
  DEPENDENCIES
@@ -55,7 +49,6 @@ DEPENDENCIES
55
49
  builder
56
50
  crack
57
51
  jeweler
58
- jruby-openssl
59
52
  nokogiri (>= 1.5.5)
60
53
  nokogiri-happymapper (>= 0.5.4)
61
54
  rake
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.9
1
+ 0.5.10
@@ -130,8 +130,8 @@ module PivotalTracker
130
130
  # See spec
131
131
  # xml.jira_id "#{jira_id}"
132
132
  # xml.jira_url "#{jira_url}"
133
- xml.other_id "#{other_id}"
134
- xml.integration_id "#{integration_id}"
133
+ xml.other_id "#{other_id}" if other_id
134
+ xml.integration_id "#{integration_id}" if integration_id
135
135
  xml.created_at DateTime.parse(created_at.to_s).to_s if created_at
136
136
  xml.accepted_at DateTime.parse(accepted_at.to_s).to_s if accepted_at
137
137
  xml.deadline DateTime.parse(deadline.to_s).to_s if deadline
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "pivotal-tracker"
8
- s.version = "0.5.9"
8
+ s.version = "0.5.10"
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"]
@@ -89,7 +89,6 @@ Gem::Specification.new do |s|
89
89
  s.add_runtime_dependency(%q<builder>, [">= 0"])
90
90
  s.add_runtime_dependency(%q<nokogiri>, [">= 1.5.5"])
91
91
  s.add_runtime_dependency(%q<crack>, [">= 0"])
92
- s.add_runtime_dependency(%q<jruby-openssl>, [">= 0"])
93
92
  s.add_runtime_dependency(%q<rest-client>, ["~> 1.6.0"])
94
93
  s.add_runtime_dependency(%q<happymapper>, [">= 0.3.2"])
95
94
  s.add_runtime_dependency(%q<builder>, [">= 0"])
@@ -104,7 +103,6 @@ Gem::Specification.new do |s|
104
103
  s.add_dependency(%q<builder>, [">= 0"])
105
104
  s.add_dependency(%q<nokogiri>, [">= 1.5.5"])
106
105
  s.add_dependency(%q<crack>, [">= 0"])
107
- s.add_dependency(%q<jruby-openssl>, [">= 0"])
108
106
  s.add_dependency(%q<rest-client>, ["~> 1.6.0"])
109
107
  s.add_dependency(%q<happymapper>, [">= 0.3.2"])
110
108
  s.add_dependency(%q<builder>, [">= 0"])
@@ -120,7 +118,6 @@ Gem::Specification.new do |s|
120
118
  s.add_dependency(%q<builder>, [">= 0"])
121
119
  s.add_dependency(%q<nokogiri>, [">= 1.5.5"])
122
120
  s.add_dependency(%q<crack>, [">= 0"])
123
- s.add_dependency(%q<jruby-openssl>, [">= 0"])
124
121
  s.add_dependency(%q<rest-client>, ["~> 1.6.0"])
125
122
  s.add_dependency(%q<happymapper>, [">= 0.3.2"])
126
123
  s.add_dependency(%q<builder>, [">= 0"])
@@ -193,6 +193,14 @@ describe PivotalTracker::Story do
193
193
  story_for(:integration_id => 1000)["integration_id"].should == '1000'
194
194
  end
195
195
 
196
+ it "should not include integration_id if it doesn't exist" do
197
+ story_for(:other_id => 1000).keys.should_not include("integration_id")
198
+ end
199
+
200
+ it "should not include other_id if it doesn't exist" do
201
+ story_for(:project_id => 1000).keys.should_not include("other_id")
202
+ end
203
+
196
204
  # the tracker returns 422 when this is included, even if it is not used
197
205
  # it "should include jira_id" do
198
206
  # story_for(:jira_id => 10)["jira_id"].should == "10"
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.9
4
+ version: 0.5.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -93,22 +93,6 @@ dependencies:
93
93
  - - ! '>='
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
- - !ruby/object:Gem::Dependency
97
- name: jruby-openssl
98
- requirement: !ruby/object:Gem::Requirement
99
- none: false
100
- requirements:
101
- - - ! '>='
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :runtime
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- none: false
108
- requirements:
109
- - - ! '>='
110
- - !ruby/object:Gem::Version
111
- version: '0'
112
96
  - !ruby/object:Gem::Dependency
113
97
  name: rest-client
114
98
  requirement: !ruby/object:Gem::Requirement
@@ -317,7 +301,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
317
301
  version: '0'
318
302
  segments:
319
303
  - 0
320
- hash: -1086281002138628172
304
+ hash: -2929160008321520250
321
305
  required_rubygems_version: !ruby/object:Gem::Requirement
322
306
  none: false
323
307
  requirements: