jira-ruby 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/jira-ruby.gemspec +6 -6
- data/lib/jira/version.rb +1 -1
- data/spec/integration/issue_spec.rb +1 -1
- data/spec/integration/project_spec.rb +5 -5
- data/spec/integration/transition_spec.rb +1 -1
- data/spec/jira/base_factory_spec.rb +9 -9
- data/spec/jira/base_spec.rb +164 -167
- data/spec/jira/client_spec.rb +45 -45
- data/spec/jira/has_many_proxy_spec.rb +13 -11
- data/spec/jira/http_client_spec.rb +34 -34
- data/spec/jira/http_error_spec.rb +8 -7
- data/spec/jira/oauth_client_spec.rb +25 -25
- data/spec/jira/request_client_spec.rb +2 -2
- data/spec/jira/resource/attachment_spec.rb +2 -2
- data/spec/jira/resource/filter_spec.rb +7 -7
- data/spec/jira/resource/issue_spec.rb +39 -39
- data/spec/jira/resource/project_factory_spec.rb +2 -2
- data/spec/jira/resource/project_spec.rb +12 -12
- data/spec/jira/resource/worklog_spec.rb +4 -4
- data/spec/support/matchers/have_attributes.rb +2 -2
- data/spec/support/matchers/have_many.rb +3 -3
- data/spec/support/matchers/have_one.rb +1 -1
- data/spec/support/shared_examples/integration.rb +20 -22
- metadata +26 -26
@@ -4,9 +4,9 @@ describe JIRA::RequestClient do
|
|
4
4
|
|
5
5
|
it "raises an exception for non success responses" do
|
6
6
|
response = double()
|
7
|
-
response.
|
7
|
+
allow(response).to receive(:kind_of?).with(Net::HTTPSuccess).and_return(false)
|
8
8
|
rc = JIRA::RequestClient.new
|
9
|
-
rc.
|
9
|
+
expect(rc).to receive(:make_request).with(:get, '/foo', '', {}).and_return(response)
|
10
10
|
expect {
|
11
11
|
rc.request(:get, '/foo', '', {})
|
12
12
|
}.to raise_exception(JIRA::HTTPError)
|
@@ -12,8 +12,8 @@ describe JIRA::Resource::Attachment do
|
|
12
12
|
}
|
13
13
|
|
14
14
|
it "has the correct relationships" do
|
15
|
-
subject.
|
16
|
-
subject.author.foo.
|
15
|
+
expect(subject).to have_one(:author, JIRA::Resource::User)
|
16
|
+
expect(subject.author.foo).to eq('bar')
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
@@ -3,7 +3,7 @@ require 'spec_helper'
|
|
3
3
|
describe JIRA::Resource::Filter do
|
4
4
|
let(:client) do
|
5
5
|
client = double()
|
6
|
-
client.
|
6
|
+
allow(client).to receive(:Issue).and_return(JIRA::Resource::IssueFactory.new(self))
|
7
7
|
client
|
8
8
|
end
|
9
9
|
let(:collection_path) { '/rest/api/2/filter' }
|
@@ -44,12 +44,12 @@ describe JIRA::Resource::Filter do
|
|
44
44
|
end
|
45
45
|
let(:filter_response) do
|
46
46
|
response = double()
|
47
|
-
response.
|
47
|
+
allow(response).to receive(:body).and_return(filter_attrs.to_json)
|
48
48
|
response
|
49
49
|
end
|
50
50
|
let(:filter) do
|
51
|
-
client.
|
52
|
-
JIRA::Resource::Filter.
|
51
|
+
expect(client).to receive(:get).with("#{collection_path}/42").and_return(filter_response)
|
52
|
+
allow(JIRA::Resource::Filter).to receive(:collection_path).and_return(collection_path)
|
53
53
|
JIRA::Resource::Filter.find(client, 42)
|
54
54
|
end
|
55
55
|
let(:jql_issue) do
|
@@ -74,7 +74,7 @@ describe JIRA::Resource::Filter do
|
|
74
74
|
end
|
75
75
|
let(:issue_jql_response) do
|
76
76
|
response = double()
|
77
|
-
response.
|
77
|
+
allow(response).to receive(:body).and_return(jql_attrs.to_json)
|
78
78
|
response
|
79
79
|
end
|
80
80
|
|
@@ -84,8 +84,8 @@ describe JIRA::Resource::Filter do
|
|
84
84
|
|
85
85
|
it "returns issues" do
|
86
86
|
expect(filter).to be_present
|
87
|
-
client.
|
88
|
-
client.
|
87
|
+
allow(client).to receive(:options).and_return({ :rest_base_path => 'localhost' })
|
88
|
+
expect(client).to receive(:get).
|
89
89
|
with("localhost/search?jql=#{CGI.escape(filter.jql)}").
|
90
90
|
and_return(issue_jql_response)
|
91
91
|
issues = filter.issues
|
@@ -6,47 +6,47 @@ describe JIRA::Resource::Issue do
|
|
6
6
|
|
7
7
|
it "should find an issue by key or id" do
|
8
8
|
response = double()
|
9
|
-
response.
|
10
|
-
JIRA::Resource::Issue.
|
11
|
-
client.
|
9
|
+
allow(response).to receive(:body).and_return('{"key":"foo","id":"101"}')
|
10
|
+
allow(JIRA::Resource::Issue).to receive(:collection_path).and_return('/jira/rest/api/2/issue')
|
11
|
+
expect(client).to receive(:get).with('/jira/rest/api/2/issue/foo').
|
12
12
|
and_return(response)
|
13
|
-
client.
|
13
|
+
expect(client).to receive(:get).with('/jira/rest/api/2/issue/101').
|
14
14
|
and_return(response)
|
15
15
|
|
16
16
|
issue_from_id = JIRA::Resource::Issue.find(client,101)
|
17
17
|
issue_from_key = JIRA::Resource::Issue.find(client,'foo')
|
18
18
|
|
19
|
-
issue_from_id.attrs.
|
19
|
+
expect(issue_from_id.attrs).to eq(issue_from_key.attrs)
|
20
20
|
end
|
21
21
|
|
22
22
|
it "should search an issue with a jql query string" do
|
23
23
|
response = double()
|
24
24
|
issue = double()
|
25
|
-
response.
|
26
|
-
client.
|
25
|
+
allow(response).to receive(:body).and_return('{"issues": {"key":"foo"}}')
|
26
|
+
expect(client).to receive(:get).with('/jira/rest/api/2/search?jql=foo+bar').
|
27
27
|
and_return(response)
|
28
|
-
client.
|
29
|
-
issue.
|
28
|
+
expect(client).to receive(:Issue).and_return(issue)
|
29
|
+
expect(issue).to receive(:build).with(["key", "foo"]).and_return('')
|
30
30
|
|
31
|
-
JIRA::Resource::Issue.jql(client,'foo bar').
|
31
|
+
expect(JIRA::Resource::Issue.jql(client,'foo bar')).to eq([''])
|
32
32
|
end
|
33
33
|
|
34
34
|
it "should search an issue with a jql query string and fields" do
|
35
35
|
response = double()
|
36
36
|
issue = double()
|
37
|
-
response.
|
38
|
-
client.
|
37
|
+
allow(response).to receive(:body).and_return('{"issues": {"key":"foo"}}')
|
38
|
+
expect(client).to receive(:get).with('/jira/rest/api/2/search?jql=foo+bar%26fields%3Dfoo%2Cbar').
|
39
39
|
and_return(response)
|
40
|
-
client.
|
41
|
-
issue.
|
40
|
+
expect(client).to receive(:Issue).and_return(issue)
|
41
|
+
expect(issue).to receive(:build).with(["key", "foo"]).and_return('')
|
42
42
|
|
43
|
-
JIRA::Resource::Issue.jql(client,'foo bar',['foo','bar']).
|
43
|
+
expect(JIRA::Resource::Issue.jql(client,'foo bar',['foo','bar'])).to eq([''])
|
44
44
|
end
|
45
45
|
|
46
46
|
it "provides direct accessors to the fields" do
|
47
47
|
subject = JIRA::Resource::Issue.new(client, :attrs => {'fields' => {'foo' =>'bar'}})
|
48
|
-
subject.
|
49
|
-
subject.foo.
|
48
|
+
expect(subject).to respond_to(:foo)
|
49
|
+
expect(subject.foo).to eq('bar')
|
50
50
|
end
|
51
51
|
|
52
52
|
describe "relationships" do
|
@@ -70,38 +70,38 @@ describe JIRA::Resource::Issue do
|
|
70
70
|
}
|
71
71
|
|
72
72
|
it "has the correct relationships" do
|
73
|
-
subject.
|
74
|
-
subject.reporter.foo.
|
73
|
+
expect(subject).to have_one(:reporter, JIRA::Resource::User)
|
74
|
+
expect(subject.reporter.foo).to eq('bar')
|
75
75
|
|
76
|
-
subject.
|
77
|
-
subject.assignee.foo.
|
76
|
+
expect(subject).to have_one(:assignee, JIRA::Resource::User)
|
77
|
+
expect(subject.assignee.foo).to eq('bar')
|
78
78
|
|
79
|
-
subject.
|
80
|
-
subject.project.foo.
|
79
|
+
expect(subject).to have_one(:project, JIRA::Resource::Project)
|
80
|
+
expect(subject.project.foo).to eq('bar')
|
81
81
|
|
82
|
-
subject.
|
83
|
-
subject.issuetype.foo.
|
82
|
+
expect(subject).to have_one(:issuetype, JIRA::Resource::Issuetype)
|
83
|
+
expect(subject.issuetype.foo).to eq('bar')
|
84
84
|
|
85
|
-
subject.
|
86
|
-
subject.priority.foo.
|
85
|
+
expect(subject).to have_one(:priority, JIRA::Resource::Priority)
|
86
|
+
expect(subject.priority.foo).to eq('bar')
|
87
87
|
|
88
|
-
subject.
|
89
|
-
subject.status.foo.
|
88
|
+
expect(subject).to have_one(:status, JIRA::Resource::Status)
|
89
|
+
expect(subject.status.foo).to eq('bar')
|
90
90
|
|
91
|
-
subject.
|
92
|
-
subject.components.length.
|
91
|
+
expect(subject).to have_many(:components, JIRA::Resource::Component)
|
92
|
+
expect(subject.components.length).to eq(2)
|
93
93
|
|
94
|
-
subject.
|
95
|
-
subject.comments.length.
|
94
|
+
expect(subject).to have_many(:comments, JIRA::Resource::Comment)
|
95
|
+
expect(subject.comments.length).to eq(2)
|
96
96
|
|
97
|
-
subject.
|
98
|
-
subject.attachments.length.
|
97
|
+
expect(subject).to have_many(:attachments, JIRA::Resource::Attachment)
|
98
|
+
expect(subject.attachments.length).to eq(2)
|
99
99
|
|
100
|
-
subject.
|
101
|
-
subject.attachments.length.
|
100
|
+
expect(subject).to have_many(:versions, JIRA::Resource::Version)
|
101
|
+
expect(subject.attachments.length).to eq(2)
|
102
102
|
|
103
|
-
subject.
|
104
|
-
subject.worklogs.length.
|
103
|
+
expect(subject).to have_many(:worklogs, JIRA::Resource::Worklog)
|
104
|
+
expect(subject.worklogs.length).to eq(2)
|
105
105
|
end
|
106
106
|
end
|
107
107
|
end
|
@@ -6,8 +6,8 @@ describe JIRA::Resource::ProjectFactory do
|
|
6
6
|
subject { JIRA::Resource::ProjectFactory.new(client) }
|
7
7
|
|
8
8
|
it "initializes correctly" do
|
9
|
-
subject.class.
|
10
|
-
subject.client.
|
9
|
+
expect(subject.class).to eq(JIRA::Resource::ProjectFactory)
|
10
|
+
expect(subject.client).to eq(client)
|
11
11
|
end
|
12
12
|
|
13
13
|
end
|
@@ -17,14 +17,14 @@ describe JIRA::Resource::Project do
|
|
17
17
|
}
|
18
18
|
|
19
19
|
it "has the correct relationships" do
|
20
|
-
subject.
|
21
|
-
subject.lead.foo.
|
20
|
+
expect(subject).to have_one(:lead, JIRA::Resource::User)
|
21
|
+
expect(subject.lead.foo).to eq('bar')
|
22
22
|
|
23
|
-
subject.
|
24
|
-
subject.issuetypes.length.
|
23
|
+
expect(subject).to have_many(:issuetypes, JIRA::Resource::Issuetype)
|
24
|
+
expect(subject.issuetypes.length).to eq(2)
|
25
25
|
|
26
|
-
subject.
|
27
|
-
subject.versions.length.
|
26
|
+
expect(subject).to have_many(:versions, JIRA::Resource::Version)
|
27
|
+
expect(subject.versions.length).to eq(2)
|
28
28
|
end
|
29
29
|
end
|
30
30
|
|
@@ -41,11 +41,11 @@ describe JIRA::Resource::Project do
|
|
41
41
|
:body => response_body)
|
42
42
|
issue_factory = double("issue factory")
|
43
43
|
|
44
|
-
client.
|
44
|
+
expect(client).to receive(:get)
|
45
45
|
.with('/jira/rest/api/2/search?jql=project%3D%22test%22')
|
46
46
|
.and_return(response)
|
47
|
-
client.
|
48
|
-
issue_factory.
|
47
|
+
expect(client).to receive(:Issue).and_return(issue_factory)
|
48
|
+
expect(issue_factory).to receive(:build)
|
49
49
|
.with(JSON.parse(response_body)["issues"][0])
|
50
50
|
subject.issues
|
51
51
|
end
|
@@ -57,11 +57,11 @@ describe JIRA::Resource::Project do
|
|
57
57
|
:body => response_body)
|
58
58
|
issue_factory = double("issue factory")
|
59
59
|
|
60
|
-
client.
|
60
|
+
expect(client).to receive(:get)
|
61
61
|
.with('/jira/rest/api/2/search?jql=project%3D%22test%22&expand=changelog&startAt=1&maxResults=100')
|
62
62
|
.and_return(response)
|
63
|
-
client.
|
64
|
-
issue_factory.
|
63
|
+
expect(client).to receive(:Issue).and_return(issue_factory)
|
64
|
+
expect(issue_factory).to receive(:build)
|
65
65
|
.with(JSON.parse(response_body)["issues"][0])
|
66
66
|
subject.issues({expand:'changelog', startAt:1, maxResults:100})
|
67
67
|
end
|
@@ -13,11 +13,11 @@ describe JIRA::Resource::Worklog do
|
|
13
13
|
}
|
14
14
|
|
15
15
|
it "has the correct relationships" do
|
16
|
-
subject.
|
17
|
-
subject.author.foo.
|
16
|
+
expect(subject).to have_one(:author, JIRA::Resource::User)
|
17
|
+
expect(subject.author.foo).to eq('bar')
|
18
18
|
|
19
|
-
subject.
|
20
|
-
subject.update_author.foo.
|
19
|
+
expect(subject).to have_one(:update_author, JIRA::Resource::User)
|
20
|
+
expect(subject.update_author.foo).to eq('bar')
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
@@ -1,11 +1,11 @@
|
|
1
1
|
RSpec::Matchers.define :have_attributes do |expected|
|
2
2
|
match do |actual|
|
3
3
|
expected.each do |key, value|
|
4
|
-
actual.attrs[key].
|
4
|
+
expect(actual.attrs[key]).to eq(value)
|
5
5
|
end
|
6
6
|
end
|
7
7
|
|
8
|
-
|
8
|
+
failure_message do |actual|
|
9
9
|
"expected #{actual.attrs} to match #{expected}"
|
10
10
|
end
|
11
11
|
end
|
@@ -1,9 +1,9 @@
|
|
1
1
|
RSpec::Matchers.define :have_many do |collection, klass|
|
2
2
|
match do |actual|
|
3
|
-
actual.send(collection).class.
|
4
|
-
actual.send(collection).length.
|
3
|
+
expect(actual.send(collection).class).to eq(JIRA::HasManyProxy)
|
4
|
+
expect(actual.send(collection).length).to be > 0
|
5
5
|
actual.send(collection).each do |member|
|
6
|
-
member.class.
|
6
|
+
expect(member.class).to eq(klass)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -59,10 +59,10 @@ shared_examples "a resource" do
|
|
59
59
|
end
|
60
60
|
stub_request(:put, site_url + subject.url).
|
61
61
|
to_return(:status => 405, :body => "<html><body>Some HTML</body></html>")
|
62
|
-
subject.save('foo' => 'bar').
|
63
|
-
lambda do
|
64
|
-
subject.save!('foo' => 'bar').
|
65
|
-
end.
|
62
|
+
expect(subject.save('foo' => 'bar')).to be_falsey
|
63
|
+
expect(lambda do
|
64
|
+
expect(subject.save!('foo' => 'bar')).to be_falsey
|
65
|
+
end).to raise_error(JIRA::HTTPError)
|
66
66
|
end
|
67
67
|
|
68
68
|
end
|
@@ -73,10 +73,9 @@ shared_examples "a resource with a collection GET endpoint" do
|
|
73
73
|
stub_request(:get, site_url + described_class.collection_path(client)).
|
74
74
|
to_return(:status => 200, :body => get_mock_from_path(:get))
|
75
75
|
collection = build_receiver.all
|
76
|
-
collection.length.should == expected_collection_length
|
77
76
|
|
78
|
-
|
79
|
-
first.
|
77
|
+
expect(collection.length).to eq(expected_collection_length)
|
78
|
+
expect(collection.first).to have_attributes(expected_attributes)
|
80
79
|
end
|
81
80
|
|
82
81
|
end
|
@@ -87,10 +86,9 @@ shared_examples "a resource with JQL inputs and a collection GET endpoint" do
|
|
87
86
|
stub_request(:get, site_url + client.options[:rest_base_path] + '/search?jql=' + CGI.escape(jql_query_string)).
|
88
87
|
to_return(:status => 200, :body => get_mock_response('issue.json'))
|
89
88
|
collection = build_receiver.jql(jql_query_string)
|
90
|
-
collection.length.should == expected_collection_length
|
91
89
|
|
92
|
-
|
93
|
-
first.
|
90
|
+
expect(collection.length).to eq(expected_collection_length)
|
91
|
+
expect(collection.first).to have_attributes(expected_attributes)
|
94
92
|
end
|
95
93
|
|
96
94
|
end
|
@@ -104,7 +102,7 @@ shared_examples "a resource with a singular GET endpoint" do
|
|
104
102
|
to_return(:status => 200, :body => get_mock_from_path(:get, :key => key))
|
105
103
|
subject = client.send(class_basename).find(key, options)
|
106
104
|
|
107
|
-
subject.
|
105
|
+
expect(subject).to have_attributes(expected_attributes)
|
108
106
|
end
|
109
107
|
|
110
108
|
it "builds and fetches a single resource" do
|
@@ -116,15 +114,15 @@ shared_examples "a resource with a singular GET endpoint" do
|
|
116
114
|
subject = build_receiver.build(described_class.key_attribute.to_s => key)
|
117
115
|
subject.fetch
|
118
116
|
|
119
|
-
subject.
|
117
|
+
expect(subject).to have_attributes(expected_attributes)
|
120
118
|
end
|
121
119
|
|
122
120
|
it "handles a 404" do
|
123
121
|
stub_request(:get, site_url + described_class.singular_path(client, '99999', prefix)).
|
124
122
|
to_return(:status => 404, :body => '{"errorMessages":["'+class_basename+' Does Not Exist"],"errors": {}}')
|
125
|
-
lambda do
|
123
|
+
expect( lambda do
|
126
124
|
client.send(class_basename).find('99999', options)
|
127
|
-
end.
|
125
|
+
end).to raise_exception(JIRA::HTTPError)
|
128
126
|
end
|
129
127
|
end
|
130
128
|
|
@@ -136,7 +134,7 @@ shared_examples "a resource with a DELETE endpoint" do
|
|
136
134
|
to_return(:status => 204, :body => nil)
|
137
135
|
|
138
136
|
subject = build_receiver.build(described_class.key_attribute.to_s => key)
|
139
|
-
subject.delete.
|
137
|
+
expect(subject.delete).to be_truthy
|
140
138
|
end
|
141
139
|
end
|
142
140
|
|
@@ -146,9 +144,9 @@ shared_examples "a resource with a POST endpoint" do
|
|
146
144
|
stub_request(:post, site_url + described_class.collection_path(client, prefix)).
|
147
145
|
to_return(:status => 201, :body => get_mock_from_path(:post))
|
148
146
|
subject = build_receiver.build
|
149
|
-
subject.save(attributes_for_post).
|
147
|
+
expect(subject.save(attributes_for_post)).to be_truthy
|
150
148
|
expected_attributes_from_post.each do |method_name, value|
|
151
|
-
subject.send(method_name).
|
149
|
+
expect(subject.send(method_name)).to eq(value)
|
152
150
|
end
|
153
151
|
end
|
154
152
|
|
@@ -163,9 +161,9 @@ shared_examples "a resource with a PUT endpoint" do
|
|
163
161
|
to_return(:status => 200, :body => get_mock_from_path(:put, :key => key, :value_if_not_found => nil))
|
164
162
|
subject = build_receiver.build(described_class.key_attribute.to_s => key)
|
165
163
|
subject.fetch
|
166
|
-
subject.save(attributes_for_put).
|
164
|
+
expect(subject.save(attributes_for_put)).to be_truthy
|
167
165
|
expected_attributes_from_put.each do |method_name, value|
|
168
|
-
subject.send(method_name).
|
166
|
+
expect(subject.send(method_name)).to eq(value)
|
169
167
|
end
|
170
168
|
end
|
171
169
|
|
@@ -181,10 +179,10 @@ shared_examples 'a resource with a PUT endpoint that rejects invalid fields' do
|
|
181
179
|
subject = client.send(class_basename).build(described_class.key_attribute.to_s => key)
|
182
180
|
subject.fetch
|
183
181
|
|
184
|
-
subject.save('fields'=> {'invalid' => 'field'}).
|
185
|
-
lambda do
|
182
|
+
expect(subject.save('fields'=> {'invalid' => 'field'})).to be_falsey
|
183
|
+
expect(lambda do
|
186
184
|
subject.save!('fields'=> {'invalid' => 'field'})
|
187
|
-
end.
|
185
|
+
end).to raise_error(JIRA::HTTPError)
|
188
186
|
end
|
189
187
|
|
190
188
|
end
|
metadata
CHANGED
@@ -1,99 +1,99 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jira-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SUMO Heavy Industries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 4.1.4
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 4.1.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: oauth
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.4.7
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.4.7
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: activesupport
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 4.1.4
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 4.1.4
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: webmock
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 1.18.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 1.18.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 3.0.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ~>
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 3.0.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ~>
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 10.3.2
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ~>
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 10.3.2
|
97
97
|
description: API for JIRA
|
98
98
|
email:
|
99
99
|
executables: []
|