ratchetio 0.4.0 → 0.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. data/.gitignore +2 -0
  2. data/.travis.yml +15 -0
  3. data/CHANGELOG.md +29 -4
  4. data/Gemfile +5 -1
  5. data/README.md +45 -8
  6. data/Rakefile +13 -1
  7. data/THANKS +5 -0
  8. data/lib/generators/ratchetio/ratchetio_generator.rb +1 -1
  9. data/lib/generators/ratchetio/templates/initializer.rb +10 -0
  10. data/lib/ratchetio/configuration.rb +24 -10
  11. data/lib/ratchetio/goalie.rb +23 -0
  12. data/lib/ratchetio/rails/controller_methods.rb +8 -3
  13. data/lib/ratchetio/rails/middleware/exception_catcher.rb +2 -4
  14. data/lib/ratchetio/railtie.rb +1 -0
  15. data/lib/ratchetio/version.rb +1 -1
  16. data/lib/ratchetio.rb +186 -59
  17. data/ratchetio.gemspec +6 -3
  18. data/spec/controllers/home_controller_spec.rb +186 -0
  19. data/spec/dummyapp/.gitignore +73 -0
  20. data/spec/dummyapp/Rakefile +7 -0
  21. data/spec/dummyapp/app/assets/javascripts/application.js +3 -0
  22. data/spec/dummyapp/app/assets/stylesheets/application.css.scss +37 -0
  23. data/spec/dummyapp/app/controllers/application_controller.rb +3 -0
  24. data/spec/dummyapp/app/controllers/home_controller.rb +21 -0
  25. data/spec/dummyapp/app/controllers/users_controller.rb +12 -0
  26. data/spec/dummyapp/app/helpers/.gitkeep +0 -0
  27. data/spec/dummyapp/app/mailers/.gitkeep +0 -0
  28. data/spec/dummyapp/app/models/.gitkeep +0 -0
  29. data/spec/dummyapp/app/models/user.rb +11 -0
  30. data/spec/dummyapp/app/views/devise/registrations/edit.html.erb +27 -0
  31. data/spec/dummyapp/app/views/devise/registrations/new.html.erb +20 -0
  32. data/spec/dummyapp/app/views/devise/shared/_links.html.erb +25 -0
  33. data/spec/dummyapp/app/views/home/cause_exception.html.erb +1 -0
  34. data/spec/dummyapp/app/views/home/index.html.erb +4 -0
  35. data/spec/dummyapp/app/views/home/report_exception.html.erb +1 -0
  36. data/spec/dummyapp/app/views/layouts/_messages.html.erb +5 -0
  37. data/spec/dummyapp/app/views/layouts/_navigation.html.erb +21 -0
  38. data/spec/dummyapp/app/views/layouts/application.html.erb +25 -0
  39. data/spec/dummyapp/app/views/users/index.html.erb +8 -0
  40. data/spec/dummyapp/app/views/users/show.html.erb +3 -0
  41. data/spec/dummyapp/config/application.rb +60 -0
  42. data/spec/dummyapp/config/boot.rb +10 -0
  43. data/spec/dummyapp/config/database.yml +25 -0
  44. data/spec/dummyapp/config/environment.rb +5 -0
  45. data/spec/dummyapp/config/environments/development.rb +37 -0
  46. data/spec/dummyapp/config/environments/production.rb +67 -0
  47. data/spec/dummyapp/config/environments/test.rb +37 -0
  48. data/spec/dummyapp/config/initializers/backtrace_silencers.rb +7 -0
  49. data/spec/dummyapp/config/initializers/devise.rb +233 -0
  50. data/spec/dummyapp/config/initializers/inflections.rb +15 -0
  51. data/spec/dummyapp/config/initializers/mime_types.rb +5 -0
  52. data/spec/dummyapp/config/initializers/ratchetio.rb +20 -0
  53. data/spec/dummyapp/config/initializers/secret_token.rb +7 -0
  54. data/spec/dummyapp/config/initializers/session_store.rb +8 -0
  55. data/spec/dummyapp/config/initializers/wrap_parameters.rb +14 -0
  56. data/spec/dummyapp/config/locales/devise.en.yml +58 -0
  57. data/spec/dummyapp/config/locales/en.yml +5 -0
  58. data/spec/dummyapp/config/routes.rb +11 -0
  59. data/spec/dummyapp/config.ru +4 -0
  60. data/spec/dummyapp/db/migrate/20121121184652_devise_create_users.rb +46 -0
  61. data/spec/dummyapp/db/migrate/20121121184654_add_name_to_users.rb +5 -0
  62. data/spec/dummyapp/db/schema.rb +35 -0
  63. data/spec/dummyapp/db/seeds.rb +12 -0
  64. data/spec/dummyapp/lib/assets/.gitkeep +0 -0
  65. data/spec/dummyapp/public/404.html +26 -0
  66. data/spec/dummyapp/public/422.html +26 -0
  67. data/spec/dummyapp/public/500.html +25 -0
  68. data/spec/dummyapp/public/favicon.ico +0 -0
  69. data/spec/dummyapp/script/rails +6 -0
  70. data/spec/ratchetio_spec.rb +387 -1
  71. data/spec/spec_helper.rb +35 -0
  72. data/spec/support/devise.rb +3 -0
  73. metadata +195 -3
