jira-ruby 0.1.10 → 0.1.11

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.
@@ -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.stub(:kind_of?).with(Net::HTTPSuccess).and_return(false)
7
+ allow(response).to receive(:kind_of?).with(Net::HTTPSuccess).and_return(false)
8
8
  rc = JIRA::RequestClient.new
9
- rc.should_receive(:make_request).with(:get, '/foo', '', {}).and_return(response)
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.should have_one(:author, JIRA::Resource::User)
16
- subject.author.foo.should == 'bar'
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.stub(:Issue) { JIRA::Resource::IssueFactory.new(self) }
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.stub(:body).and_return(filter_attrs.to_json)
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.should_receive(:get).with("#{collection_path}/42").and_return(filter_response)
52
- JIRA::Resource::Filter.stub(:collection_path).and_return(collection_path)
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.stub(:body).and_return(jql_attrs.to_json)
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.stub(:options) { { :rest_base_path => 'localhost' } }
88
- client.should_receive(:get).
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.stub(:body).and_return('{"key":"foo","id":"101"}')
10
- JIRA::Resource::Issue.stub(:collection_path).and_return('/jira/rest/api/2/issue')
11
- client.should_receive(:get).with('/jira/rest/api/2/issue/foo').
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.should_receive(:get).with('/jira/rest/api/2/issue/101').
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.should == issue_from_key.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.stub(:body).and_return('{"issues": {"key":"foo"}}')
26
- client.should_receive(:get).with('/jira/rest/api/2/search?jql=foo+bar').
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.should_receive(:Issue).and_return(issue)
29
- issue.should_receive(:build).with(["key", "foo"]).and_return('')
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').should == ['']
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.stub(:body).and_return('{"issues": {"key":"foo"}}')
38
- client.should_receive(:get).with('/jira/rest/api/2/search?jql=foo+bar%26fields%3Dfoo%2Cbar').
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.should_receive(:Issue).and_return(issue)
41
- issue.should_receive(:build).with(["key", "foo"]).and_return('')
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']).should == ['']
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.should respond_to(:foo)
49
- subject.foo.should == 'bar'
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.should have_one(:reporter, JIRA::Resource::User)
74
- subject.reporter.foo.should == 'bar'
73
+ expect(subject).to have_one(:reporter, JIRA::Resource::User)
74
+ expect(subject.reporter.foo).to eq('bar')
75
75
 
76
- subject.should have_one(:assignee, JIRA::Resource::User)
77
- subject.assignee.foo.should == 'bar'
76
+ expect(subject).to have_one(:assignee, JIRA::Resource::User)
77
+ expect(subject.assignee.foo).to eq('bar')
78
78
 
79
- subject.should have_one(:project, JIRA::Resource::Project)
80
- subject.project.foo.should == 'bar'
79
+ expect(subject).to have_one(:project, JIRA::Resource::Project)
80
+ expect(subject.project.foo).to eq('bar')
81
81
 
82
- subject.should have_one(:issuetype, JIRA::Resource::Issuetype)
83
- subject.issuetype.foo.should == 'bar'
82
+ expect(subject).to have_one(:issuetype, JIRA::Resource::Issuetype)
83
+ expect(subject.issuetype.foo).to eq('bar')
84
84
 
85
- subject.should have_one(:priority, JIRA::Resource::Priority)
86
- subject.priority.foo.should == 'bar'
85
+ expect(subject).to have_one(:priority, JIRA::Resource::Priority)
86
+ expect(subject.priority.foo).to eq('bar')
87
87
 
88
- subject.should have_one(:status, JIRA::Resource::Status)
89
- subject.status.foo.should == 'bar'
88
+ expect(subject).to have_one(:status, JIRA::Resource::Status)
89
+ expect(subject.status.foo).to eq('bar')
90
90
 
91
- subject.should have_many(:components, JIRA::Resource::Component)
92
- subject.components.length.should == 2
91
+ expect(subject).to have_many(:components, JIRA::Resource::Component)
92
+ expect(subject.components.length).to eq(2)
93
93
 
