airbrake-api 4.6.0 → 4.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 66ca879042b1e83d59936faf131335890b61253b
4
+ data.tar.gz: 4b82543b2aac97afa44529a88e6c2d806d43d662
5
+ SHA512:
6
+ metadata.gz: f9bd829c85c4ee651e1b948c4ee1947c09d7f895031101760f23383ff2dbbb0e6bf9635c68b3a199eed626a392c68798eed3216a834ee89ba9c711019264bbdc
7
+ data.tar.gz: 0c3666ac468f021d5f596359694389e27021317b4c230d8dcbafcd4f1b45a3c9db8b237468533aa534bc65cc77664357e77a07c47c5988b53a693df3b881bcf1
data/.rspec CHANGED
@@ -1,3 +1,3 @@
1
1
  --color
2
- --format=nested
2
+ --format=documentation
3
3
  --backtrace
@@ -34,7 +34,7 @@ module AirbrakeAPI
34
34
 
35
35
  def deploys(project_id, options = {})
36
36
  results = request(:get, deploys_path(project_id), options)
37
- results.projects.respond_to?(:deploy) ? results.projects.deploy : []
37
+ results.deploys.respond_to?(:deploy) ? results.deploys.deploy : []
38
38
  end
39
39
 
40
40
  def deploys_path(project_id)
@@ -1,3 +1,3 @@
1
1
  module AirbrakeAPI
2
- VERSION = '4.6.0'
2
+ VERSION = '4.6.1'
3
3
  end
@@ -22,7 +22,7 @@ describe AirbrakeAPI::Client do
22
22
  it "should inherit module configuration" do
23
23
  api = AirbrakeAPI::Client.new
24
24
  @keys.each do |key|
25
- api.send(key).should == key
25
+ expect(api.send(key)).to eq(key)
26
26
  end
27
27
  end
28
28
 
@@ -44,7 +44,7 @@ describe AirbrakeAPI::Client do
44
44
  it "should override module configuration" do
45
45
  api = AirbrakeAPI::Client.new(@configuration)
46
46
  @keys.each do |key|
47
- api.send(key).should == @configuration[key]
47
+ expect(api.send(key)).to eq(@configuration[key])
48
48
  end
49
49
  end
50
50
  end
@@ -56,7 +56,7 @@ describe AirbrakeAPI::Client do
56
56
  api.send("#{key}=", value)
57
57
  end
58
58
  @keys.each do |key|
59
- api.send(key).should == @configuration[key]
59
+ expect(api.send(key)).to eq(@configuration[key])
60
60
  end
61
61
  end
62
62
  end
@@ -103,38 +103,38 @@ describe AirbrakeAPI::Client do
103
103
 
104
104
  describe '#deploys' do
105
105
  it 'returns an array of deploys' do
106
- @client.deploys('12345').should be_kind_of(Array)
106
+ expect(@client.deploys('12345')).to be_kind_of(Array)
107
107
  end
108
108
 
109
109
  it 'returns deploy data' do
110
110
  deploys = @client.deploys('12345')
111
111
  first_deploy = deploys.first
112
112
 
113
- first_deploy.rails_env.should eq('production')
113
+ expect(first_deploy.rails_env).to eq('production')
114
114
  end
115
115
 
116
116
  it 'returns empty when no data' do
117
- @client.deploys('67890').should be_kind_of(Array)
117
+ expect(@client.deploys('67890')).to be_kind_of(Array)
118
118
  end
119
119
  end
120
120
 
121
121
  describe '#projects' do
122
122
  it 'returns an array of projects' do
123
- @client.projects.should be_kind_of(Array)
123
+ expect(@client.projects).to be_kind_of(Array)
124
124
  end
125
125
 
126
126
  it 'returns project data' do
127
127
  projects = @client.projects
128
- projects.size.should == 4
129
- projects.first.id.should == '1'
130
- projects.first.name.should == 'Venkman'
128
+ expect(projects.size).to eq(4)
129
+ expect(projects.first.id).to eq('1')
130
+ expect(projects.first.name).to eq('Venkman')
131
131
  end
132
132
  end
133
133
 
134
134
  describe '#update' do
135
135
  it 'should update the status of an error' do
136
136
  error = @client.update(1696170, :group => { :resolved => true})
137
- error.resolved.should be_true
137
+ expect(error.resolved).to be_truthy
138
138
  end
