crashlog 1.0.7 → 1.1.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. data/.travis.yml +19 -8
  2. data/Appraisals +25 -0
  3. data/Gemfile +4 -4
  4. data/Gemfile.lock +54 -13
  5. data/README.md +1 -1
  6. data/Rakefile +4 -0
  7. data/gemfiles/rails_2_3.gemfile +17 -0
  8. data/gemfiles/rails_2_3.gemfile.lock +111 -0
  9. data/gemfiles/rails_3_0.gemfile +17 -0
  10. data/gemfiles/rails_3_0.gemfile.lock +159 -0
  11. data/gemfiles/rails_3_1.gemfile +17 -0
  12. data/gemfiles/rails_3_1.gemfile.lock +169 -0
  13. data/gemfiles/rails_3_2.gemfile +17 -0
  14. data/gemfiles/rails_3_2.gemfile.lock +168 -0
  15. data/lib/crash_log.rb +2 -0
  16. data/lib/crash_log/payload.rb +2 -1
  17. data/lib/crash_log/rails/controller_methods.rb +98 -18
  18. data/lib/crash_log/rails/middleware/debug_exception_catcher.rb +6 -4
  19. data/lib/crash_log/railtie.rb +5 -4
  20. data/lib/crash_log/reporter.rb +4 -4
  21. data/lib/crash_log/sidekiq.rb +18 -0
  22. data/lib/crash_log/version.rb +1 -1
  23. data/spec/crash_log/initializer_spec.rb +39 -39
  24. data/spec/crash_log/payload_spec.rb +2 -0
  25. data/spec/dummy_rails_2/README +243 -0
  26. data/spec/dummy_rails_2/Rakefile +10 -0
  27. data/spec/dummy_rails_2/app/controllers/application_controller.rb +14 -0
  28. data/spec/dummy_rails_2/app/controllers/welcome_controller.rb +13 -0
  29. data/spec/dummy_rails_2/app/helpers/application_helper.rb +3 -0
  30. data/spec/dummy_rails_2/app/helpers/welcome_helper.rb +3 -0
  31. data/spec/dummy_rails_2/app/models/user.rb +2 -0
  32. data/spec/dummy_rails_2/config/boot.rb +114 -0
  33. data/spec/dummy_rails_2/config/environment.rb +41 -0
  34. data/spec/dummy_rails_2/config/environments/test.rb +28 -0
  35. data/spec/dummy_rails_2/config/initializers/backtrace_silencers.rb +7 -0
  36. data/spec/dummy_rails_2/config/initializers/cookie_verification_secret.rb +7 -0
  37. data/spec/{dummy → dummy_rails_2}/config/initializers/crashlog.rb +0 -0
  38. data/spec/dummy_rails_2/config/initializers/inflections.rb +10 -0
  39. data/spec/{dummy → dummy_rails_2}/config/initializers/mime_types.rb +0 -0
  40. data/spec/dummy_rails_2/config/initializers/new_rails_defaults.rb +13 -0
  41. data/spec/dummy_rails_2/config/initializers/session_store.rb +15 -0
  42. data/spec/dummy_rails_2/config/locales/en.yml +5 -0
  43. data/spec/dummy_rails_2/config/routes.rb +38 -0
  44. data/spec/dummy_rails_2/db/seeds.rb +7 -0
  45. data/spec/{dummy/app/mailers/.gitkeep → dummy_rails_2/log/development.log} +0 -0
  46. data/spec/{dummy/app/models/.gitkeep → dummy_rails_2/log/production.log} +0 -0
  47. data/spec/{dummy/lib/assets/.gitkeep → dummy_rails_2/log/server.log} +0 -0
  48. data/spec/dummy_rails_3/.gitignore +4 -0
  49. data/spec/dummy_rails_3/Gemfile +31 -0
  50. data/spec/dummy_rails_3/README +256 -0
  51. data/spec/dummy_rails_3/Rakefile +7 -0
  52. data/spec/dummy_rails_3/app/controllers/application_controller.rb +7 -0
  53. data/spec/dummy_rails_3/app/controllers/welcome_controller.rb +14 -0
  54. data/spec/{dummy → dummy_rails_3}/app/helpers/application_helper.rb +0 -0
  55. data/spec/dummy_rails_3/app/models/user.rb +3 -0
  56. data/spec/dummy_rails_3/app/views/layouts/application.html.erb +14 -0
  57. data/spec/{dummy → dummy_rails_3}/config.ru +0 -0
  58. data/spec/dummy_rails_3/config/application.rb +52 -0
  59. data/spec/dummy_rails_3/config/boot.rb +6 -0
  60. data/spec/{dummy → dummy_rails_3}/config/environment.rb +0 -0
  61. data/spec/dummy_rails_3/config/environments/development.rb +26 -0
  62. data/spec/dummy_rails_3/config/environments/production.rb +49 -0
  63. data/spec/dummy_rails_3/config/environments/test.rb +35 -0
  64. data/spec/{dummy → dummy_rails_3}/config/initializers/backtrace_silencers.rb +0 -0
  65. data/spec/dummy_rails_3/config/initializers/crashlog.rb +8 -0
  66. data/spec/dummy_rails_3/config/initializers/inflections.rb +10 -0
  67. data/spec/dummy_rails_3/config/initializers/mime_types.rb +5 -0
  68. data/spec/dummy_rails_3/config/initializers/secret_token.rb +7 -0
  69. data/spec/{dummy → dummy_rails_3}/config/initializers/session_store.rb +0 -0
  70. data/spec/dummy_rails_3/config/locales/en.yml +5 -0
  71. data/spec/dummy_rails_3/config/routes.rb +5 -0
  72. data/spec/dummy_rails_3/db/seeds.rb +7 -0
  73. data/spec/{dummy → dummy_rails_3_plus}/README.rdoc +0 -0
  74. data/spec/{dummy → dummy_rails_3_plus}/Rakefile +0 -0
  75. data/spec/{dummy → dummy_rails_3_plus}/app/assets/javascripts/application.js +0 -0
  76. data/spec/{dummy → dummy_rails_3_plus}/app/assets/stylesheets/application.css +0 -0
  77. data/spec/dummy_rails_3_plus/app/controllers/application_controller.rb +7 -0
  78. data/spec/{dummy → dummy_rails_3_plus}/app/controllers/break_controller.rb +0 -0
  79. data/spec/dummy_rails_3_plus/app/controllers/welcome_controller.rb +13 -0
  80. data/spec/dummy_rails_3_plus/app/helpers/application_helper.rb +2 -0
  81. data/spec/{dummy/log → dummy_rails_3_plus/app/mailers}/.gitkeep +0 -0
  82. data/spec/{dummy/public/favicon.ico → dummy_rails_3_plus/app/models/.gitkeep} +0 -0
  83. data/spec/{dummy → dummy_rails_3_plus}/app/models/current_user.rb +0 -0
  84. data/spec/{dummy → dummy_rails_3_plus}/app/views/layouts/application.html.erb +0 -0
  85. data/spec/dummy_rails_3_plus/config.ru +4 -0
  86. data/spec/{dummy → dummy_rails_3_plus}/config/application.rb +3 -3
  87. data/spec/{dummy → dummy_rails_3_plus}/config/boot.rb +0 -0
  88. data/spec/dummy_rails_3_plus/config/environment.rb +5 -0
  89. data/spec/{dummy → dummy_rails_3_plus}/config/environments/development.rb +0 -0
  90. data/spec/{dummy → dummy_rails_3_plus}/config/environments/production.rb +0 -0
  91. data/spec/{dummy → dummy_rails_3_plus}/config/environments/test.rb +2 -2
  92. data/spec/dummy_rails_3_plus/config/initializers/backtrace_silencers.rb +7 -0
  93. data/spec/dummy_rails_3_plus/config/initializers/crashlog.rb +7 -0
  94. data/spec/{dummy → dummy_rails_3_plus}/config/initializers/inflections.rb +0 -0
  95. data/spec/dummy_rails_3_plus/config/initializers/mime_types.rb +5 -0
  96. data/spec/{dummy → dummy_rails_3_plus}/config/initializers/secret_token.rb +0 -0
  97. data/spec/dummy_rails_3_plus/config/initializers/session_store.rb +8 -0
  98. data/spec/{dummy → dummy_rails_3_plus}/config/initializers/wrap_parameters.rb +0 -0
  99. data/spec/dummy_rails_3_plus/config/routes.rb +5 -0
  100. data/spec/dummy_rails_3_plus/lib/assets/.gitkeep +0 -0
  101. data/spec/dummy_rails_3_plus/log/.gitkeep +0 -0
  102. data/spec/dummy_rails_3_plus/log/development.log +13209 -0
  103. data/spec/{dummy → dummy_rails_3_plus}/public/404.html +0 -0
  104. data/spec/{dummy → dummy_rails_3_plus}/public/422.html +0 -0
  105. data/spec/{dummy → dummy_rails_3_plus}/public/500.html +0 -0
  106. data/spec/dummy_rails_3_plus/public/favicon.ico +0 -0
  107. data/spec/{dummy → dummy_rails_3_plus}/script/rails +0 -0
  108. data/spec/rails/action_controller_spec.rb +85 -0
  109. data/spec/rails/rails_2_controller_spec.rb +87 -0
  110. data/spec/rails_spec_helper.rb +42 -0
  111. data/spec/requests/rails_controller_rescue_spec.rb +6 -6
  112. data/spec/spec_helper.rb +0 -4
  113. metadata +204 -87
  114. data/spec/dummy/app/controllers/application_controller.rb +0 -3
  115. data/spec/dummy/config/database.yml +0 -44
  116. data/spec/dummy/config/routes.rb +0 -7
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,85 @@
1
+ require 'spec_helper'
2
+ require 'rack/test'
3
+ require "uuid"
4
+ require "crash_log/rails/action_controller_rescue"
5
+
6
+ describe 'Rescue from within a Rails 2.x controller' do
7
+ # class CollectingReporter
8
+ # attr_reader :collected
9
+
10
+ # def initialize
11
+ # @collected = []
12
+ # end
13
+
14
+ # def notify(payload)
15
+ # @collected << payload
16
+ # {:location_id => UUID.generate }
17
+ # end
18
+ # end
19
+
20
+ # def assert_caught_and_sent
21
+ # expect { CrashLog.sender.collected.empty? }.to be_false
22
+ # end
23
+
24
+ # def assert_caught_and_not_sent
25
+ # expect { CrashLog.sender.collected.empty? }.to be_true
26
+ # end
27
+
28
+ # before do
29
+ # CrashLog::Payload.any_instance.stub(:reporter).and_return(CollectingReporter.new)
30
+ # end
31
+
32
+ # def build_controller_class(&definition)
33
+ # ActionController::Base.any_instance.stub(:rescue_action_in_public)
34
+ # ActionController::Base.any_instance.stub(:rescue_action_locally)
35
+
36
+ # Class.new(ActionController::Base).tap do |klass|
37
+ # klass.__send__(:include, CrashLog::Rails::ActionControllerRescue)
38
+ # klass.class_eval(&definition) if definition
39
+ # define_constant('CrashLogTestController', klass)
40
+ # end
41
+ # end
42
+
43
+ # def process_action(opts = {}, &action)
44
+ # opts[:request] ||= ActionController::TestRequest.new
45
+ # opts[:response] ||= ActionController::TestResponse.new
46
+ # klass = build_controller_class do
47
+ # cattr_accessor :local
48
+ # define_method(:index, &action)
49
+ # def local_request?
50
+ # local
51
+ # end
52
+ # end
53
+ # if opts[:filters]
54
+ # klass.filter_parameter_logging *opts[:filters]
55
+ # end
56
+ # if opts[:user_agent]
57
+ # if opts[:request].respond_to?(:user_agent=)
58
+ # opts[:request].user_agent = opts[:user_agent]
59
+ # else
60
+ # opts[:request].env["HTTP_USER_AGENT"] = opts[:user_agent]
61
+ # end
62
+ # end
63
+ # if opts[:port]
64
+ # opts[:request].port = opts[:port]
65
+ # end
66
+ # klass.local = opts[:local]
67
+ # controller = klass.new
68
+ # controller.stub(:rescue_action_in_public_without_crash_log)
69
+ # opts[:request].session = ActionController::TestSession.new(opts[:session] || {})
70
+ # # Prevents request.fullpath from crashing Rails in tests
71
+ # # opts[:request].env['REQUEST_URI'] = opts[:request].request_uri
72
+ # controller.process(:index) #, opts[:request], opts[:response])
73
+ # controller
74
+ # end
75
+
76
+ # def process_action_with_automatic_notification(args = {})
77
+ # process_action(args) { raise "Hello" }
78
+ # end
79
+
80
+ # it "delivers notices from exceptions raised in public requests" do
81
+ # process_action_with_automatic_notification
82
+ # assert_caught_and_sent
83
+ # end
84
+
85
+ end
@@ -0,0 +1,87 @@
1
+ require "rails_spec_helper"
2
+
3
+ describe 'Rails controller integration' do
4
+ class CollectingReporter
5
+ attr_reader :collected
6
+
7
+ def initialize
8
+ @collected = []
9
+ end
10
+
11
+ def notify(payload)
12
+ @collected << payload
13
+ {:location_id => "LOLID" }
14
+ end
15
+
16
+ def result
17
+ {:location_id => "LOLID" }
18
+ end
19
+ end
20
+
21
+ def assert_caught_and_sent
22
+ CrashLog.reporter.collected.should_not be_empty
23
+ end
24
+
25
+ def assert_caught_and_not_sent
26
+ expect(CrashLog.reporter.collected).to_not be_empty
27
+ end
28
+
29
+ def last_notice
30
+ CrashLog.reporter.collected.last
31
+ end
32
+
33
+ before do
34
+ CrashLog.reporter = CollectingReporter.new
35
+ end
36
+
37
+ describe 'initialization' do
38
+
39
+ end
40
+
41
+ describe 'controller actions' do
42
+ include Rack::Test::Methods
43
+
44
+ def app
45
+ if defined?(ActionController::Dispatcher)
46
+ # Rails 2
47
+ ActionController::Dispatcher.new
48
+ elsif defined?(Rails) && Rails.respond_to?(:application)
49
+ # Rails 3
50
+ ::Rails.application
51
+ end
52
+ end
53
+
54
+ before do
55
+ get '/broken'
56
+ assert_caught_and_sent
57
+ end
58
+
59
+ it 'captures request headers' do
60
+ # "Host"=>"example.org", "Cookie"=>""
61
+ last_notice[:data][:request].should have_key(:headers)
62
+ last_notice[:data][:request][:headers].should have_keys("Host", "Cookie")
63
+ end
64
+
65
+ it 'captures response headers' do
66
+ # Rails 2: "Cache-Control"=>"no-cache", "Content-Type"=>"text/html; charset=utf-8", "Content-Length"=>"17534"
67
+ last_notice[:data][:response].should have_key(:headers)
68
+ # last_notice[:data][:response][:headers].should == {}
69
+ end
70
+
71
+ describe 'context' do
72
+ let(:context) { last_notice[:context] }
73
+
74
+ it 'captures controller' do
75
+ expect(context[:controller]).to eq 'welcome'
76
+ end
77
+
78
+ it 'captures action' do
79
+ expect(context[:action]).to eq 'broken'
80
+ end
81
+
82
+ it 'captures current user' do
83
+ expect(context[:current_user]).to eq(:id=>1, :full_name=>"Johnny Quid", :email=>"user@example.com")
84
+ end
85
+ end
86
+ end
87
+ end
@@ -0,0 +1,42 @@
1
+ begin
2
+ require 'simplecov'
3
+ SimpleCov.start do
4
+ add_filter "spec/"
5
+ end
6
+ rescue LoadError
7
+ puts "Skipping SimpleCov"
8
+ end
9
+
10
+ # require 'rspec/rails'
11
+ require 'delorean'
12
+ require 'json_spec'
13
+ require 'uuid'
14
+ require "crash_log"
15
+
16
+ Dir[File.expand_path("../support/*.rb", __FILE__)].each { |file| require file }
17
+
18
+ # Super Hax
19
+ gemfile = ENV['BUNDLE_GEMFILE'] + '.lock'
20
+ rails_version = Bundler::LockfileParser.new(File.read(gemfile)).specs.find { |s| s.name == 'rails' }.version.to_s
21
+
22
+ case rails_version
23
+ when /^3\.(2|1)/
24
+ require File.expand_path("../dummy_rails_3/config/environment.rb", __FILE__)
25
+ when /^3\.0\./
26
+ # Rails 3.0.x
27
+ require File.expand_path("../dummy_rails_3/config/environment.rb", __FILE__)
28
+ when /^2/
29
+ require File.expand_path("../dummy_rails_2/config/environment.rb", __FILE__)
30
+ end
31
+
32
+ RSpec.configure do |config|
33
+ config.mock_with :rspec
34
+ config.include Delorean
35
+
36
+ config.before(:each) do
37
+ end
38
+
39
+ config.after(:each) do
40
+ CrashLog.reset_configuration!
41
+ end
42
+ end
@@ -1,4 +1,4 @@
1
- if defined?(Rails)
1
+ if defined?(Rails) && Rails.respond_to?(:application)
2
2
 