94
- subject.should have_many(:comments, JIRA::Resource::Comment)
95
- subject.comments.length.should == 2
94
+ expect(subject).to have_many(:comments, JIRA::Resource::Comment)
95
+ expect(subject.comments.length).to eq(2)
96
96
 
97
- subject.should have_many(:attachments, JIRA::Resource::Attachment)
98
- subject.attachments.length.should == 2
97
+ expect(subject).to have_many(:attachments, JIRA::Resource::Attachment)
98
+ expect(subject.attachments.length).to eq(2)
99
99
 
100
- subject.should have_many(:versions, JIRA::Resource::Version)
101
- subject.attachments.length.should == 2
100
+ expect(subject).to have_many(:versions, JIRA::Resource::Version)
101
+ expect(subject.attachments.length).to eq(2)
102
102
 
103
- subject.should have_many(:worklogs, JIRA::Resource::Worklog)
104
- subject.worklogs.length.should == 2
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.should == JIRA::Resource::ProjectFactory
10
- subject.client.should == 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.should have_one(:lead, JIRA::Resource::User)
21
- subject.lead.foo.should == 'bar'
20
+ expect(subject).to have_one(:lead, JIRA::Resource::User)
21
+ expect(subject.lead.foo).to eq('bar')
22
22
 
23
- subject.should have_many(:issuetypes, JIRA::Resource::Issuetype)
24
- subject.issuetypes.length.should == 2
23
+ expect(subject).to have_many(:issuetypes, JIRA::Resource::Issuetype)
24
+ expect(subject.issuetypes.length).to eq(2)
25
25
 
26
- subject.should have_many(:versions, JIRA::Resource::Version)
27
- subject.versions.length.should == 2
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.should_receive(:get)
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.should_receive(:Issue).and_return(issue_factory)
48
- issue_factory.should_receive(:build)
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.should_receive(:get)
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.should_receive(:Issue).and_return(issue_factory)
64
- issue_factory.should_receive(:build)
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.should have_one(:author, JIRA::Resource::User)
17
- subject.author.foo.should == 'bar'
16
+ expect(subject).to have_one(:author, JIRA::Resource::User)
17
+ expect(subject.author.foo).to eq('bar')
18
18
 
19
- subject.should have_one(:update_author, JIRA::Resource::User)
20
- subject.update_author.foo.should == 'bar'
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].should == value
4
+ expect(actual.attrs[key]).to eq(value)
5
5
  end
6
6
  end
7
7
 
8
- failure_message_for_should do |actual|
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.should == JIRA::HasManyProxy
4
- actual.send(collection).length.should > 0
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.should == klass
6
+ expect(member.class).to eq(klass)
7
7
  end
8
8
  end
9
9
  end
@@ -1,5 +1,5 @@
1
1
  RSpec::Matchers.define :have_one do |resource, klass|
2
2
  match do |actual|
3
- actual.send(resource).class.should == klass
3
+ expect(actual.send(resource).class).to eq(klass)
4
4
  end
5
5
  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').should be_false
63
- lambda do
64
- subject.save!('foo' => 'bar').should be_false
65
- end.should raise_error(JIRA::HTTPError)
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
- first = collection.first
79
- first.should have_attributes(expected_attributes)
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
- first = collection.first
93
- first.should have_attributes(expected_attributes)
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.should have_attributes(expected_attributes)
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.should have_attributes(expected_attributes)
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.should raise_exception(JIRA::HTTPError)
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.should be_true
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).should be_true
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).should == value
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).should be_true
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).should == value
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'}).should be_false
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.should raise_error(JIRA::HTTPError)
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.10
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-05-09 00:00:00.000000000 Z
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: '0'
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: '0'
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: '0'
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: '0'
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: '0'
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: '0'
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: '0'
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: '0'
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: '0'
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: '0'
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: '0'
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: '0'
96
+ version: 10.3.2
97
97
  description: API for JIRA
98
98
  email:
99
99
  executables: []