airbrake-api 4.2.2 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -88,7 +88,7 @@ To retrieve a list of projects:
88
88
 
89
89
  To retrieve a list of deployments:
90
90
 
91
- AirbrakeAPI.deployments
91
+ AirbrakeAPI.deploys(project_id)
92
92
 
93
93
  ## Connecting to more than one account
94
94
 
data/airbrake-api.gemspec CHANGED
@@ -1,5 +1,6 @@
1
- # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
4
  require "airbrake-api/version"
4
5
 
5
6
  Gem::Specification.new do |s|
@@ -15,24 +16,15 @@ Gem::Specification.new do |s|
15
16
  s.homepage = 'https://github.com/spagalloco/airbrake-api'
16
17
 
17
18
  s.add_dependency 'hashie'
18
- s.add_dependency 'parallel', '~> 0.5.0'
19
- s.add_dependency 'faraday_middleware', '~> 0.8'
19
+ s.add_dependency 'parallel'
20
+ s.add_dependency 'faraday_middleware'
20
21
  s.add_dependency 'multi_xml'
21
- s.add_dependency 'mash'
22
22
 
23
- s.add_development_dependency 'rake'
24
- s.add_development_dependency 'rspec'
25
- s.add_development_dependency 'yard'
26
- s.add_development_dependency 'maruku'
27
- s.add_development_dependency 'simplecov'
28
- s.add_development_dependency 'fakeweb'
29
- s.add_development_dependency 'nokogiri'
30
- s.add_development_dependency 'airbrake'
31
- s.add_development_dependency 'i18n'
23
+ s.add_development_dependency 'bundler', '~> 1.0'
32
24
 
33
- # ensure the gem is built out of versioned files
34
- s.files = `git ls-files`.split("\n")
35
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
36
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
25
+ s.files = %w(.rspec README.md Rakefile airbrake-api.gemspec)
26
+ s.files += Dir.glob("lib/**/*.rb")
27
+ s.files += Dir.glob("spec/**/*")
28
+ s.test_files = Dir.glob("spec/**/*")
37
29
  s.require_paths = ["lib"]
38
30
  end
@@ -1,4 +1,5 @@
1
1
  require 'faraday_middleware'
2
+ require 'parallel'
2
3
  require 'airbrake-api/core_ext/hash'
3
4
  require 'airbrake-api/middleware/scrub_response'
4
5
  require 'airbrake-api/middleware/raise_server_error'
@@ -1,4 +1,3 @@
1
- require 'parallel'
2
1
  require 'airbrake-api/base'
3
2
 
4
3
  module AirbrakeAPI
@@ -1,3 +1,3 @@
1
1
  module AirbrakeAPI
2
- VERSION = '4.2.2'
2
+ VERSION = '4.3.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airbrake-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.2
4
+ version: 4.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-12 00:00:00.000000000 Z
12
+ date: 2013-04-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hashie
@@ -29,38 +29,6 @@ dependencies:
29
29
  version: '0'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: parallel
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ~>
36
- - !ruby/object:Gem::Version
37
- version: 0.5.0
38
- type: :runtime
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- version: 0.5.0
46
- - !ruby/object:Gem::Dependency
47
- name: faraday_middleware
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: '0.8'
54
- type: :runtime
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: '0.8'
62
- - !ruby/object:Gem::Dependency
63
- name: multi_xml
64
32
  requirement: !ruby/object:Gem::Requirement
65
33
  none: false
66
34
  requirements:
@@ -76,7 +44,7 @@ dependencies:
76
44
  - !ruby/object:Gem::Version
77
45
  version: '0'
78
46
  - !ruby/object:Gem::Dependency
79
- name: mash
47
+ name: faraday_middleware
80
48
  requirement: !ruby/object:Gem::Requirement
81
49
  none: false
82
50
  requirements:
@@ -92,126 +60,14 @@ dependencies:
92
60
  - !ruby/object:Gem::Version
93
61
  version: '0'
94
62
  - !ruby/object:Gem::Dependency