139
139
  end
140
140
 
@@ -142,19 +142,19 @@ describe AirbrakeAPI::Client do
142
142
  it "should find a page of the 30 most recent errors" do
143
143
  errors = @client.errors
144
144
  ordered = errors.sort_by(&:most_recent_notice_at).reverse
145
- ordered.should == errors
146
- errors.size.should == 30
145
+ expect(ordered).to eq(errors)
146
+ expect(errors.size).to eq(30)
147
147
  end
148
148
 
149
149
  it "should paginate errors" do
150
150
  errors = @client.errors(:page => 2)
151
151
  ordered = errors.sort_by(&:most_recent_notice_at).reverse
152
- ordered.should == errors
153
- errors.size.should == 2
152
+ expect(ordered).to eq(errors)
153
+ expect(errors.size).to eq(2)
154
154
  end
155
155
 
156
156
  it "should use project_id for error path" do
157
- @client.should_receive(:request).with(:get, "/projects/123/groups.xml", {}).and_return(double(:group => 111))
157
+ expect(@client).to receive(:request).with(:get, "/projects/123/groups.xml", {}).and_return(double(:group => 111))
158
158
  @client.errors(:project_id => 123)
159
159
  end
160
160
  end
@@ -162,37 +162,37 @@ describe AirbrakeAPI::Client do
162
162
  describe '#error' do
163
163
  it "should find an individual error" do
164
164
  error = @client.error(1696170)
165
- error.action.should == 'index'
166
- error.id.should == 1696170
165
+ expect(error.action).to eq('index')
166
+ expect(error.id).to eq(1696170)
167
167
  end
168
168
  end
169
169
 
170
170
  describe '#notice' do
171
171
  it "finds individual notices" do
172
- @client.notice(1234, 1696170).should_not be_nil
172
+ expect(@client.notice(1234, 1696170)).not_to be_nil
173
173
  end
174
174
 
175
175
  it "finds broken notices" do
176
- @client.notice(666, 1696170).should_not be_nil
176
+ expect(@client.notice(666, 1696170)).not_to be_nil
177
177
  end
178
178
  end
179
179
 
180
180
  describe '#notices' do
181
181
  it "finds all error notices" do
182
182
  notices = @client.notices(1696170)
183
- notices.size.should == 42
183
+ expect(notices.size).to eq(42)
184
184
  end
185
185
 
186
186
  it "finds error notices for a specific page" do
187
187
  notices = @client.notices(1696170, :page => 1)
188
- notices.size.should == 30
189
- notices.first.backtrace.should_not == nil
190
- notices.first.id.should == 1234
188
+ expect(notices.size).to eq(30)
189
+ expect(notices.first.backtrace).not_to eq(nil)
190
+ expect(notices.first.id).to eq(1234)
191
191
  end
192
192
 
193
193
  it "finds all error notices with a page limit" do
194
194
  notices = @client.notices(1696171, :pages => 2)
195
- notices.size.should == 60
195
+ expect(notices.size).to eq(60)
196
196
  end
197
197
 
198
198
  it "yields batches" do
@@ -200,20 +200,20 @@ describe AirbrakeAPI::Client do
200
200
  notices = @client.notices(1696171, :pages => 2) do |batch|
201
201
  batches << batch
202
202
  end
203
- notices.size.should == 60
204
- batches.map(&:size).should == [30,30]
203
+ expect(notices.size).to eq(60)
204
+ expect(batches.map(&:size)).to eq([30,30])
205
205
  end
206
206
 
207
207
  it "can return raw results" do
208
208
  notices = @client.notices(1696170, :raw => true)
209
- notices.first.backtrace.should == nil
210
- notices.first.id.should == 1234
209
+ expect(notices.first.backtrace).to eq(nil)
210
+ expect(notices.first.id).to eq(1234)
211
211
  end
212
212
  end
213
213
 
214
214
  describe '#connection' do
215
215
  it 'returns a Faraday connection' do
216
- @client.send(:connection).should be_kind_of(Faraday::Connection)
216
+ expect(@client.send(:connection)).to be_kind_of(Faraday::Connection)
217
217
  end
218
218
  end
219
219
  end
@@ -227,35 +227,35 @@ describe AirbrakeAPI::Client do
227
227
  end
228
228
 
229
229
  it 'generates web urls for projects' do