3
3
  require 'spec_helper'
4
4
  require 'rack/test'
@@ -8,6 +8,10 @@ if defined?(Rails)
8
8
  # include RSpec::Rails::RequestExampleGroup
9
9
  include Rack::Test::Methods
10
10
 
11
+ def app
12
+ Rails.application
13
+ end
14
+
11
15
  class CollectingReporter
12
16
  attr_reader :collected
13
17
 
@@ -42,15 +46,11 @@ if defined?(Rails)
42
46
  CrashLog.configuration.root = File.expand_path("../..", __FILE__)
43
47
  end
44
48
 
45
- it 'is testing tails 3.x' do
46
- Rails.version.should =~ /^3\.2\./
47
- end
48
-
49
49
  describe 'dummy app' do
50
50
  it 'should response nicely to index' do
51
51
  get '/'
52
52
  last_response.should be_ok
53
- last_response.body.should == 'Works fine here'
53
+ last_response.body.should == 'Welcome'
54
54
  end
55
55
  end
56
56
 
data/spec/spec_helper.rb CHANGED
@@ -7,16 +7,12 @@ rescue LoadError
7
7
  puts "Skipping SimpleCov"
8
8
  end
9
9
 
10
- # require File.expand_path("../dummy/config/environment.rb", __FILE__)
11
-
12
10
  # require 'rspec/rails'
