raygun4ruby 3.2.5.pre → 4.0.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/tests.yml +48 -0
- data/.gitignore +22 -21
- data/.rspec +1 -1
- data/Appraisals +19 -0
- data/CHANGELOG.md +169 -130
- data/Gemfile +4 -4
- data/LICENSE.txt +22 -22
- data/README.md +424 -420
- data/Rakefile +32 -27
- data/examples/sinatras_raygun.rb +17 -17
- data/gemfiles/rails_6.gemfile +9 -0
- data/gemfiles/rails_7.gemfile +10 -0
- data/gemfiles/rails_7_sidekiq_6.gemfile +10 -0
- data/lib/generators/raygun/install_generator.rb +26 -26
- data/lib/raygun/affected_user.rb +59 -59
- data/lib/raygun/breadcrumbs/breadcrumb.rb +34 -34
- data/lib/raygun/breadcrumbs/store.rb +86 -86
- data/lib/raygun/breadcrumbs.rb +34 -34
- data/lib/raygun/client.rb +313 -308
- data/lib/raygun/configuration.rb +197 -194
- data/lib/raygun/demo_exception.rb +23 -0
- data/lib/raygun/error.rb +10 -10
- data/lib/raygun/error_subscriber.rb +21 -0
- data/lib/raygun/javascript_tracker.rb +42 -42
- data/lib/raygun/middleware/breadcrumbs_store_initializer.rb +19 -19
- data/lib/raygun/middleware/javascript_exception_tracking.rb +40 -32
- data/lib/raygun/middleware/rack_exception_interceptor.rb +18 -18
- data/lib/raygun/middleware/rails_insert_affected_user.rb +26 -26
- data/lib/raygun/railtie.rb +47 -39
- data/lib/raygun/services/apply_whitelist_filter_to_payload.rb +27 -27
- data/lib/raygun/sidekiq.rb +51 -71
- data/lib/raygun/version.rb +3 -3
- data/lib/raygun.rb +197 -179
- data/lib/raygun4ruby.rb +1 -1
- data/lib/resque/failure/raygun.rb +25 -25
- data/lib/tasks/raygun.tasks +7 -7
- data/raygun4ruby.gemspec +43 -45
- data/spec/features/javascript_spec.rb +48 -48
- data/spec/rails_applications/6.1.4/Gemfile +56 -0
- data/spec/{dummy/README.rdoc → rails_applications/6.1.4/README.md} +24 -28
- data/spec/{dummy → rails_applications/6.1.4}/Rakefile +6 -6
- data/spec/rails_applications/6.1.4/app/assets/config/manifest.js +2 -0
- data/spec/{dummy → rails_applications/6.1.4}/app/assets/stylesheets/application.css +15 -15
- data/spec/rails_applications/6.1.4/app/channels/application_cable/channel.rb +4 -0
- data/spec/rails_applications/6.1.4/app/channels/application_cable/connection.rb +4 -0
- data/spec/rails_applications/6.1.4/app/controllers/application_controller.rb +2 -0
- data/spec/{dummy → rails_applications/6.1.4}/app/controllers/home_controller.rb +4 -4
- data/spec/{dummy → rails_applications/6.1.4}/app/helpers/application_helper.rb +2 -2
- data/spec/rails_applications/6.1.4/app/javascript/channels/consumer.js +6 -0
- data/spec/rails_applications/6.1.4/app/javascript/channels/index.js +5 -0
- data/spec/rails_applications/6.1.4/app/javascript/packs/application.js +13 -0
- data/spec/rails_applications/6.1.4/app/jobs/application_job.rb +7 -0
- data/spec/rails_applications/6.1.4/app/mailers/application_mailer.rb +4 -0
- data/spec/rails_applications/6.1.4/app/models/application_record.rb +3 -0
- data/spec/{dummy → rails_applications/6.1.4}/app/views/home/index.html.erb +3 -3
- data/spec/{dummy → rails_applications/6.1.4}/app/views/home/index.json.erb +1 -1
- data/spec/rails_applications/6.1.4/app/views/layouts/application.html.erb +13 -0
- data/spec/rails_applications/6.1.4/app/views/layouts/mailer.html.erb +13 -0
- data/spec/rails_applications/6.1.4/app/views/layouts/mailer.text.erb +1 -0
- data/spec/rails_applications/6.1.4/bin/rails +5 -0
- data/spec/rails_applications/6.1.4/bin/rake +5 -0
- data/spec/rails_applications/6.1.4/bin/setup +36 -0
- data/spec/rails_applications/6.1.4/bin/spring +14 -0
- data/spec/rails_applications/6.1.4/bin/yarn +17 -0
- data/spec/rails_applications/6.1.4/config/application.rb +22 -0
- data/spec/rails_applications/6.1.4/config/boot.rb +3 -0
- data/spec/rails_applications/6.1.4/config/cable.yml +10 -0
- data/spec/rails_applications/6.1.4/config/credentials.yml.enc +1 -0
- data/spec/{dummy → rails_applications/6.1.4}/config/database.yml +25 -25
- data/spec/{dummy → rails_applications/6.1.4}/config/environment.rb +5 -5
- data/spec/rails_applications/6.1.4/config/environments/development.rb +76 -0
- data/spec/rails_applications/6.1.4/config/environments/production.rb +120 -0
- data/spec/rails_applications/6.1.4/config/environments/test.rb +60 -0
- data/spec/rails_applications/6.1.4/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/rails_applications/6.1.4/config/initializers/assets.rb +14 -0
- data/spec/rails_applications/6.1.4/config/initializers/backtrace_silencers.rb +8 -0
- data/spec/rails_applications/6.1.4/config/initializers/content_security_policy.rb +30 -0
- data/spec/{dummy → rails_applications/6.1.4}/config/initializers/cookies_serializer.rb +5 -3
- data/spec/{dummy → rails_applications/6.1.4}/config/initializers/filter_parameter_logging.rb +6 -4
- data/spec/{dummy → rails_applications/6.1.4}/config/initializers/inflections.rb +16 -16
- data/spec/{dummy → rails_applications/6.1.4}/config/initializers/mime_types.rb +4 -4
- data/spec/rails_applications/6.1.4/config/initializers/permissions_policy.rb +11 -0
- data/spec/{dummy → rails_applications/6.1.4}/config/initializers/wrap_parameters.rb +14 -14
- data/spec/{dummy → rails_applications/6.1.4}/config/locales/en.yml +33 -23
- data/spec/rails_applications/6.1.4/config/master.key +1 -0
- data/spec/rails_applications/6.1.4/config/puma.rb +43 -0
- data/spec/rails_applications/6.1.4/config/routes.rb +4 -0
- data/spec/rails_applications/6.1.4/config/spring.rb +6 -0
- data/spec/rails_applications/6.1.4/config/storage.yml +34 -0
- data/spec/{dummy → rails_applications/6.1.4}/config.ru +6 -4
- data/spec/rails_applications/6.1.4/db/seeds.rb +7 -0
- data/spec/rails_applications/6.1.4/package.json +11 -0
- data/spec/{dummy → rails_applications/6.1.4}/public/404.html +67 -67
- data/spec/{dummy → rails_applications/6.1.4}/public/422.html +67 -67
- data/spec/{dummy → rails_applications/6.1.4}/public/500.html +66 -66
- data/spec/rails_applications/6.1.4/public/robots.txt +1 -0
- data/spec/rails_applications/7.1.3/.dockerignore +37 -0
- data/spec/rails_applications/7.1.3/.gitattributes +9 -0
- data/spec/rails_applications/7.1.3/.gitignore +35 -0
- data/spec/rails_applications/7.1.3/.ruby-version +1 -0
- data/spec/rails_applications/7.1.3/Dockerfile +62 -0
- data/spec/rails_applications/7.1.3/Gemfile +67 -0
- data/spec/rails_applications/7.1.3/README.md +24 -0
- data/spec/rails_applications/7.1.3/Rakefile +6 -0
- data/spec/rails_applications/7.1.3/app/assets/config/manifest.js +4 -0
- data/spec/rails_applications/7.1.3/app/assets/stylesheets/application.css +15 -0
- data/spec/rails_applications/7.1.3/app/channels/application_cable/channel.rb +4 -0
- data/spec/rails_applications/7.1.3/app/channels/application_cable/connection.rb +4 -0
- data/spec/rails_applications/7.1.3/app/controllers/application_controller.rb +2 -0
- data/spec/rails_applications/7.1.3/app/controllers/concerns/.keep +0 -0
- data/spec/rails_applications/7.1.3/app/controllers/home_controller.rb +2 -0
- data/spec/rails_applications/7.1.3/app/helpers/application_helper.rb +2 -0
- data/spec/rails_applications/7.1.3/app/helpers/home_helper.rb +2 -0
- data/spec/rails_applications/7.1.3/app/javascript/application.js +3 -0
- data/spec/rails_applications/7.1.3/app/javascript/controllers/application.js +9 -0
- data/spec/rails_applications/7.1.3/app/javascript/controllers/hello_controller.js +7 -0
- data/spec/rails_applications/7.1.3/app/javascript/controllers/index.js +11 -0
- data/spec/rails_applications/7.1.3/app/jobs/application_job.rb +7 -0
- data/spec/rails_applications/7.1.3/app/mailers/application_mailer.rb +4 -0
- data/spec/rails_applications/7.1.3/app/models/application_record.rb +3 -0
- data/spec/rails_applications/7.1.3/app/models/concerns/.keep +0 -0
- data/spec/rails_applications/7.1.3/app/views/home/index.html.erb +3 -0
- data/spec/rails_applications/7.1.3/app/views/home/index.json.erb +1 -0
- data/spec/rails_applications/7.1.3/app/views/layouts/application.html.erb +16 -0
- data/spec/rails_applications/7.1.3/app/views/layouts/mailer.html.erb +13 -0
- data/spec/rails_applications/7.1.3/app/views/layouts/mailer.text.erb +1 -0
- data/spec/rails_applications/7.1.3/bin/bundle +109 -0
- data/spec/rails_applications/7.1.3/bin/docker-entrypoint +8 -0
- data/spec/rails_applications/7.1.3/bin/importmap +4 -0
- data/spec/rails_applications/7.1.3/bin/rails +4 -0
- data/spec/rails_applications/7.1.3/bin/rake +4 -0
- data/spec/rails_applications/7.1.3/bin/setup +33 -0
- data/spec/rails_applications/7.1.3/config/application.rb +27 -0
- data/spec/rails_applications/7.1.3/config/boot.rb +4 -0
- data/spec/rails_applications/7.1.3/config/cable.yml +11 -0
- data/spec/rails_applications/7.1.3/config/credentials.yml.enc +1 -0
- data/spec/rails_applications/7.1.3/config/database.yml +25 -0
- data/spec/rails_applications/7.1.3/config/environment.rb +5 -0
- data/spec/rails_applications/7.1.3/config/environments/development.rb +76 -0
- data/spec/rails_applications/7.1.3/config/environments/production.rb +97 -0
- data/spec/rails_applications/7.1.3/config/environments/test.rb +64 -0
- data/spec/rails_applications/7.1.3/config/importmap.rb +7 -0
- data/spec/rails_applications/7.1.3/config/initializers/assets.rb +12 -0
- data/spec/rails_applications/7.1.3/config/initializers/content_security_policy.rb +25 -0
- data/spec/rails_applications/7.1.3/config/initializers/filter_parameter_logging.rb +8 -0
- data/spec/rails_applications/7.1.3/config/initializers/inflections.rb +16 -0
- data/spec/rails_applications/7.1.3/config/initializers/permissions_policy.rb +13 -0
- data/spec/rails_applications/7.1.3/config/locales/en.yml +31 -0
- data/spec/rails_applications/7.1.3/config/puma.rb +35 -0
- data/spec/rails_applications/7.1.3/config/routes.rb +11 -0
- data/spec/rails_applications/7.1.3/config/storage.yml +34 -0
- data/spec/rails_applications/7.1.3/config.ru +6 -0
- data/spec/rails_applications/7.1.3/db/seeds.rb +9 -0
- data/spec/rails_applications/7.1.3/lib/assets/.keep +0 -0
- data/spec/rails_applications/7.1.3/lib/tasks/.keep +0 -0
- data/spec/rails_applications/7.1.3/public/404.html +67 -0
- data/spec/rails_applications/7.1.3/public/422.html +67 -0
- data/spec/rails_applications/7.1.3/public/500.html +66 -0
- data/spec/rails_applications/7.1.3/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/rails_applications/7.1.3/public/apple-touch-icon.png +0 -0
- data/spec/rails_applications/7.1.3/public/favicon.ico +0 -0
- data/spec/rails_applications/7.1.3/public/robots.txt +1 -0
- data/spec/rails_applications/7.1.3/storage/.keep +0 -0
- data/spec/rails_applications/7.1.3/test/application_system_test_case.rb +5 -0
- data/spec/rails_applications/7.1.3/test/channels/application_cable/connection_test.rb +13 -0
- data/spec/rails_applications/7.1.3/test/controllers/.keep +0 -0
- data/spec/rails_applications/7.1.3/test/controllers/home_controller_test.rb +7 -0
- data/spec/rails_applications/7.1.3/test/fixtures/files/.keep +0 -0
- data/spec/rails_applications/7.1.3/test/helpers/.keep +0 -0
- data/spec/rails_applications/7.1.3/test/integration/.keep +0 -0
- data/spec/rails_applications/7.1.3/test/mailers/.keep +0 -0
- data/spec/rails_applications/7.1.3/test/models/.keep +0 -0
- data/spec/rails_applications/7.1.3/test/system/.keep +0 -0
- data/spec/rails_applications/7.1.3/test/test_helper.rb +15 -0
- data/spec/rails_applications/7.1.3/vendor/.keep +0 -0
- data/spec/rails_applications/7.1.3/vendor/javascript/.keep +0 -0
- data/spec/rails_helper.rb +8 -4
- data/spec/raygun/breadcrumbs/breadcrumb_spec.rb +171 -171
- data/spec/raygun/breadcrumbs/store_spec.rb +170 -170
- data/spec/services/apply_whitelist_filter_to_payload_spec.rb +251 -251
- data/spec/spec_helper.rb +24 -24
- data/spec/support/fake_logger.rb +17 -17
- data/test/integration/client_test.rb +19 -19
- data/test/rails_helper.rb +6 -0
- data/test/test_helper.rb +76 -72
- data/test/unit/affected_user_test.rb +136 -136
- data/test/unit/client_test.rb +812 -812
- data/test/unit/configuration_test.rb +202 -206
- data/test/unit/error_subscriber_test.rb +43 -0
- data/test/unit/raygun_test.rb +106 -25
- data/test/unit/resque_failure_test.rb +27 -24
- data/test/unit/sidekiq_failure_test.rb +42 -32
- metadata +186 -115
- data/.travis.yml +0 -20
- data/spec/dummy/.gitignore +0 -17
- data/spec/dummy/Gemfile +0 -47
- data/spec/dummy/app/assets/config/manifest.js +0 -3
- data/spec/dummy/app/assets/javascripts/application.js +0 -13
- data/spec/dummy/app/controllers/application_controller.rb +0 -5
- data/spec/dummy/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy/bin/bundle +0 -3
- data/spec/dummy/bin/rails +0 -9
- data/spec/dummy/bin/rake +0 -9
- data/spec/dummy/bin/setup +0 -29
- data/spec/dummy/bin/spring +0 -17
- data/spec/dummy/config/application.rb +0 -26
- data/spec/dummy/config/boot.rb +0 -3
- data/spec/dummy/config/environments/development.rb +0 -41
- data/spec/dummy/config/environments/production.rb +0 -79
- data/spec/dummy/config/initializers/assets.rb +0 -11
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/session_store.rb +0 -3
- data/spec/dummy/config/initializers/to_time_preserves_timezone.rb +0 -10
- data/spec/dummy/config/routes.rb +0 -58
- data/spec/dummy/config/secrets.yml +0 -22
- data/spec/dummy/db/seeds.rb +0 -7
- data/spec/dummy/public/robots.txt +0 -5
- data/spec/raygun/raygun_spec.rb +0 -47
- /data/spec/{dummy → rails_applications/6.1.4}/app/assets/images/.keep +0 -0
- /data/spec/{dummy → rails_applications/6.1.4}/app/controllers/concerns/.keep +0 -0
- /data/spec/{dummy/app/mailers → rails_applications/6.1.4/app/models/concerns}/.keep +0 -0
- /data/spec/{dummy/app/models/.keep → rails_applications/6.1.4/db/test.sqlite3} +0 -0
- /data/spec/{dummy/app/models/concerns → rails_applications/6.1.4/lib/assets}/.keep +0 -0
- /data/spec/{dummy/lib/assets → rails_applications/6.1.4/lib/tasks}/.keep +0 -0
- /data/spec/{dummy/lib/tasks/.keep → rails_applications/6.1.4/public/apple-touch-icon-precomposed.png} +0 -0
- /data/spec/{dummy/log/.keep → rails_applications/6.1.4/public/apple-touch-icon.png} +0 -0
- /data/spec/{dummy → rails_applications/6.1.4}/public/favicon.ico +0 -0
- /data/spec/{dummy/vendor/assets/javascripts → rails_applications/6.1.4/storage}/.keep +0 -0
- /data/spec/{dummy/vendor/assets/stylesheets → rails_applications/7.1.3/app/assets/images}/.keep +0 -0
@@ -1,32 +1,42 @@
|
|
1
|
-
require_relative "../test_helper.rb"
|
2
|
-
|
3
|
-
require "sidekiq"
|
4
|
-
# Convince Sidekiq it's on a server :)
|
5
|
-
module Sidekiq
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
1
|
+
require_relative "../test_helper.rb"
|
2
|
+
|
3
|
+
require "sidekiq"
|
4
|
+
# Convince Sidekiq it's on a server :)
|
5
|
+
module Sidekiq
|
6
|
+
class << self
|
7
|
+
undef server?
|
8
|
+
def server?
|
9
|
+
true
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
require "raygun/sidekiq"
|
14
|
+
|
15
|
+
class SidekiqFailureTest < Raygun::UnitTest
|
16
|
+
|
17
|
+
def setup
|
18
|
+
super
|
19
|
+
Raygun.configuration.send_in_background = false
|
20
|
+
|
21
|
+
stub_request(:post, 'https://api.raygun.com/entries').to_return(status: 202)
|
22
|
+
fake_successful_entry
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_failure_backend_appears_to_work
|
26
|
+
response = Raygun::SidekiqReporter.call(
|
27
|
+
StandardError.new("Oh no! Your Sidekiq has failed!"),
|
28
|
+
{ sidekick_name: "robin" },
|
29
|
+
{} # config
|
30
|
+
)
|
31
|
+
|
32
|
+
assert response && response.success?, "Expected success, got #{response.class}: #{response.inspect}"
|
33
|
+
end
|
34
|
+
|
35
|
+
def test_we_are_in_sidekiqs_list_of_error_handlers
|
36
|
+
# Sidekiq 7.x stores error handlers inside a configuration object, while 6.x and below stores them directly against the Sidekiq module
|
37
|
+
error_handlers = Sidekiq.respond_to?(:error_handlers) ? Sidekiq.error_handlers : Sidekiq.default_configuration.error_handlers
|
38
|
+
|
39
|
+
assert error_handlers.include?(Raygun::SidekiqReporter)
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raygun4ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mindscape
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-05-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|
@@ -73,14 +73,14 @@ dependencies:
|
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
76
|
+
version: '2.3'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '
|
83
|
+
version: '2.3'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: rake
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
@@ -95,6 +95,20 @@ dependencies:
|
|
95
95
|
- - ">="
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: 12.3.3
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: appraisal
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
98
112
|
- !ruby/object:Gem::Dependency
|
99
113
|
name: timecop
|
100
114
|
requirement: !ruby/object:Gem::Requirement
|
@@ -151,26 +165,6 @@ dependencies:
|
|
151
165
|
- - ">="
|
152
166
|
- !ruby/object:Gem::Version
|
153
167
|
version: '0'
|
154
|
-
- !ruby/object:Gem::Dependency
|
155
|
-
name: sidekiq
|
156
|
-
requirement: !ruby/object:Gem::Requirement
|
157
|
-
requirements:
|
158
|
-
- - ">="
|
159
|
-
- !ruby/object:Gem::Version
|
160
|
-
version: '3'
|
161
|
-
- - "<"
|
162
|
-
- !ruby/object:Gem::Version
|
163
|
-
version: 3.2.2
|
164
|
-
type: :development
|
165
|
-
prerelease: false
|
166
|
-
version_requirements: !ruby/object:Gem::Requirement
|
167
|
-
requirements:
|
168
|
-
- - ">="
|
169
|
-
- !ruby/object:Gem::Version
|
170
|
-
version: '3'
|
171
|
-
- - "<"
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: 3.2.2
|
174
168
|
- !ruby/object:Gem::Dependency
|
175
169
|
name: mocha
|
176
170
|
requirement: !ruby/object:Gem::Requirement
|
@@ -213,34 +207,6 @@ dependencies:
|
|
213
207
|
- - ">="
|
214
208
|
- !ruby/object:Gem::Version
|
215
209
|
version: '0'
|
216
|
-
- !ruby/object:Gem::Dependency
|
217
|
-
name: rails
|
218
|
-
requirement: !ruby/object:Gem::Requirement
|
219
|
-
requirements:
|
220
|
-
- - '='
|
221
|
-
- !ruby/object:Gem::Version
|
222
|
-
version: 4.2.11
|
223
|
-
type: :development
|
224
|
-
prerelease: false
|
225
|
-
version_requirements: !ruby/object:Gem::Requirement
|
226
|
-
requirements:
|
227
|
-
- - '='
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version: 4.2.11
|
230
|
-
- !ruby/object:Gem::Dependency
|
231
|
-
name: sqlite3
|
232
|
-
requirement: !ruby/object:Gem::Requirement
|
233
|
-
requirements:
|
234
|
-
- - "~>"
|
235
|
-
- !ruby/object:Gem::Version
|
236
|
-
version: 1.3.6
|
237
|
-
type: :development
|
238
|
-
prerelease: false
|
239
|
-
version_requirements: !ruby/object:Gem::Requirement
|
240
|
-
requirements:
|
241
|
-
- - "~>"
|
242
|
-
- !ruby/object:Gem::Version
|
243
|
-
version: 1.3.6
|
244
210
|
- !ruby/object:Gem::Dependency
|
245
211
|
name: capybara
|
246
212
|
requirement: !ruby/object:Gem::Requirement
|
@@ -259,16 +225,16 @@ dependencies:
|
|
259
225
|
name: rspec-rails
|
260
226
|
requirement: !ruby/object:Gem::Requirement
|
261
227
|
requirements:
|
262
|
-
- - "
|
228
|
+
- - ">="
|
263
229
|
- !ruby/object:Gem::Version
|
264
|
-
version: '
|
230
|
+
version: '0'
|
265
231
|
type: :development
|
266
232
|
prerelease: false
|
267
233
|
version_requirements: !ruby/object:Gem::Requirement
|
268
234
|
requirements:
|
269
|
-
- - "
|
235
|
+
- - ">="
|
270
236
|
- !ruby/object:Gem::Version
|
271
|
-
version: '
|
237
|
+
version: '0'
|
272
238
|
- !ruby/object:Gem::Dependency
|
273
239
|
name: launchy
|
274
240
|
requirement: !ruby/object:Gem::Requirement
|
@@ -304,15 +270,19 @@ executables: []
|
|
304
270
|
extensions: []
|
305
271
|
extra_rdoc_files: []
|
306
272
|
files:
|
273
|
+
- ".github/workflows/tests.yml"
|
307
274
|
- ".gitignore"
|
308
275
|
- ".rspec"
|
309
|
-
-
|
276
|
+
- Appraisals
|
310
277
|
- CHANGELOG.md
|
311
278
|
- Gemfile
|
312
279
|
- LICENSE.txt
|
313
280
|
- README.md
|
314
281
|
- Rakefile
|
315
282
|
- examples/sinatras_raygun.rb
|
283
|
+
- gemfiles/rails_6.gemfile
|
284
|
+
- gemfiles/rails_7.gemfile
|
285
|
+
- gemfiles/rails_7_sidekiq_6.gemfile
|
316
286
|
- lib/generators/raygun/install_generator.rb
|
317
287
|
- lib/raygun.rb
|
318
288
|
- lib/raygun/affected_user.rb
|
@@ -321,7 +291,9 @@ files:
|
|
321
291
|
- lib/raygun/breadcrumbs/store.rb
|
322
292
|
- lib/raygun/client.rb
|
323
293
|
- lib/raygun/configuration.rb
|
294
|
+
- lib/raygun/demo_exception.rb
|
324
295
|
- lib/raygun/error.rb
|
296
|
+
- lib/raygun/error_subscriber.rb
|
325
297
|
- lib/raygun/javascript_tracker.rb
|
326
298
|
- lib/raygun/middleware/breadcrumbs_store_initializer.rb
|
327
299
|
- lib/raygun/middleware/javascript_exception_tracking.rb
|
@@ -335,72 +307,169 @@ files:
|
|
335
307
|
- lib/resque/failure/raygun.rb
|
336
308
|
- lib/tasks/raygun.tasks
|
337
309
|
- raygun4ruby.gemspec
|
338
|
-
- spec/dummy/.gitignore
|
339
|
-
- spec/dummy/Gemfile
|
340
|
-
- spec/dummy/README.rdoc
|
341
|
-
- spec/dummy/Rakefile
|
342
|
-
- spec/dummy/app/assets/config/manifest.js
|
343
|
-
- spec/dummy/app/assets/images/.keep
|
344
|
-
- spec/dummy/app/assets/javascripts/application.js
|
345
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
346
|
-
- spec/dummy/app/controllers/application_controller.rb
|
347
|
-
- spec/dummy/app/controllers/concerns/.keep
|
348
|
-
- spec/dummy/app/controllers/home_controller.rb
|
349
|
-
- spec/dummy/app/helpers/application_helper.rb
|
350
|
-
- spec/dummy/app/mailers/.keep
|
351
|
-
- spec/dummy/app/models/.keep
|
352
|
-
- spec/dummy/app/models/concerns/.keep
|
353
|
-
- spec/dummy/app/views/home/index.html.erb
|
354
|
-
- spec/dummy/app/views/home/index.json.erb
|
355
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
356
|
-
- spec/dummy/bin/bundle
|
357
|
-
- spec/dummy/bin/rails
|
358
|
-
- spec/dummy/bin/rake
|
359
|
-
- spec/dummy/bin/setup
|
360
|
-
- spec/dummy/bin/spring
|
361
|
-
- spec/dummy/config.ru
|
362
|
-
- spec/dummy/config/application.rb
|
363
|
-
- spec/dummy/config/boot.rb
|
364
|
-
- spec/dummy/config/database.yml
|
365
|
-
- spec/dummy/config/environment.rb
|
366
|
-
- spec/dummy/config/environments/development.rb
|
367
|
-
- spec/dummy/config/environments/production.rb
|
368
|
-
- spec/dummy/config/initializers/assets.rb
|
369
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
370
|
-
- spec/dummy/config/initializers/cookies_serializer.rb
|
371
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
372
|
-
- spec/dummy/config/initializers/inflections.rb
|
373
|
-
- spec/dummy/config/initializers/mime_types.rb
|
374
|
-
- spec/dummy/config/initializers/session_store.rb
|
375
|
-
- spec/dummy/config/initializers/to_time_preserves_timezone.rb
|
376
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
377
|
-
- spec/dummy/config/locales/en.yml
|
378
|
-
- spec/dummy/config/routes.rb
|
379
|
-
- spec/dummy/config/secrets.yml
|
380
|
-
- spec/dummy/db/seeds.rb
|
381
|
-
- spec/dummy/lib/assets/.keep
|
382
|
-
- spec/dummy/lib/tasks/.keep
|
383
|
-
- spec/dummy/log/.keep
|
384
|
-
- spec/dummy/public/404.html
|
385
|
-
- spec/dummy/public/422.html
|
386
|
-
- spec/dummy/public/500.html
|
387
|
-
- spec/dummy/public/favicon.ico
|
388
|
-
- spec/dummy/public/robots.txt
|
389
|
-
- spec/dummy/vendor/assets/javascripts/.keep
|
390
|
-
- spec/dummy/vendor/assets/stylesheets/.keep
|
391
310
|
- spec/features/javascript_spec.rb
|
311
|
+
- spec/rails_applications/6.1.4/Gemfile
|
312
|
+
- spec/rails_applications/6.1.4/README.md
|
313
|
+
- spec/rails_applications/6.1.4/Rakefile
|
314
|
+
- spec/rails_applications/6.1.4/app/assets/config/manifest.js
|
315
|
+
- spec/rails_applications/6.1.4/app/assets/images/.keep
|
316
|
+
- spec/rails_applications/6.1.4/app/assets/stylesheets/application.css
|
317
|
+
- spec/rails_applications/6.1.4/app/channels/application_cable/channel.rb
|
318
|
+
- spec/rails_applications/6.1.4/app/channels/application_cable/connection.rb
|
319
|
+
- spec/rails_applications/6.1.4/app/controllers/application_controller.rb
|
320
|
+
- spec/rails_applications/6.1.4/app/controllers/concerns/.keep
|
321
|
+
- spec/rails_applications/6.1.4/app/controllers/home_controller.rb
|
322
|
+
- spec/rails_applications/6.1.4/app/helpers/application_helper.rb
|
323
|
+
- spec/rails_applications/6.1.4/app/javascript/channels/consumer.js
|
324
|
+
- spec/rails_applications/6.1.4/app/javascript/channels/index.js
|
325
|
+
- spec/rails_applications/6.1.4/app/javascript/packs/application.js
|
326
|
+
- spec/rails_applications/6.1.4/app/jobs/application_job.rb
|
327
|
+
- spec/rails_applications/6.1.4/app/mailers/application_mailer.rb
|
328
|
+
- spec/rails_applications/6.1.4/app/models/application_record.rb
|
329
|
+
- spec/rails_applications/6.1.4/app/models/concerns/.keep
|
330
|
+
- spec/rails_applications/6.1.4/app/views/home/index.html.erb
|
331
|
+
- spec/rails_applications/6.1.4/app/views/home/index.json.erb
|
332
|
+
- spec/rails_applications/6.1.4/app/views/layouts/application.html.erb
|
333
|
+
- spec/rails_applications/6.1.4/app/views/layouts/mailer.html.erb
|
334
|
+
- spec/rails_applications/6.1.4/app/views/layouts/mailer.text.erb
|
335
|
+
- spec/rails_applications/6.1.4/bin/rails
|
336
|
+
- spec/rails_applications/6.1.4/bin/rake
|
337
|
+
- spec/rails_applications/6.1.4/bin/setup
|
338
|
+
- spec/rails_applications/6.1.4/bin/spring
|
339
|
+
- spec/rails_applications/6.1.4/bin/yarn
|
340
|
+
- spec/rails_applications/6.1.4/config.ru
|
341
|
+
- spec/rails_applications/6.1.4/config/application.rb
|
342
|
+
- spec/rails_applications/6.1.4/config/boot.rb
|
343
|
+
- spec/rails_applications/6.1.4/config/cable.yml
|
344
|
+
- spec/rails_applications/6.1.4/config/credentials.yml.enc
|
345
|
+
- spec/rails_applications/6.1.4/config/database.yml
|
346
|
+
- spec/rails_applications/6.1.4/config/environment.rb
|
347
|
+
- spec/rails_applications/6.1.4/config/environments/development.rb
|
348
|
+
- spec/rails_applications/6.1.4/config/environments/production.rb
|
349
|
+
- spec/rails_applications/6.1.4/config/environments/test.rb
|
350
|
+
- spec/rails_applications/6.1.4/config/initializers/application_controller_renderer.rb
|
351
|
+
- spec/rails_applications/6.1.4/config/initializers/assets.rb
|
352
|
+
- spec/rails_applications/6.1.4/config/initializers/backtrace_silencers.rb
|
353
|
+
- spec/rails_applications/6.1.4/config/initializers/content_security_policy.rb
|
354
|
+
- spec/rails_applications/6.1.4/config/initializers/cookies_serializer.rb
|
355
|
+
- spec/rails_applications/6.1.4/config/initializers/filter_parameter_logging.rb
|
356
|
+
- spec/rails_applications/6.1.4/config/initializers/inflections.rb
|
357
|
+
- spec/rails_applications/6.1.4/config/initializers/mime_types.rb
|
358
|
+
- spec/rails_applications/6.1.4/config/initializers/permissions_policy.rb
|
359
|
+
- spec/rails_applications/6.1.4/config/initializers/wrap_parameters.rb
|
360
|
+
- spec/rails_applications/6.1.4/config/locales/en.yml
|
361
|
+
- spec/rails_applications/6.1.4/config/master.key
|
362
|
+
- spec/rails_applications/6.1.4/config/puma.rb
|
363
|
+
- spec/rails_applications/6.1.4/config/routes.rb
|
364
|
+
- spec/rails_applications/6.1.4/config/spring.rb
|
365
|
+
- spec/rails_applications/6.1.4/config/storage.yml
|
366
|
+
- spec/rails_applications/6.1.4/db/seeds.rb
|
367
|
+
- spec/rails_applications/6.1.4/db/test.sqlite3
|
368
|
+
- spec/rails_applications/6.1.4/lib/assets/.keep
|
369
|
+
- spec/rails_applications/6.1.4/lib/tasks/.keep
|
370
|
+
- spec/rails_applications/6.1.4/package.json
|
371
|
+
- spec/rails_applications/6.1.4/public/404.html
|
372
|
+
- spec/rails_applications/6.1.4/public/422.html
|
373
|
+
- spec/rails_applications/6.1.4/public/500.html
|
374
|
+
- spec/rails_applications/6.1.4/public/apple-touch-icon-precomposed.png
|
375
|
+
- spec/rails_applications/6.1.4/public/apple-touch-icon.png
|
376
|
+
- spec/rails_applications/6.1.4/public/favicon.ico
|
377
|
+
- spec/rails_applications/6.1.4/public/robots.txt
|
378
|
+
- spec/rails_applications/6.1.4/storage/.keep
|
379
|
+
- spec/rails_applications/7.1.3/.dockerignore
|
380
|
+
- spec/rails_applications/7.1.3/.gitattributes
|
381
|
+
- spec/rails_applications/7.1.3/.gitignore
|
382
|
+
- spec/rails_applications/7.1.3/.ruby-version
|
383
|
+
- spec/rails_applications/7.1.3/Dockerfile
|
384
|
+
- spec/rails_applications/7.1.3/Gemfile
|
385
|
+
- spec/rails_applications/7.1.3/README.md
|
386
|
+
- spec/rails_applications/7.1.3/Rakefile
|
387
|
+
- spec/rails_applications/7.1.3/app/assets/config/manifest.js
|
388
|
+
- spec/rails_applications/7.1.3/app/assets/images/.keep
|
389
|
+
- spec/rails_applications/7.1.3/app/assets/stylesheets/application.css
|
390
|
+
- spec/rails_applications/7.1.3/app/channels/application_cable/channel.rb
|
391
|
+
- spec/rails_applications/7.1.3/app/channels/application_cable/connection.rb
|
392
|
+
- spec/rails_applications/7.1.3/app/controllers/application_controller.rb
|
393
|
+
- spec/rails_applications/7.1.3/app/controllers/concerns/.keep
|
394
|
+
- spec/rails_applications/7.1.3/app/controllers/home_controller.rb
|
395
|
+
- spec/rails_applications/7.1.3/app/helpers/application_helper.rb
|
396
|
+
- spec/rails_applications/7.1.3/app/helpers/home_helper.rb
|
397
|
+
- spec/rails_applications/7.1.3/app/javascript/application.js
|
398
|
+
- spec/rails_applications/7.1.3/app/javascript/controllers/application.js
|
399
|
+
- spec/rails_applications/7.1.3/app/javascript/controllers/hello_controller.js
|
400
|
+
- spec/rails_applications/7.1.3/app/javascript/controllers/index.js
|
401
|
+
- spec/rails_applications/7.1.3/app/jobs/application_job.rb
|
402
|
+
- spec/rails_applications/7.1.3/app/mailers/application_mailer.rb
|
403
|
+
- spec/rails_applications/7.1.3/app/models/application_record.rb
|
404
|
+
- spec/rails_applications/7.1.3/app/models/concerns/.keep
|
405
|
+
- spec/rails_applications/7.1.3/app/views/home/index.html.erb
|
406
|
+
- spec/rails_applications/7.1.3/app/views/home/index.json.erb
|
407
|
+
- spec/rails_applications/7.1.3/app/views/layouts/application.html.erb
|
408
|
+
- spec/rails_applications/7.1.3/app/views/layouts/mailer.html.erb
|
409
|
+
- spec/rails_applications/7.1.3/app/views/layouts/mailer.text.erb
|
410
|
+
- spec/rails_applications/7.1.3/bin/bundle
|
411
|
+
- spec/rails_applications/7.1.3/bin/docker-entrypoint
|
412
|
+
- spec/rails_applications/7.1.3/bin/importmap
|
413
|
+
- spec/rails_applications/7.1.3/bin/rails
|
414
|
+
- spec/rails_applications/7.1.3/bin/rake
|
415
|
+
- spec/rails_applications/7.1.3/bin/setup
|
416
|
+
- spec/rails_applications/7.1.3/config.ru
|
417
|
+
- spec/rails_applications/7.1.3/config/application.rb
|
418
|
+
- spec/rails_applications/7.1.3/config/boot.rb
|
419
|
+
- spec/rails_applications/7.1.3/config/cable.yml
|
420
|
+
- spec/rails_applications/7.1.3/config/credentials.yml.enc
|
421
|
+
- spec/rails_applications/7.1.3/config/database.yml
|
422
|
+
- spec/rails_applications/7.1.3/config/environment.rb
|
423
|
+
- spec/rails_applications/7.1.3/config/environments/development.rb
|
424
|
+
- spec/rails_applications/7.1.3/config/environments/production.rb
|
425
|
+
- spec/rails_applications/7.1.3/config/environments/test.rb
|
426
|
+
- spec/rails_applications/7.1.3/config/importmap.rb
|
427
|
+
- spec/rails_applications/7.1.3/config/initializers/assets.rb
|
428
|
+
- spec/rails_applications/7.1.3/config/initializers/content_security_policy.rb
|
429
|
+
- spec/rails_applications/7.1.3/config/initializers/filter_parameter_logging.rb
|
430
|
+
- spec/rails_applications/7.1.3/config/initializers/inflections.rb
|
431
|
+
- spec/rails_applications/7.1.3/config/initializers/permissions_policy.rb
|
432
|
+
- spec/rails_applications/7.1.3/config/locales/en.yml
|
433
|
+
- spec/rails_applications/7.1.3/config/puma.rb
|
434
|
+
- spec/rails_applications/7.1.3/config/routes.rb
|
435
|
+
- spec/rails_applications/7.1.3/config/storage.yml
|
436
|
+
- spec/rails_applications/7.1.3/db/seeds.rb
|
437
|
+
- spec/rails_applications/7.1.3/lib/assets/.keep
|
438
|
+
- spec/rails_applications/7.1.3/lib/tasks/.keep
|
439
|
+
- spec/rails_applications/7.1.3/public/404.html
|
440
|
+
- spec/rails_applications/7.1.3/public/422.html
|
441
|
+
- spec/rails_applications/7.1.3/public/500.html
|
442
|
+
- spec/rails_applications/7.1.3/public/apple-touch-icon-precomposed.png
|
443
|
+
- spec/rails_applications/7.1.3/public/apple-touch-icon.png
|
444
|
+
- spec/rails_applications/7.1.3/public/favicon.ico
|
445
|
+
- spec/rails_applications/7.1.3/public/robots.txt
|
446
|
+
- spec/rails_applications/7.1.3/storage/.keep
|
447
|
+
- spec/rails_applications/7.1.3/test/application_system_test_case.rb
|
448
|
+
- spec/rails_applications/7.1.3/test/channels/application_cable/connection_test.rb
|
449
|
+
- spec/rails_applications/7.1.3/test/controllers/.keep
|
450
|
+
- spec/rails_applications/7.1.3/test/controllers/home_controller_test.rb
|
451
|
+
- spec/rails_applications/7.1.3/test/fixtures/files/.keep
|
452
|
+
- spec/rails_applications/7.1.3/test/helpers/.keep
|
453
|
+
- spec/rails_applications/7.1.3/test/integration/.keep
|
454
|
+
- spec/rails_applications/7.1.3/test/mailers/.keep
|
455
|
+
- spec/rails_applications/7.1.3/test/models/.keep
|
456
|
+
- spec/rails_applications/7.1.3/test/system/.keep
|
457
|
+
- spec/rails_applications/7.1.3/test/test_helper.rb
|
458
|
+
- spec/rails_applications/7.1.3/vendor/.keep
|
459
|
+
- spec/rails_applications/7.1.3/vendor/javascript/.keep
|
392
460
|
- spec/rails_helper.rb
|
393
461
|
- spec/raygun/breadcrumbs/breadcrumb_spec.rb
|
394
462
|
- spec/raygun/breadcrumbs/store_spec.rb
|
395
|
-
- spec/raygun/raygun_spec.rb
|
396
463
|
- spec/services/apply_whitelist_filter_to_payload_spec.rb
|
397
464
|
- spec/spec_helper.rb
|
398
465
|
- spec/support/fake_logger.rb
|
399
466
|
- test/integration/client_test.rb
|
467
|
+
- test/rails_helper.rb
|
400
468
|
- test/test_helper.rb
|
401
469
|
- test/unit/affected_user_test.rb
|
402
470
|
- test/unit/client_test.rb
|
403
471
|
- test/unit/configuration_test.rb
|
472
|
+
- test/unit/error_subscriber_test.rb
|
404
473
|
- test/unit/raygun_test.rb
|
405
474
|
- test/unit/resque_failure_test.rb
|
406
475
|
- test/unit/sidekiq_failure_test.rb
|
@@ -419,21 +488,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
419
488
|
version: '2.0'
|
420
489
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
421
490
|
requirements:
|
422
|
-
- - "
|
491
|
+
- - ">="
|
423
492
|
- !ruby/object:Gem::Version
|
424
|
-
version:
|
493
|
+
version: '0'
|
425
494
|
requirements: []
|
426
|
-
rubygems_version: 3.
|
495
|
+
rubygems_version: 3.5.9
|
427
496
|
signing_key:
|
428
497
|
specification_version: 4
|
429
|
-
summary: This gem provides support for Ruby and Ruby on Rails for the Raygun error
|
498
|
+
summary: This gem provides support for Ruby and Ruby on Rails for the Raygun.com error
|
430
499
|
reporter
|
431
500
|
test_files:
|
432
501
|
- test/integration/client_test.rb
|
502
|
+
- test/rails_helper.rb
|
433
503
|
- test/test_helper.rb
|
434
504
|
- test/unit/affected_user_test.rb
|
435
505
|
- test/unit/client_test.rb
|
436
506
|
- test/unit/configuration_test.rb
|
507
|
+
- test/unit/error_subscriber_test.rb
|
437
508
|
- test/unit/raygun_test.rb
|
438
509
|
- test/unit/resque_failure_test.rb
|
439
510
|
- test/unit/sidekiq_failure_test.rb
|
data/.travis.yml
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
|
3
|
-
before_install:
|
4
|
-
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
|
5
|
-
- gem install bundler -v '< 2'
|
6
|
-
|
7
|
-
script:
|
8
|
-
- bundle exec rake
|
9
|
-
|
10
|
-
rvm:
|
11
|
-
- 2.0.0-p648
|
12
|
-
- 2.1.0
|
13
|
-
- 2.2.10
|
14
|
-
- 2.3.8
|
15
|
-
- 2.4.5
|
16
|
-
- 2.5.3
|
17
|
-
- 2.6.1
|
18
|
-
|
19
|
-
gemfile:
|
20
|
-
- Gemfile
|
data/spec/dummy/.gitignore
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
|
2
|
-
#
|
3
|
-
# If you find yourself ignoring temporary files generated by your text editor
|
4
|
-
# or operating system, you probably want to add a global ignore instead:
|
5
|
-
# git config --global core.excludesfile '~/.gitignore_global'
|
6
|
-
|
7
|
-
# Ignore bundler config.
|
8
|
-
/.bundle
|
9
|
-
|
10
|
-
# Ignore the default SQLite database.
|
11
|
-
/db/*.sqlite3
|
12
|
-
/db/*.sqlite3-journal
|
13
|
-
|
14
|
-
# Ignore all logfiles and tempfiles.
|
15
|
-
/log/*
|
16
|
-
!/log/.keep
|
17
|
-
/tmp
|
data/spec/dummy/Gemfile
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
|
4
|
-
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
5
|
-
gem 'rails', '4.2.11'
|
6
|
-
# Use sqlite3 as the database for Active Record
|
7
|
-
gem 'sqlite3'
|
8
|
-
# Use SCSS for stylesheets
|
9
|
-
gem 'sass-rails', '~> 5.0'
|
10
|
-
# Use Uglifier as compressor for JavaScript assets
|
11
|
-
gem 'uglifier', '>= 1.3.0'
|
12
|
-
# Use CoffeeScript for .coffee assets and views
|
13
|
-
gem 'coffee-rails', '~> 4.1.0'
|
14
|
-
# See https://github.com/rails/execjs#readme for more supported runtimes
|
15
|
-
# gem 'therubyracer', platforms: :ruby
|
16
|
-
|
17
|
-
# Use jquery as the JavaScript library
|
18
|
-
gem 'jquery-rails'
|
19
|
-
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
|
20
|
-
gem 'turbolinks'
|
21
|
-
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
22
|
-
gem 'jbuilder', '~> 2.0'
|
23
|
-
# bundle exec rake doc:rails generates the API under doc/api.
|
24
|
-
gem 'sdoc', '~> 0.4.0', group: :doc
|
25
|
-
|
26
|
-
# Use ActiveModel has_secure_password
|
27
|
-
# gem 'bcrypt', '~> 3.1.7'
|
28
|
-
|
29
|
-
# Use Unicorn as the app server
|
30
|
-
# gem 'unicorn'
|
31
|
-
|
32
|
-
# Use Capistrano for deployment
|
33
|
-
# gem 'capistrano-rails', group: :development
|
34
|
-
|
35
|
-
group :development, :test do
|
36
|
-
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
37
|
-
gem 'byebug'
|
38
|
-
end
|
39
|
-
|
40
|
-
group :development do
|
41
|
-
# Access an IRB console on exception pages or by using <%= console %> in views
|
42
|
-
gem 'web-console', '~> 2.0'
|
43
|
-
|
44
|
-
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
45
|
-
gem 'spring'
|
46
|
-
end
|
47
|
-
|
@@ -1,13 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
-
// listed below.
|
3
|
-
//
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
-
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
6
|
-
//
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
// compiled file.
|
9
|
-
//
|
10
|
-
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
|
-
// about supported directives.
|
12
|
-
//
|
13
|
-
//= require_tree .
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
6
|
-
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
7
|
-
<%= csrf_meta_tags %>
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
<%= yield %>
|
12
|
-
|
13
|
-
</body>
|
14
|
-
</html>
|
data/spec/dummy/bin/bundle
DELETED
data/spec/dummy/bin/rails
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
begin
|
3
|
-
load File.expand_path('../spring', __FILE__)
|
4
|
-
rescue LoadError => e
|
5
|
-
raise unless e.message.include?('spring')
|
6
|
-
end
|
7
|
-
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
8
|
-
require_relative '../config/boot'
|
9
|
-
require 'rails/commands'
|