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.
- checksums.yaml +7 -0
- data/.rspec +1 -1
- data/lib/airbrake-api/client.rb +1 -1
- data/lib/airbrake-api/version.rb +1 -1
- data/spec/airbrake_api/client_spec.rb +38 -38
- data/spec/airbrake_api/error_spec.rb +11 -11
- data/spec/airbrake_api/notice_spec.rb +10 -10
- data/spec/airbrake_api/project_spec.rb +4 -4
- data/spec/airbrake_api_spec.rb +18 -18
- data/spec/fixtures/deploys.xml +2 -2
- data/spec/fixtures/empty_deploys.xml +2 -2
- metadata +19 -38
- data/lib/airbrake-api/url_helper.rb +0 -9
checksums.yaml
ADDED
@@ -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
data/lib/airbrake-api/client.rb
CHANGED
@@ -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.
|
37
|
+
results.deploys.respond_to?(:deploy) ? results.deploys.deploy : []
|
38
38
|
end
|
39
39
|
|
40
40
|
def deploys_path(project_id)
|
data/lib/airbrake-api/version.rb
CHANGED
@@ -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).
|
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).
|
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).
|
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').
|
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.
|
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').
|
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.
|
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.
|
129
|
-
projects.first.id.
|
130
|
-
projects.first.name.
|
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.
|
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.
|
146
|
-
errors.size.
|
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.
|
153
|
-
errors.size.
|
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.
|
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.
|
166
|
-
error.id.
|
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).
|
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).
|
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.
|
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.
|
189
|
-
notices.first.backtrace.
|
190
|
-
notices.first.id.
|
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.
|
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.
|
204
|
-
batches.map(&:size).
|
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.
|
210
|
-
notices.first.id.
|
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).
|
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).
|
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').
|
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).
|
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).
|
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).
|
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).
|
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).
|
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
|
-
|
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.
|
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).
|
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.
|
23
|
-
errors.size.
|
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.
|
30
|
-
errors.size.
|
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.
|
36
|
-
error.id.
|
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
|
-
|
40
|
+
expect do
|
41
41
|
AirbrakeAPI::Error.find
|
42
|
-
end.
|
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.
|
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.
|
13
|
-
notices.first.id.
|
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.
|
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.
|
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.
|
38
|
-
batches.map(&:size).
|
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).
|
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).
|
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).
|
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).
|
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.
|
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.
|
17
|
-
projects.first.id.
|
18
|
-
projects.first.name.
|
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
|
data/spec/airbrake_api_spec.rb
CHANGED
@@ -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.
|
13
|
-
AirbrakeAPI.account_path.
|
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.
|
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.
|
23
|
+
expect(AirbrakeAPI.protocol).to eq('https')
|
24
24
|
end
|
25
25
|
|
26
26
|
it "should default to standard http" do
|
27
|
-
AirbrakeAPI.protocol.
|
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.
|
33
|
-
AirbrakeAPI.auth_token.
|
34
|
-
AirbrakeAPI.account.
|
35
|
-
AirbrakeAPI.account_path.
|
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.
|
46
|
-
AirbrakeAPI.auth_token.
|
47
|
-
AirbrakeAPI.account.
|
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.
|
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
|
-
|
63
|
+
expect do
|
64
64
|
AirbrakeAPI::Error.find(1696170)
|
65
|
-
end.
|
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.
|
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].
|
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.
|
86
|
+
expect(error.id).to eq(1696170)
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
data/spec/fixtures/deploys.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
HTTP/1.1 200 OK
|
2
2
|
|
3
3
|
<?xml version="1.0" encoding="UTF-8"?>
|
4
|
-
<
|
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
|
-
</
|
275
|
+
</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.
|
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:
|
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:
|
144
|
+
rubygems_version: 2.2.2
|
164
145
|
signing_key:
|
165
|
-
specification_version:
|
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
|