13
11
  require 'delorean'
14
12
  require 'json_spec'
15
13
  require 'uuid'
16
14
  require "crash_log"
17
15
 
18
- # require File.expand_path("../dummy/config/environment.rb", __FILE__)
19
-
20
16
  Dir[File.expand_path("../support/*.rb", __FILE__)].each { |file| require file }
21
17
 
22
18
  RSpec.configure do |config|
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crashlog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
5
- prerelease:
4
+ version: 1.1.0.pre1
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ivan Vanderbyl
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-19 00:00:00.000000000 Z
12
+ date: 2012-12-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
16
- requirement: &70107783569500 !ruby/object:Gem::Requirement
16
+ requirement: &70174550295980 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.8.4
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70107783569500
24
+ version_requirements: *70174550295980
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: multi_json
27
- requirement: &70107783584600 !ruby/object:Gem::Requirement
27
+ requirement: &70174550295480 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.1.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70107783584600
35
+ version_requirements: *70174550295480
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: crashlog-auth-hmac
38
- requirement: &70107783584080 !ruby/object:Gem::Requirement
38
+ requirement: &70174550295020 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.1.7
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70107783584080
46
+ version_requirements: *70174550295020
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rabl
49
- requirement: &70107783583580 !ruby/object:Gem::Requirement
49
+ requirement: &70174550294560 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 0.6.13
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70107783583580
57
+ version_requirements: *70174550294560
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: uuid
60
- requirement: &70107783582920 !ruby/object:Gem::Requirement
60
+ requirement: &70174550294180 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *70107783582920
68
+ version_requirements: *70174550294180
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: hashr
71
- requirement: &70107783582120 !ruby/object:Gem::Requirement
71
+ requirement: &70174550293720 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *70107783582120
79
+ version_requirements: *70174550293720
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: json
82
- requirement: &70107783581520 !ruby/object:Gem::Requirement
82
+ requirement: &70174550293300 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,7 +87,7 @@ dependencies:
87
87
  version: '0'
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *70107783581520
90
+ version_requirements: *70174550293300
91
91
  description: CrashLog Exception reporter
