rollbar 2.18.2 → 2.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (167) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +15 -0
  3. data/.travis.yml +155 -93
  4. data/Gemfile +19 -13
  5. data/README.md +12 -0
  6. data/gemfiles/rails30.gemfile +17 -10
  7. data/gemfiles/rails31.gemfile +20 -12
  8. data/gemfiles/rails32.gemfile +16 -7
  9. data/gemfiles/rails40.gemfile +16 -5
  10. data/gemfiles/rails41.gemfile +15 -5
  11. data/gemfiles/rails42.gemfile +25 -14
  12. data/gemfiles/rails50.gemfile +15 -8
  13. data/gemfiles/rails51.gemfile +15 -8
  14. data/gemfiles/rails52.gemfile +62 -0
  15. data/gemfiles/ruby_1_8_and_1_9_2.gemfile +2 -2
  16. data/lib/rails/rollbar_runner.rb +16 -1
  17. data/lib/rollbar/capistrano.rb +71 -39
  18. data/lib/rollbar/capistrano3.rb +53 -1
  19. data/lib/rollbar/capistrano_tasks.rb +131 -0
  20. data/lib/rollbar/configuration.rb +13 -4
  21. data/lib/rollbar/delay/active_job.rb +17 -0
  22. data/lib/rollbar/delay/sidekiq.rb +3 -1
  23. data/lib/rollbar/delay/thread.rb +1 -1
  24. data/lib/rollbar/deploy.rb +69 -0
  25. data/lib/rollbar/item.rb +17 -6
  26. data/lib/rollbar/middleware/js.rb +25 -3
  27. data/lib/rollbar/middleware/js/json_value.rb +26 -0
  28. data/lib/rollbar/notifier.rb +32 -13
  29. data/lib/rollbar/plugins/active_job.rb +3 -0
  30. data/lib/rollbar/plugins/rails/controller_methods.rb +2 -1
  31. data/lib/rollbar/plugins/rails/railtie_mixin.rb +7 -1
  32. data/lib/rollbar/rake_tasks.rb +126 -67
  33. data/lib/rollbar/scrubbers/params.rb +6 -0
  34. data/lib/rollbar/util.rb +75 -45
  35. data/lib/rollbar/util/hash.rb +15 -6
  36. data/lib/rollbar/version.rb +1 -1
  37. data/rollbar.gemspec +2 -3
  38. metadata +9 -261
  39. data/lib/rollbar/tasks/rollbar.cap +0 -47
  40. data/spec/cacert.pem +0 -3988
  41. data/spec/controllers/home_controller_spec.rb +0 -480
  42. data/spec/delay/sidekiq_spec.rb +0 -61
  43. data/spec/delay/sucker_punch_spec.rb +0 -25
  44. data/spec/delayed/backend/test.rb +0 -140
  45. data/spec/delayed/serialization/test.rb +0 -0
  46. data/spec/dummyapp/.gitignore +0 -73
  47. data/spec/dummyapp/Rakefile +0 -7
  48. data/spec/dummyapp/app/assets/javascripts/application.js +0 -3
  49. data/spec/dummyapp/app/assets/stylesheets/application.css.scss +0 -37
  50. data/spec/dummyapp/app/controllers/application_controller.rb +0 -3
  51. data/spec/dummyapp/app/controllers/home_controller.rb +0 -60
  52. data/spec/dummyapp/app/controllers/users_controller.rb +0 -17
  53. data/spec/dummyapp/app/helpers/.gitkeep +0 -0
  54. data/spec/dummyapp/app/mailers/.gitkeep +0 -0
  55. data/spec/dummyapp/app/models/.gitkeep +0 -0
  56. data/spec/dummyapp/app/models/book.rb +0 -5
  57. data/spec/dummyapp/app/models/post.rb +0 -9
  58. data/spec/dummyapp/app/models/user.rb +0 -9
  59. data/spec/dummyapp/app/views/devise/registrations/edit.html.erb +0 -27
  60. data/spec/dummyapp/app/views/devise/registrations/new.html.erb +0 -20
  61. data/spec/dummyapp/app/views/devise/shared/_links.html.erb +0 -25
  62. data/spec/dummyapp/app/views/home/cause_exception.html.erb +0 -1
  63. data/spec/dummyapp/app/views/home/index.html.erb +0 -4
  64. data/spec/dummyapp/app/views/home/report_exception.html.erb +0 -1
  65. data/spec/dummyapp/app/views/js/test.html.erb +0 -1
  66. data/spec/dummyapp/app/views/layouts/_messages.html.erb +0 -5
  67. data/spec/dummyapp/app/views/layouts/_navigation.html.erb +0 -21
  68. data/spec/dummyapp/app/views/layouts/application.html.erb +0 -25
  69. data/spec/dummyapp/app/views/layouts/simple.html.erb +0 -18
  70. data/spec/dummyapp/app/views/users/index.html.erb +0 -8
  71. data/spec/dummyapp/app/views/users/show.html.erb +0 -3
  72. data/spec/dummyapp/config.ru +0 -4
  73. data/spec/dummyapp/config/application.rb +0 -59
  74. data/spec/dummyapp/config/boot.rb +0 -10
  75. data/spec/dummyapp/config/database.yml +0 -25
  76. data/spec/dummyapp/config/environment.rb +0 -5
  77. data/spec/dummyapp/config/environments/development.rb +0 -37
  78. data/spec/dummyapp/config/environments/production.rb +0 -67
  79. data/spec/dummyapp/config/environments/test.rb +0 -37
  80. data/spec/dummyapp/config/initializers/backtrace_silencers.rb +0 -7
  81. data/spec/dummyapp/config/initializers/inflections.rb +0 -15
  82. data/spec/dummyapp/config/initializers/mime_types.rb +0 -5
  83. data/spec/dummyapp/config/initializers/rollbar.rb +0 -26
  84. data/spec/dummyapp/config/initializers/secret_token.rb +0 -7
  85. data/spec/dummyapp/config/initializers/session_store.rb +0 -8
  86. data/spec/dummyapp/config/initializers/wrap_parameters.rb +0 -16
  87. data/spec/dummyapp/config/locales/devise.en.yml +0 -58
  88. data/spec/dummyapp/config/locales/en.yml +0 -5
  89. data/spec/dummyapp/config/routes.rb +0 -17
  90. data/spec/dummyapp/config/secrets.yml +0 -2
  91. data/spec/dummyapp/db/migrate/20121121184652_devise_create_users.rb +0 -46
  92. data/spec/dummyapp/db/migrate/20121121184654_add_name_to_users.rb +0 -5
  93. data/spec/dummyapp/db/migrate/20161219184410_create_books.rb +0 -10
  94. data/spec/dummyapp/db/migrate/20161219185529_add_username_to_users.rb +0 -5
  95. data/spec/dummyapp/db/schema.rb +0 -41
  96. data/spec/dummyapp/db/seeds.rb +0 -12
  97. data/spec/dummyapp/lib/assets/.gitkeep +0 -0
  98. data/spec/dummyapp/public/404.html +0 -26
  99. data/spec/dummyapp/public/422.html +0 -26
  100. data/spec/dummyapp/public/500.html +0 -25
  101. data/spec/dummyapp/public/favicon.ico +0 -0
  102. data/spec/dummyapp/script/rails +0 -6
  103. data/spec/fixtures/file1 +0 -1
  104. data/spec/fixtures/file2 +0 -1
  105. data/spec/fixtures/payloads/message.json +0 -25
  106. data/spec/fixtures/payloads/sample.trace.json +0 -275
  107. data/spec/fixtures/payloads/sample.trace_chain.json +0 -530
  108. data/spec/fixtures/plugins/dummy1.rb +0 -5
  109. data/spec/fixtures/plugins/dummy2.rb +0 -5
  110. data/spec/generators/rollbar/rollbar_generator_rails30_spec.rb +0 -31
  111. data/spec/generators/rollbar/rollbar_generator_spec.rb +0 -51
  112. data/spec/requests/home_spec.rb +0 -49
  113. data/spec/rollbar/configuration_spec.rb +0 -74
  114. data/spec/rollbar/delay/delayed_job_spec.rb +0 -22
  115. data/spec/rollbar/delay/girl_friday_spec.rb +0 -41
  116. data/spec/rollbar/delay/resque_spec.rb +0 -37
  117. data/spec/rollbar/delay/shoryuken_spec.rb +0 -44
  118. data/spec/rollbar/delay/thread_spec.rb +0 -27
  119. data/spec/rollbar/encoding/encoder_spec.rb +0 -63
  120. data/spec/rollbar/item/backtrace_spec.rb +0 -26
  121. data/spec/rollbar/item/frame_spec.rb +0 -267
  122. data/spec/rollbar/item_spec.rb +0 -736
  123. data/spec/rollbar/json/oj_spec.rb +0 -18
  124. data/spec/rollbar/json_spec.rb +0 -110
  125. data/spec/rollbar/lazy_store_spec.rb +0 -99
  126. data/spec/rollbar/logger_proxy_spec.rb +0 -69
  127. data/spec/rollbar/logger_spec.rb +0 -124
  128. data/spec/rollbar/middleware/js_spec.rb +0 -428
  129. data/spec/rollbar/middleware/sinatra_spec.rb +0 -197
  130. data/spec/rollbar/notifier_spec.rb +0 -67
  131. data/spec/rollbar/plugin_spec.rb +0 -209
  132. data/spec/rollbar/plugins/active_job_spec.rb +0 -45
  133. data/spec/rollbar/plugins/delayed_job/job_data_spec.rb +0 -48
  134. data/spec/rollbar/plugins/delayed_job_spec.rb +0 -129
  135. data/spec/rollbar/plugins/rack_spec.rb +0 -152
  136. data/spec/rollbar/plugins/rails_js_spec.rb +0 -19
  137. data/spec/rollbar/plugins/rake_spec.rb +0 -34
  138. data/spec/rollbar/plugins/resque/failure_spec.rb +0 -36
  139. data/spec/rollbar/plugins/sidekiq_spec.rb +0 -169
  140. data/spec/rollbar/plugins/validations_spec.rb +0 -56
  141. data/spec/rollbar/plugins_spec.rb +0 -68
  142. data/spec/rollbar/request_data_extractor_spec.rb +0 -321
  143. data/spec/rollbar/scrubbers/params_spec.rb +0 -598
  144. data/spec/rollbar/scrubbers/url_spec.rb +0 -240
  145. data/spec/rollbar/scrubbers_spec.rb +0 -31
  146. data/spec/rollbar/sidekig/clear_scope_spec.rb +0 -19
  147. data/spec/rollbar/truncation/frames_strategy_spec.rb +0 -70
  148. data/spec/rollbar/truncation/min_body_strategy_spec.rb +0 -57
  149. data/spec/rollbar/truncation/strings_strategy_spec.rb +0 -89
  150. data/spec/rollbar/truncation_spec.rb +0 -27
  151. data/spec/rollbar/util/hash_spec.rb +0 -22
  152. data/spec/rollbar/util/ip_anonymizer_spec.rb +0 -30
  153. data/spec/rollbar/util_spec.rb +0 -80
  154. data/spec/rollbar_bc_spec.rb +0 -380
  155. data/spec/rollbar_spec.rb +0 -1737
  156. data/spec/spec_helper.rb +0 -84
  157. data/spec/support/cause_exception.rb +0 -1
  158. data/spec/support/encoding_helpers.rb +0 -8
  159. data/spec/support/encodings/iso_8859_9 +0 -1
  160. data/spec/support/fixture_helpers.rb +0 -10
  161. data/spec/support/get_ip_raising.rb +0 -7
  162. data/spec/support/helpers.rb +0 -5
  163. data/spec/support/matchers.rb +0 -23
  164. data/spec/support/notifier_helpers.rb +0 -57
  165. data/spec/support/rollbar_api.rb +0 -57
  166. data/spec/support/secure_headers_mocks.rb +0 -83
  167. data/spec/support/shared_contexts.rb +0 -12