95
- name: rake
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: '0'
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: '0'
110
- - !ruby/object:Gem::Dependency
111
- name: rspec
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ! '>='
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: '0'
126
- - !ruby/object:Gem::Dependency
127
- name: yard
128
- requirement: !ruby/object:Gem::Requirement
129
- none: false
130
- requirements:
131
- - - ! '>='
132
- - !ruby/object:Gem::Version
133
- version: '0'
134
- type: :development
135
- prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ! '>='
140
- - !ruby/object:Gem::Version
141
- version: '0'
142
- - !ruby/object:Gem::Dependency
143
- name: maruku
144
- requirement: !ruby/object:Gem::Requirement
145
- none: false
146
- requirements:
147
- - - ! '>='
148
- - !ruby/object:Gem::Version
149
- version: '0'
150
- type: :development
151
- prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
- requirements:
155
- - - ! '>='
156
- - !ruby/object:Gem::Version
157
- version: '0'
158
- - !ruby/object:Gem::Dependency
159
- name: simplecov
160
- requirement: !ruby/object:Gem::Requirement
161
- none: false
162
- requirements:
163
- - - ! '>='
164
- - !ruby/object:Gem::Version
165
- version: '0'
166
- type: :development
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
- requirements:
171
- - - ! '>='
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
- - !ruby/object:Gem::Dependency
175
- name: fakeweb
176
- requirement: !ruby/object:Gem::Requirement
177
- none: false
178
- requirements:
179
- - - ! '>='
180
- - !ruby/object:Gem::Version
181
- version: '0'
182
- type: :development
183
- prerelease: false
184
- version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
- requirements:
187
- - - ! '>='
188
- - !ruby/object:Gem::Version
189
- version: '0'
190
- - !ruby/object:Gem::Dependency
191
- name: nokogiri
192
- requirement: !ruby/object:Gem::Requirement
193
- none: false
194
- requirements:
195
- - - ! '>='
196
- - !ruby/object:Gem::Version
197
- version: '0'
198
- type: :development
199
- prerelease: false
200
- version_requirements: !ruby/object:Gem::Requirement
201
- none: false
202
- requirements:
203
- - - ! '>='
204
- - !ruby/object:Gem::Version
205
- version: '0'
206
- - !ruby/object:Gem::Dependency
207
- name: airbrake
63
+ name: multi_xml
208
64
  requirement: !ruby/object:Gem::Requirement
209
65
  none: false
210
66
  requirements:
211
67
  - - ! '>='
212
68
  - !ruby/object:Gem::Version
213
69
  version: '0'
214
- type: :development
70
+ type: :runtime
215
71
  prerelease: false
216
72
  version_requirements: !ruby/object:Gem::Requirement
217
73
  none: false
@@ -220,21 +76,21 @@ dependencies:
220
76
  - !ruby/object:Gem::Version
221
77
  version: '0'
222
78
  - !ruby/object:Gem::Dependency
223
- name: i18n
79
+ name: bundler
224
80
  requirement: !ruby/object:Gem::Requirement
225
81
  none: false
226
82
  requirements:
227
- - - ! '>='
83
+ - - ~>
228
84
  - !ruby/object:Gem::Version
229
- version: '0'
85
+ version: '1.0'
230
86
  type: :development
231
87
  prerelease: false
232
88
  version_requirements: !ruby/object:Gem::Requirement
233
89
  none: false
234
90
  requirements:
235
- - - ! '>='
91
+ - - ~>
236
92
  - !ruby/object:Gem::Version
237
- version: '0'
93
+ version: '1.0'
238
94
  description: A ruby wrapper for the Airbrake API
239
95
  email:
240
96
  - steve.agalloco@gmail.com
@@ -242,14 +98,10 @@ executables: []
242
98
  extensions: []
243
99
  extra_rdoc_files: []
244
100
  files:
245
- - .gitignore
246
101
  - .rspec
247
- - .travis.yml
248
- - Gemfile
249
102
  - README.md
250
103
  - Rakefile
251
104
  - airbrake-api.gemspec
252
- - lib/airbrake-api.rb
253
105
  - lib/airbrake-api/base.rb
254
106
  - lib/airbrake-api/client.rb
255
107
  - lib/airbrake-api/configuration.rb
@@ -261,6 +113,7 @@ files:
261
113
  - lib/airbrake-api/notice.rb
262
114
  - lib/airbrake-api/project.rb
263
115
  - lib/airbrake-api/version.rb
116
+ - lib/airbrake-api.rb
264
117
  - lib/airbrake_api.rb
265
118
  - spec/airbrake_api/client_spec.rb
266
119
  - spec/airbrake_api/error_spec.rb
@@ -292,12 +145,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
292
145
  - - ! '>='
293
146
  - !ruby/object:Gem::Version
294
147
  version: '0'
148
+ segments:
149
+ - 0
150
+ hash: 1928915121749542886
295
151
  required_rubygems_version: !ruby/object:Gem::Requirement
296
152
  none: false
297
153
  requirements:
298
154
  - - ! '>='
299
155
  - !ruby/object:Gem::Version
300
156
  version: '0'
157
+ segments:
158
+ - 0
159
+ hash: 1928915121749542886
301
160
  requirements: []
302
161
  rubyforge_project:
303
162
  rubygems_version: 1.8.23
data/.gitignore DELETED
@@ -1,6 +0,0 @@
1
- *.sw?
2
- .DS_Store
3
- coverage
4
- *.gem
5
- pkg/*
6
- Gemfile.lock
data/.travis.yml DELETED
@@ -1,13 +0,0 @@
1
- language: ruby
2
- matrix:
3
- allow_failures:
4
- - rvm:
5
- - rbx-18mode
6
- - rbx-19mode
7
- - ruby-head
8
- rvm:
9
- - 1.8.7
10
- - 1.9.2
11
- - 1.9.3
12
- - jruby
13
- - ree
data/Gemfile DELETED
@@ -1,7 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- platforms :jruby do
4
- gem 'jruby-openssl', '~> 0.7'
5
- end
6
-
7
- gemspec