tkh_authentication 0.0.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.
- data/CHANGELOG.md +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +64 -0
- data/Rakefile +38 -0
- data/app/controllers/password_resets_controller.rb +28 -0
- data/app/controllers/sessions_controller.rb +26 -0
- data/app/controllers/users_controller.rb +24 -0
- data/app/mailers/user_mailer.rb +23 -0
- data/app/models/user.rb +39 -0
- data/app/views/password_resets/edit.html.erb +10 -0
- data/app/views/password_resets/new.html.erb +8 -0
- data/app/views/sessions/new.html.erb +22 -0
- data/app/views/shared/_login_info.html.erb +7 -0
- data/app/views/user_mailer/password_reset.text.erb +1 -0
- data/app/views/users/index.html.erb +23 -0
- data/app/views/users/new.html.erb +15 -0
- data/config/routes.rb +11 -0
- data/lib/generators/tkh_authentication/install/install_generator.rb +34 -0
- data/lib/generators/tkh_authentication/install/templates/create_users.rb +16 -0
- data/lib/generators/tkh_authentication/install/templates/locales/en.yml +78 -0
- data/lib/generators/tkh_authentication/install/templates/locales/es.yml +22 -0
- data/lib/generators/tkh_authentication/install/templates/locales/fr.yml +245 -0
- data/lib/tasks/tkh_authentication_tasks.rake +4 -0
- data/lib/tkh_authentication/tkh_authentication_action_controller_extension.rb +17 -0
- data/lib/tkh_authentication/tkh_authentication_helper.rb +14 -0
- data/lib/tkh_authentication/version.rb +3 -0
- data/lib/tkh_authentication.rb +21 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config/application.rb +59 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/test_helper.rb +15 -0
- data/test/tkh_authentication_test.rb +7 -0
- metadata +219 -0
metadata
ADDED
@@ -0,0 +1,219 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tkh_authentication
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Swami Atma
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-07-29 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3.2'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.2'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: bcrypt-ruby
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '3.0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '3.0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: simple_form
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '2.0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: stringex
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: sqlite3
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
description: A Rails engine for access control authentication customized for Ten Thousand
|
95
|
+
Hours.
|
96
|
+
email:
|
97
|
+
- swami@TenThousandHours.eu
|
98
|
+
executables: []
|
99
|
+
extensions: []
|
100
|
+
extra_rdoc_files: []
|
101
|
+
files:
|
102
|
+
- app/controllers/password_resets_controller.rb
|
103
|
+
- app/controllers/sessions_controller.rb
|
104
|
+
- app/controllers/users_controller.rb
|
105
|
+
- app/mailers/user_mailer.rb
|
106
|
+
- app/models/user.rb
|
107
|
+
- app/views/password_resets/edit.html.erb
|
108
|
+
- app/views/password_resets/new.html.erb
|
109
|
+
- app/views/sessions/new.html.erb
|
110
|
+
- app/views/shared/_login_info.html.erb
|
111
|
+
- app/views/user_mailer/password_reset.text.erb
|
112
|
+
- app/views/users/index.html.erb
|
113
|
+
- app/views/users/new.html.erb
|
114
|
+
- config/routes.rb
|
115
|
+
- lib/generators/tkh_authentication/install/install_generator.rb
|
116
|
+
- lib/generators/tkh_authentication/install/templates/create_users.rb
|
117
|
+
- lib/generators/tkh_authentication/install/templates/locales/en.yml
|
118
|
+
- lib/generators/tkh_authentication/install/templates/locales/es.yml
|
119
|
+
- lib/generators/tkh_authentication/install/templates/locales/fr.yml
|
120
|
+
- lib/tasks/tkh_authentication_tasks.rake
|
121
|
+
- lib/tkh_authentication/tkh_authentication_action_controller_extension.rb
|
122
|
+
- lib/tkh_authentication/tkh_authentication_helper.rb
|
123
|
+
- lib/tkh_authentication/version.rb
|
124
|
+
- lib/tkh_authentication.rb
|
125
|
+
- MIT-LICENSE
|
126
|
+
- Rakefile
|
127
|
+
- README.md
|
128
|
+
- CHANGELOG.md
|
129
|
+
- test/dummy/app/assets/javascripts/application.js
|
130
|
+
- test/dummy/app/assets/stylesheets/application.css
|
131
|
+
- test/dummy/app/controllers/application_controller.rb
|
132
|
+
- test/dummy/app/helpers/application_helper.rb
|
133
|
+
- test/dummy/app/views/layouts/application.html.erb
|
134
|
+
- test/dummy/config/application.rb
|
135
|
+
- test/dummy/config/boot.rb
|
136
|
+
- test/dummy/config/database.yml
|
137
|
+
- test/dummy/config/environment.rb
|
138
|
+
- test/dummy/config/environments/development.rb
|
139
|
+
- test/dummy/config/environments/production.rb
|
140
|
+
- test/dummy/config/environments/test.rb
|
141
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
142
|
+
- test/dummy/config/initializers/inflections.rb
|
143
|
+
- test/dummy/config/initializers/mime_types.rb
|
144
|
+
- test/dummy/config/initializers/secret_token.rb
|
145
|
+
- test/dummy/config/initializers/session_store.rb
|
146
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
147
|
+
- test/dummy/config/locales/en.yml
|
148
|
+
- test/dummy/config/routes.rb
|
149
|
+
- test/dummy/config.ru
|
150
|
+
- test/dummy/public/404.html
|
151
|
+
- test/dummy/public/422.html
|
152
|
+
- test/dummy/public/500.html
|
153
|
+
- test/dummy/public/favicon.ico
|
154
|
+
- test/dummy/Rakefile
|
155
|
+
- test/dummy/README.rdoc
|
156
|
+
- test/dummy/script/rails
|
157
|
+
- test/test_helper.rb
|
158
|
+
- test/tkh_authentication_test.rb
|
159
|
+
homepage: https://github.com/allesklar/tkh_authentication
|
160
|
+
licenses: []
|
161
|
+
post_install_message:
|
162
|
+
rdoc_options: []
|
163
|
+
require_paths:
|
164
|
+
- lib
|
165
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
166
|
+
none: false
|
167
|
+
requirements:
|
168
|
+
- - ! '>='
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: '0'
|
171
|
+
segments:
|
172
|
+
- 0
|
173
|
+
hash: 1934259845047733897
|
174
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
175
|
+
none: false
|
176
|
+
requirements:
|
177
|
+
- - ! '>='
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0'
|
180
|
+
segments:
|
181
|
+
- 0
|
182
|
+
hash: 1934259845047733897
|
183
|
+
requirements: []
|
184
|
+
rubyforge_project:
|
185
|
+
rubygems_version: 1.8.23
|
186
|
+
signing_key:
|
187
|
+
specification_version: 3
|
188
|
+
summary: Simple authentication Rails engine.
|
189
|
+
test_files:
|
190
|
+
- test/dummy/app/assets/javascripts/application.js
|
191
|
+
- test/dummy/app/assets/stylesheets/application.css
|
192
|
+
- test/dummy/app/controllers/application_controller.rb
|
193
|
+
- test/dummy/app/helpers/application_helper.rb
|
194
|
+
- test/dummy/app/views/layouts/application.html.erb
|
195
|
+
- test/dummy/config/application.rb
|
196
|
+
- test/dummy/config/boot.rb
|
197
|
+
- test/dummy/config/database.yml
|
198
|
+
- test/dummy/config/environment.rb
|
199
|
+
- test/dummy/config/environments/development.rb
|
200
|
+
- test/dummy/config/environments/production.rb
|
201
|
+
- test/dummy/config/environments/test.rb
|
202
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
203
|
+
- test/dummy/config/initializers/inflections.rb
|
204
|
+
- test/dummy/config/initializers/mime_types.rb
|
205
|
+
- test/dummy/config/initializers/secret_token.rb
|
206
|
+
- test/dummy/config/initializers/session_store.rb
|
207
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
208
|
+
- test/dummy/config/locales/en.yml
|
209
|
+
- test/dummy/config/routes.rb
|
210
|
+
- test/dummy/config.ru
|
211
|
+
- test/dummy/public/404.html
|
212
|
+
- test/dummy/public/422.html
|
213
|
+
- test/dummy/public/500.html
|
214
|
+
- test/dummy/public/favicon.ico
|
215
|
+
- test/dummy/Rakefile
|
216
|
+
- test/dummy/README.rdoc
|
217
|
+
- test/dummy/script/rails
|
218
|
+
- test/test_helper.rb
|
219
|
+
- test/tkh_authentication_test.rb
|