@@ -21,6 +21,8 @@ module Rollbar
21
21
  params = options[:params]
22
22
  return {} unless params
23
23
 
24
+ @scrubbed_object_ids = {}
25
+
24
26
  config = options[:config]
25
27
  extra_fields = options[:extra_fields]
26
28
  whitelist = options[:whitelist] || []
@@ -56,6 +58,10 @@ module Rollbar
56
58
  end
57
59
 
58
60
  def scrub(params, options)
61
+ return params if @scrubbed_object_ids[params.object_id]
62
+
63
+ @scrubbed_object_ids[params.object_id] = true
64
+
59
65
  fields_regex = options[:fields_regex]
60
66
  scrub_all = options[:scrub_all]
61
67
  whitelist_regex = options[:whitelist]
@@ -1,83 +1,101 @@
1
1
  require 'rollbar/util/hash'
2
2
 
3
3
  module Rollbar
4
- module Util
5
- def self.iterate_and_update(obj, block)
6
- return if obj.frozen?
4
+ module Util # :nodoc:
5
+ def self.iterate_and_update(obj, block, seen = {})
6
+ return if obj.frozen? || seen[obj.object_id]
7
+
8
+ seen[obj.object_id] = true
9
+
7
10
  if obj.is_a?(Array)
8
- for i in 0 ... obj.size
9
- value = obj[i]
10
-
11
- if value.is_a?(::Hash) || value.is_a?(Array)
12
- self.iterate_and_update(value, block)
13
- else
14
- obj[i] = block.call(value)
15
- end
16
- end
11
+ iterate_and_update_array(obj, block, seen)
17
12
  else
