raygun4ruby 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -5
- data/CHANGELOG.md +4 -0
- data/lib/raygun/middleware/javascript_exception_tracking.rb +1 -1
- data/lib/raygun/version.rb +1 -1
- data/raygun4ruby.gemspec +1 -1
- data/spec/dummy/.gitignore +17 -0
- data/spec/dummy/Gemfile +47 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +1 -1
- data/spec/dummy/app/assets/javascripts/application.js +1 -3
- data/spec/dummy/app/assets/stylesheets/application.css +3 -3
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/controllers/home_controller.rb +1 -1
- data/spec/dummy/app/{assets/javascripts/channels → mailers}/.keep +0 -0
- data/spec/dummy/{storage → app/models}/.keep +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +9 -10
- data/spec/dummy/bin/bundle +1 -1
- data/spec/dummy/bin/rails +6 -1
- data/spec/dummy/bin/rake +5 -0
- data/spec/dummy/bin/setup +13 -20
- data/spec/dummy/bin/spring +17 -0
- data/spec/dummy/config.ru +1 -2
- data/spec/dummy/config/application.rb +16 -8
- data/spec/dummy/config/boot.rb +2 -4
- data/spec/dummy/config/database.yml +1 -1
- data/spec/dummy/config/environment.rb +1 -1
- data/spec/dummy/config/environments/development.rb +11 -31
- data/spec/dummy/config/environments/production.rb +16 -31
- data/spec/dummy/config/environments/test.rb +6 -10
- data/spec/dummy/config/initializers/assets.rb +3 -6
- data/spec/dummy/config/initializers/cookies_serializer.rb +0 -2
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/to_time_preserves_timezone.rb +10 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +2 -2
- data/spec/dummy/config/locales/en.yml +0 -10
- data/spec/dummy/config/routes.rb +56 -1
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/db/seeds.rb +7 -0
- data/spec/dummy/{public/apple-touch-icon-precomposed.png → lib/tasks/.keep} +0 -0
- data/spec/dummy/public/404.html +6 -6
- data/spec/dummy/public/422.html +6 -6
- data/spec/dummy/public/500.html +6 -6
- data/spec/dummy/public/robots.txt +5 -0
- data/spec/dummy/{public/apple-touch-icon.png → test/controllers/.keep} +0 -0
- data/spec/dummy/test/fixtures/.keep +0 -0
- data/spec/dummy/test/helpers/.keep +0 -0
- data/spec/dummy/test/integration/.keep +0 -0
- data/spec/dummy/test/mailers/.keep +0 -0
- data/spec/dummy/test/models/.keep +0 -0
- data/spec/dummy/test/test_helper.rb +10 -0
- data/spec/dummy/vendor/assets/javascripts/.keep +0 -0
- data/spec/dummy/vendor/assets/stylesheets/.keep +0 -0
- metadata +25 -28
- data/spec/dummy/.ruby-version +0 -1
- data/spec/dummy/app/assets/config/manifest.js +0 -3
- data/spec/dummy/app/assets/javascripts/cable.js +0 -13
- data/spec/dummy/app/channels/application_cable/channel.rb +0 -4
- data/spec/dummy/app/channels/application_cable/connection.rb +0 -4
- data/spec/dummy/app/jobs/application_job.rb +0 -2
- data/spec/dummy/app/mailers/application_mailer.rb +0 -4
- data/spec/dummy/app/models/application_record.rb +0 -3
- data/spec/dummy/app/views/layouts/mailer.html.erb +0 -13
- data/spec/dummy/app/views/layouts/mailer.text.erb +0 -1
- data/spec/dummy/bin/update +0 -31
- data/spec/dummy/bin/yarn +0 -11
- data/spec/dummy/config/cable.yml +0 -10
- data/spec/dummy/config/initializers/application_controller_renderer.rb +0 -8
- data/spec/dummy/config/initializers/content_security_policy.rb +0 -25
- data/spec/dummy/config/puma.rb +0 -34
- data/spec/dummy/config/spring.rb +0 -6
- data/spec/dummy/config/storage.yml +0 -34
- data/spec/dummy/db/schema.rb +0 -15
- data/spec/dummy/package.json +0 -5
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,10 @@
|
|
1
|
+
ENV['RAILS_ENV'] ||= 'test'
|
2
|
+
require File.expand_path('../../config/environment', __FILE__)
|
3
|
+
require 'rails/test_help'
|
4
|
+
|
5
|
+
class ActiveSupport::TestCase
|
6
|
+
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
|
7
|
+
fixtures :all
|
8
|
+
|
9
|
+
# Add more helper methods to be used by all tests here...
|
10
|
+
end
|
File without changes
|
File without changes
|
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: 3.2.
|
4
|
+
version: 3.2.1
|
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: 2019-02-
|
12
|
+
date: 2019-02-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|
@@ -219,14 +219,14 @@ dependencies:
|
|
219
219
|
requirements:
|
220
220
|
- - '='
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version:
|
222
|
+
version: 4.2.11
|
223
223
|
type: :development
|
224
224
|
prerelease: false
|
225
225
|
version_requirements: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
227
|
- - '='
|
228
228
|
- !ruby/object:Gem::Version
|
229
|
-
version:
|
229
|
+
version: 4.2.11
|
230
230
|
- !ruby/object:Gem::Dependency
|
231
231
|
name: sqlite3
|
232
232
|
requirement: !ruby/object:Gem::Requirement
|
@@ -336,70 +336,67 @@ files:
|
|
336
336
|
- lib/resque/failure/raygun.rb
|
337
337
|
- lib/tasks/raygun.tasks
|
338
338
|
- raygun4ruby.gemspec
|
339
|
-
- spec/dummy/.
|
339
|
+
- spec/dummy/.gitignore
|
340
|
+
- spec/dummy/Gemfile
|
341
|
+
- spec/dummy/README.rdoc
|
340
342
|
- spec/dummy/Rakefile
|
341
|
-
- spec/dummy/app/assets/config/manifest.js
|
342
343
|
- spec/dummy/app/assets/images/.keep
|
343
344
|
- spec/dummy/app/assets/javascripts/application.js
|
344
|
-
- spec/dummy/app/assets/javascripts/cable.js
|
345
|
-
- spec/dummy/app/assets/javascripts/channels/.keep
|
346
345
|
- spec/dummy/app/assets/stylesheets/application.css
|
347
|
-
- spec/dummy/app/channels/application_cable/channel.rb
|
348
|
-
- spec/dummy/app/channels/application_cable/connection.rb
|
349
346
|
- spec/dummy/app/controllers/application_controller.rb
|
350
347
|
- spec/dummy/app/controllers/concerns/.keep
|
351
348
|
- spec/dummy/app/controllers/home_controller.rb
|
352
349
|
- spec/dummy/app/helpers/application_helper.rb
|
353
|
-
- spec/dummy/app/
|
354
|
-
- spec/dummy/app/
|
355
|
-
- spec/dummy/app/models/application_record.rb
|
350
|
+
- spec/dummy/app/mailers/.keep
|
351
|
+
- spec/dummy/app/models/.keep
|
356
352
|
- spec/dummy/app/models/concerns/.keep
|
357
353
|
- spec/dummy/app/views/home/index.html.erb
|
358
354
|
- spec/dummy/app/views/home/index.json.erb
|
359
355
|
- spec/dummy/app/views/layouts/application.html.erb
|
360
|
-
- spec/dummy/app/views/layouts/mailer.html.erb
|
361
|
-
- spec/dummy/app/views/layouts/mailer.text.erb
|
362
356
|
- spec/dummy/bin/bundle
|
363
357
|
- spec/dummy/bin/rails
|
364
358
|
- spec/dummy/bin/rake
|
365
359
|
- spec/dummy/bin/setup
|
366
|
-
- spec/dummy/bin/
|
367
|
-
- spec/dummy/bin/yarn
|
360
|
+
- spec/dummy/bin/spring
|
368
361
|
- spec/dummy/config.ru
|
369
362
|
- spec/dummy/config/application.rb
|
370
363
|
- spec/dummy/config/boot.rb
|
371
|
-
- spec/dummy/config/cable.yml
|
372
364
|
- spec/dummy/config/database.yml
|
373
365
|
- spec/dummy/config/environment.rb
|
374
366
|
- spec/dummy/config/environments/development.rb
|
375
367
|
- spec/dummy/config/environments/production.rb
|
376
368
|
- spec/dummy/config/environments/test.rb
|
377
|
-
- spec/dummy/config/initializers/application_controller_renderer.rb
|
378
369
|
- spec/dummy/config/initializers/assets.rb
|
379
370
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
380
|
-
- spec/dummy/config/initializers/content_security_policy.rb
|
381
371
|
- spec/dummy/config/initializers/cookies_serializer.rb
|
382
372
|
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
383
373
|
- spec/dummy/config/initializers/inflections.rb
|
384
374
|
- spec/dummy/config/initializers/mime_types.rb
|
375
|
+
- spec/dummy/config/initializers/session_store.rb
|
376
|
+
- spec/dummy/config/initializers/to_time_preserves_timezone.rb
|
385
377
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
386
378
|
- spec/dummy/config/locales/en.yml
|
387
|
-
- spec/dummy/config/puma.rb
|
388
379
|
- spec/dummy/config/routes.rb
|
389
|
-
- spec/dummy/config/
|
390
|
-
- spec/dummy/
|
391
|
-
- spec/dummy/db/schema.rb
|
380
|
+
- spec/dummy/config/secrets.yml
|
381
|
+
- spec/dummy/db/seeds.rb
|
392
382
|
- spec/dummy/db/test.sqlite3
|
393
383
|
- spec/dummy/lib/assets/.keep
|
384
|
+
- spec/dummy/lib/tasks/.keep
|
394
385
|
- spec/dummy/log/.keep
|
395
|
-
- spec/dummy/package.json
|
396
386
|
- spec/dummy/public/404.html
|
397
387
|
- spec/dummy/public/422.html
|
398
388
|
- spec/dummy/public/500.html
|
399
|
-
- spec/dummy/public/apple-touch-icon-precomposed.png
|
400
|
-
- spec/dummy/public/apple-touch-icon.png
|
401
389
|
- spec/dummy/public/favicon.ico
|
402
|
-
- spec/dummy/
|
390
|
+
- spec/dummy/public/robots.txt
|
391
|
+
- spec/dummy/test/controllers/.keep
|
392
|
+
- spec/dummy/test/fixtures/.keep
|
393
|
+
- spec/dummy/test/helpers/.keep
|
394
|
+
- spec/dummy/test/integration/.keep
|
395
|
+
- spec/dummy/test/mailers/.keep
|
396
|
+
- spec/dummy/test/models/.keep
|
397
|
+
- spec/dummy/test/test_helper.rb
|
398
|
+
- spec/dummy/vendor/assets/javascripts/.keep
|
399
|
+
- spec/dummy/vendor/assets/stylesheets/.keep
|
403
400
|
- spec/features/javascript_spec.rb
|
404
401
|
- spec/rails_helper.rb
|
405
402
|
- spec/raygun/breadcrumbs/breadcrumb_spec.rb
|
data/spec/dummy/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.5.1
|
@@ -1,13 +0,0 @@
|
|
1
|
-
// Action Cable provides the framework to deal with WebSockets in Rails.
|
2
|
-
// You can generate new channels where WebSocket features live using the `rails generate channel` command.
|
3
|
-
//
|
4
|
-
//= require action_cable
|
5
|
-
//= require_self
|
6
|
-
//= require_tree ./channels
|
7
|
-
|
8
|
-
(function() {
|
9
|
-
this.App || (this.App = {});
|
10
|
-
|
11
|
-
App.cable = ActionCable.createConsumer();
|
12
|
-
|
13
|
-
}).call(this);
|
@@ -1 +0,0 @@
|
|
1
|
-
<%= yield %>
|
data/spec/dummy/bin/update
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'fileutils'
|
3
|
-
include FileUtils
|
4
|
-
|
5
|
-
# path to your application root.
|
6
|
-
APP_ROOT = File.expand_path('..', __dir__)
|
7
|
-
|
8
|
-
def system!(*args)
|
9
|
-
system(*args) || abort("\n== Command #{args} failed ==")
|
10
|
-
end
|
11
|
-
|
12
|
-
chdir APP_ROOT do
|
13
|
-
# This script is a way to update your development environment automatically.
|
14
|
-
# Add necessary update steps to this file.
|
15
|
-
|
16
|
-
puts '== Installing dependencies =='
|
17
|
-
system! 'gem install bundler --conservative'
|
18
|
-
system('bundle check') || system!('bundle install')
|
19
|
-
|
20
|
-
# Install JavaScript dependencies if using Yarn
|
21
|
-
# system('bin/yarn')
|
22
|
-
|
23
|
-
puts "\n== Updating database =="
|
24
|
-
system! 'bin/rails db:migrate'
|
25
|
-
|
26
|
-
puts "\n== Removing old logs and tempfiles =="
|
27
|
-
system! 'bin/rails log:clear tmp:clear'
|
28
|
-
|
29
|
-
puts "\n== Restarting application server =="
|
30
|
-
system! 'bin/rails restart'
|
31
|
-
end
|
data/spec/dummy/bin/yarn
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
APP_ROOT = File.expand_path('..', __dir__)
|
3
|
-
Dir.chdir(APP_ROOT) do
|
4
|
-
begin
|
5
|
-
exec "yarnpkg", *ARGV
|
6
|
-
rescue Errno::ENOENT
|
7
|
-
$stderr.puts "Yarn executable was not detected in the system."
|
8
|
-
$stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"
|
9
|
-
exit 1
|
10
|
-
end
|
11
|
-
end
|
data/spec/dummy/config/cable.yml
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Define an application-wide content security policy
|
4
|
-
# For further information see the following documentation
|
5
|
-
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
|
6
|
-
|
7
|
-
# Rails.application.config.content_security_policy do |policy|
|
8
|
-
# policy.default_src :self, :https
|
9
|
-
# policy.font_src :self, :https, :data
|
10
|
-
# policy.img_src :self, :https, :data
|
11
|
-
# policy.object_src :none
|
12
|
-
# policy.script_src :self, :https
|
13
|
-
# policy.style_src :self, :https
|
14
|
-
|
15
|
-
# # Specify URI for violation reports
|
16
|
-
# # policy.report_uri "/csp-violation-report-endpoint"
|
17
|
-
# end
|
18
|
-
|
19
|
-
# If you are using UJS then enable automatic nonce generation
|
20
|
-
# Rails.application.config.content_security_policy_nonce_generator = -> request { SecureRandom.base64(16) }
|
21
|
-
|
22
|
-
# Report CSP violations to a specified URI
|
23
|
-
# For further information see the following documentation:
|
24
|
-
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only
|
25
|
-
# Rails.application.config.content_security_policy_report_only = true
|
data/spec/dummy/config/puma.rb
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
# Puma can serve each request in a thread from an internal thread pool.
|
2
|
-
# The `threads` method setting takes two numbers: a minimum and maximum.
|
3
|
-
# Any libraries that use thread pools should be configured to match
|
4
|
-
# the maximum value specified for Puma. Default is set to 5 threads for minimum
|
5
|
-
# and maximum; this matches the default thread size of Active Record.
|
6
|
-
#
|
7
|
-
threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
|
8
|
-
threads threads_count, threads_count
|
9
|
-
|
10
|
-
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
|
11
|
-
#
|
12
|
-
port ENV.fetch("PORT") { 3000 }
|
13
|
-
|
14
|
-
# Specifies the `environment` that Puma will run in.
|
15
|
-
#
|
16
|
-
environment ENV.fetch("RAILS_ENV") { "development" }
|
17
|
-
|
18
|
-
# Specifies the number of `workers` to boot in clustered mode.
|
19
|
-
# Workers are forked webserver processes. If using threads and workers together
|
20
|
-
# the concurrency of the application would be max `threads` * `workers`.
|
21
|
-
# Workers do not work on JRuby or Windows (both of which do not support
|
22
|
-
# processes).
|
23
|
-
#
|
24
|
-
# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
|
25
|
-
|
26
|
-
# Use the `preload_app!` method when specifying a `workers` number.
|
27
|
-
# This directive tells Puma to first boot the application and load code
|
28
|
-
# before forking the application. This takes advantage of Copy On Write
|
29
|
-
# process behavior so workers use less memory.
|
30
|
-
#
|
31
|
-
# preload_app!
|
32
|
-
|
33
|
-
# Allow puma to be restarted by `rails restart` command.
|
34
|
-
plugin :tmp_restart
|
data/spec/dummy/config/spring.rb
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
test:
|
2
|
-
service: Disk
|
3
|
-
root: <%= Rails.root.join("tmp/storage") %>
|
4
|
-
|
5
|
-
local:
|
6
|
-
service: Disk
|
7
|
-
root: <%= Rails.root.join("storage") %>
|
8
|
-
|
9
|
-
# Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
|
10
|
-
# amazon:
|
11
|
-
# service: S3
|
12
|
-
# access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
|
13
|
-
# secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
|
14
|
-
# region: us-east-1
|
15
|
-
# bucket: your_own_bucket
|
16
|
-
|
17
|
-
# Remember not to checkin your GCS keyfile to a repository
|
18
|
-
# google:
|
19
|
-
# service: GCS
|
20
|
-
# project: your_project
|
21
|
-
# credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
|
22
|
-
# bucket: your_own_bucket
|
23
|
-
|
24
|
-
# Use rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
|
25
|
-
# microsoft:
|
26
|
-
# service: AzureStorage
|
27
|
-
# storage_account_name: your_account_name
|
28
|
-
# storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
|
29
|
-
# container: your_container_name
|
30
|
-
|
31
|
-
# mirror:
|
32
|
-
# service: Mirror
|
33
|
-
# primary: local
|
34
|
-
# mirrors: [ amazon, google, microsoft ]
|
data/spec/dummy/db/schema.rb
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
# This file is auto-generated from the current state of the database. Instead
|
2
|
-
# of editing this file, please use the migrations feature of Active Record to
|
3
|
-
# incrementally modify your database, and then regenerate this schema definition.
|
4
|
-
#
|
5
|
-
# Note that this schema.rb definition is the authoritative source for your
|
6
|
-
# database schema. If you need to create the application database on another
|
7
|
-
# system, you should be using db:schema:load, not running all the migrations
|
8
|
-
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
9
|
-
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
10
|
-
#
|
11
|
-
# It's strongly recommended that you check this file into your version control system.
|
12
|
-
|
13
|
-
ActiveRecord::Schema.define(version: 0) do
|
14
|
-
|
15
|
-
end
|