rollbar 1.5.3 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,11 @@ namespace :dummy do
10
10
  load 'spec/dummyapp/Rakefile'
11
11
  end
12
12
 
13
+ if ENV['TRAVIS_JDK_VERSION'] == 'oraclejdk7'
14
+ require 'rollbar/configuration'
15
+ Rollbar::Configuration::DEFAULT_ENDPOINT = 'https://api-alt.rollbar.com/api/1/item/'
16
+ end
17
+
13
18
  Rake::Task['dummy:db:setup'].invoke
14
19
 
15
20
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
@@ -50,3 +55,4 @@ end
50
55
  def local?
51
56
  ENV['LOCAL'] == '1'
52
57
  end
58
+
@@ -5,6 +5,6 @@ module FixtureHelpers
5
5
  end
6
6
 
7
7
  def load_payload_fixture(relative_path)
8
- MultiJson.load(File.read(fixture_file(relative_path)))
8
+ Rollbar::JSON.load(File.read(fixture_file(relative_path)))
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,183 +1,183 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rollbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.3
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rollbar, Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-19 00:00:00.000000000 Z
11
+ date: 2015-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: multi_json
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.3'
20
- type: :runtime
21
- prerelease: false
14
+ name: rails
22
15
  version_requirements: !ruby/object:Gem::Requirement
23
16
  requirements:
24
- - - "~>"
17
+ - - '>='
25
18
  - !ruby/object:Gem::Version
26
- version: '1.3'
27
- - !ruby/object:Gem::Dependency
28
- name: rails
19
+ version: 3.0.0
29
20
  requirement: !ruby/object:Gem::Requirement
30
21
  requirements:
31
- - - ">="
22
+ - - '>='
32
23
  - !ruby/object:Gem::Version
33
24
  version: 3.0.0
34
- type: :development
35
25
  prerelease: false
26
+ type: :development
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec-rails
36
29
  version_requirements: !ruby/object:Gem::Requirement
37
30
  requirements:
38
- - - ">="
31
+ - - '>='
39
32
  - !ruby/object:Gem::Version
40
- version: 3.0.0
41
- - !ruby/object:Gem::Dependency
42
- name: rspec-rails
33
+ version: 2.14.0
43
34
  requirement: !ruby/object:Gem::Requirement
44
35
  requirements:
45
- - - ">="
36
+ - - '>='
46
37
  - !ruby/object:Gem::Version
47
38
  version: 2.14.0
48
- type: :development
49
39
  prerelease: false
40
+ type: :development
41
+ - !ruby/object:Gem::Dependency
42
+ name: database_cleaner
50
43
  version_requirements: !ruby/object:Gem::Requirement
51
44
  requirements:
52
- - - ">="
45
+ - - ~>
53
46
  - !ruby/object:Gem::Version
54
- version: 2.14.0
55
- - !ruby/object:Gem::Dependency
56
- name: database_cleaner
47
+ version: 1.0.0
57
48
  requirement: !ruby/object:Gem::Requirement
58
49
  requirements:
59
- - - "~>"
50
+ - - ~>
60
51
  - !ruby/object:Gem::Version
61
52
  version: 1.0.0
62
- type: :development
63
53
  prerelease: false
54
+ type: :development
55
+ - !ruby/object:Gem::Dependency
56
+ name: girl_friday
64
57
  version_requirements: !ruby/object:Gem::Requirement
65
58
  requirements:
66
- - - "~>"
59
+ - - '>='
67
60
  - !ruby/object:Gem::Version
68
- version: 1.0.0
69
- - !ruby/object:Gem::Dependency
70
- name: girl_friday
61
+ version: 0.11.1
71
62
  requirement: !ruby/object:Gem::Requirement
72
63
  requirements:
73
- - - ">="
64
+ - - '>='
74
65
  - !ruby/object:Gem::Version
75
66
  version: 0.11.1
76
- type: :development
77
67
  prerelease: false
68
+ type: :development
69
+ - !ruby/object:Gem::Dependency
70
+ name: sucker_punch
78
71
  version_requirements: !ruby/object:Gem::Requirement
79
72
  requirements:
80
- - - ">="
73
+ - - '>='
81
74
  - !ruby/object:Gem::Version
82
- version: 0.11.1
83
- - !ruby/object:Gem::Dependency
84
- name: sucker_punch
75
+ version: 1.0.0
85
76
  requirement: !ruby/object:Gem::Requirement