230
- @client.url_for(:projects).should eq('http://myapp.airbrake.io/projects')
230
+ expect(@client.url_for(:projects)).to eq('http://myapp.airbrake.io/projects')
231
231
  end
232
232
 
233
233
  it 'generates web urls for deploys' do
234
- @client.url_for(:deploys, '2000').should eq('http://myapp.airbrake.io/projects/2000/deploys')
234
+ expect(@client.url_for(:deploys, '2000')).to eq('http://myapp.airbrake.io/projects/2000/deploys')
235
235
  end
236
236
 
237
237
  it 'generates web urls for errors' do
238
- @client.url_for(:errors).should eq('http://myapp.airbrake.io/groups')
238
+ expect(@client.url_for(:errors)).to eq('http://myapp.airbrake.io/groups')
239
239
  end
240
240
 
241
241
  it 'generates web urls for errors with project_id' do
242
- @client.url_for(:errors, :project_id => 123).should eq('http://myapp.airbrake.io/projects/123/groups')
242
+ expect(@client.url_for(:errors, :project_id => 123)).to eq('http://myapp.airbrake.io/projects/123/groups')
243
243
  end
244
244
 
245
245
  it 'generates web urls for individual errors' do
246
- @client.url_for(:error, 1696171).should eq('http://myapp.airbrake.io/errors/1696171')
246
+ expect(@client.url_for(:error, 1696171)).to eq('http://myapp.airbrake.io/errors/1696171')
247
247
  end
248
248
 
249
249
  it 'generates web urls for notices' do
250
- @client.url_for(:notices, 1696171).should eq('http://myapp.airbrake.io/groups/1696171/notices')
250
+ expect(@client.url_for(:notices, 1696171)).to eq('http://myapp.airbrake.io/groups/1696171/notices')
251
251
  end
252
252
 
253
253
  it 'generates web urls for individual notices' do
254
- @client.url_for(:notice, 123, 1696171).should eq('http://myapp.airbrake.io/groups/1696171/notices/123')
254
+ expect(@client.url_for(:notice, 123, 1696171)).to eq('http://myapp.airbrake.io/groups/1696171/notices/123')
255
255
  end
256
256
 
257
257
  it 'raises an exception when passed an unknown endpoint' do
258
- lambda { @client.url_for(:foo) }.should raise_error(ArgumentError)
258
+ expect { @client.url_for(:foo) }.to raise_error(ArgumentError)
259
259
  end
260
260
  end
261
261
  end
@@ -8,45 +8,45 @@ describe AirbrakeAPI::Error do
8
8
  end
9
9
 
10
10
  it "should have correct collection path" do
11
- AirbrakeAPI::Error.collection_path.should == "/groups.xml"
11
+ expect(AirbrakeAPI::Error.collection_path).to eq("/groups.xml")
12
12
  end
13
13
 
14
14
  it "should generate correct error path given an id" do
15
- AirbrakeAPI::Error.error_path(1234).should == '/errors/1234.xml'
15
+ expect(AirbrakeAPI::Error.error_path(1234)).to eq('/errors/1234.xml')
16
16
  end
17
17
 
18
18
  describe '.find' do
19
19
  it "should find a page of the 30 most recent errors" do
20
20
  errors = AirbrakeAPI::Error.find(:all)
21
21
  ordered = errors.sort_by(&:most_recent_notice_at).reverse
22
- ordered.should == errors
23
- errors.size.should == 30
22
+ expect(ordered).to eq(errors)
23
+ expect(errors.size).to eq(30)
24
24
  end
25
25
 
26
26
  it "should paginate errors" do
27
27
  errors = AirbrakeAPI::Error.find(:all, :page => 2)
28
28
  ordered = errors.sort_by(&:most_recent_notice_at).reverse
29
- ordered.should == errors
30
- errors.size.should == 2
29
+ expect(ordered).to eq(errors)
30
+ expect(errors.size).to eq(2)
31
31
  end
32
32
 
33
33
  it "should find an individual error" do
34
34
  error = AirbrakeAPI::Error.find(1696170)
35
- error.action.should == 'index'
36
- error.id.should == 1696170
35
+ expect(error.action).to eq('index')
36
+ expect(error.id).to eq(1696170)
37
37
  end
38
38
 
39
39
  it "should raise an error when not passed an id" do