18
- key_updates = []
13
+ iterate_and_update_hash(obj, block, seen)
14
+ end
15
+ end
19
16
 
20
- obj.each do |k, v|
21
- new_key = nil
17
+ def self.iterate_and_update_array(array, block, seen)
18
+ array.each_with_index do |value, i|
19
+ if value.is_a?(::Hash) || value.is_a?(Array)
20
+ iterate_and_update(value, block, seen)
21
+ else
22
+ array[i] = block.call(value)
23
+ end
24
+ end
25
+ end
22
26
 
23
- if v.is_a?(::Hash) || v.is_a?(Array)
24
- self.iterate_and_update(v, block)
25
- new_key = block.call(k)
26
- else
27
- new_key = block.call(k)
28
- obj[k] = block.call(v)
29
- end
27
+ def self.iterate_and_update_hash(obj, block, seen)
28
+ obj.keys.each do |k|
29
+ v = obj[k]
30
+ new_key = block.call(k)
30
31
 
31
- key_updates.push([k, new_key]) if new_key != k
32
+ if v.is_a?(::Hash) || v.is_a?(Array)
33
+ iterate_and_update(v, block, seen)
34
+ else
35
+ obj[k] = block.call(v)
32
36
  end
33
37
 
34
- key_updates.each do |old_key, new_key|
35
- obj[new_key] = obj[old_key]
36
- obj.delete(old_key)
38
+ if new_key != k
39
+ obj[new_key] = obj[k]
40
+ obj.delete(k)
37
41
  end