86
77
  requirements:
87
- - - ">="
78
+ - - '>='
88
79
  - !ruby/object:Gem::Version
89
80
  version: 1.0.0
90
- type: :development
91
81
  prerelease: false
82
+ type: :development
83
+ - !ruby/object:Gem::Dependency
84
+ name: sidekiq
92
85
  version_requirements: !ruby/object:Gem::Requirement
93
86
  requirements:
94
- - - ">="
87
+ - - '>='
95
88
  - !ruby/object:Gem::Version
96
- version: 1.0.0
97
- - !ruby/object:Gem::Dependency
98
- name: sidekiq
89
+ version: 2.13.0
99
90
  requirement: !ruby/object:Gem::Requirement
100
91
  requirements:
101
- - - ">="
92
+ - - '>='
102
93
  - !ruby/object:Gem::Version
103
94
  version: 2.13.0
104
- type: :development
105
95
  prerelease: false
96
+ type: :development
97
+ - !ruby/object:Gem::Dependency
98
+ name: genspec
106
99
  version_requirements: !ruby/object:Gem::Requirement
107
100
  requirements:
108
- - - ">="
101
+ - - '>='
109
102
  - !ruby/object:Gem::Version
110
- version: 2.13.0
111
- - !ruby/object:Gem::Dependency
112
- name: genspec
103
+ version: 0.2.8
113
104
  requirement: !ruby/object:Gem::Requirement
114
105
  requirements:
115
- - - ">="
106
+ - - '>='
116
107
  - !ruby/object:Gem::Version
117
108
  version: 0.2.8
118
- type: :development
119
109
  prerelease: false
110
+ type: :development
111
+ - !ruby/object:Gem::Dependency
112
+ name: sinatra
120
113
  version_requirements: !ruby/object:Gem::Requirement
121
114
  requirements:
122
- - - ">="
115
+ - - '>='
123
116
  - !ruby/object:Gem::Version
124
- version: 0.2.8
125
- - !ruby/object:Gem::Dependency
126
- name: sinatra
117
+ version: '0'
127
118
  requirement: !ruby/object:Gem::Requirement
128
119
  requirements:
129
- - - ">="
120
+ - - '>='
130
121
  - !ruby/object:Gem::Version
131
122
  version: '0'
132
- type: :development
133
123
  prerelease: false
124
+ type: :development
125
+ - !ruby/object:Gem::Dependency
126
+ name: resque
134
127
  version_requirements: !ruby/object:Gem::Requirement
135
128
  requirements:
136
- - - ">="
129
+ - - '>='
137
130
  - !ruby/object:Gem::Version
138
131
  version: '0'
139
- - !ruby/object:Gem::Dependency
140
- name: resque
141
132
  requirement: !ruby/object:Gem::Requirement
142
133
  requirements:
143
- - - ">="
134
+ - - '>='
144
135
  - !ruby/object:Gem::Version
145
136
  version: '0'
146
- type: :development
147
137
  prerelease: false
138
+ type: :development
139
+ - !ruby/object:Gem::Dependency
140
+ name: delayed_job
148
141
  version_requirements: !ruby/object:Gem::Requirement
149
142
  requirements:
150
- - - ">="
143
+ - - '>='
151
144
  - !ruby/object:Gem::Version
152
145
  version: '0'
153
- - !ruby/object:Gem::Dependency
154
- name: delayed_job
155
146
  requirement: !ruby/object:Gem::Requirement
156
147
  requirements:
157
- - - ">="
148
+ - - '>='
158
149
  - !ruby/object:Gem::Version
159
150
  version: '0'
160
- type: :development
161
151
  prerelease: false
152
+ type: :development
153
+ - !ruby/object:Gem::Dependency
154
+ name: rake
162
155
  version_requirements: !ruby/object:Gem::Requirement
163
156
  requirements:
164
- - - ">="
157
+ - - '>='
165
158
  - !ruby/object:Gem::Version
166
- version: '0'
167
- - !ruby/object:Gem::Dependency
168
- name: rake
159
+ version: 0.9.0
169
160
  requirement: !ruby/object:Gem::Requirement
170
161
  requirements:
171
- - - ">="
162
+ - - '>='
172
163
  - !ruby/object:Gem::Version
173
164
  version: 0.9.0
174
- type: :development
175
165
  prerelease: false
166
+ type: :development
167
+ - !ruby/object:Gem::Dependency
168
+ name: redis
176
169
  version_requirements: !ruby/object:Gem::Requirement
