image_authentication 0.1.0 → 0.1.1
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 +7 -0
- data/.gitignore +5 -1
- data/.travis.yml +14 -0
- data/Guardfile +24 -0
- data/README.md +8 -3
- data/Rakefile +8 -0
- data/image_authentication.gemspec +6 -1
- data/lib/image_authentication/controllers/helpers.rb +1 -1
- data/lib/image_authentication/hooks/image_authentication.rb +2 -2
- data/lib/image_authentication/models/image_authenticatable.rb +4 -6
- data/lib/image_authentication/version.rb +2 -2
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +14 -0
- data/spec/dummy/app/assets/stylesheets/application.css +14 -0
- data/spec/dummy/app/controllers/application_controller.rb +8 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/controllers/welcome_controller.rb +7 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/models/user.rb +8 -0
- data/spec/dummy/app/views/layouts/application.html.erb +5 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config/application.rb +21 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.travis.yml +17 -0
- data/spec/dummy/config/database.yml +14 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +29 -0
- data/spec/dummy/config/environments/production.rb +80 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/devise.rb +244 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +12 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +57 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/migrate/20140307132512_devise_create_users.rb +42 -0
- data/spec/dummy/db/migrate/20140307134300_image_authentication_add_to_users.rb +8 -0
- data/spec/dummy/db/schema.rb +39 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/log/development.log +21 -0
- data/spec/dummy/log/test.log +613 -0
- data/spec/dummy/public/404.html +58 -0
- data/spec/dummy/public/422.html +58 -0
- data/spec/dummy/public/500.html +57 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/factories/users.rb +7 -0
- data/spec/models/image_authenticable_spec.rb +101 -0
- data/spec/spec_helper.rb +14 -0
- metadata +203 -31
- data/.DS_Store +0 -0
- data/app/.DS_Store +0 -0
- data/app/assets/.DS_Store +0 -0
- data/app/assets/images/.DS_Store +0 -0
- data/app/assets/images/image_authentication/.DS_Store +0 -0
- data/app/assets/javascripts/.DS_Store +0 -0
- data/app/assets/stylesheets/.DS_Store +0 -0
- data/lib/.DS_Store +0 -0
- data/lib/generators/.DS_Store +0 -0
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/422.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>The change you wanted was rejected.</h1>
|
54
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
55
|
+
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
57
|
+
</body>
|
58
|
+
</html>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/500.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>We're sorry, but something went wrong.</h1>
|
54
|
+
</div>
|
55
|
+
<p>If you are the application owner check the logs for more information.</p>
|
56
|
+
</body>
|
57
|
+
</html>
|
File without changes
|
@@ -0,0 +1,101 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Devise::Models::ImageAuthenticatable do
|
4
|
+
|
5
|
+
let(:user) { User.new }
|
6
|
+
let(:valid_categories) { ['Cats', 'Dogs', 'Fish'] }
|
7
|
+
let(:other_categories) { ['People', 'Cars', 'Houses'] }
|
8
|
+
|
9
|
+
describe '#auth_categories=' do
|
10
|
+
it 'sets auth_categories_mask to an integer' do
|
11
|
+
expect {
|
12
|
+
user.auth_categories = valid_categories
|
13
|
+
}.to change(user, :auth_categories_mask).from(0).to(832)
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
describe '#auth_categories' do
|
18
|
+
before do
|
19
|
+
user.auth_categories = valid_categories
|
20
|
+
end
|
21
|
+
|
22
|
+
it 'contains the categories set by the user' do
|
23
|
+
expect(user.auth_categories).to eql(valid_categories)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
describe '#requires_image_authentication?' do
|
28
|
+
|
29
|
+
end
|
30
|
+
|
31
|
+
describe '#valid_images?' do
|
32
|
+
before do
|
33
|
+
user.auth_categories = valid_categories
|
34
|
+
end
|
35
|
+
|
36
|
+
context 'with matching categories' do
|
37
|
+
it 'returns true' do
|
38
|
+
expect(user.valid_images?(valid_categories)).to be_true
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
context 'with different categories' do
|
43
|
+
it 'returns false' do
|
44
|
+
expect(user.valid_images?(other_categories)).to be_false
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
context 'with no categories' do
|
49
|
+
it 'returns false' do
|
50
|
+
expect(user.valid_images?(nil)).to be_false
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
describe '#all_auth_categories' do
|
56
|
+
it 'returns the categories in a random order' do
|
57
|
+
expect(user.all_auth_categories).not_to eq(user.class::Categories)
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
describe '#max_login_attempts?' do
|
62
|
+
context 'when lock_after_failed_attempts is true' do
|
63
|
+
before do
|
64
|
+
User.lock_after_failed_attempts = true
|
65
|
+
User.maximum_attempts = 3
|
66
|
+
end
|
67
|
+
|
68
|
+
context 'when failed_attempts is >= maximum_attempts' do
|
69
|
+
before do
|
70
|
+
user.failed_attempts = 3
|
71
|
+
end
|
72
|
+
|
73
|
+
it 'returns true' do
|
74
|
+
expect(user.max_login_attempts?).to be_true
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
context 'when failed_attempts is < maximum_attempts' do
|
79
|
+
before do
|
80
|
+
user.failed_attempts = 1
|
81
|
+
end
|
82
|
+
|
83
|
+
it 'returns false' do
|
84
|
+
expect(user.max_login_attempts?).to be_false
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
context 'when lock_after_failed_attempts is false' do
|
90
|
+
before do
|
91
|
+
User.lock_after_failed_attempts = false
|
92
|
+
user.failed_attempts = 3
|
93
|
+
end
|
94
|
+
|
95
|
+
it 'returns false' do
|
96
|
+
expect(user.max_login_attempts?).to be_false
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
|
+
|
3
|
+
require File.expand_path("dummy/config/environment.rb", File.dirname(__FILE__))
|
4
|
+
require 'rspec/rails'
|
5
|
+
require 'factory_girl_rails'
|
6
|
+
|
7
|
+
Dir[File.expand_path("support/**/*.rb", File.dirname(__FILE__))].each {|f| require f}
|
8
|
+
|
9
|
+
RSpec.configure do |config|
|
10
|
+
config.mock_with :rspec
|
11
|
+
config.use_transactional_fixtures = true
|
12
|
+
config.infer_base_class_for_anonymous_controllers = false
|
13
|
+
config.include FactoryGirl::Syntax::Methods
|
14
|
+
end
|
metadata
CHANGED
@@ -1,49 +1,127 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: image_authentication
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Kieran Johnson
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-03-07 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
|
-
requirement:
|
17
|
-
none: false
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 3.1.1
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
|
-
version_requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.1.1
|
25
27
|
- !ruby/object:Gem::Dependency
|
26
28
|
name: devise
|
27
|
-
requirement:
|
28
|
-
none: false
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
|
-
- -
|
31
|
+
- - '>='
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: '0'
|
33
34
|
type: :runtime
|
34
35
|
prerelease: false
|
35
|
-
version_requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
36
41
|
- !ruby/object:Gem::Dependency
|
37
42
|
name: bundler
|
38
|
-
requirement:
|
39
|
-
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec-rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: sqlite3
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
79
|
requirements:
|
41
|
-
- -
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: pg
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
42
88
|
- !ruby/object:Gem::Version
|
43
89
|
version: '0'
|
44
90
|
type: :development
|
45
91
|
prerelease: false
|
46
|
-
version_requirements:
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: guard-rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: factory_girl_rails
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
47
125
|
description: Provides secondary authentication by asking the user to select their
|
48
126
|
chosen images
|
49
127
|
email:
|
@@ -52,15 +130,13 @@ executables: []
|
|
52
130
|
extensions: []
|
53
131
|
extra_rdoc_files: []
|
54
132
|
files:
|
55
|
-
- .DS_Store
|
56
133
|
- .gitignore
|
134
|
+
- .travis.yml
|
57
135
|
- Gemfile
|
136
|
+
- Guardfile
|
58
137
|
- LICENSE
|
59
138
|
- README.md
|
60
|
-
-
|
61
|
-
- app/assets/.DS_Store
|
62
|
-
- app/assets/images/.DS_Store
|
63
|
-
- app/assets/images/image_authentication/.DS_Store
|
139
|
+
- Rakefile
|
64
140
|
- app/assets/images/image_authentication/Aeroplanes/1.png
|
65
141
|
- app/assets/images/image_authentication/Aeroplanes/10.png
|
66
142
|
- app/assets/images/image_authentication/Aeroplanes/11.png
|
@@ -461,9 +537,7 @@ files:
|
|
461
537
|
- app/assets/images/image_authentication/Trains/7.png
|
462
538
|
- app/assets/images/image_authentication/Trains/8.png
|
463
539
|
- app/assets/images/image_authentication/Trains/9.png
|
464
|
-
- app/assets/javascripts/.DS_Store
|
465
540
|
- app/assets/javascripts/image_authentication/image_authentication.coffee.erb
|
466
|
-
- app/assets/stylesheets/.DS_Store
|
467
541
|
- app/assets/stylesheets/image_authentication/image_authentication.scss
|
468
542
|
- app/controllers/devise/image_authentication_controller.rb
|
469
543
|
- app/views/devise/image_authentication/_image_grid.html.erb
|
@@ -474,8 +548,6 @@ files:
|
|
474
548
|
- app/views/devise/image_authentication/show.html.erb
|
475
549
|
- config/locales/en.yml
|
476
550
|
- image_authentication.gemspec
|
477
|
-
- lib/.DS_Store
|
478
|
-
- lib/generators/.DS_Store
|
479
551
|
- lib/generators/active_record/image_authentication_generator.rb
|
480
552
|
- lib/generators/active_record/templates/migration.rb
|
481
553
|
- lib/generators/image_authentication/image_authentication_generator.rb
|
@@ -486,28 +558,128 @@ files:
|
|
486
558
|
- lib/image_authentication/rails.rb
|
487
559
|
- lib/image_authentication/routes.rb
|
488
560
|
- lib/image_authentication/version.rb
|
561
|
+
- spec/dummy/README.rdoc
|
562
|
+
- spec/dummy/Rakefile
|
563
|
+
- spec/dummy/app/assets/images/.keep
|
564
|
+
- spec/dummy/app/assets/javascripts/application.js
|
565
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
566
|
+
- spec/dummy/app/controllers/application_controller.rb
|
567
|
+
- spec/dummy/app/controllers/concerns/.keep
|
568
|
+
- spec/dummy/app/controllers/welcome_controller.rb
|
569
|
+
- spec/dummy/app/helpers/application_helper.rb
|
570
|
+
- spec/dummy/app/mailers/.keep
|
571
|
+
- spec/dummy/app/models/.keep
|
572
|
+
- spec/dummy/app/models/concerns/.keep
|
573
|
+
- spec/dummy/app/models/user.rb
|
574
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
575
|
+
- spec/dummy/bin/bundle
|
576
|
+
- spec/dummy/bin/rails
|
577
|
+
- spec/dummy/bin/rake
|
578
|
+
- spec/dummy/config.ru
|
579
|
+
- spec/dummy/config/application.rb
|
580
|
+
- spec/dummy/config/boot.rb
|
581
|
+
- spec/dummy/config/database.travis.yml
|
582
|
+
- spec/dummy/config/database.yml
|
583
|
+
- spec/dummy/config/environment.rb
|
584
|
+
- spec/dummy/config/environments/development.rb
|
585
|
+
- spec/dummy/config/environments/production.rb
|
586
|
+
- spec/dummy/config/environments/test.rb
|
587
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
588
|
+
- spec/dummy/config/initializers/devise.rb
|
589
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
590
|
+
- spec/dummy/config/initializers/inflections.rb
|
591
|
+
- spec/dummy/config/initializers/mime_types.rb
|
592
|
+
- spec/dummy/config/initializers/secret_token.rb
|
593
|
+
- spec/dummy/config/initializers/session_store.rb
|
594
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
595
|
+
- spec/dummy/config/locales/en.yml
|
596
|
+
- spec/dummy/config/routes.rb
|
597
|
+
- spec/dummy/db/migrate/20140307132512_devise_create_users.rb
|
598
|
+
- spec/dummy/db/migrate/20140307134300_image_authentication_add_to_users.rb
|
599
|
+
- spec/dummy/db/schema.rb
|
600
|
+
- spec/dummy/lib/assets/.keep
|
601
|
+
- spec/dummy/log/.keep
|
602
|
+
- spec/dummy/log/development.log
|
603
|
+
- spec/dummy/log/test.log
|
604
|
+
- spec/dummy/public/404.html
|
605
|
+
- spec/dummy/public/422.html
|
606
|
+
- spec/dummy/public/500.html
|
607
|
+
- spec/dummy/public/favicon.ico
|
608
|
+
- spec/factories/users.rb
|
609
|
+
- spec/models/image_authenticable_spec.rb
|
610
|
+
- spec/spec_helper.rb
|
489
611
|
homepage: https://github.com/invisiblelines/image_authentication
|
490
612
|
licenses: []
|
613
|
+
metadata: {}
|
491
614
|
post_install_message:
|
492
615
|
rdoc_options: []
|
493
616
|
require_paths:
|
494
617
|
- lib
|
495
618
|
required_ruby_version: !ruby/object:Gem::Requirement
|
496
|
-
none: false
|
497
619
|
requirements:
|
498
|
-
- -
|
620
|
+
- - '>='
|
499
621
|
- !ruby/object:Gem::Version
|
500
622
|
version: '0'
|
501
623
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
502
|
-
none: false
|
503
624
|
requirements:
|
504
|
-
- -
|
625
|
+
- - '>='
|
505
626
|
- !ruby/object:Gem::Version
|
506
627
|
version: '0'
|
507
628
|
requirements: []
|
508
629
|
rubyforge_project:
|
509
|
-
rubygems_version:
|
630
|
+
rubygems_version: 2.0.0
|
510
631
|
signing_key:
|
511
|
-
specification_version:
|
632
|
+
specification_version: 4
|
512
633
|
summary: Image authentication extension for devise
|
513
|
-
test_files:
|
634
|
+
test_files:
|
635
|
+
- spec/dummy/README.rdoc
|
636
|
+
- spec/dummy/Rakefile
|
637
|
+
- spec/dummy/app/assets/images/.keep
|
638
|
+
- spec/dummy/app/assets/javascripts/application.js
|
639
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
640
|
+
- spec/dummy/app/controllers/application_controller.rb
|
641
|
+
- spec/dummy/app/controllers/concerns/.keep
|
642
|
+
- spec/dummy/app/controllers/welcome_controller.rb
|
643
|
+
- spec/dummy/app/helpers/application_helper.rb
|
644
|
+
- spec/dummy/app/mailers/.keep
|
645
|
+
- spec/dummy/app/models/.keep
|
646
|
+
- spec/dummy/app/models/concerns/.keep
|
647
|
+
- spec/dummy/app/models/user.rb
|
648
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
649
|
+
- spec/dummy/bin/bundle
|
650
|
+
- spec/dummy/bin/rails
|
651
|
+
- spec/dummy/bin/rake
|
652
|
+
- spec/dummy/config.ru
|
653
|
+
- spec/dummy/config/application.rb
|
654
|
+
- spec/dummy/config/boot.rb
|
655
|
+
- spec/dummy/config/database.travis.yml
|
656
|
+
- spec/dummy/config/database.yml
|
657
|
+
- spec/dummy/config/environment.rb
|
658
|
+
- spec/dummy/config/environments/development.rb
|
659
|
+
- spec/dummy/config/environments/production.rb
|
660
|
+
- spec/dummy/config/environments/test.rb
|
661
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
662
|
+
- spec/dummy/config/initializers/devise.rb
|
663
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
664
|
+
- spec/dummy/config/initializers/inflections.rb
|
665
|
+
- spec/dummy/config/initializers/mime_types.rb
|
666
|
+
- spec/dummy/config/initializers/secret_token.rb
|
667
|
+
- spec/dummy/config/initializers/session_store.rb
|
668
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
669
|
+
- spec/dummy/config/locales/en.yml
|
670
|
+
- spec/dummy/config/routes.rb
|
671
|
+
- spec/dummy/db/migrate/20140307132512_devise_create_users.rb
|
672
|
+
- spec/dummy/db/migrate/20140307134300_image_authentication_add_to_users.rb
|
673
|
+
- spec/dummy/db/schema.rb
|
674
|
+
- spec/dummy/lib/assets/.keep
|
675
|
+
- spec/dummy/log/.keep
|
676
|
+
- spec/dummy/log/development.log
|
677
|
+
- spec/dummy/log/test.log
|
678
|
+
- spec/dummy/public/404.html
|
679
|
+
- spec/dummy/public/422.html
|
680
|
+
- spec/dummy/public/500.html
|
681
|
+
- spec/dummy/public/favicon.ico
|
682
|
+
- spec/factories/users.rb
|
683
|
+
- spec/models/image_authenticable_spec.rb
|
684
|
+
- spec/spec_helper.rb
|
685
|
+
has_rdoc:
|
data/.DS_Store
DELETED
Binary file
|
data/app/.DS_Store
DELETED
Binary file
|
data/app/assets/.DS_Store
DELETED
Binary file
|
data/app/assets/images/.DS_Store
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/.DS_Store
DELETED
Binary file
|
data/lib/generators/.DS_Store
DELETED
Binary file
|