image_authentication 0.1.1 → 0.2.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/.coveralls.yml +1 -0
- data/.gitignore +1 -1
- data/.travis.yml +3 -4
- data/Gemfile +1 -2
- data/README.md +3 -0
- data/image_authentication.gemspec +6 -4
- data/lib/image_authentication/controllers/helpers.rb +1 -1
- data/lib/image_authentication/routes.rb +3 -3
- data/lib/image_authentication/version.rb +1 -1
- data/spec/dummy/bin/rails +1 -1
- data/spec/dummy/bin/setup +34 -0
- data/spec/dummy/bin/update +29 -0
- data/spec/dummy/config/application.rb +3 -9
- data/spec/dummy/config/boot.rb +2 -4
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/environment.rb +2 -2
- data/spec/dummy/config/environments/development.rb +27 -5
- data/spec/dummy/config/environments/production.rb +39 -31
- data/spec/dummy/config/environments/test.rb +12 -6
- data/spec/dummy/config/initializers/application_controller_renderer.rb +6 -0
- data/spec/dummy/config/initializers/assets.rb +11 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/config/initializers/mime_types.rb +0 -1
- data/spec/dummy/config/initializers/per_form_csrf_tokens.rb +4 -0
- data/spec/dummy/config/initializers/request_forgery_protection.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +1 -1
- data/spec/dummy/config/initializers/wrap_parameters.rb +2 -2
- data/spec/dummy/config/puma.rb +47 -0
- data/spec/dummy/config/routes.rb +3 -56
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/db/schema.rb +3 -4
- data/spec/models/image_authenticable_spec.rb +6 -6
- data/spec/spec_helper.rb +4 -0
- metadata +66 -36
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/log/development.log +0 -21
- data/spec/dummy/log/test.log +0 -613
@@ -0,0 +1,11 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Version of your assets, change this if you want to expire all your assets.
|
4
|
+
Rails.application.config.assets.version = '1.0'
|
5
|
+
|
6
|
+
# Add additional assets to the asset load path
|
7
|
+
# Rails.application.config.assets.paths << Emoji.images_path
|
8
|
+
|
9
|
+
# Precompile additional assets.
|
10
|
+
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
11
|
+
# Rails.application.config.assets.precompile += %w( search.js )
|
@@ -5,10 +5,10 @@
|
|
5
5
|
|
6
6
|
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
7
|
ActiveSupport.on_load(:action_controller) do
|
8
|
-
wrap_parameters format: [:json]
|
8
|
+
wrap_parameters format: [:json]
|
9
9
|
end
|
10
10
|
|
11
11
|
# To enable root element in JSON for ActiveRecord objects.
|
12
12
|
# ActiveSupport.on_load(:active_record) do
|
13
|
-
#
|
13
|
+
# self.include_root_in_json = true
|
14
14
|
# end
|
@@ -0,0 +1,47 @@
|
|
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 }.to_i
|
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. If you use this option
|
30
|
+
# you need to make sure to reconnect any threads in the `on_worker_boot`
|
31
|
+
# block.
|
32
|
+
#
|
33
|
+
# preload_app!
|
34
|
+
|
35
|
+
# The code in the `on_worker_boot` will be called if you are using
|
36
|
+
# clustered mode by specifying a number of `workers`. After each worker
|
37
|
+
# process is booted this block will be run, if you are using `preload_app!`
|
38
|
+
# option you will want to use this block to reconnect to any threads
|
39
|
+
# or connections that may have been created at application boot, Ruby
|
40
|
+
# cannot share connections between processes.
|
41
|
+
#
|
42
|
+
# on_worker_boot do
|
43
|
+
# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
|
44
|
+
# end
|
45
|
+
|
46
|
+
# Allow puma to be restarted by `rails restart` command.
|
47
|
+
plugin :tmp_restart
|
data/spec/dummy/config/routes.rb
CHANGED
@@ -1,57 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
# See how all your routes lay out with "rake routes".
|
5
|
-
|
6
|
-
# You can have the root of your site routed with "root"
|
7
|
-
root 'welcome#index'
|
8
|
-
|
9
|
-
# Example of regular route:
|
10
|
-
# get 'products/:id' => 'catalog#view'
|
11
|
-
|
12
|
-
# Example of named route that can be invoked with purchase_url(id: product.id)
|
13
|
-
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
|
14
|
-
|
15
|
-
# Example resource route (maps HTTP verbs to controller actions automatically):
|
16
|
-
# resources :products
|
17
|
-
|
18
|
-
# Example resource route with options:
|
19
|
-
# resources :products do
|
20
|
-
# member do
|
21
|
-
# get 'short'
|
22
|
-
# post 'toggle'
|
23
|
-
# end
|
24
|
-
#
|
25
|
-
# collection do
|
26
|
-
# get 'sold'
|
27
|
-
# end
|
28
|
-
# end
|
29
|
-
|
30
|
-
# Example resource route with sub-resources:
|
31
|
-
# resources :products do
|
32
|
-
# resources :comments, :sales
|
33
|
-
# resource :seller
|
34
|
-
# end
|
35
|
-
|
36
|
-
# Example resource route with more complex sub-resources:
|
37
|
-
# resources :products do
|
38
|
-
# resources :comments
|
39
|
-
# resources :sales do
|
40
|
-
# get 'recent', on: :collection
|
41
|
-
# end
|
42
|
-
# end
|
43
|
-
|
44
|
-
# Example resource route with concerns:
|
45
|
-
# concern :toggleable do
|
46
|
-
# post 'toggle'
|
47
|
-
# end
|
48
|
-
# resources :posts, concerns: :toggleable
|
49
|
-
# resources :photos, concerns: :toggleable
|
50
|
-
|
51
|
-
# Example resource route within a namespace:
|
52
|
-
# namespace :admin do
|
53
|
-
# # Directs /admin/products/* to Admin::ProductsController
|
54
|
-
# # (app/controllers/admin/products_controller.rb)
|
55
|
-
# resources :products
|
56
|
-
# end
|
1
|
+
Rails.application.routes.draw do
|
2
|
+
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
|
3
|
+
root 'welcome#index'
|
57
4
|
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
+
# You can use `rails secret` to generate a secure secret key.
|
9
|
+
|
10
|
+
# Make sure the secrets in this file are kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
|
13
|
+
development:
|
14
|
+
secret_key_base: 102090d428f737dc6a9b58469321b5209cc55193cbc7dcf5de83f464b045335e409ba554ebb6ba95f904f2b9117777e5dc0050cec312a81a2fdecdc923a2f87b
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: e7c368633c60f3196fe66811a1e9eb27f3ca0db5674dddcd97f901955ccbc30926b31019ee3ad65f5895ce3d9f4d227790174343c0fa159ba8149704dae7d0dd
|
18
|
+
|
19
|
+
# Do not keep production secrets in the repository,
|
20
|
+
# instead read values from the environment.
|
21
|
+
production:
|
22
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
ActiveRecord::Schema.define(version: 20140307134300) do
|
15
15
|
|
16
|
-
create_table "users", force:
|
16
|
+
create_table "users", force: :cascade do |t|
|
17
17
|
t.string "email", default: "", null: false
|
18
18
|
t.string "encrypted_password", default: "", null: false
|
19
19
|
t.string "reset_password_token"
|
@@ -31,9 +31,8 @@ ActiveRecord::Schema.define(version: 20140307134300) do
|
|
31
31
|
t.datetime "updated_at"
|
32
32
|
t.boolean "image_authentication_enabled", default: false
|
33
33
|
t.integer "auth_categories_mask", default: 0
|
34
|
+
t.index ["email"], name: "index_users_on_email", unique: true
|
35
|
+
t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
|
34
36
|
end
|
35
37
|
|
36
|
-
add_index "users", ["email"], name: "index_users_on_email", unique: true
|
37
|
-
add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
|
38
|
-
|
39
38
|
end
|
@@ -35,19 +35,19 @@ describe Devise::Models::ImageAuthenticatable do
|
|
35
35
|
|
36
36
|
context 'with matching categories' do
|
37
37
|
it 'returns true' do
|
38
|
-
expect(user.valid_images?(valid_categories)).to
|
38
|
+
expect(user.valid_images?(valid_categories)).to be_truthy
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
42
|
context 'with different categories' do
|
43
43
|
it 'returns false' do
|
44
|
-
expect(user.valid_images?(other_categories)).to
|
44
|
+
expect(user.valid_images?(other_categories)).to be_falsey
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
48
|
context 'with no categories' do
|
49
49
|
it 'returns false' do
|
50
|
-
expect(user.valid_images?(nil)).to
|
50
|
+
expect(user.valid_images?(nil)).to be_falsey
|
51
51
|
end
|
52
52
|
end
|
53
53
|
end
|
@@ -71,7 +71,7 @@ describe Devise::Models::ImageAuthenticatable do
|
|
71
71
|
end
|
72
72
|
|
73
73
|
it 'returns true' do
|
74
|
-
expect(user.max_login_attempts?).to
|
74
|
+
expect(user.max_login_attempts?).to be_truthy
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
@@ -81,7 +81,7 @@ describe Devise::Models::ImageAuthenticatable do
|
|
81
81
|
end
|
82
82
|
|
83
83
|
it 'returns false' do
|
84
|
-
expect(user.max_login_attempts?).to
|
84
|
+
expect(user.max_login_attempts?).to be_falsey
|
85
85
|
end
|
86
86
|
end
|
87
87
|
end
|
@@ -93,7 +93,7 @@ describe Devise::Models::ImageAuthenticatable do
|
|
93
93
|
end
|
94
94
|
|
95
95
|
it 'returns false' do
|
96
|
-
expect(user.max_login_attempts?).to
|
96
|
+
expect(user.max_login_attempts?).to be_falsey
|
97
97
|
end
|
98
98
|
end
|
99
99
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,125 +1,139 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: image_authentication
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kieran Johnson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 5.0.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: 5.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: devise
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 4.1.1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 4.1.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: coffee-rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
32
46
|
- !ruby/object:Gem::Version
|
33
47
|
version: '0'
|
34
48
|
type: :runtime
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
|
-
- -
|
52
|
+
- - ">="
|
39
53
|
- !ruby/object:Gem::Version
|
40
54
|
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: bundler
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- -
|
59
|
+
- - ">="
|
46
60
|
- !ruby/object:Gem::Version
|
47
61
|
version: '0'
|
48
62
|
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- -
|
66
|
+
- - ">="
|
53
67
|
- !ruby/object:Gem::Version
|
54
68
|
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: rspec-rails
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
|
-
- -
|
73
|
+
- - "~>"
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
75
|
+
version: 3.5.0.beta3
|
62
76
|
type: :development
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
|
-
- -
|
80
|
+
- - "~>"
|
67
81
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
82
|
+
version: 3.5.0.beta3
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: sqlite3
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- -
|
87
|
+
- - ">="
|
74
88
|
- !ruby/object:Gem::Version
|
75
89
|
version: '0'
|
76
90
|
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- -
|
94
|
+
- - ">="
|
81
95
|
- !ruby/object:Gem::Version
|
82
96
|
version: '0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: pg
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
|
-
- -
|
101
|
+
- - ">="
|
88
102
|
- !ruby/object:Gem::Version
|
89
103
|
version: '0'
|
90
104
|
type: :development
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
|
-
- -
|
108
|
+
- - ">="
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
112
|
+
name: factory_girl_rails
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
|
-
- -
|
115
|
+
- - ">="
|
102
116
|
- !ruby/object:Gem::Version
|
103
117
|
version: '0'
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
|
-
- -
|
122
|
+
- - ">="
|
109
123
|
- !ruby/object:Gem::Version
|
110
124
|
version: '0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
126
|
+
name: coveralls
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
|
-
- -
|
129
|
+
- - ">="
|
116
130
|
- !ruby/object:Gem::Version
|
117
131
|
version: '0'
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
|
-
- -
|
136
|
+
- - ">="
|
123
137
|
- !ruby/object:Gem::Version
|
124
138
|
version: '0'
|
125
139
|
description: Provides secondary authentication by asking the user to select their
|
@@ -130,8 +144,9 @@ executables: []
|
|
130
144
|
extensions: []
|
131
145
|
extra_rdoc_files: []
|
132
146
|
files:
|
133
|
-
- .
|
134
|
-
- .
|
147
|
+
- ".coveralls.yml"
|
148
|
+
- ".gitignore"
|
149
|
+
- ".travis.yml"
|
135
150
|
- Gemfile
|
136
151
|
- Guardfile
|
137
152
|
- LICENSE
|
@@ -575,32 +590,40 @@ files:
|
|
575
590
|
- spec/dummy/bin/bundle
|
576
591
|
- spec/dummy/bin/rails
|
577
592
|
- spec/dummy/bin/rake
|
593
|
+
- spec/dummy/bin/setup
|
594
|
+
- spec/dummy/bin/update
|
578
595
|
- spec/dummy/config.ru
|
579
596
|
- spec/dummy/config/application.rb
|
580
597
|
- spec/dummy/config/boot.rb
|
598
|
+
- spec/dummy/config/cable.yml
|
581
599
|
- spec/dummy/config/database.travis.yml
|
582
600
|
- spec/dummy/config/database.yml
|
583
601
|
- spec/dummy/config/environment.rb
|
584
602
|
- spec/dummy/config/environments/development.rb
|
585
603
|
- spec/dummy/config/environments/production.rb
|
586
604
|
- spec/dummy/config/environments/test.rb
|
605
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
606
|
+
- spec/dummy/config/initializers/assets.rb
|
587
607
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
608
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
588
609
|
- spec/dummy/config/initializers/devise.rb
|
589
610
|
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
590
611
|
- spec/dummy/config/initializers/inflections.rb
|
591
612
|
- spec/dummy/config/initializers/mime_types.rb
|
613
|
+
- spec/dummy/config/initializers/per_form_csrf_tokens.rb
|
614
|
+
- spec/dummy/config/initializers/request_forgery_protection.rb
|
592
615
|
- spec/dummy/config/initializers/secret_token.rb
|
593
616
|
- spec/dummy/config/initializers/session_store.rb
|
594
617
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
595
618
|
- spec/dummy/config/locales/en.yml
|
619
|
+
- spec/dummy/config/puma.rb
|
596
620
|
- spec/dummy/config/routes.rb
|
621
|
+
- spec/dummy/config/secrets.yml
|
622
|
+
- spec/dummy/config/spring.rb
|
597
623
|
- spec/dummy/db/migrate/20140307132512_devise_create_users.rb
|
598
624
|
- spec/dummy/db/migrate/20140307134300_image_authentication_add_to_users.rb
|
599
625
|
- spec/dummy/db/schema.rb
|
600
626
|
- spec/dummy/lib/assets/.keep
|
601
|
-
- spec/dummy/log/.keep
|
602
|
-
- spec/dummy/log/development.log
|
603
|
-
- spec/dummy/log/test.log
|
604
627
|
- spec/dummy/public/404.html
|
605
628
|
- spec/dummy/public/422.html
|
606
629
|
- spec/dummy/public/500.html
|
@@ -617,17 +640,17 @@ require_paths:
|
|
617
640
|
- lib
|
618
641
|
required_ruby_version: !ruby/object:Gem::Requirement
|
619
642
|
requirements:
|
620
|
-
- -
|
643
|
+
- - ">="
|
621
644
|
- !ruby/object:Gem::Version
|
622
645
|
version: '0'
|
623
646
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
624
647
|
requirements:
|
625
|
-
- -
|
648
|
+
- - ">="
|
626
649
|
- !ruby/object:Gem::Version
|
627
650
|
version: '0'
|
628
651
|
requirements: []
|
629
652
|
rubyforge_project:
|
630
|
-
rubygems_version: 2.
|
653
|
+
rubygems_version: 2.6.11
|
631
654
|
signing_key:
|
632
655
|
specification_version: 4
|
633
656
|
summary: Image authentication extension for devise
|
@@ -649,32 +672,40 @@ test_files:
|
|
649
672
|
- spec/dummy/bin/bundle
|
650
673
|
- spec/dummy/bin/rails
|
651
674
|
- spec/dummy/bin/rake
|
675
|
+
- spec/dummy/bin/setup
|
676
|
+
- spec/dummy/bin/update
|
652
677
|
- spec/dummy/config.ru
|
653
678
|
- spec/dummy/config/application.rb
|
654
679
|
- spec/dummy/config/boot.rb
|
680
|
+
- spec/dummy/config/cable.yml
|
655
681
|
- spec/dummy/config/database.travis.yml
|
656
682
|
- spec/dummy/config/database.yml
|
657
683
|
- spec/dummy/config/environment.rb
|
658
684
|
- spec/dummy/config/environments/development.rb
|
659
685
|
- spec/dummy/config/environments/production.rb
|
660
686
|
- spec/dummy/config/environments/test.rb
|
687
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
688
|
+
- spec/dummy/config/initializers/assets.rb
|
661
689
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
690
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
662
691
|
- spec/dummy/config/initializers/devise.rb
|
663
692
|
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
664
693
|
- spec/dummy/config/initializers/inflections.rb
|
665
694
|
- spec/dummy/config/initializers/mime_types.rb
|
695
|
+
- spec/dummy/config/initializers/per_form_csrf_tokens.rb
|
696
|
+
- spec/dummy/config/initializers/request_forgery_protection.rb
|
666
697
|
- spec/dummy/config/initializers/secret_token.rb
|
667
698
|
- spec/dummy/config/initializers/session_store.rb
|
668
699
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
669
700
|
- spec/dummy/config/locales/en.yml
|
701
|
+
- spec/dummy/config/puma.rb
|
670
702
|
- spec/dummy/config/routes.rb
|
703
|
+
- spec/dummy/config/secrets.yml
|
704
|
+
- spec/dummy/config/spring.rb
|
671
705
|
- spec/dummy/db/migrate/20140307132512_devise_create_users.rb
|
672
706
|
- spec/dummy/db/migrate/20140307134300_image_authentication_add_to_users.rb
|
673
707
|
- spec/dummy/db/schema.rb
|
674
708
|
- spec/dummy/lib/assets/.keep
|
675
|
-
- spec/dummy/log/.keep
|
676
|
-
- spec/dummy/log/development.log
|
677
|
-
- spec/dummy/log/test.log
|
678
709
|
- spec/dummy/public/404.html
|
679
710
|
- spec/dummy/public/422.html
|
680
711
|
- spec/dummy/public/500.html
|
@@ -682,4 +713,3 @@ test_files:
|
|
682
713
|
- spec/factories/users.rb
|
683
714
|
- spec/models/image_authenticable_spec.rb
|
684
715
|
- spec/spec_helper.rb
|
685
|
-
has_rdoc:
|