177
170
  requirements:
178
- - - ">="
171
+ - - '>='
179
172
  - !ruby/object:Gem::Version
180
- version: 0.9.0
173
+ version: '0'
174
+ requirement: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - '>='
177
+ - !ruby/object:Gem::Version
178
+ version: '0'
179
+ prerelease: false
180
+ type: :development
181
181
  description: Rails plugin to catch and send exceptions to Rollbar
182
182
  email:
183
183
  - support@rollbar.com
@@ -186,8 +186,8 @@ executables:
186
186
  extensions: []
187
187
  extra_rdoc_files: []
188
188
  files:
189
- - ".gitignore"
190
- - ".travis.yml"
189
+ - .gitignore
190
+ - .travis.yml
191
191
  - Appraisals
192
192
  - CHANGELOG.md
193
193
  - Gemfile
@@ -212,6 +212,7 @@ files:
212
212
  - lib/rollbar/capistrano.rb
213
213
  - lib/rollbar/capistrano3.rb
214
214
  - lib/rollbar/configuration.rb
215
+ - lib/rollbar/core_ext/basic_socket.rb
215
216
  - lib/rollbar/core_ext/thread.rb
216
217
  - lib/rollbar/delay/girl_friday.rb
217
218
  - lib/rollbar/delay/resque.rb
@@ -219,8 +220,12 @@ files:
219
220
  - lib/rollbar/delay/sucker_punch.rb
220
221
  - lib/rollbar/delay/thread.rb
221
222
  - lib/rollbar/delayed_job.rb
223
+ - lib/rollbar/encoding.rb
224
+ - lib/rollbar/encoding/encoder.rb
225
+ - lib/rollbar/encoding/legacy_encoder.rb
222
226
  - lib/rollbar/exception_reporter.rb
223
227
  - lib/rollbar/goalie.rb
228
+ - lib/rollbar/json.rb
224
229
  - lib/rollbar/logger_proxy.rb
225
230
  - lib/rollbar/middleware/rack/builder.rb
226
231
  - lib/rollbar/middleware/rack/test_session.rb
@@ -309,6 +314,8 @@ files:
309
314
  - spec/rollbar/delay/resque_spec.rb
310
315
  - spec/rollbar/delay/thread_spec.rb
311
316
  - spec/rollbar/delayed_job_spec.rb
317
+ - spec/rollbar/encoding/encoder_spec.rb
318
+ - spec/rollbar/json_spec.rb
312
319
  - spec/rollbar/logger_proxy_spec.rb
313
320
  - spec/rollbar/middleware/rack/builder_spec.rb
314
321
  - spec/rollbar/middleware/sinatra_spec.rb
@@ -332,24 +339,24 @@ homepage: https://github.com/rollbar/rollbar-gem
332
339
  licenses:
333
340
  - MIT
334
341
  metadata: {}
335
- post_install_message:
342
+ post_install_message:
336
343
  rdoc_options: []
337
344
  require_paths:
338
345
  - lib
339
346
  required_ruby_version: !ruby/object:Gem::Requirement
340
347
  requirements:
341
- - - ">="
348
+ - - '>='
342
349
  - !ruby/object:Gem::Version
343
350
  version: '0'
344
351
  required_rubygems_version: !ruby/object:Gem::Requirement
345
352
  requirements:
346
- - - ">="
353
+ - - '>='
347
354
  - !ruby/object:Gem::Version
348
355
  version: '0'
349
356
  requirements: []
350
- rubyforge_project:
351
- rubygems_version: 2.3.0
352
- signing_key:
357
+ rubyforge_project:
358
+ rubygems_version: 2.4.5
359
+ signing_key:
353
360
  specification_version: 4
354
361
  summary: Reports exceptions to Rollbar
355
362
  test_files:
@@ -416,6 +423,8 @@ test_files:
416
423
  - spec/rollbar/delay/resque_spec.rb
417
424
  - spec/rollbar/delay/thread_spec.rb
418
425
  - spec/rollbar/delayed_job_spec.rb
426
+ - spec/rollbar/encoding/encoder_spec.rb
427
+ - spec/rollbar/json_spec.rb
419
428
  - spec/rollbar/logger_proxy_spec.rb
420
429
  - spec/rollbar/middleware/rack/builder_spec.rb
421
430
  - spec/rollbar/middleware/sinatra_spec.rb