40
- lambda do
40
+ expect do
41
41
  AirbrakeAPI::Error.find
42
- end.should raise_error(AirbrakeAPI::AirbrakeError)
42
+ end.to raise_error(AirbrakeAPI::AirbrakeError)
43
43
  end
44
44
  end
45
45
 
46
46
  describe '.update' do
47
47
  it 'should update the status of an error' do
48
48
  error = AirbrakeAPI::Error.update(1696170, :group => { :resolved => true})
49
- error.resolved.should be_true
49
+ expect(error.resolved).to be_truthy
50
50
  end
51
51
  end
52
52
 
@@ -9,13 +9,13 @@ describe AirbrakeAPI::Notice do
9
9
 
10
10
  it "should find error notices" do
11
11
  notices = AirbrakeAPI::Notice.find_by_error_id(1696170)
12
- notices.size.should == 42
13
- notices.first.id.should == 1234
12
+ expect(notices.size).to eq(42)
13
+ expect(notices.first.id).to eq(1234)
14
14
  end
15
15
 
16
16
  it "should find all error notices" do
17
17
  notices = AirbrakeAPI::Notice.find_all_by_error_id(1696170)
18
- notices.size.should == 42
18
+ expect(notices.size).to eq(42)
19
19
  end
20
20
 
21
21
  it "should fail with errors" do
@@ -26,7 +26,7 @@ describe AirbrakeAPI::Notice do
26
26
 
27
27
  it "should find all error notices with a page limit" do
28
28
  notices = AirbrakeAPI::Notice.find_all_by_error_id(1696171, :pages => 2)
29
- notices.size.should == 60
29
+ expect(notices.size).to eq(60)
30
30
  end
31
31
 
32
32
  it "yields batches" do
@@ -34,23 +34,23 @@ describe AirbrakeAPI::Notice do
34
34
  notices = AirbrakeAPI::Notice.find_all_by_error_id(1696171, :pages => 2) do |batch|
35
35
  batches << batch
36
36
  end
37
- notices.size.should == 60
38
- batches.map(&:size).should == [30,30]
37
+ expect(notices.size).to eq(60)
38
+ expect(batches.map(&:size)).to eq([30,30])
39
39
  end
40
40
 
41
41
  it "should find individual notices" do
42
- AirbrakeAPI::Notice.find(1234, 1696170).should_not == nil
42
+ expect(AirbrakeAPI::Notice.find(1234, 1696170)).not_to eq(nil)
43
43
  end
44
44
 
45
45
  it "should find a broken notices" do
46
- AirbrakeAPI::Notice.find(666, 1696170).should_not == nil
46
+ expect(AirbrakeAPI::Notice.find(666, 1696170)).not_to eq(nil)
47
47
  end
48
48
 
49
49
  it 'defines the notices path' do
50
- AirbrakeAPI::Notice.all_path(1696170).should eq('/groups/1696170/notices.xml')
50
+ expect(AirbrakeAPI::Notice.all_path(1696170)).to eq('/groups/1696170/notices.xml')
51
51
  end
52
52
 
53
53
  it 'defines the an individual notices path' do
54
- AirbrakeAPI::Notice.find_path(666, 1696170).should eq('/groups/1696170/notices/666.xml')
54
+ expect(AirbrakeAPI::Notice.find_path(666, 1696170)).to eq('/groups/1696170/notices/666.xml')
55
55
  end
56
56
  end
@@ -8,14 +8,14 @@ describe AirbrakeAPI::Project do
8
8
  end
9
9
 
10
10
  it "should have correct projects path" do
11
- AirbrakeAPI::Project.collection_path.should == "/data_api/v1/projects.xml"
11
+ expect(AirbrakeAPI::Project.collection_path).to eq("/data_api/v1/projects.xml")
12
12
  end
13
13
 
14
14
  it "should find projects" do
15
15
  projects = AirbrakeAPI::Project.find(:all)
16
- projects.size.should == 4
17
- projects.first.id.should == '1'
18
- projects.first.name.should == 'Venkman'
16
+ expect(projects.size).to eq(4)
17
+ expect(projects.first.id).to eq('1')
18
+ expect(projects.first.name).to eq('Venkman')
19
19
  end
20
20
 
21
21
  end
@@ -9,30 +9,30 @@ describe AirbrakeAPI do
9
9
 
