aikotoba 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +334 -0
- data/Rakefile +18 -0
- data/app/controllers/aikotoba/accounts_controller.rb +61 -0
- data/app/controllers/aikotoba/application_controller.rb +13 -0
- data/app/controllers/aikotoba/confirms_controller.rb +103 -0
- data/app/controllers/aikotoba/recoveries_controller.rb +120 -0
- data/app/controllers/aikotoba/sessions_controller.rb +78 -0
- data/app/controllers/aikotoba/unlocks_controller.rb +103 -0
- data/app/controllers/concerns/aikotoba/authenticatable.rb +40 -0
- data/app/controllers/concerns/aikotoba/protection/session_fixation_attack.rb +21 -0
- data/app/controllers/concerns/aikotoba/protection/timing_atack.rb +23 -0
- data/app/mailers/aikotoba/account_mailer.rb +24 -0
- data/app/mailers/aikotoba/application_mailer.rb +5 -0
- data/app/models/aikotoba/account/confirmation_token.rb +22 -0
- data/app/models/aikotoba/account/recovery_token.rb +22 -0
- data/app/models/aikotoba/account/service/authentication.rb +65 -0
- data/app/models/aikotoba/account/service/confirmation.rb +31 -0
- data/app/models/aikotoba/account/service/lock.rb +42 -0
- data/app/models/aikotoba/account/service/recovery.rb +31 -0
- data/app/models/aikotoba/account/service/registration.rb +30 -0
- data/app/models/aikotoba/account/unlock_token.rb +22 -0
- data/app/models/aikotoba/account/value/password.rb +48 -0
- data/app/models/aikotoba/account/value/token.rb +18 -0
- data/app/models/aikotoba/account.rb +120 -0
- data/app/models/concerns/aikotoba/enabled_feature_checkable.rb +41 -0
- data/app/models/concerns/aikotoba/token_encryptable.rb +27 -0
- data/app/views/aikotoba/account_mailer/confirm.html.erb +3 -0
- data/app/views/aikotoba/account_mailer/recover.html.erb +3 -0
- data/app/views/aikotoba/account_mailer/unlock.html.erb +3 -0
- data/app/views/aikotoba/accounts/new.html.erb +19 -0
- data/app/views/aikotoba/common/_errors.html.erb +9 -0
- data/app/views/aikotoba/common/_message.html.erb +8 -0
- data/app/views/aikotoba/confirms/new.html.erb +14 -0
- data/app/views/aikotoba/recoveries/edit.html.erb +15 -0
- data/app/views/aikotoba/recoveries/new.html.erb +14 -0
- data/app/views/aikotoba/sessions/_links.html.erb +20 -0
- data/app/views/aikotoba/sessions/new.html.erb +16 -0
- data/app/views/aikotoba/unlocks/new.html.erb +21 -0
- data/app/views/layouts/aikotoba/application.html.erb +11 -0
- data/app/views/layouts/aikotoba/mailer.html.erb +13 -0
- data/app/views/layouts/aikotoba/mailer.text.erb +1 -0
- data/config/locales/en.yml +49 -0
- data/config/routes.rb +32 -0
- data/db/migrate/20211204121532_create_aikotoba_accounts.rb +50 -0
- data/lib/aikotoba/constraints/confirmable_constraint.rb +7 -0
- data/lib/aikotoba/constraints/lockable_constraint.rb +7 -0
- data/lib/aikotoba/constraints/recoverable_constraint.rb +7 -0
- data/lib/aikotoba/constraints/registerable_constraint.rb +7 -0
- data/lib/aikotoba/engine.rb +7 -0
- data/lib/aikotoba/errors.rb +7 -0
- data/lib/aikotoba/test/authentication_helper.rb +48 -0
- data/lib/aikotoba/version.rb +5 -0
- data/lib/aikotoba.rb +45 -0
- data/lib/tasks/aikotoba_tasks.rake +4 -0
- metadata +128 -0
metadata
ADDED
@@ -0,0 +1,128 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: aikotoba
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Madogiwa
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-03-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 6.1.4
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 6.1.4
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: argon2
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.1'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.1'
|
41
|
+
description:
|
42
|
+
email:
|
43
|
+
- madogiwa0124@gmail.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- MIT-LICENSE
|
49
|
+
- README.md
|
50
|
+
- Rakefile
|
51
|
+
- app/controllers/aikotoba/accounts_controller.rb
|
52
|
+
- app/controllers/aikotoba/application_controller.rb
|
53
|
+
- app/controllers/aikotoba/confirms_controller.rb
|
54
|
+
- app/controllers/aikotoba/recoveries_controller.rb
|
55
|
+
- app/controllers/aikotoba/sessions_controller.rb
|
56
|
+
- app/controllers/aikotoba/unlocks_controller.rb
|
57
|
+
- app/controllers/concerns/aikotoba/authenticatable.rb
|
58
|
+
- app/controllers/concerns/aikotoba/protection/session_fixation_attack.rb
|
59
|
+
- app/controllers/concerns/aikotoba/protection/timing_atack.rb
|
60
|
+
- app/mailers/aikotoba/account_mailer.rb
|
61
|
+
- app/mailers/aikotoba/application_mailer.rb
|
62
|
+
- app/models/aikotoba/account.rb
|
63
|
+
- app/models/aikotoba/account/confirmation_token.rb
|
64
|
+
- app/models/aikotoba/account/recovery_token.rb
|
65
|
+
- app/models/aikotoba/account/service/authentication.rb
|
66
|
+
- app/models/aikotoba/account/service/confirmation.rb
|
67
|
+
- app/models/aikotoba/account/service/lock.rb
|
68
|
+
- app/models/aikotoba/account/service/recovery.rb
|
69
|
+
- app/models/aikotoba/account/service/registration.rb
|
70
|
+
- app/models/aikotoba/account/unlock_token.rb
|
71
|
+
- app/models/aikotoba/account/value/password.rb
|
72
|
+
- app/models/aikotoba/account/value/token.rb
|
73
|
+
- app/models/concerns/aikotoba/enabled_feature_checkable.rb
|
74
|
+
- app/models/concerns/aikotoba/token_encryptable.rb
|
75
|
+
- app/views/aikotoba/account_mailer/confirm.html.erb
|
76
|
+
- app/views/aikotoba/account_mailer/recover.html.erb
|
77
|
+
- app/views/aikotoba/account_mailer/unlock.html.erb
|
78
|
+
- app/views/aikotoba/accounts/new.html.erb
|
79
|
+
- app/views/aikotoba/common/_errors.html.erb
|
80
|
+
- app/views/aikotoba/common/_message.html.erb
|
81
|
+
- app/views/aikotoba/confirms/new.html.erb
|
82
|
+
- app/views/aikotoba/recoveries/edit.html.erb
|
83
|
+
- app/views/aikotoba/recoveries/new.html.erb
|
84
|
+
- app/views/aikotoba/sessions/_links.html.erb
|
85
|
+
- app/views/aikotoba/sessions/new.html.erb
|
86
|
+
- app/views/aikotoba/unlocks/new.html.erb
|
87
|
+
- app/views/layouts/aikotoba/application.html.erb
|
88
|
+
- app/views/layouts/aikotoba/mailer.html.erb
|
89
|
+
- app/views/layouts/aikotoba/mailer.text.erb
|
90
|
+
- config/locales/en.yml
|
91
|
+
- config/routes.rb
|
92
|
+
- db/migrate/20211204121532_create_aikotoba_accounts.rb
|
93
|
+
- lib/aikotoba.rb
|
94
|
+
- lib/aikotoba/constraints/confirmable_constraint.rb
|
95
|
+
- lib/aikotoba/constraints/lockable_constraint.rb
|
96
|
+
- lib/aikotoba/constraints/recoverable_constraint.rb
|
97
|
+
- lib/aikotoba/constraints/registerable_constraint.rb
|
98
|
+
- lib/aikotoba/engine.rb
|
99
|
+
- lib/aikotoba/errors.rb
|
100
|
+
- lib/aikotoba/test/authentication_helper.rb
|
101
|
+
- lib/aikotoba/version.rb
|
102
|
+
- lib/tasks/aikotoba_tasks.rake
|
103
|
+
homepage: https://github.com/madogiwa0124/aikotoba
|
104
|
+
licenses:
|
105
|
+
- MIT
|
106
|
+
metadata:
|
107
|
+
source_code_uri: https://github.com/madogiwa0124/aikotoba
|
108
|
+
post_install_message:
|
109
|
+
rdoc_options: []
|
110
|
+
require_paths:
|
111
|
+
- lib
|
112
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - ">="
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0'
|
122
|
+
requirements: []
|
123
|
+
rubygems_version: 3.3.3
|
124
|
+
signing_key:
|
125
|
+
specification_version: 4
|
126
|
+
summary: Aikotoba is a Rails engine that makes it easy to implement simple email and
|
127
|
+
password authentication.
|
128
|
+
test_files: []
|