92
92
  email:
93
93
  - support@crashlog.io
@@ -98,6 +98,7 @@ files:
98
98
  - .gitignore
99
99
  - .rspec
100
100
  - .travis.yml
101
+ - Appraisals
101
102
  - Gemfile
102
103
  - Gemfile.lock
103
104
  - INSTALL
@@ -105,6 +106,14 @@ files:
105
106
  - README.md
106
107
  - Rakefile
107
108
  - crashlog.gemspec
109
+ - gemfiles/rails_2_3.gemfile
110
+ - gemfiles/rails_2_3.gemfile.lock
111
+ - gemfiles/rails_3_0.gemfile
112
+ - gemfiles/rails_3_0.gemfile.lock
113
+ - gemfiles/rails_3_1.gemfile
114
+ - gemfiles/rails_3_1.gemfile.lock
115
+ - gemfiles/rails_3_2.gemfile
116
+ - gemfiles/rails_3_2.gemfile.lock
108
117
  - generators/crashlog/USAGE
109
118
  - generators/crashlog/templates/initializer.rb
110
119
  - install.rb
@@ -125,6 +134,7 @@ files:
125
134
  - lib/crash_log/rails/middleware/debug_exception_catcher.rb
126
135
  - lib/crash_log/railtie.rb
127
136
  - lib/crash_log/reporter.rb