10
10
  it "should allow setting of the account" do
11
11
  AirbrakeAPI.account = 'myapp'
12
- AirbrakeAPI.account.should == 'myapp'
13
- AirbrakeAPI.account_path.should == 'http://myapp.airbrake.io'
12
+ expect(AirbrakeAPI.account).to eq('myapp')
13
+ expect(AirbrakeAPI.account_path).to eq('http://myapp.airbrake.io')
14
14
  end
15
15
 
16
16
  it "should allow setting of the auth token" do
17
17
  AirbrakeAPI.auth_token = '123456'
18
- AirbrakeAPI.auth_token.should == '123456'
18
+ expect(AirbrakeAPI.auth_token).to eq('123456')
19
19
  end
20
20
 
21
21
  it "should allow setting of ssl protocol" do
22
22
  AirbrakeAPI.secure = true
23
- AirbrakeAPI.protocol.should == 'https'
23
+ expect(AirbrakeAPI.protocol).to eq('https')
24
24
  end
25
25
 
26
26
  it "should default to standard http" do
27
- AirbrakeAPI.protocol.should == 'http'
27
+ expect(AirbrakeAPI.protocol).to eq('http')
28
28
  end
29
29
 
30
30
  it "should should implement #configure" do
31
31
  AirbrakeAPI.configure(:account => 'anapp', :auth_token => 'abcdefg', :secure => true)
32
- AirbrakeAPI.protocol.should == 'https'
33
- AirbrakeAPI.auth_token.should == 'abcdefg'
34
- AirbrakeAPI.account.should == 'anapp'
35
- AirbrakeAPI.account_path.should == 'https://anapp.airbrake.io'
32
+ expect(AirbrakeAPI.protocol).to eq('https')
33
+ expect(AirbrakeAPI.auth_token).to eq('abcdefg')
34
+ expect(AirbrakeAPI.account).to eq('anapp')
35
+ expect(AirbrakeAPI.account_path).to eq('https://anapp.airbrake.io')
36
36
  end
37
37
 
38
38
  it 'takes a block' do
@@ -42,9 +42,9 @@ describe AirbrakeAPI do
42
42
  config.secure = true
43
43
  end
44
44
 
45
- AirbrakeAPI.protocol.should == 'https'
46
- AirbrakeAPI.auth_token.should == 'abcdefghij'
47
- AirbrakeAPI.account.should == 'anapp'
45
+ expect(AirbrakeAPI.protocol).to eq('https')
46
+ expect(AirbrakeAPI.auth_token).to eq('abcdefghij')
47
+ expect(AirbrakeAPI.account).to eq('anapp')
48
48
  end
49
49
  end
50
50
 
@@ -55,27 +55,27 @@ describe AirbrakeAPI do
55
55
 
56
56
  it "should find an error if account is SSL enabled" do
57
57
  error = AirbrakeAPI::Error.find(1696170)
58
- error.id.should == 1696170
58
+ expect(error.id).to eq(1696170)
59
59
  end
60
60
 
61
61
  it "should raise an exception if trying to access SSL enabled account with unsecure connection" do
62
62
  AirbrakeAPI.secure = false
63
- lambda do
63
+ expect do
64
64
  AirbrakeAPI::Error.find(1696170)
65
- end.should raise_error(AirbrakeAPI::AirbrakeError)
65
+ end.to raise_error(AirbrakeAPI::AirbrakeError)
66
66
  end
67
67
  end
68
68
 
69
69
  describe '#options' do
70
70
  it 'returns a Hash' do
71
- AirbrakeAPI.options.should be_kind_of(Hash)
71
+ expect(AirbrakeAPI.options).to be_kind_of(Hash)
72
72
  end
73
73
 
74
74
  context 'when configured' do
75
75
  it 'returns a Hash based on the configuration' do
76
76
  AirbrakeAPI.configure(:account => 'anapp', :auth_token => 'abcdefg', :secure => true)
77
77
 
78
- AirbrakeAPI.options[:auth_token].should eq('abcdefg')
78
+ expect(AirbrakeAPI.options[:auth_token]).to eq('abcdefg')
79
79
  end
80
80
  end
81
81
  end
@@ -83,7 +83,7 @@ describe AirbrakeAPI do
83
83
  describe 'client delegation' do
84
84
  it 'delegates to a client' do
85
85
  error = AirbrakeAPI.error(1696170)