38
42
  end
39
43
  end
40
44
 
41
- def self.iterate_and_update_hash(hash, block)
42
- hash.each do |k, v|
43
- if v.is_a?(::Hash)
44
- self.iterate_and_update_hash(v, block)
45
- else
46
- hash[k] = block.call(k, v)
47
- end
45
+ def self.deep_copy(obj, copied = {})
46
+ # if we've already made a copy, return it.
47
+ return copied[obj.object_id] if copied[obj.object_id]
48
+
49
+ result = clone_obj(obj)
50
+
51
+ # Memoize the cloned object before recursive calls to #deep_copy below.
52
+ # This is the point of doing the work in two steps.
53
+ copied[obj.object_id] = result
54
+
55
+ if obj.is_a?(::Hash)
56
+ obj.each { |k, v| result[k] = deep_copy(v, copied) }
57
+ elsif obj.is_a?(Array)
58
+ obj.each { |v| result << deep_copy(v, copied) }
48
59
  end
60
+
61
+ result
49
62
  end
50
63
 
51
- def self.deep_copy(obj)
64
+ def self.clone_obj(obj)
52
65
  if obj.is_a?(::Hash)
53
- result = obj.clone
54
- obj.each { |k, v| result[k] = deep_copy(v)}
55
- result
66
+ obj.clone
56
67
  elsif obj.is_a?(Array)
57
- result = obj.clone
58
- result.clear
59
- obj.each { |v| result << deep_copy(v)}
60
- result
68
+ obj.clone.clear
61
69
  else
62
70
  obj
63
71
  end
64
72
  end
65
73
 
66
- def self.deep_merge(hash1, hash2)
74
+ def self.deep_merge(hash1, hash2, merged = {})
67
75
  hash1 ||= {}
68
76
  hash2 ||= {}
69
77
 
78
+ # If we've already merged these two objects, return hash1 now.
79
+ return hash1 if merged[hash1.object_id] && merged[hash1.object_id].include?(hash2.object_id)
80
+
81
+ merged[hash1.object_id] ||= []
82
+ merged[hash1.object_id] << hash2.object_id
83
+
84
+ perform_deep_merge(hash1, hash2, merged)
85
+
86
+ hash1
87
+ end
88
+
89
+ def self.perform_deep_merge(hash1, hash2, merged) # rubocop:disable Metrics/AbcSize
70
90
  hash2.each_key do |k|
71
91
  if hash1[k].is_a?(::Hash) && hash2[k].is_a?(::Hash)
72
- hash1[k] = deep_merge(hash1[k], hash2[k])
92
+ hash1[k] = deep_merge(hash1[k], hash2[k], merged)
73
93
  elsif hash1[k].is_a?(Array) && hash2[k].is_a?(Array)
74
94
  hash1[k] += deep_copy(hash2[k])
75
95
  elsif hash2[k]
76
96
  hash1[k] = deep_copy(hash2[k])
77
97
  end
78
98
  end
79
-
80
- hash1
81
99
  end
82
100
 
83
101
  def self.truncate(str, length)
@@ -97,5 +115,17 @@ module Rollbar
97
115
 
98
116
  Util.iterate_and_update(payload, normalizer)
99
117
  end
118
+
119
+ def self.count_method_in_stack(method_symbol, file_path = '')
120
+ caller.grep(/#{file_path}.*#{method_symbol.to_s}/).count
121
+ end
122
+
123
+ def self.method_in_stack(method_symbol, file_path = '')
124
+ count_method_in_stack(method_symbol, file_path) > 0
125
+ end
126
+
127
+ def self.method_in_stack_twice(method_symbol, file_path = '')
128
+ count_method_in_stack(method_symbol, file_path) > 1
129
+ end
100
130
  end
101
131
  end
@@ -1,20 +1,29 @@
1
1
  module Rollbar
2
2
  module Util
3
- module Hash
4
- def self.deep_stringify_keys(hash)
3
+ module Hash # :nodoc:
4
+ def self.deep_stringify_keys(hash, seen = {})
5
+ return if seen[hash.object_id]
6
+
7
+ seen[hash.object_id] = true
8
+
5
9
  hash.reduce({}) do |h, (key, value)|
6
- h[key.to_s] = map_value(value, :deep_stringify_keys)
10
+ h[key.to_s] = map_value(value, :deep_stringify_keys, seen)
7
11
 
8
12
  h
9
13
  end
10
14
  end
11
15
 
12
- def self.map_value(thing, m)
16
+ def self.map_value(thing, meth, seen)
13
17
  case thing
14
18
  when ::Hash
15
- send(m, thing)
19
+ send(meth, thing, seen)
16
20
  when Array
17
- thing.map { |v| map_value(v, m) }
21
+ if seen[thing.object_id]
22
+ thing
23
+ else
24
+ seen[thing.object_id] = true
25
+ thing.map { |v| map_value(v, meth, seen) }
26
+ end
18
27
  else
19
28
  thing
20
29
  end
@@ -1,3 +1,3 @@
1
1
  module Rollbar
2
- VERSION = '2.18.2'
2
+ VERSION = '2.19.0'
3
3
  end
@@ -11,11 +11,10 @@ Gem::Specification.new do |gem|
11
11
  gem.summary = %q{Reports exceptions to Rollbar}
12
12
  gem.homepage = 'https://rollbar.com'
13
13
  gem.license = 'MIT'
14
-
15
- gem.files = `git ls-files`.split($\)
16
- gem.test_files = gem.files.grep(%r{^(spec)/})
14
+ gem.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
15
  gem.name = 'rollbar'
18
16
  gem.require_paths = ['lib']
17
+ gem.required_ruby_version = '>= 1.9.3'
19
18
  gem.version = Rollbar::VERSION
20
19
 
21
20
  gem.add_runtime_dependency 'multi_json'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rollbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.18.2
4
+ version: 2.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rollbar, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-14 00:00:00.000000000 Z
11
+ date: 2019-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -58,6 +58,7 @@ files:
58
58
  - gemfiles/rails42.gemfile
59
59
  - gemfiles/rails50.gemfile
60
60
  - gemfiles/rails51.gemfile
61
+ - gemfiles/rails52.gemfile
61
62
  - gemfiles/ruby_1_8_and_1_9_2.gemfile
62
63
  - lib/generators/rollbar/rollbar_generator.rb
63
64
  - lib/generators/rollbar/templates/initializer.rb
@@ -65,7 +66,9 @@ files:
65
66
  - lib/rollbar.rb
66
67
  - lib/rollbar/capistrano.rb
67
68
  - lib/rollbar/capistrano3.rb
69
+ - lib/rollbar/capistrano_tasks.rb
68
70
  - lib/rollbar/configuration.rb
71
+ - lib/rollbar/delay/active_job.rb
69
72
  - lib/rollbar/delay/delayed_job.rb
70
73
  - lib/rollbar/delay/girl_friday.rb
71
74
  - lib/rollbar/delay/resque.rb
@@ -73,6 +76,7 @@ files:
73
76
  - lib/rollbar/delay/sidekiq.rb
74
77
  - lib/rollbar/delay/sucker_punch.rb
75
78
  - lib/rollbar/delay/thread.rb
79
+ - lib/rollbar/deploy.rb
76
80
  - lib/rollbar/encoding.rb
77
81
  - lib/rollbar/encoding/encoder.rb
78
82
  - lib/rollbar/encoding/legacy_encoder.rb
@@ -90,6 +94,7 @@ files:
90
94
  - lib/rollbar/logger.rb
91
95
  - lib/rollbar/logger_proxy.rb
92
96
  - lib/rollbar/middleware/js.rb
97
+ - lib/rollbar/middleware/js/json_value.rb
93
98
  - lib/rollbar/middleware/rack.rb
94
99
  - lib/rollbar/middleware/rack/builder.rb
95
100
  - lib/rollbar/middleware/rack/test_session.rb
@@ -124,7 +129,6 @@ files:
124
129
  - lib/rollbar/scrubbers.rb
125
130
  - lib/rollbar/scrubbers/params.rb
126
131
  - lib/rollbar/scrubbers/url.rb
127
- - lib/rollbar/tasks/rollbar.cap
128
132
  - lib/rollbar/truncation.rb
129
133
  - lib/rollbar/truncation/frames_strategy.rb
130
134
  - lib/rollbar/truncation/min_body_strategy.rb
@@ -138,134 +142,6 @@ files:
138
142
  - lib/rollbar/version.rb
139
143
  - lib/tasks/tasks.rake
140
144
  - rollbar.gemspec
141
- - spec/cacert.pem
142
- - spec/controllers/home_controller_spec.rb
143
- - spec/delay/sidekiq_spec.rb
144
- - spec/delay/sucker_punch_spec.rb
145
- - spec/delayed/backend/test.rb
146
- - spec/delayed/serialization/test.rb
147
- - spec/dummyapp/.gitignore
148
- - spec/dummyapp/Rakefile
149
- - spec/dummyapp/app/assets/javascripts/application.js
150
- - spec/dummyapp/app/assets/stylesheets/application.css.scss
151
- - spec/dummyapp/app/controllers/application_controller.rb
152
- - spec/dummyapp/app/controllers/home_controller.rb
153
- - spec/dummyapp/app/controllers/users_controller.rb
154
- - spec/dummyapp/app/helpers/.gitkeep
155
- - spec/dummyapp/app/mailers/.gitkeep
156
- - spec/dummyapp/app/models/.gitkeep
157
- - spec/dummyapp/app/models/book.rb
158
- - spec/dummyapp/app/models/post.rb
159
- - spec/dummyapp/app/models/user.rb
160
- - spec/dummyapp/app/views/devise/registrations/edit.html.erb
161
- - spec/dummyapp/app/views/devise/registrations/new.html.erb
162
- - spec/dummyapp/app/views/devise/shared/_links.html.erb
163
- - spec/dummyapp/app/views/home/cause_exception.html.erb
164
- - spec/dummyapp/app/views/home/index.html.erb
165
- - spec/dummyapp/app/views/home/report_exception.html.erb
166
- - spec/dummyapp/app/views/js/test.html.erb
167
- - spec/dummyapp/app/views/layouts/_messages.html.erb
168
- - spec/dummyapp/app/views/layouts/_navigation.html.erb
169
- - spec/dummyapp/app/views/layouts/application.html.erb
170
- - spec/dummyapp/app/views/layouts/simple.html.erb
171
- - spec/dummyapp/app/views/users/index.html.erb
172
- - spec/dummyapp/app/views/users/show.html.erb
173
- - spec/dummyapp/config.ru
174
- - spec/dummyapp/config/application.rb
175
- - spec/dummyapp/config/boot.rb
176
- - spec/dummyapp/config/database.yml
177
- - spec/dummyapp/config/environment.rb
178
- - spec/dummyapp/config/environments/development.rb
179
- - spec/dummyapp/config/environments/production.rb
180
- - spec/dummyapp/config/environments/test.rb
181
- - spec/dummyapp/config/initializers/backtrace_silencers.rb
182
- - spec/dummyapp/config/initializers/inflections.rb
183
- - spec/dummyapp/config/initializers/mime_types.rb
184
- - spec/dummyapp/config/initializers/rollbar.rb
185
- - spec/dummyapp/config/initializers/secret_token.rb
186
- - spec/dummyapp/config/initializers/session_store.rb
187
- - spec/dummyapp/config/initializers/wrap_parameters.rb
188
- - spec/dummyapp/config/locales/devise.en.yml
189
- - spec/dummyapp/config/locales/en.yml
190
- - spec/dummyapp/config/routes.rb
191
- - spec/dummyapp/config/secrets.yml
192
- - spec/dummyapp/db/migrate/20121121184652_devise_create_users.rb
193
- - spec/dummyapp/db/migrate/20121121184654_add_name_to_users.rb
194
- - spec/dummyapp/db/migrate/20161219184410_create_books.rb
195
- - spec/dummyapp/db/migrate/20161219185529_add_username_to_users.rb
196
- - spec/dummyapp/db/schema.rb
197
- - spec/dummyapp/db/seeds.rb
198
- - spec/dummyapp/lib/assets/.gitkeep
199
- - spec/dummyapp/public/404.html
200
- - spec/dummyapp/public/422.html
201
- - spec/dummyapp/public/500.html
202
- - spec/dummyapp/public/favicon.ico
203
- - spec/dummyapp/script/rails
204
- - spec/fixtures/file1
205
- - spec/fixtures/file2
206
- - spec/fixtures/payloads/message.json
207
- - spec/fixtures/payloads/sample.trace.json
208
- - spec/fixtures/payloads/sample.trace_chain.json
209
- - spec/fixtures/plugins/dummy1.rb
210
- - spec/fixtures/plugins/dummy2.rb
211
- - spec/generators/rollbar/rollbar_generator_rails30_spec.rb
212
- - spec/generators/rollbar/rollbar_generator_spec.rb
213
- - spec/requests/home_spec.rb
214
- - spec/rollbar/configuration_spec.rb
215
- - spec/rollbar/delay/delayed_job_spec.rb
216
- - spec/rollbar/delay/girl_friday_spec.rb
217
- - spec/rollbar/delay/resque_spec.rb
218
- - spec/rollbar/delay/shoryuken_spec.rb
219
- - spec/rollbar/delay/thread_spec.rb
220
- - spec/rollbar/encoding/encoder_spec.rb
221
- - spec/rollbar/item/backtrace_spec.rb
222
- - spec/rollbar/item/frame_spec.rb
223
- - spec/rollbar/item_spec.rb
224
- - spec/rollbar/json/oj_spec.rb
225
- - spec/rollbar/json_spec.rb
226
- - spec/rollbar/lazy_store_spec.rb
227
- - spec/rollbar/logger_proxy_spec.rb
228
- - spec/rollbar/logger_spec.rb
229
- - spec/rollbar/middleware/js_spec.rb
230
- - spec/rollbar/middleware/sinatra_spec.rb
231
- - spec/rollbar/notifier_spec.rb
232
- - spec/rollbar/plugin_spec.rb
233
- - spec/rollbar/plugins/active_job_spec.rb
234
- - spec/rollbar/plugins/delayed_job/job_data_spec.rb
235
- - spec/rollbar/plugins/delayed_job_spec.rb
236
- - spec/rollbar/plugins/rack_spec.rb
237
- - spec/rollbar/plugins/rails_js_spec.rb
238
- - spec/rollbar/plugins/rake_spec.rb
239
- - spec/rollbar/plugins/resque/failure_spec.rb
240
- - spec/rollbar/plugins/sidekiq_spec.rb
241
- - spec/rollbar/plugins/validations_spec.rb
242
- - spec/rollbar/plugins_spec.rb
243
- - spec/rollbar/request_data_extractor_spec.rb
244
- - spec/rollbar/scrubbers/params_spec.rb
245
- - spec/rollbar/scrubbers/url_spec.rb
246
- - spec/rollbar/scrubbers_spec.rb
247
- - spec/rollbar/sidekig/clear_scope_spec.rb
248
- - spec/rollbar/truncation/frames_strategy_spec.rb
249
- - spec/rollbar/truncation/min_body_strategy_spec.rb
250
- - spec/rollbar/truncation/strings_strategy_spec.rb
251
- - spec/rollbar/truncation_spec.rb
252
- - spec/rollbar/util/hash_spec.rb
253
- - spec/rollbar/util/ip_anonymizer_spec.rb
254
- - spec/rollbar/util_spec.rb
255
- - spec/rollbar_bc_spec.rb
256
- - spec/rollbar_spec.rb
257
- - spec/spec_helper.rb
258
- - spec/support/cause_exception.rb
259
- - spec/support/encoding_helpers.rb
260
- - spec/support/encodings/iso_8859_9
261
- - spec/support/fixture_helpers.rb
262
- - spec/support/get_ip_raising.rb
263
- - spec/support/helpers.rb
264
- - spec/support/matchers.rb
265
- - spec/support/notifier_helpers.rb
266
- - spec/support/rollbar_api.rb
267
- - spec/support/secure_headers_mocks.rb
268
- - spec/support/shared_contexts.rb
269
145
  homepage: https://rollbar.com
270
146
  licenses:
271
147
  - MIT
@@ -278,7 +154,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
278
154
  requirements:
279
155
  - - ">="
280
156
  - !ruby/object:Gem::Version
281
- version: '0'
157
+ version: 1.9.3
282
158
  required_rubygems_version: !ruby/object:Gem::Requirement
283
159
  requirements:
284
160
  - - ">="
@@ -290,132 +166,4 @@ rubygems_version: 2.5.1
290
166
  signing_key:
291
167
  specification_version: 4
292
168
  summary: Reports exceptions to Rollbar
293
- test_files:
294
- - spec/cacert.pem
295
- - spec/controllers/home_controller_spec.rb
296
- - spec/delay/sidekiq_spec.rb
297
- - spec/delay/sucker_punch_spec.rb
298
- - spec/delayed/backend/test.rb
299
- - spec/delayed/serialization/test.rb
300
- - spec/dummyapp/.gitignore
301
- - spec/dummyapp/Rakefile
302
- - spec/dummyapp/app/assets/javascripts/application.js
303
- - spec/dummyapp/app/assets/stylesheets/application.css.scss
304
- - spec/dummyapp/app/controllers/application_controller.rb
305
- - spec/dummyapp/app/controllers/home_controller.rb
306
- - spec/dummyapp/app/controllers/users_controller.rb
307
- - spec/dummyapp/app/helpers/.gitkeep
308
- - spec/dummyapp/app/mailers/.gitkeep
309
- - spec/dummyapp/app/models/.gitkeep
310
- - spec/dummyapp/app/models/book.rb
311
- - spec/dummyapp/app/models/post.rb
312
- - spec/dummyapp/app/models/user.rb
313
- - spec/dummyapp/app/views/devise/registrations/edit.html.erb
314
- - spec/dummyapp/app/views/devise/registrations/new.html.erb
315
- - spec/dummyapp/app/views/devise/shared/_links.html.erb
316
- - spec/dummyapp/app/views/home/cause_exception.html.erb
317
- - spec/dummyapp/app/views/home/index.html.erb
318
- - spec/dummyapp/app/views/home/report_exception.html.erb
319
- - spec/dummyapp/app/views/js/test.html.erb
320
- - spec/dummyapp/app/views/layouts/_messages.html.erb
321
- - spec/dummyapp/app/views/layouts/_navigation.html.erb
322
- - spec/dummyapp/app/views/layouts/application.html.erb
323
- - spec/dummyapp/app/views/layouts/simple.html.erb
324
- - spec/dummyapp/app/views/users/index.html.erb
325
- - spec/dummyapp/app/views/users/show.html.erb
326
- - spec/dummyapp/config.ru
327
- - spec/dummyapp/config/application.rb
328
- - spec/dummyapp/config/boot.rb
329
- - spec/dummyapp/config/database.yml
330
- - spec/dummyapp/config/environment.rb
331
- - spec/dummyapp/config/environments/development.rb
332
- - spec/dummyapp/config/environments/production.rb
333
- - spec/dummyapp/config/environments/test.rb
334
- - spec/dummyapp/config/initializers/backtrace_silencers.rb
335
- - spec/dummyapp/config/initializers/inflections.rb
336
- - spec/dummyapp/config/initializers/mime_types.rb
337
- - spec/dummyapp/config/initializers/rollbar.rb
338
- - spec/dummyapp/config/initializers/secret_token.rb
339
- - spec/dummyapp/config/initializers/session_store.rb
340
- - spec/dummyapp/config/initializers/wrap_parameters.rb
341
- - spec/dummyapp/config/locales/devise.en.yml
342
- - spec/dummyapp/config/locales/en.yml
343
- - spec/dummyapp/config/routes.rb
344
- - spec/dummyapp/config/secrets.yml
345
- - spec/dummyapp/db/migrate/20121121184652_devise_create_users.rb
346
- - spec/dummyapp/db/migrate/20121121184654_add_name_to_users.rb
347
- - spec/dummyapp/db/migrate/20161219184410_create_books.rb
348
- - spec/dummyapp/db/migrate/20161219185529_add_username_to_users.rb
349
- - spec/dummyapp/db/schema.rb
350
- - spec/dummyapp/db/seeds.rb
351
- - spec/dummyapp/lib/assets/.gitkeep
352
- - spec/dummyapp/public/404.html
353
- - spec/dummyapp/public/422.html
354
- - spec/dummyapp/public/500.html
355
- - spec/dummyapp/public/favicon.ico
356
- - spec/dummyapp/script/rails
357
- - spec/fixtures/file1
358
- - spec/fixtures/file2
359
- - spec/fixtures/payloads/message.json
360
- - spec/fixtures/payloads/sample.trace.json
361
- - spec/fixtures/payloads/sample.trace_chain.json
362
- - spec/fixtures/plugins/dummy1.rb
363
- - spec/fixtures/plugins/dummy2.rb
364
- - spec/generators/rollbar/rollbar_generator_rails30_spec.rb
365
- - spec/generators/rollbar/rollbar_generator_spec.rb
366
- - spec/requests/home_spec.rb
367
- - spec/rollbar/configuration_spec.rb
368
- - spec/rollbar/delay/delayed_job_spec.rb
369
- - spec/rollbar/delay/girl_friday_spec.rb
370
- - spec/rollbar/delay/resque_spec.rb
371
- - spec/rollbar/delay/shoryuken_spec.rb
372
- - spec/rollbar/delay/thread_spec.rb
373
- - spec/rollbar/encoding/encoder_spec.rb
374
- - spec/rollbar/item/backtrace_spec.rb
375
- - spec/rollbar/item/frame_spec.rb
376
- - spec/rollbar/item_spec.rb
377
- - spec/rollbar/json/oj_spec.rb
378
- - spec/rollbar/json_spec.rb
379
- - spec/rollbar/lazy_store_spec.rb
380
- - spec/rollbar/logger_proxy_spec.rb
381
- - spec/rollbar/logger_spec.rb
382
- - spec/rollbar/middleware/js_spec.rb
383
- - spec/rollbar/middleware/sinatra_spec.rb
384
- - spec/rollbar/notifier_spec.rb
385
- - spec/rollbar/plugin_spec.rb
386
- - spec/rollbar/plugins/active_job_spec.rb
387
- - spec/rollbar/plugins/delayed_job/job_data_spec.rb
388
- - spec/rollbar/plugins/delayed_job_spec.rb
389
- - spec/rollbar/plugins/rack_spec.rb
390
- - spec/rollbar/plugins/rails_js_spec.rb
391
- - spec/rollbar/plugins/rake_spec.rb
392
- - spec/rollbar/plugins/resque/failure_spec.rb
393
- - spec/rollbar/plugins/sidekiq_spec.rb
394
- - spec/rollbar/plugins/validations_spec.rb
395
- - spec/rollbar/plugins_spec.rb
396
- - spec/rollbar/request_data_extractor_spec.rb
397
- - spec/rollbar/scrubbers/params_spec.rb
398
- - spec/rollbar/scrubbers/url_spec.rb
399
- - spec/rollbar/scrubbers_spec.rb
400
- - spec/rollbar/sidekig/clear_scope_spec.rb
401
- - spec/rollbar/truncation/frames_strategy_spec.rb
402
- - spec/rollbar/truncation/min_body_strategy_spec.rb
403
- - spec/rollbar/truncation/strings_strategy_spec.rb
404
- - spec/rollbar/truncation_spec.rb
405
- - spec/rollbar/util/hash_spec.rb
406
- - spec/rollbar/util/ip_anonymizer_spec.rb
407
- - spec/rollbar/util_spec.rb
408
- - spec/rollbar_bc_spec.rb
409
- - spec/rollbar_spec.rb
410
- - spec/spec_helper.rb
411
- - spec/support/cause_exception.rb
412
- - spec/support/encoding_helpers.rb
413
- - spec/support/encodings/iso_8859_9
414
- - spec/support/fixture_helpers.rb
415
- - spec/support/get_ip_raising.rb
416
- - spec/support/helpers.rb
417
- - spec/support/matchers.rb
418
- - spec/support/notifier_helpers.rb
419
- - spec/support/rollbar_api.rb
420
- - spec/support/secure_headers_mocks.rb
421
- - spec/support/shared_contexts.rb
169
+ test_files: []