137
+ - lib/crash_log/sidekiq.rb
128
138
  - lib/crash_log/system_information.rb
129
139
  - lib/crash_log/tasks/crash_log.rake
130
140
  - lib/crash_log/templates/payload.rabl
@@ -143,40 +153,92 @@ files:
143
153
  - spec/crash_log/rack_spec.rb
144
154
  - spec/crash_log/reporter_spec.rb
145
155
  - spec/crash_log_spec.rb
146
- - spec/dummy/README.rdoc
147
- - spec/dummy/Rakefile
148
- - spec/dummy/app/assets/javascripts/application.js
149
- - spec/dummy/app/assets/stylesheets/application.css
150
- - spec/dummy/app/controllers/application_controller.rb
151
- - spec/dummy/app/controllers/break_controller.rb
152
- - spec/dummy/app/helpers/application_helper.rb
153
- - spec/dummy/app/mailers/.gitkeep
154
- - spec/dummy/app/models/.gitkeep
155
- - spec/dummy/app/models/current_user.rb
156
- - spec/dummy/app/views/layouts/application.html.erb
157
- - spec/dummy/config.ru
158
- - spec/dummy/config/application.rb
159
- - spec/dummy/config/boot.rb
160
- - spec/dummy/config/database.yml
161
- - spec/dummy/config/environment.rb
162
- - spec/dummy/config/environments/development.rb
163
- - spec/dummy/config/environments/production.rb
164
- - spec/dummy/config/environments/test.rb
165
- - spec/dummy/config/initializers/backtrace_silencers.rb
166
- - spec/dummy/config/initializers/crashlog.rb
167
- - spec/dummy/config/initializers/inflections.rb
168
- - spec/dummy/config/initializers/mime_types.rb
169
- - spec/dummy/config/initializers/secret_token.rb
170
- - spec/dummy/config/initializers/session_store.rb
171
- - spec/dummy/config/initializers/wrap_parameters.rb
172
- - spec/dummy/config/routes.rb
173
- - spec/dummy/lib/assets/.gitkeep
174
- - spec/dummy/log/.gitkeep
175
- - spec/dummy/public/404.html
176
- - spec/dummy/public/422.html
177
- - spec/dummy/public/500.html
178
- - spec/dummy/public/favicon.ico
179
- - spec/dummy/script/rails
156
+ - spec/dummy_rails_2/README
157
+ - spec/dummy_rails_2/Rakefile
158
+ - spec/dummy_rails_2/app/controllers/application_controller.rb
159
+ - spec/dummy_rails_2/app/controllers/welcome_controller.rb
160
+ - spec/dummy_rails_2/app/helpers/application_helper.rb
161
+ - spec/dummy_rails_2/app/helpers/welcome_helper.rb
162
+ - spec/dummy_rails_2/app/models/user.rb
163
+ - spec/dummy_rails_2/config/boot.rb
164
+ - spec/dummy_rails_2/config/environment.rb
165
+ - spec/dummy_rails_2/config/environments/test.rb
166
+ - spec/dummy_rails_2/config/initializers/backtrace_silencers.rb
167
+ - spec/dummy_rails_2/config/initializers/cookie_verification_secret.rb
168
+ - spec/dummy_rails_2/config/initializers/crashlog.rb
169
+ - spec/dummy_rails_2/config/initializers/inflections.rb
170
+ - spec/dummy_rails_2/config/initializers/mime_types.rb
171
+ - spec/dummy_rails_2/config/initializers/new_rails_defaults.rb
172
+ - spec/dummy_rails_2/config/initializers/session_store.rb
173
+ - spec/dummy_rails_2/config/locales/en.yml
174
+ - spec/dummy_rails_2/config/routes.rb
175
+ - spec/dummy_rails_2/db/seeds.rb
176
+ - spec/dummy_rails_2/log/development.log
177
+ - spec/dummy_rails_2/log/production.log
178
+ - spec/dummy_rails_2/log/server.log
179
+ - spec/dummy_rails_3/.gitignore
180
+ - spec/dummy_rails_3/Gemfile
181
+ - spec/dummy_rails_3/README
182
+ - spec/dummy_rails_3/Rakefile
183
+ - spec/dummy_rails_3/app/controllers/application_controller.rb
184
+ - spec/dummy_rails_3/app/controllers/welcome_controller.rb
185
+ - spec/dummy_rails_3/app/helpers/application_helper.rb
186
+ - spec/dummy_rails_3/app/models/user.rb
187
+ - spec/dummy_rails_3/app/views/layouts/application.html.erb
188
+ - spec/dummy_rails_3/config.ru
189
+ - spec/dummy_rails_3/config/application.rb
190
+ - spec/dummy_rails_3/config/boot.rb
191
+ - spec/dummy_rails_3/config/environment.rb
192
+ - spec/dummy_rails_3/config/environments/development.rb
193
+ - spec/dummy_rails_3/config/environments/production.rb
194
+ - spec/dummy_rails_3/config/environments/test.rb
195
+ - spec/dummy_rails_3/config/initializers/backtrace_silencers.rb
196
+ - spec/dummy_rails_3/config/initializers/crashlog.rb
197
+ - spec/dummy_rails_3/config/initializers/inflections.rb
198
+ - spec/dummy_rails_3/config/initializers/mime_types.rb
199
+ - spec/dummy_rails_3/config/initializers/secret_token.rb
200
+ - spec/dummy_rails_3/config/initializers/session_store.rb
201
+ - spec/dummy_rails_3/config/locales/en.yml
202
+ - spec/dummy_rails_3/config/routes.rb
203
+ - spec/dummy_rails_3/db/seeds.rb
204
+ - spec/dummy_rails_3_plus/README.rdoc
205
+ - spec/dummy_rails_3_plus/Rakefile
206
+ - spec/dummy_rails_3_plus/app/assets/javascripts/application.js
207
+ - spec/dummy_rails_3_plus/app/assets/stylesheets/application.css
208
+ - spec/dummy_rails_3_plus/app/controllers/application_controller.rb
209
+ - spec/dummy_rails_3_plus/app/controllers/break_controller.rb
210
+ - spec/dummy_rails_3_plus/app/controllers/welcome_controller.rb
211
+ - spec/dummy_rails_3_plus/app/helpers/application_helper.rb
212
+ - spec/dummy_rails_3_plus/app/mailers/.gitkeep
213
+ - spec/dummy_rails_3_plus/app/models/.gitkeep
214
+ - spec/dummy_rails_3_plus/app/models/current_user.rb
215
+ - spec/dummy_rails_3_plus/app/views/layouts/application.html.erb
216
+ - spec/dummy_rails_3_plus/config.ru
217
+ - spec/dummy_rails_3_plus/config/application.rb
218
+ - spec/dummy_rails_3_plus/config/boot.rb
219
+ - spec/dummy_rails_3_plus/config/environment.rb
220
+ - spec/dummy_rails_3_plus/config/environments/development.rb
221
+ - spec/dummy_rails_3_plus/config/environments/production.rb
222
+ - spec/dummy_rails_3_plus/config/environments/test.rb
223
+ - spec/dummy_rails_3_plus/config/initializers/backtrace_silencers.rb
224
+ - spec/dummy_rails_3_plus/config/initializers/crashlog.rb
225
+ - spec/dummy_rails_3_plus/config/initializers/inflections.rb
226
+ - spec/dummy_rails_3_plus/config/initializers/mime_types.rb
227
+ - spec/dummy_rails_3_plus/config/initializers/secret_token.rb
228
+ - spec/dummy_rails_3_plus/config/initializers/session_store.rb
229
+ - spec/dummy_rails_3_plus/config/initializers/wrap_parameters.rb
230
+ - spec/dummy_rails_3_plus/config/routes.rb
231
+ - spec/dummy_rails_3_plus/lib/assets/.gitkeep
232
+ - spec/dummy_rails_3_plus/log/.gitkeep
233
+ - spec/dummy_rails_3_plus/log/development.log
234
+ - spec/dummy_rails_3_plus/public/404.html
235
+ - spec/dummy_rails_3_plus/public/422.html
236
+ - spec/dummy_rails_3_plus/public/500.html
237
+ - spec/dummy_rails_3_plus/public/favicon.ico
238
+ - spec/dummy_rails_3_plus/script/rails
239
+ - spec/rails/action_controller_spec.rb
240
+ - spec/rails/rails_2_controller_spec.rb
241
+ - spec/rails_spec_helper.rb
180
242
  - spec/requests/rack_spec.rb