86
- error.id.should == 1696170
86
+ expect(error.id).to eq(1696170)
87
87
  end
88
88
  end
89
89
 
@@ -1,7 +1,7 @@
1
1
  HTTP/1.1 200 OK
2
2
 
3
3
  <?xml version="1.0" encoding="UTF-8"?>
4
- <projects>
4
+ <deploys>
5
5
  <deploy>
6
6
  <id>3484129</id>
7
7
  <project-id>12345</project-id>
@@ -272,4 +272,4 @@ HTTP/1.1 200 OK
272
272
  <scm-revision>b584a48bea9353c8950d76061d13acf1c564847e</scm-revision>
273
273
  <scm-repository>git@github.com:account/project.git</scm-repository>
274
274
  </deploy>
275
- </projects>
275
+ </deploys>
@@ -1,5 +1,5 @@
1
1
  HTTP/1.1 200 OK
2
2
 
3
3
  <?xml version="1.0" encoding="UTF-8"?>
4
- <projects>
5
- </projects>
4
+ <deploys>
5
+ </deploys>
metadata CHANGED
@@ -1,94 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airbrake-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.0
5
- prerelease:
4
+ version: 4.6.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Steve Agalloco
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-11-04 00:00:00.000000000 Z
11
+ date: 2014-06-15 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: hashie
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: parallel
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: faraday_middleware
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: multi_xml
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - ">="
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: bundler
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ~>
73
+ - - "~>"
84
74
  - !ruby/object:Gem::Version
85
75
  version: '1.0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ~>
80
+ - - "~>"
92
81
  - !ruby/object:Gem::Version
93
82
  version: '1.0'
94
83
  description: A ruby wrapper for the Airbrake API
@@ -98,10 +87,11 @@ executables: []
98
87
  extensions: []
99
88
  extra_rdoc_files: []
100
89
  files:
101
- - .rspec
90
+ - ".rspec"
102
91
  - README.md
103
92
  - Rakefile
104
93
  - airbrake-api.gemspec
94
+ - lib/airbrake-api.rb
105
95
  - lib/airbrake-api/base.rb
106
96
  - lib/airbrake-api/client.rb
107
97
  - lib/airbrake-api/configuration.rb
@@ -112,9 +102,7 @@ files:
112
102
  - lib/airbrake-api/middleware/scrub_response.rb
113
103
  - lib/airbrake-api/notice.rb
114
104
  - lib/airbrake-api/project.rb
115
- - lib/airbrake-api/url_helper.rb
116
105
  - lib/airbrake-api/version.rb
117
- - lib/airbrake-api.rb
118
106
  - lib/airbrake_api.rb
119
107
  - spec/airbrake_api/client_spec.rb
120
108
  - spec/airbrake_api/error_spec.rb
@@ -136,33 +124,26 @@ files:
136
124
  - spec/spec_helper.rb
137
125
  homepage: https://github.com/spagalloco/airbrake-api
138
126
  licenses: []
127
+ metadata: {}
139
128
  post_install_message:
140
129
  rdoc_options: []
141
130
  require_paths:
142
131
  - lib
143
132
  required_ruby_version: !ruby/object:Gem::Requirement
144
- none: false
145
133
  requirements:
146
- - - ! '>='
134
+ - - ">="
147
135
  - !ruby/object:Gem::Version
148
136
  version: '0'
149
- segments:
150
- - 0
151
- hash: -3943639386550054679
152
137
  required_rubygems_version: !ruby/object:Gem::Requirement
153
- none: false
154
138
  requirements:
155
- - - ! '>='
139
+ - - ">="
156
140
  - !ruby/object:Gem::Version
157
141
  version: '0'
158
- segments:
159
- - 0
160
- hash: -3943639386550054679
161
142
  requirements: []
162
143
  rubyforge_project:
163
- rubygems_version: 1.8.23
144
+ rubygems_version: 2.2.2
164
145
  signing_key:
165
- specification_version: 3
146
+ specification_version: 4
166
147
  summary: A ruby wrapper for the Airbrake API
167
148
  test_files:
168
149
  - spec/airbrake_api/client_spec.rb
@@ -1,9 +0,0 @@
1
- module AirbrakeAPI
2
- class UrlHelper
3
-
4
- class << self
5
-
6
- end
7
-
8
- end
9
- end