jwt-auth 4.0.2 → 4.1.0
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.
- checksums.yaml +4 -4
- data/jwt-auth.gemspec +8 -8
- data/lib/jwt/auth/version.rb +1 -1
- data/spec/dummy/bin/bundle +1 -1
- data/spec/dummy/bin/setup +1 -3
- data/spec/dummy/bin/update +4 -2
- data/spec/dummy/bin/yarn +3 -3
- data/spec/dummy/config/application.rb +6 -4
- data/spec/dummy/config/boot.rb +3 -4
- data/spec/dummy/config/cable.yml +1 -1
- data/spec/dummy/config/environments/development.rb +10 -3
- data/spec/dummy/config/environments/production.rb +7 -4
- data/spec/dummy/config/environments/test.rb +5 -1
- data/spec/dummy/config/initializers/application_controller_renderer.rb +6 -4
- data/spec/dummy/config/initializers/content_security_policy.rb +25 -0
- data/spec/dummy/config/initializers/new_framework_defaults_5_2.rb +38 -0
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/db/schema.rb +1 -1
- metadata +24 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e47915c8619339d0e1250b38f8479515222cbf5e66b7528244c30959de854db
|
4
|
+
data.tar.gz: 60cff593393734473602826ee53b6ce3ff654bd74d1488f6a32fb2344429d330
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c48ba9b85c080ebe882e88f7e2b768da6bd40ad239b390d55c88de07cdfd7a6ff835c25d7fcca5b71086879c4f83427db81b5f9a32ccb9925a532b63c24dc0c2
|
7
|
+
data.tar.gz: 15ec6923bf0dfdf46e65f2f88435d8ceb43c99d04fca97ede1813e8033008a4f456d2ba9fd918825a3dfe9c43ca8ec522066feb8e3b7b5882c0d3e9bac536add
|
data/jwt-auth.gemspec
CHANGED
@@ -21,15 +21,15 @@ Gem::Specification.new do |gem|
|
|
21
21
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
22
22
|
gem.require_paths = ['lib']
|
23
23
|
|
24
|
-
gem.add_runtime_dependency 'jwt', '~>
|
25
|
-
gem.add_runtime_dependency 'rails', '~> 5.
|
24
|
+
gem.add_runtime_dependency 'jwt', '~> 2.0'
|
25
|
+
gem.add_runtime_dependency 'rails', '~> 5.2'
|
26
26
|
|
27
|
-
gem.add_development_dependency 'bundler', '~> 1.
|
28
|
-
gem.add_development_dependency 'rubocop', '~> 0.
|
29
|
-
gem.add_development_dependency 'rake', '~> 12.
|
30
|
-
gem.add_development_dependency 'rspec', '~> 3.
|
31
|
-
gem.add_development_dependency 'rspec-rails', '~> 3.
|
32
|
-
gem.add_development_dependency 'rdoc', '~>
|
27
|
+
gem.add_development_dependency 'bundler', '~> 1.17'
|
28
|
+
gem.add_development_dependency 'rubocop', '~> 0.63'
|
29
|
+
gem.add_development_dependency 'rake', '~> 12.3'
|
30
|
+
gem.add_development_dependency 'rspec', '~> 3.8'
|
31
|
+
gem.add_development_dependency 'rspec-rails', '~> 3.8'
|
32
|
+
gem.add_development_dependency 'rdoc', '~> 6.1'
|
33
33
|
gem.add_development_dependency 'coveralls', '~> 0.8'
|
34
34
|
gem.add_development_dependency 'byebug'
|
35
35
|
gem.add_development_dependency 'sqlite3'
|
data/lib/jwt/auth/version.rb
CHANGED
data/spec/dummy/bin/bundle
CHANGED
data/spec/dummy/bin/setup
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
require 'pathname'
|
3
2
|
require 'fileutils'
|
4
3
|
include FileUtils
|
5
4
|
|
6
5
|
# path to your application root.
|
7
|
-
APP_ROOT =
|
6
|
+
APP_ROOT = File.expand_path('..', __dir__)
|
8
7
|
|
9
8
|
def system!(*args)
|
10
9
|
system(*args) || abort("\n== Command #{args} failed ==")
|
@@ -21,7 +20,6 @@ chdir APP_ROOT do
|
|
21
20
|
# Install JavaScript dependencies if using Yarn
|
22
21
|
# system('bin/yarn')
|
23
22
|
|
24
|
-
|
25
23
|
# puts "\n== Copying sample files =="
|
26
24
|
# unless File.exist?('config/database.yml')
|
27
25
|
# cp 'config/database.yml.sample', 'config/database.yml'
|
data/spec/dummy/bin/update
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
require 'pathname'
|
3
2
|
require 'fileutils'
|
4
3
|
include FileUtils
|
5
4
|
|
6
5
|
# path to your application root.
|
7
|
-
APP_ROOT =
|
6
|
+
APP_ROOT = File.expand_path('..', __dir__)
|
8
7
|
|
9
8
|
def system!(*args)
|
10
9
|
system(*args) || abort("\n== Command #{args} failed ==")
|
@@ -18,6 +17,9 @@ chdir APP_ROOT do
|
|
18
17
|
system! 'gem install bundler --conservative'
|
19
18
|
system('bundle check') || system!('bundle install')
|
20
19
|
|
20
|
+
# Install JavaScript dependencies if using Yarn
|
21
|
+
# system('bin/yarn')
|
22
|
+
|
21
23
|
puts "\n== Updating database =="
|
22
24
|
system! 'bin/rails db:migrate'
|
23
25
|
|
data/spec/dummy/bin/yarn
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
Dir.chdir(
|
2
|
+
APP_ROOT = File.expand_path('..', __dir__)
|
3
|
+
Dir.chdir(APP_ROOT) do
|
4
4
|
begin
|
5
|
-
exec "yarnpkg
|
5
|
+
exec "yarnpkg", *ARGV
|
6
6
|
rescue Errno::ENOENT
|
7
7
|
$stderr.puts "Yarn executable was not detected in the system."
|
8
8
|
$stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"
|
@@ -2,8 +2,10 @@ require_relative 'boot'
|
|
2
2
|
|
3
3
|
require 'rails/all'
|
4
4
|
|
5
|
+
# Require the gems listed in Gemfile, including any gems
|
6
|
+
# you've limited to :test, :development, or :production.
|
5
7
|
Bundler.require(*Rails.groups)
|
6
|
-
require
|
8
|
+
require 'jwt/auth'
|
7
9
|
|
8
10
|
module Dummy
|
9
11
|
class Application < Rails::Application
|
@@ -11,8 +13,8 @@ module Dummy
|
|
11
13
|
config.load_defaults 5.1
|
12
14
|
|
13
15
|
# Settings in config/environments/* take precedence over those specified here.
|
14
|
-
# Application configuration
|
15
|
-
# -- all .rb files in that directory are automatically loaded
|
16
|
+
# Application configuration can go into files in config/initializers
|
17
|
+
# -- all .rb files in that directory are automatically loaded after loading
|
18
|
+
# the framework and any gems in your application.
|
16
19
|
end
|
17
20
|
end
|
18
|
-
|
data/spec/dummy/config/boot.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../Gemfile', __dir__)
|
1
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __dir__)
|
3
2
|
|
4
|
-
require 'bundler/setup'
|
5
|
-
|
3
|
+
require 'bundler/setup' # Set up gems listed in the Gemfile.
|
4
|
+
#require 'bootsnap/setup' # Speed up boot time by caching expensive operations.
|
data/spec/dummy/config/cable.yml
CHANGED
@@ -13,12 +13,13 @@ Rails.application.configure do
|
|
13
13
|
config.consider_all_requests_local = true
|
14
14
|
|
15
15
|
# Enable/disable caching. By default caching is disabled.
|
16
|
-
|
16
|
+
# Run rails dev:cache to toggle caching.
|
17
|
+
if Rails.root.join('tmp', 'caching-dev.txt').exist?
|
17
18
|
config.action_controller.perform_caching = true
|
18
19
|
|
19
20
|
config.cache_store = :memory_store
|
20
21
|
config.public_file_server.headers = {
|
21
|
-
'Cache-Control' => "public, max-age=#{2.days.
|
22
|
+
'Cache-Control' => "public, max-age=#{2.days.to_i}"
|
22
23
|
}
|
23
24
|
else
|
24
25
|
config.action_controller.perform_caching = false
|
@@ -26,6 +27,9 @@ Rails.application.configure do
|
|
26
27
|
config.cache_store = :null_store
|
27
28
|
end
|
28
29
|
|
30
|
+
# Store uploaded files on the local file system (see config/storage.yml for options)
|
31
|
+
config.active_storage.service = :local
|
32
|
+
|
29
33
|
# Don't care if the mailer can't send.
|
30
34
|
config.action_mailer.raise_delivery_errors = false
|
31
35
|
|
@@ -37,6 +41,9 @@ Rails.application.configure do
|
|
37
41
|
# Raise an error on page load if there are pending migrations.
|
38
42
|
config.active_record.migration_error = :page_load
|
39
43
|
|
44
|
+
# Highlight code that triggered database queries in logs.
|
45
|
+
config.active_record.verbose_query_logs = true
|
46
|
+
|
40
47
|
# Debug mode disables concatenation and preprocessing of assets.
|
41
48
|
# This option may cause significant delays in view rendering with a large
|
42
49
|
# number of complex assets.
|
@@ -50,5 +57,5 @@ Rails.application.configure do
|
|
50
57
|
|
51
58
|
# Use an evented file watcher to asynchronously detect changes in source code,
|
52
59
|
# routes, locales, etc. This feature depends on the listen gem.
|
53
|
-
#
|
60
|
+
#config.file_watcher = ActiveSupport::EventedFileUpdateChecker
|
54
61
|
end
|
@@ -14,10 +14,9 @@ Rails.application.configure do
|
|
14
14
|
config.consider_all_requests_local = false
|
15
15
|
config.action_controller.perform_caching = true
|
16
16
|
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
20
|
-
config.read_encrypted_secrets = true
|
17
|
+
# Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"]
|
18
|
+
# or in config/master.key. This key is used to decrypt credentials (and other encrypted files).
|
19
|
+
# config.require_master_key = true
|
21
20
|
|
22
21
|
# Disable serving static files from the `/public` folder by default since
|
23
22
|
# Apache or NGINX already handles this.
|
@@ -39,6 +38,9 @@ Rails.application.configure do
|
|
39
38
|
# config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
|
40
39
|
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
|
41
40
|
|
41
|
+
# Store uploaded files on the local file system (see config/storage.yml for options)
|
42
|
+
config.active_storage.service = :local
|
43
|
+
|
42
44
|
# Mount Action Cable outside main process or domain
|
43
45
|
# config.action_cable.mount_path = nil
|
44
46
|
# config.action_cable.url = 'wss://example.com/cable'
|
@@ -60,6 +62,7 @@ Rails.application.configure do
|
|
60
62
|
# Use a real queuing backend for Active Job (and separate queues per environment)
|
61
63
|
# config.active_job.queue_adapter = :resque
|
62
64
|
# config.active_job.queue_name_prefix = "dummy_#{Rails.env}"
|
65
|
+
|
63
66
|
config.action_mailer.perform_caching = false
|
64
67
|
|
65
68
|
# Ignore bad email addresses and do not raise email delivery errors.
|
@@ -15,7 +15,7 @@ Rails.application.configure do
|
|
15
15
|
# Configure public file server for tests with Cache-Control for performance.
|
16
16
|
config.public_file_server.enabled = true
|
17
17
|
config.public_file_server.headers = {
|
18
|
-
'Cache-Control' => "public, max-age=#{1.hour.
|
18
|
+
'Cache-Control' => "public, max-age=#{1.hour.to_i}"
|
19
19
|
}
|
20
20
|
|
21
21
|
# Show full error reports and disable caching.
|
@@ -27,6 +27,10 @@ Rails.application.configure do
|
|
27
27
|
|
28
28
|
# Disable request forgery protection in test environment.
|
29
29
|
config.action_controller.allow_forgery_protection = false
|
30
|
+
|
31
|
+
# Store uploaded files on the local file system in a temporary directory
|
32
|
+
config.active_storage.service = :test
|
33
|
+
|
30
34
|
config.action_mailer.perform_caching = false
|
31
35
|
|
32
36
|
# Tell Action Mailer not to deliver emails to the real world.
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
2
2
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
#
|
6
|
-
#
|
3
|
+
# ActiveSupport::Reloader.to_prepare do
|
4
|
+
# ApplicationController.renderer.defaults.merge!(
|
5
|
+
# http_host: 'example.org',
|
6
|
+
# https: false
|
7
|
+
# )
|
8
|
+
# end
|
@@ -0,0 +1,25 @@
|
|
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
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains migration options to ease your Rails 5.2 upgrade.
|
4
|
+
#
|
5
|
+
# Once upgraded flip defaults one by one to migrate to the new default.
|
6
|
+
#
|
7
|
+
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
|
8
|
+
|
9
|
+
# Make Active Record use stable #cache_key alongside new #cache_version method.
|
10
|
+
# This is needed for recyclable cache keys.
|
11
|
+
# Rails.application.config.active_record.cache_versioning = true
|
12
|
+
|
13
|
+
# Use AES-256-GCM authenticated encryption for encrypted cookies.
|
14
|
+
# Also, embed cookie expiry in signed or encrypted cookies for increased security.
|
15
|
+
#
|
16
|
+
# This option is not backwards compatible with earlier Rails versions.
|
17
|
+
# It's best enabled when your entire app is migrated and stable on 5.2.
|
18
|
+
#
|
19
|
+
# Existing cookies will be converted on read then written with the new scheme.
|
20
|
+
# Rails.application.config.action_dispatch.use_authenticated_cookie_encryption = true
|
21
|
+
|
22
|
+
# Use AES-256-GCM authenticated encryption as default cipher for encrypting messages
|
23
|
+
# instead of AES-256-CBC, when use_authenticated_message_encryption is set to true.
|
24
|
+
# Rails.application.config.active_support.use_authenticated_message_encryption = true
|
25
|
+
|
26
|
+
# Add default protection from forgery to ActionController::Base instead of in
|
27
|
+
# ApplicationController.
|
28
|
+
# Rails.application.config.action_controller.default_protect_from_forgery = true
|
29
|
+
|
30
|
+
# Store boolean values are in sqlite3 databases as 1 and 0 instead of 't' and
|
31
|
+
# 'f' after migrating old data.
|
32
|
+
# Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
|
33
|
+
|
34
|
+
# Use SHA-1 instead of MD5 to generate non-sensitive digests, such as the ETag header.
|
35
|
+
# Rails.application.config.active_support.use_sha1_digests = true
|
36
|
+
|
37
|
+
# Make `form_with` generate id attributes for any generated HTML tags.
|
38
|
+
# Rails.application.config.action_view.form_with_generates_ids = true
|
@@ -0,0 +1,34 @@
|
|
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
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
#
|
11
11
|
# It's strongly recommended that you check this file into your version control system.
|
12
12
|
|
13
|
-
ActiveRecord::Schema.define(version:
|
13
|
+
ActiveRecord::Schema.define(version: 2017_07_26_112117) do
|
14
14
|
|
15
15
|
create_table "users", force: :cascade do |t|
|
16
16
|
t.string "email"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jwt-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Dejonckheere
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -16,112 +16,112 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '5.
|
33
|
+
version: '5.2'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '5.
|
40
|
+
version: '5.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1.
|
47
|
+
version: '1.17'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '1.
|
54
|
+
version: '1.17'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0.
|
61
|
+
version: '0.63'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0.
|
68
|
+
version: '0.63'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '12.
|
75
|
+
version: '12.3'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '12.
|
82
|
+
version: '12.3'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '3.
|
89
|
+
version: '3.8'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '3.
|
96
|
+
version: '3.8'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rspec-rails
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '3.
|
103
|
+
version: '3.8'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '3.
|
110
|
+
version: '3.8'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rdoc
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
117
|
+
version: '6.1'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
124
|
+
version: '6.1'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: coveralls
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -230,17 +230,20 @@ files:
|
|
230
230
|
- spec/dummy/config/initializers/application_controller_renderer.rb
|
231
231
|
- spec/dummy/config/initializers/assets.rb
|
232
232
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
233
|
+
- spec/dummy/config/initializers/content_security_policy.rb
|
233
234
|
- spec/dummy/config/initializers/cookies_serializer.rb
|
234
235
|
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
235
236
|
- spec/dummy/config/initializers/inflections.rb
|
236
237
|
- spec/dummy/config/initializers/jwt_auth.rb
|
237
238
|
- spec/dummy/config/initializers/mime_types.rb
|
239
|
+
- spec/dummy/config/initializers/new_framework_defaults_5_2.rb
|
238
240
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
239
241
|
- spec/dummy/config/locales/en.yml
|
240
242
|
- spec/dummy/config/puma.rb
|
241
243
|
- spec/dummy/config/routes.rb
|
242
244
|
- spec/dummy/config/secrets.yml
|
243
245
|
- spec/dummy/config/spring.rb
|
246
|
+
- spec/dummy/config/storage.yml
|
244
247
|
- spec/dummy/db/migrate/20170726110751_create_users.rb
|
245
248
|
- spec/dummy/db/migrate/20170726110825_add_token_version_to_user.rb
|
246
249
|
- spec/dummy/db/migrate/20170726112117_add_activated_to_user.rb
|
@@ -326,17 +329,20 @@ test_files:
|
|
326
329
|
- spec/dummy/config/initializers/application_controller_renderer.rb
|
327
330
|
- spec/dummy/config/initializers/assets.rb
|
328
331
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
332
|
+
- spec/dummy/config/initializers/content_security_policy.rb
|
329
333
|
- spec/dummy/config/initializers/cookies_serializer.rb
|
330
334
|
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
331
335
|
- spec/dummy/config/initializers/inflections.rb
|
332
336
|
- spec/dummy/config/initializers/jwt_auth.rb
|
333
337
|
- spec/dummy/config/initializers/mime_types.rb
|
338
|
+
- spec/dummy/config/initializers/new_framework_defaults_5_2.rb
|
334
339
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
335
340
|
- spec/dummy/config/locales/en.yml
|
336
341
|
- spec/dummy/config/puma.rb
|
337
342
|
- spec/dummy/config/routes.rb
|
338
343
|
- spec/dummy/config/secrets.yml
|
339
344
|
- spec/dummy/config/spring.rb
|
345
|
+
- spec/dummy/config/storage.yml
|
340
346
|
- spec/dummy/db/migrate/20170726110751_create_users.rb
|
341
347
|
- spec/dummy/db/migrate/20170726110825_add_token_version_to_user.rb
|
342
348
|
- spec/dummy/db/migrate/20170726112117_add_activated_to_user.rb
|