181
243
  - spec/requests/rails_controller_rescue_spec.rb
182
244
  - spec/spec_helper.rb
@@ -196,12 +258,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
196
258
  - - ! '>='
197
259
  - !ruby/object:Gem::Version
198
260
  version: '0'
261
+ segments:
262
+ - 0
263
+ hash: 1750200909580696804
199
264
  required_rubygems_version: !ruby/object:Gem::Requirement
200
265
  none: false
201
266
  requirements:
202
- - - ! '>='
267
+ - - ! '>'
203
268
  - !ruby/object:Gem::Version
204
- version: '0'
269
+ version: 1.3.1
205
270
  requirements: []
206
271
  rubyforge_project:
207
272
  rubygems_version: 1.8.15
@@ -216,40 +281,92 @@ test_files:
216
281
  - spec/crash_log/rack_spec.rb
217
282
  - spec/crash_log/reporter_spec.rb
218
283
  - spec/crash_log_spec.rb
219
- - spec/dummy/README.rdoc
220
- - spec/dummy/Rakefile
221
- - spec/dummy/app/assets/javascripts/application.js
222
- - spec/dummy/app/assets/stylesheets/application.css
223
- - spec/dummy/app/controllers/application_controller.rb
224
- - spec/dummy/app/controllers/break_controller.rb
225
- - spec/dummy/app/helpers/application_helper.rb
226
- - spec/dummy/app/mailers/.gitkeep
227
- - spec/dummy/app/models/.gitkeep
228
- - spec/dummy/app/models/current_user.rb
229
- - spec/dummy/app/views/layouts/application.html.erb
230
- - spec/dummy/config.ru
231
- - spec/dummy/config/application.rb
232
- - spec/dummy/config/boot.rb
233
- - spec/dummy/config/database.yml
234
- - spec/dummy/config/environment.rb
235
- - spec/dummy/config/environments/development.rb
236
- - spec/dummy/config/environments/production.rb
237
- - spec/dummy/config/environments/test.rb
238
- - spec/dummy/config/initializers/backtrace_silencers.rb
239
- - spec/dummy/config/initializers/crashlog.rb
240
- - spec/dummy/config/initializers/inflections.rb
241
- - spec/dummy/config/initializers/mime_types.rb
242
- - spec/dummy/config/initializers/secret_token.rb
243
- - spec/dummy/config/initializers/session_store.rb
244
- - spec/dummy/config/initializers/wrap_parameters.rb
245
- - spec/dummy/config/routes.rb
246
- - spec/dummy/lib/assets/.gitkeep
247
- - spec/dummy/log/.gitkeep
248
- - spec/dummy/public/404.html
249
- - spec/dummy/public/422.html
250
- - spec/dummy/public/500.html
251
- - spec/dummy/public/favicon.ico
252
- - spec/dummy/script/rails
284
+ - spec/dummy_rails_2/README
285
+ - spec/dummy_rails_2/Rakefile
286
+ - spec/dummy_rails_2/app/controllers/application_controller.rb
287
+ - spec/dummy_rails_2/app/controllers/welcome_controller.rb
288
+ - spec/dummy_rails_2/app/helpers/application_helper.rb
289
+ - spec/dummy_rails_2/app/helpers/welcome_helper.rb
290
+ - spec/dummy_rails_2/app/models/user.rb
291
+ - spec/dummy_rails_2/config/boot.rb
292
+ - spec/dummy_rails_2/config/environment.rb
293
+ - spec/dummy_rails_2/config/environments/test.rb
294
+ - spec/dummy_rails_2/config/initializers/backtrace_silencers.rb
295
+ - spec/dummy_rails_2/config/initializers/cookie_verification_secret.rb
296
+ - spec/dummy_rails_2/config/initializers/crashlog.rb
297
+ - spec/dummy_rails_2/config/initializers/inflections.rb
298
+ - spec/dummy_rails_2/config/initializers/mime_types.rb
299
+ - spec/dummy_rails_2/config/initializers/new_rails_defaults.rb
300
+ - spec/dummy_rails_2/config/initializers/session_store.rb
301
+ - spec/dummy_rails_2/config/locales/en.yml
302
+ - spec/dummy_rails_2/config/routes.rb
303
+ - spec/dummy_rails_2/db/seeds.rb
304
+ - spec/dummy_rails_2/log/development.log
305
+ - spec/dummy_rails_2/log/production.log
306
+ - spec/dummy_rails_2/log/server.log
307
+ - spec/dummy_rails_3/.gitignore
308
+ - spec/dummy_rails_3/Gemfile
309
+ - spec/dummy_rails_3/README
310
+ - spec/dummy_rails_3/Rakefile
311
+ - spec/dummy_rails_3/app/controllers/application_controller.rb
312
+ - spec/dummy_rails_3/app/controllers/welcome_controller.rb
313
+ - spec/dummy_rails_3/app/helpers/application_helper.rb
314
+ - spec/dummy_rails_3/app/models/user.rb
315
+ - spec/dummy_rails_3/app/views/layouts/application.html.erb
316
+ - spec/dummy_rails_3/config.ru
317
+ - spec/dummy_rails_3/config/application.rb
318
+ - spec/dummy_rails_3/config/boot.rb
319
+ - spec/dummy_rails_3/config/environment.rb
320
+ - spec/dummy_rails_3/config/environments/development.rb
321
+ - spec/dummy_rails_3/config/environments/production.rb
322
+ - spec/dummy_rails_3/config/environments/test.rb
323
+ - spec/dummy_rails_3/config/initializers/backtrace_silencers.rb
324
+ - spec/dummy_rails_3/config/initializers/crashlog.rb
325
+ - spec/dummy_rails_3/config/initializers/inflections.rb
326
+ - spec/dummy_rails_3/config/initializers/mime_types.rb
327
+ - spec/dummy_rails_3/config/initializers/secret_token.rb
328
+ - spec/dummy_rails_3/config/initializers/session_store.rb
329
+ - spec/dummy_rails_3/config/locales/en.yml
330
+ - spec/dummy_rails_3/config/routes.rb
331
+ - spec/dummy_rails_3/db/seeds.rb
332
+ - spec/dummy_rails_3_plus/README.rdoc
333
+ - spec/dummy_rails_3_plus/Rakefile
334
+ - spec/dummy_rails_3_plus/app/assets/javascripts/application.js
335
+ - spec/dummy_rails_3_plus/app/assets/stylesheets/application.css
336
+ - spec/dummy_rails_3_plus/app/controllers/application_controller.rb
337
+ - spec/dummy_rails_3_plus/app/controllers/break_controller.rb
338
+ - spec/dummy_rails_3_plus/app/controllers/welcome_controller.rb
339
+ - spec/dummy_rails_3_plus/app/helpers/application_helper.rb
340
+ - spec/dummy_rails_3_plus/app/mailers/.gitkeep
341
+ - spec/dummy_rails_3_plus/app/models/.gitkeep
342
+ - spec/dummy_rails_3_plus/app/models/current_user.rb
343
+ - spec/dummy_rails_3_plus/app/views/layouts/application.html.erb
344
+ - spec/dummy_rails_3_plus/config.ru
345
+ - spec/dummy_rails_3_plus/config/application.rb
346
+ - spec/dummy_rails_3_plus/config/boot.rb
347
+ - spec/dummy_rails_3_plus/config/environment.rb
348
+ - spec/dummy_rails_3_plus/config/environments/development.rb
349
+ - spec/dummy_rails_3_plus/config/environments/production.rb
350
+ - spec/dummy_rails_3_plus/config/environments/test.rb
351
+ - spec/dummy_rails_3_plus/config/initializers/backtrace_silencers.rb
352
+ - spec/dummy_rails_3_plus/config/initializers/crashlog.rb
353
+ - spec/dummy_rails_3_plus/config/initializers/inflections.rb
354
+ - spec/dummy_rails_3_plus/config/initializers/mime_types.rb
355
+ - spec/dummy_rails_3_plus/config/initializers/secret_token.rb
356
+ - spec/dummy_rails_3_plus/config/initializers/session_store.rb
357
+ - spec/dummy_rails_3_plus/config/initializers/wrap_parameters.rb
358
+ - spec/dummy_rails_3_plus/config/routes.rb
359
+ - spec/dummy_rails_3_plus/lib/assets/.gitkeep
360
+ - spec/dummy_rails_3_plus/log/.gitkeep
361
+ - spec/dummy_rails_3_plus/log/development.log
362
+ - spec/dummy_rails_3_plus/public/404.html
363
+ - spec/dummy_rails_3_plus/public/422.html
364
+ - spec/dummy_rails_3_plus/public/500.html
365
+ - spec/dummy_rails_3_plus/public/favicon.ico
366
+ - spec/dummy_rails_3_plus/script/rails
367
+ - spec/rails/action_controller_spec.rb
368
+ - spec/rails/rails_2_controller_spec.rb
369
+ - spec/rails_spec_helper.rb
253
370
  - spec/requests/rack_spec.rb
254
371
  - spec/requests/rails_controller_rescue_spec.rb
255
372
  - spec/spec_helper.rb