@@ -1,3 +1,389 @@
1
- describe Ratchetio::Ratchet do
1
+ require 'logger'
2
+ require 'socket'
3
+ require 'spec_helper'
4
+
5
+ describe Ratchetio do
6
+
7
+ context 'report_exception' do
8
+ before(:each) do
9
+ configure
10
+ Ratchetio.configure do |config|
11
+ config.logger = logger_mock
12
+ end
13
+
14
+ begin
15
+ foo = bar
16
+ rescue => e
17
+ @exception = e
18
+ end
19
+ end
20
+
21
+ let(:logger_mock) { double("Rails.logger").as_null_object }
22
+
23
+ it 'should report exceptions without person or request data' do
24
+ logger_mock.should_receive(:info).with('[Ratchet.io] Success')
25
+ Ratchetio.report_exception(@exception)
26
+ end
27
+
28
+ it 'should not report anything when disabled' do
29
+ logger_mock.should_not_receive(:info).with('[Ratchet.io] Success')
30
+ Ratchetio.configure do |config|
31
+ config.enabled = false
32
+ end
33
+
34
+ Ratchetio.report_exception(@exception)
35
+
36
+ Ratchetio.configure do |config|
37
+ config.enabled = true
38
+ end
39
+ end
40
+
41
+ it 'should report exceptions with request and person data' do
42
+ logger_mock.should_receive(:info).with('[Ratchet.io] Success')
43
+ request_data = {
44
+ :params => { :foo => "bar" },
45
+ :url => 'http://localhost/',
46
+ :user_ip => '127.0.0.1',
47
+ :headers => {},
48
+ :GET => { "baz" => "boz" },
49
+ :session => { :user_id => 123 },
50
+ :method => "GET",
51
+ }
52
+ person_data = {
53
+ :id => 1,
54
+ :username => "test",
55
+ :email => "test@example.com"
56
+ }
57
+ Ratchetio.report_exception(@exception, request_data, person_data)
58
+ end
59
+
60
+ it 'should ignore ignored exception classes' do
61
+ saved_filters = Ratchetio.configuration.exception_level_filters
62
+ Ratchetio.configure do |config|
63
+ config.exception_level_filters = { 'NameError' => 'ignore' }
64
+ end
65
+
66
+ logger_mock.should_not_receive(:info)
67
+ logger_mock.should_not_receive(:warn)
68
+ logger_mock.should_not_receive(:error)
69
+
70
+ Ratchetio.report_exception(@exception)
71
+
72
+ Ratchetio.configure do |config|
73
+ config.exception_level_filters = saved_filters
74
+ end
75
+ end
76
+ end
77
+
78
+ context 'report_message' do
79
+ before(:each) do
80
+ configure
81
+ Ratchetio.configure do |config|
82
+ config.logger = logger_mock
83
+ end
84
+ end
85
+
86
+ let(:logger_mock) { double("Rails.logger").as_null_object }
87
+
88
+ it 'should report simple messages' do
89
+ logger_mock.should_receive(:info).with('[Ratchet.io] Success')
90
+ Ratchetio.report_message("Test message")
91
+ end
92
+
93
+ it 'should not report anything when disabled' do
94
+ logger_mock.should_not_receive(:info).with('[Ratchet.io] Success')
95
+ Ratchetio.configure do |config|
96
+ config.enabled = false
97
+ end
98
+
99
+ Ratchetio.report_message("Test message that should be ignored")
100
+
101
+ Ratchetio.configure do |config|
102
+ config.enabled = true
103
+ end
104
+ end
105
+
106
+ it 'should report messages with extra data' do
107
+ logger_mock.should_receive(:info).with('[Ratchet.io] Success')
108
+ Ratchetio.report_message("Test message with extra data", 'debug', :foo => "bar",
109
+ :hash => { :a => 123, :b => "xyz" })
110
+ end
111
+
112
+ it 'should not crash with circular extra_data' do
113
+ a = { :foo => "bar" }
114
+ b = { :a => a }
115
+ c = { :b => b }
116
+ a[:c] = c
117
+
118
+ logger_mock.should_receive(:error).with('[Ratchet.io] Error reporting message to Ratchet.io: object references itself')
119
+ Ratchetio.report_message("Test message with extra data", 'debug', a)
120
+ end
121
+
122
+ after(:each) do
123
+ Ratchetio.configure do |config|
124
+ config.logger = ::Rails.logger
125
+ end
126
+ end
127
+ end
128
+
129
+ context 'payload_destination' do
130
+ before(:each) do
131
+ configure
132
+ Ratchetio.configure do |config|
133
+ config.logger = logger_mock
134
+ config.filepath = 'test.ratchet'
135
+ end
136
+
137
+ begin
138
+ foo = bar
139
+ rescue => e
140
+ @exception = e
141
+ end
142
+ end
143
+
144
+ let(:logger_mock) { double("Rails.logger").as_null_object }
145
+
146
+ it 'should send the payload over the network by default' do
147
+ logger_mock.should_not_receive(:info).with('[Ratchet.io] Writing payload to file')
148
+ logger_mock.should_receive(:info).with('[Ratchet.io] Sending payload')
149
+ logger_mock.should_receive(:info).with('[Ratchet.io] Success')
150
+ Ratchetio.report_exception(@exception)
151
+ end
152
+
153
+ it 'should save the payload to a file if set' do
154
+ logger_mock.should_not_receive(:info).with('[Ratchet.io] Sending payload')
155
+ logger_mock.should_receive(:info).with('[Ratchet.io] Writing payload to file')
156
+ logger_mock.should_receive(:info).with('[Ratchet.io] Success')
157
+
158
+ filepath = ''
159
+
160
+ Ratchetio.configure do |config|
161
+ config.write_to_file = true
162
+ filepath = config.filepath
163
+ end
164
+
165
+ Ratchetio.report_exception(@exception)
166
+
167
+ File.exist?(filepath).should == true
168
+ File.read(filepath).should include test_access_token
169
+ File.delete(filepath)
170
+
171
+ Ratchetio.configure do |config|
172
+ config.write_to_file = false
173
+ end
174
+ end
175
+ end
176
+
177
+ context 'asynchronous_handling' do
178
+ before(:each) do
179
+ configure
180
+ Ratchetio.configure do |config|
181
+ config.logger = logger_mock
182
+ end
183
+
184
+ begin
185
+ foo = bar
186
+ rescue => e
187
+ @exception = e
188
+ end
189
+ end
190
+
191
+ let(:logger_mock) { double("Rails.logger").as_null_object }
192
+
193
+ it 'should send the payload using the default asynchronous handler girl_friday' do
194
+ logger_mock.should_receive(:info).with('[Ratchet.io] Success')
195
+
196
+ Ratchetio.configure do |config|
197
+ config.use_async = true
198
+ GirlFriday::WorkQueue::immediate!
199
+ end
200
+
201
+ Ratchetio.report_exception(@exception)
202
+
203
+ Ratchetio.configure do |config|
204
+ config.use_async = false
205
+ GirlFriday::WorkQueue::queue!
206
+ end
207
+ end
208
+
209
+ it 'should send the payload using a user-supplied asynchronous handler' do
210
+ logger_mock.should_receive(:info).with('Custom async handler called')
211
+ logger_mock.should_receive(:info).with('[Ratchet.io] Success')
212
+
213
+ Ratchetio.configure do |config|
214
+ config.use_async = true
215
+ config.async_handler = Proc.new { |payload|
216
+ logger_mock.info 'Custom async handler called'
217
+ Ratchetio.process_payload(payload)
218
+ }
219
+ end
220
+
221
+ Ratchetio.report_exception(@exception)
222
+
223
+ Ratchetio.configure do |config|
224
+ config.use_async = false
225
+ config.async_handler = Ratchetio.method(:default_async_handler)
226
+ end
227
+ end
228
+ end
229
+
230
+ context 'message_data' do
231
+ before(:each) do
232
+ configure
233
+ @message_body = "This is a test"
234
+ @level = 'debug'
235
+ end
236
+
237
+ it 'should build a message' do
238
+ data = Ratchetio.send(:message_data, @message_body, @level, {})
239
+ data[:body][:message][:body].should == @message_body
240
+ data[:level].should == @level
241
+ end
242
+
243
+ it 'should accept extra_data' do
244
+ user_id = 123
245
+ name = "Tester"
246
+
247
+ data = Ratchetio.send(:message_data, @message_body, 'info',
248
+ :user_id => user_id, :name => name)
249
+
250
+ message = data[:body][:message]
251
+ message[:body].should == @message_body
252
+ message[:user_id].should == user_id
253
+ message[:name].should == name
254
+ end
255
+ end
256
+
257
+ context 'exception_data' do
258
+ before(:each) do
259
+ configure
260
+ begin
261
+ foo = bar
262
+ rescue => e
263
+ @exception = e
264
+ end
265
+ end
266
+
267
+ it 'should accept force_level' do
268
+ level = 'critical'
269
+ data = Ratchetio.send(:exception_data, @exception, level)
270
+ data[:level].should == level
271
+ end
272
+
273
+ it 'should build valid exception data' do
274
+ data = Ratchetio.send(:exception_data, @exception)
275
+
276
+ data[:level].should_not be_nil
277
+
278
+ trace = data[:body][:trace]
279
+
280
+ frames = trace[:frames]
281
+ frames.should be_a_kind_of(Array)
282
+ frames.each do |frame|
283
+ frame[:filename].should be_a_kind_of(String)
284
+ frame[:lineno].should be_a_kind_of(Fixnum)
285
+ if frame[:method]
286
+ frame[:method].should be_a_kind_of(String)
287
+ end
288
+ end
289
+
290
+ # should be NameError, but can be NoMethodError sometimes on rubinius 1.8
291
+ # http://yehudakatz.com/2010/01/02/the-craziest-fing-bug-ive-ever-seen/
292
+ trace[:exception][:class].should match(/^(NameError|NoMethodError)$/)
293
+ trace[:exception][:message].should match(/^(undefined local variable or method `bar'|undefined method `bar' on an instance of)/)
294
+ end
295
+ end
296
+
297
+ context 'logger' do
298
+ before(:each) do
299
+ reset_configuration
300
+ end
301
+
302
+ it 'should have use the Rails logger when configured to do so' do
303
+ configure
304
+ Ratchetio.send(:logger).should == ::Rails.logger
305
+ end
306
+
307
+ it 'should use the default_logger when no logger is set' do
308
+ logger = Logger.new(STDERR)
309
+ Ratchetio.configure do |config|
310
+ config.default_logger = lambda { logger }
311
+ end
312
+ Ratchetio.send(:logger).should == logger
313
+ end
314
+
315
+ it 'should have a default default_logger' do
316
+ Ratchetio.send(:logger).should_not be_nil
317
+ end
318
+
319
+ after(:each) do
320
+ reset_configuration
321
+ end
322
+ end
323
+
324
+ context 'build_payload' do
325
+ it 'should build valid json' do
326
+ json = Ratchetio.send(:build_payload, {:foo => {:bar => "baz"}})
327
+ hash = ActiveSupport::JSON.decode(json)
328
+ hash["data"]["foo"]["bar"].should == "baz"
329
+ end
330
+ end
331
+
332
+ context 'base_data' do
333
+ before(:each) do
334
+ configure
335
+ end
336
+
337
+ it 'should have the correct notifier name' do
338
+ Ratchetio.send(:base_data)[:notifier][:name].should == 'ratchetio-gem'
339
+ end
340
+
341
+ it 'should have the correct notifier version' do
342
+ Ratchetio.send(:base_data)[:notifier][:version].should == Ratchetio::VERSION
343
+ end
344
+
345
+ it 'should have all the required keys' do
346
+ data = Ratchetio.send(:base_data)
347
+ data[:timestamp].should_not be_nil
348
+ data[:environment].should_not be_nil
349
+ data[:level].should_not be_nil
350
+ data[:language].should == 'ruby'
351
+ data[:framework].should match(/^Rails/)
352
+ end
353
+ end
354
+
355
+ context 'server_data' do
356
+ it 'should have the right hostname' do
357
+ Ratchetio.send(:server_data)[:host] == Socket.gethostname
358
+ end
359
+
360
+ it 'should have root and branch set when configured' do
361
+ configure
362
+ Ratchetio.configure do |config|
363
+ config.root = '/path/to/root'
364
+ config.branch = 'master'
365
+ end
366
+
367
+ data = Ratchetio.send(:server_data)
368
+ data[:root].should == '/path/to/root'
369
+ data[:branch].should == 'master'
370
+ end
371
+ end
372
+
373
+ # configure with some basic params
374
+ def configure
375
+ Ratchetio.configure do |config|
376
+ # special test access token
377
+ config.access_token = test_access_token
378
+ config.logger = ::Rails.logger
379
+ config.environment = ::Rails.env
380
+ config.root = ::Rails.root
381
+ config.framework = "Rails: #{::Rails::VERSION::STRING}"
382
+ end
383
+ end
384
+
385
+ def test_access_token
386
+ 'aaaabbbbccccddddeeeeffff00001111'
387
+ end
2
388
 
3
389
  end
@@ -0,0 +1,35 @@
1
+ require 'rubygems'
2
+
3
+ ENV['RAILS_ENV'] ||= 'test'
4
+ require File.expand_path('../dummyapp/config/environment', __FILE__)
5
+ require 'rspec/rails'
6
+ require 'database_cleaner'
7
+
8
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
9
+
10
+ RSpec.configure do |config|
11
+ config.color_enabled = true
12
+ config.formatter = 'documentation'
13
+
14
+ config.use_transactional_fixtures = true
15
+ config.order = "random"
16
+
17
+ config.before(:suite) do
18
+ DatabaseCleaner.strategy = :truncation
19
+ end
20
+
21
+ config.before(:each) do
22
+ DatabaseCleaner.start
23
+ DatabaseCleaner.clean
24
+ end
25
+
26
+ config.after(:each) do
27
+ DatabaseCleaner.clean
28
+ end
29
+
30
+ end
31
+
32
+ def reset_configuration
33
+ Ratchetio.reconfigure do |config|
34
+ end
35
+ end
@@ -0,0 +1,3 @@
1
+ RSpec.configure do |config|
2
+ config.include Devise::TestHelpers, :type => :controller
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ratchetio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,8 +9,88 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-07 00:00:00.000000000 Z
13
- dependencies: []
12
+ date: 2012-12-12 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.2.9
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.9
30
+ - !ruby/object:Gem::Dependency
31
+ name: devise
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: 2.1.2
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 2.1.2
46
+ - !ruby/object:Gem::Dependency
47
+ name: rspec-rails
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: 2.12.0
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 2.12.0
62
+ - !ruby/object:Gem::Dependency
63
+ name: database_cleaner
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: 0.9.1
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: 0.9.1
78
+ - !ruby/object:Gem::Dependency
79
+ name: girl_friday
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: 0.11.1
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: 0.11.1
14
94
  description: Rails plugin to catch and send exceptions to Ratchet.io
15
95
  email:
16
96
  - brian@ratchet.io
@@ -19,15 +99,18 @@ extensions: []
19
99
  extra_rdoc_files: []
20
100
  files:
21
101
  - .gitignore
102
+ - .travis.yml
22
103
  - CHANGELOG.md
23
104
  - Gemfile
24
105
  - LICENSE
25
106
  - README.md
26
107
  - Rakefile
108
+ - THANKS
27
109
  - lib/generators/ratchetio/ratchetio_generator.rb
28
110
  - lib/generators/ratchetio/templates/initializer.rb
29
111
  - lib/ratchetio.rb
30
112
  - lib/ratchetio/configuration.rb
113
+ - lib/ratchetio/goalie.rb
31
114
  - lib/ratchetio/rails.rb
32
115
  - lib/ratchetio/rails/controller_methods.rb
33
116
  - lib/ratchetio/rails/middleware/exception_catcher.rb
@@ -35,7 +118,61 @@ files:
35
118
  - lib/ratchetio/rake_tasks.rb
36
119
  - lib/ratchetio/version.rb
37
120
  - ratchetio.gemspec
121
+ - spec/controllers/home_controller_spec.rb
122
+ - spec/dummyapp/.gitignore
123
+ - spec/dummyapp/Rakefile
124
+ - spec/dummyapp/app/assets/javascripts/application.js
125
+ - spec/dummyapp/app/assets/stylesheets/application.css.scss
126
+ - spec/dummyapp/app/controllers/application_controller.rb
127
+ - spec/dummyapp/app/controllers/home_controller.rb
128
+ - spec/dummyapp/app/controllers/users_controller.rb
129
+ - spec/dummyapp/app/helpers/.gitkeep
130
+ - spec/dummyapp/app/mailers/.gitkeep
131
+ - spec/dummyapp/app/models/.gitkeep
132
+ - spec/dummyapp/app/models/user.rb
133
+ - spec/dummyapp/app/views/devise/registrations/edit.html.erb
134
+ - spec/dummyapp/app/views/devise/registrations/new.html.erb
135
+ - spec/dummyapp/app/views/devise/shared/_links.html.erb
136
+ - spec/dummyapp/app/views/home/cause_exception.html.erb
137
+ - spec/dummyapp/app/views/home/index.html.erb
138
+ - spec/dummyapp/app/views/home/report_exception.html.erb
139
+ - spec/dummyapp/app/views/layouts/_messages.html.erb
140
+ - spec/dummyapp/app/views/layouts/_navigation.html.erb
141
+ - spec/dummyapp/app/views/layouts/application.html.erb
142
+ - spec/dummyapp/app/views/users/index.html.erb
143
+ - spec/dummyapp/app/views/users/show.html.erb
144
+ - spec/dummyapp/config.ru
145
+ - spec/dummyapp/config/application.rb
146
+ - spec/dummyapp/config/boot.rb
147
+ - spec/dummyapp/config/database.yml
148
+ - spec/dummyapp/config/environment.rb
149
+ - spec/dummyapp/config/environments/development.rb
150
+ - spec/dummyapp/config/environments/production.rb
151
+ - spec/dummyapp/config/environments/test.rb
152
+ - spec/dummyapp/config/initializers/backtrace_silencers.rb
153
+ - spec/dummyapp/config/initializers/devise.rb
154
+ - spec/dummyapp/config/initializers/inflections.rb
155
+ - spec/dummyapp/config/initializers/mime_types.rb
156
+ - spec/dummyapp/config/initializers/ratchetio.rb
157
+ - spec/dummyapp/config/initializers/secret_token.rb
158
+ - spec/dummyapp/config/initializers/session_store.rb
159
+ - spec/dummyapp/config/initializers/wrap_parameters.rb
160
+ - spec/dummyapp/config/locales/devise.en.yml
161
+ - spec/dummyapp/config/locales/en.yml
162
+ - spec/dummyapp/config/routes.rb
163
+ - spec/dummyapp/db/migrate/20121121184652_devise_create_users.rb
164
+ - spec/dummyapp/db/migrate/20121121184654_add_name_to_users.rb
165
+ - spec/dummyapp/db/schema.rb
166
+ - spec/dummyapp/db/seeds.rb
167
+ - spec/dummyapp/lib/assets/.gitkeep
168
+ - spec/dummyapp/public/404.html
169
+ - spec/dummyapp/public/422.html
170
+ - spec/dummyapp/public/500.html
171
+ - spec/dummyapp/public/favicon.ico
172
+ - spec/dummyapp/script/rails
38
173
  - spec/ratchetio_spec.rb
174
+ - spec/spec_helper.rb
175
+ - spec/support/devise.rb
39
176
  homepage: https://github.com/ratchetio/ratchetio-gem
40
177
  licenses: []
41
178
  post_install_message:
@@ -61,4 +198,59 @@ signing_key:
61
198
  specification_version: 3
62
199
  summary: Reports exceptions to Ratchet.io
63
200
  test_files:
201
+ - spec/controllers/home_controller_spec.rb
202
+ - spec/dummyapp/.gitignore
203
+ - spec/dummyapp/Rakefile
204
+ - spec/dummyapp/app/assets/javascripts/application.js
205
+ - spec/dummyapp/app/assets/stylesheets/application.css.scss
206
+ - spec/dummyapp/app/controllers/application_controller.rb
207
+ - spec/dummyapp/app/controllers/home_controller.rb
208
+ - spec/dummyapp/app/controllers/users_controller.rb
209
+ - spec/dummyapp/app/helpers/.gitkeep
210
+ - spec/dummyapp/app/mailers/.gitkeep
211
+ - spec/dummyapp/app/models/.gitkeep
212
+ - spec/dummyapp/app/models/user.rb
213
+ - spec/dummyapp/app/views/devise/registrations/edit.html.erb
214
+ - spec/dummyapp/app/views/devise/registrations/new.html.erb
215
+ - spec/dummyapp/app/views/devise/shared/_links.html.erb
216
+ - spec/dummyapp/app/views/home/cause_exception.html.erb
217
+ - spec/dummyapp/app/views/home/index.html.erb
218
+ - spec/dummyapp/app/views/home/report_exception.html.erb
219
+ - spec/dummyapp/app/views/layouts/_messages.html.erb
220
+ - spec/dummyapp/app/views/layouts/_navigation.html.erb
221
+ - spec/dummyapp/app/views/layouts/application.html.erb
222
+ - spec/dummyapp/app/views/users/index.html.erb
223
+ - spec/dummyapp/app/views/users/show.html.erb
224
+ - spec/dummyapp/config.ru
225
+ - spec/dummyapp/config/application.rb
226
+ - spec/dummyapp/config/boot.rb
227
+ - spec/dummyapp/config/database.yml
228
+ - spec/dummyapp/config/environment.rb
229
+ - spec/dummyapp/config/environments/development.rb
230
+ - spec/dummyapp/config/environments/production.rb
231
+ - spec/dummyapp/config/environments/test.rb
232
+ - spec/dummyapp/config/initializers/backtrace_silencers.rb
233
+ - spec/dummyapp/config/initializers/devise.rb
234
+ - spec/dummyapp/config/initializers/inflections.rb
235
+ - spec/dummyapp/config/initializers/mime_types.rb
236
+ - spec/dummyapp/config/initializers/ratchetio.rb
237
+ - spec/dummyapp/config/initializers/secret_token.rb
238
+ - spec/dummyapp/config/initializers/session_store.rb
239
+ - spec/dummyapp/config/initializers/wrap_parameters.rb
240
+ - spec/dummyapp/config/locales/devise.en.yml
241
+ - spec/dummyapp/config/locales/en.yml
242
+ - spec/dummyapp/config/routes.rb
243
+ - spec/dummyapp/db/migrate/20121121184652_devise_create_users.rb
244
+ - spec/dummyapp/db/migrate/20121121184654_add_name_to_users.rb
245
+ - spec/dummyapp/db/schema.rb
246
+ - spec/dummyapp/db/seeds.rb
247
+ - spec/dummyapp/lib/assets/.gitkeep
248
+ - spec/dummyapp/public/404.html
249
+ - spec/dummyapp/public/422.html
250
+ - spec/dummyapp/public/500.html
251
+ - spec/dummyapp/public/favicon.ico
252
+ - spec/dummyapp/script/rails
64
253
  - spec/ratchetio_spec.rb
254
+ - spec/spec_helper.rb
255
+ - spec/support/devise.rb
256
+ has_rdoc: