tiny_passport 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/ables/tiny_passport/account_validate_able.rb +24 -0
- data/app/ables/tiny_passport/aggrement_term_able.rb +28 -0
- data/app/ables/tiny_passport/formable.rb +17 -0
- data/app/ables/tiny_passport/query_able.rb +25 -0
- data/app/controllers/tiny_passport/application_controller.rb +1 -0
- data/app/displays/tiny_passport/account_display.rb +25 -0
- data/app/displays/tiny_passport/oauth_login_display.rb +21 -0
- data/app/displays/tiny_passport/oauth_token_display.rb +25 -0
- data/app/errors/tiny_passport/alert_authorized_error.rb +6 -0
- data/app/errors/tiny_passport/unauthorized_error.rb +6 -0
- data/app/forms/tiny_passport/account_active_form.rb +83 -0
- data/app/forms/tiny_passport/account_form.rb +6 -0
- data/app/forms/tiny_passport/confirmation_token_form.rb +58 -0
- data/app/forms/tiny_passport/oauth/bind_connect_form.rb +65 -0
- data/app/forms/tiny_passport/oauth/bind_disconnect_form.rb +42 -0
- data/app/forms/tiny_passport/oauth/callback_form.rb +165 -0
- data/app/forms/tiny_passport/oauth/login_connect_form.rb +63 -0
- data/app/forms/tiny_passport/registration_form.rb +172 -0
- data/app/forms/tiny_passport/remember_token_auth_form.rb +32 -0
- data/app/forms/tiny_passport/reset_password_form.rb +95 -0
- data/app/forms/tiny_passport/reset_password_token_form.rb +55 -0
- data/app/forms/tiny_passport/session_form.rb +116 -0
- data/app/forms/tiny_passport/update_password_form.rb +50 -0
- data/app/forms/tiny_passport/welcome_email_form.rb +47 -0
- data/app/helpers/tiny_passport/application_helper.rb +1 -0
- data/app/mailers/tiny_passport/registration_mailer.rb +23 -0
- data/app/mailers/tiny_passport/reset_password_mailer.rb +16 -0
- data/app/models/concerns/tiny_passport/account_authenticatable.rb +24 -0
- data/app/models/tiny_passport/account.rb +41 -0
- data/app/models/tiny_passport/avatar.rb +6 -0
- data/app/models/tiny_passport/login_email.rb +89 -0
- data/app/models/tiny_passport/login_record.rb +69 -0
- data/app/models/tiny_passport/oauth_bind.rb +9 -0
- data/app/models/tiny_passport/oauth_info.rb +8 -0
- data/app/models/tiny_passport/oauth_login.rb +28 -0
- data/app/models/tiny_passport/oauth_token.rb +57 -0
- data/app/queries/tiny_passport/account_query.rb +45 -0
- data/app/services/tiny_passport/account_service.rb +43 -0
- data/app/services/tiny_passport/email_send_service.rb +32 -0
- data/app/services/tiny_passport/oauth_service.rb +11 -0
- data/app/views/layouts/tiny_passport/mailer.html.erb +7 -0
- data/app/views/tiny_passport/registration_mailer/send_confirmation_token.html.erb +5 -0
- data/app/views/tiny_passport/registration_mailer/welcome.html.erb +5 -0
- data/app/views/tiny_passport/reset_password_mailer/send_token.html.erb +5 -0
- data/config/locales/en/forms.en.yml +81 -0
- data/config/locales/zh-CN/forms.zh-CN.yml +123 -0
- data/config/routes.rb +1 -0
- data/db/migrate/20131105103853_create_tiny_passport_accounts.rb +23 -0
- data/db/migrate/20131105104415_create_tiny_passport_login_records.rb +20 -0
- data/db/migrate/20131105104559_create_tiny_passport_oauth_tokens.rb +27 -0
- data/db/migrate/20131105104632_create_tiny_passport_oauth_logins.rb +15 -0
- data/db/migrate/20131105104702_create_tiny_passport_oauth_binds.rb +16 -0
- data/db/migrate/20131105104738_create_tiny_passport_oauth_infos.rb +13 -0
- data/db/migrate/20131105104847_create_tiny_passport_avatars.rb +20 -0
- data/db/migrate/20131107031935_create_tiny_passport_login_emails.rb +25 -0
- data/lib/omniauth/strategies/qq_connect.rb +114 -0
- data/lib/tiny_passport/config.rb +72 -0
- data/lib/tiny_passport/engine.rb +16 -0
- data/lib/tiny_passport/http_authable.rb +50 -0
- data/lib/tiny_passport/http_authcenter.rb +138 -0
- data/lib/tiny_passport/mailerable.rb +20 -0
- data/lib/tiny_passport/omniauth/strategable.rb +21 -0
- data/lib/tiny_passport/version.rb +2 -1
- data/lib/tiny_passport.rb +13 -0
- data/test/dummy/app/controllers/application_controller.rb +1 -0
- data/test/dummy/app/helpers/application_helper.rb +1 -0
- data/test/dummy/config/application.rb +1 -0
- data/test/dummy/config/boot.rb +1 -0
- data/test/dummy/config/environment.rb +1 -0
- data/test/dummy/config/environments/development.rb +1 -0
- data/test/dummy/config/environments/production.rb +1 -0
- data/test/dummy/config/environments/test.rb +1 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +1 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +1 -0
- data/test/dummy/config/initializers/inflections.rb +1 -0
- data/test/dummy/config/initializers/mime_types.rb +1 -0
- data/test/dummy/config/initializers/secret_token.rb +1 -0
- data/test/dummy/config/initializers/session_store.rb +1 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +1 -0
- data/test/dummy/config/routes.rb +1 -0
- data/test/dummy/db/schema.rb +138 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +15986 -0
- data/test/dummy/tmp/cache/271/2A1/tiny_cache%2Fmodels%2FTinyPassport%3A%3AAccount%2F1%2F1 +0 -0
- data/test/dummy/tmp/cache/EDF/4C1/tiny_cache%2Fmodel_uniq_keys%2FTinyPassport%3A%3ALoginEmail%2F%5B%5B%22account_id%22%2C+1%5D%5D +1 -0
- data/test/fixtures/tiny_passport/avatars.yml +23 -0
- data/test/fixtures/tiny_passport/login_emails.yml +23 -0
- data/test/fixtures/tiny_passport/login_records.yml +17 -0
- data/test/fixtures/tiny_passport/oauth_binds.yml +13 -0
- data/test/fixtures/tiny_passport/oauth_infos.yml +9 -0
- data/test/fixtures/tiny_passport/oauth_logins.yml +11 -0
- data/test/fixtures/tiny_passport/oauth_tokens.yml +21 -0
- data/test/fixtures/tiny_passport/users.yml +13 -0
- data/test/forms/tiny_passport/oauth/callback_form_test.rb +23 -0
- data/test/forms/tiny_passport/registration_form_test.rb +112 -0
- data/test/forms/tiny_passport/session_form_test.rb +139 -0
- data/test/forms/tiny_passport/update_password_form_test.rb +20 -0
- data/test/integration/navigation_test.rb +1 -0
- data/test/mailers/tiny_passport/registration_mailer_test.rb +10 -0
- data/test/mailers/tiny_passport/reset_password_mailer_test.rb +10 -0
- data/test/models/concerns/tiny_passport/configable_test.rb +46 -0
- data/test/models/tiny_passport/account_test.rb +8 -0
- data/test/models/tiny_passport/avatar_test.rb +10 -0
- data/test/models/tiny_passport/login_email_test.rb +10 -0
- data/test/models/tiny_passport/login_record_test.rb +10 -0
- data/test/models/tiny_passport/oauth_bind_test.rb +10 -0
- data/test/models/tiny_passport/oauth_info_test.rb +10 -0
- data/test/models/tiny_passport/oauth_login_test.rb +10 -0
- data/test/models/tiny_passport/oauth_token_test.rb +10 -0
- data/test/support/helpers.rb +66 -0
- data/test/test_helper.rb +24 -0
- data/test/tiny_passport_test.rb +1 -0
- metadata +257 -69
data/test/test_helper.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
1
2
|
# Configure Rails Environment
|
2
3
|
ENV["RAILS_ENV"] = "test"
|
3
4
|
|
@@ -13,3 +14,26 @@ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
|
13
14
|
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
14
15
|
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
15
16
|
end
|
17
|
+
|
18
|
+
I18n.enforce_available_locales = false
|
19
|
+
|
20
|
+
TinyPassport.configure do |config|
|
21
|
+
config.mailer_config = {
|
22
|
+
:default => {
|
23
|
+
:from => "<通行证> ruby800.testing@gmail.com"
|
24
|
+
},
|
25
|
+
:perform_deliveries => true,
|
26
|
+
:default_url_options => {
|
27
|
+
host: "passport.ruby1024-test.com"
|
28
|
+
},
|
29
|
+
:smtp_settings => {
|
30
|
+
:domain => 'gmail.com',
|
31
|
+
:port => 587,
|
32
|
+
:user_name => 'ruby800.testing',
|
33
|
+
:password => 'jinzhong',
|
34
|
+
:address => 'smtp.gmail.com',
|
35
|
+
:authentication => 'plain',
|
36
|
+
:enable_starttls_auto => true
|
37
|
+
}
|
38
|
+
}
|
39
|
+
end
|
data/test/tiny_passport_test.rb
CHANGED
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tiny_passport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- happy
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-01-29 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,15 +20,97 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 4.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: tiny_util
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: tiny_cache
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
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: tiny_support
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
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: protected_attributes
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: omniauth
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.1.4
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.1.4
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: omniauth-oauth2
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
30
111
|
- !ruby/object:Gem::Dependency
|
31
112
|
name: sqlite3
|
32
113
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
114
|
requirements:
|
35
115
|
- - ">="
|
36
116
|
- !ruby/object:Gem::Version
|
@@ -38,7 +118,6 @@ dependencies:
|
|
38
118
|
type: :development
|
39
119
|
prerelease: false
|
40
120
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
121
|
requirements:
|
43
122
|
- - ">="
|
44
123
|
- !ruby/object:Gem::Version
|
@@ -50,115 +129,224 @@ executables: []
|
|
50
129
|
extensions: []
|
51
130
|
extra_rdoc_files: []
|
52
131
|
files:
|
132
|
+
- MIT-LICENSE
|
133
|
+
- README.rdoc
|
134
|
+
- Rakefile
|
135
|
+
- app/ables/tiny_passport/account_validate_able.rb
|
136
|
+
- app/ables/tiny_passport/aggrement_term_able.rb
|
137
|
+
- app/ables/tiny_passport/formable.rb
|
138
|
+
- app/ables/tiny_passport/query_able.rb
|
139
|
+
- app/assets/javascripts/tiny_passport/application.js
|
140
|
+
- app/assets/stylesheets/tiny_passport/application.css
|
53
141
|
- app/controllers/tiny_passport/application_controller.rb
|
142
|
+
- app/displays/tiny_passport/account_display.rb
|
143
|
+
- app/displays/tiny_passport/oauth_login_display.rb
|
144
|
+
- app/displays/tiny_passport/oauth_token_display.rb
|
145
|
+
- app/errors/tiny_passport/alert_authorized_error.rb
|
146
|
+
- app/errors/tiny_passport/unauthorized_error.rb
|
147
|
+
- app/forms/tiny_passport/account_active_form.rb
|
148
|
+
- app/forms/tiny_passport/account_form.rb
|
149
|
+
- app/forms/tiny_passport/confirmation_token_form.rb
|
150
|
+
- app/forms/tiny_passport/oauth/bind_connect_form.rb
|
151
|
+
- app/forms/tiny_passport/oauth/bind_disconnect_form.rb
|
152
|
+
- app/forms/tiny_passport/oauth/callback_form.rb
|
153
|
+
- app/forms/tiny_passport/oauth/login_connect_form.rb
|
154
|
+
- app/forms/tiny_passport/registration_form.rb
|
155
|
+
- app/forms/tiny_passport/remember_token_auth_form.rb
|
156
|
+
- app/forms/tiny_passport/reset_password_form.rb
|
157
|
+
- app/forms/tiny_passport/reset_password_token_form.rb
|
158
|
+
- app/forms/tiny_passport/session_form.rb
|
159
|
+
- app/forms/tiny_passport/update_password_form.rb
|
160
|
+
- app/forms/tiny_passport/welcome_email_form.rb
|
54
161
|
- app/helpers/tiny_passport/application_helper.rb
|
162
|
+
- app/mailers/tiny_passport/registration_mailer.rb
|
163
|
+
- app/mailers/tiny_passport/reset_password_mailer.rb
|
164
|
+
- app/models/concerns/tiny_passport/account_authenticatable.rb
|
165
|
+
- app/models/tiny_passport/account.rb
|
166
|
+
- app/models/tiny_passport/avatar.rb
|
167
|
+
- app/models/tiny_passport/login_email.rb
|
168
|
+
- app/models/tiny_passport/login_record.rb
|
169
|
+
- app/models/tiny_passport/oauth_bind.rb
|
170
|
+
- app/models/tiny_passport/oauth_info.rb
|
171
|
+
- app/models/tiny_passport/oauth_login.rb
|
172
|
+
- app/models/tiny_passport/oauth_token.rb
|
173
|
+
- app/queries/tiny_passport/account_query.rb
|
174
|
+
- app/services/tiny_passport/account_service.rb
|
175
|
+
- app/services/tiny_passport/email_send_service.rb
|
176
|
+
- app/services/tiny_passport/oauth_service.rb
|
55
177
|
- app/views/layouts/tiny_passport/application.html.erb
|
56
|
-
- app/
|
57
|
-
- app/
|
178
|
+
- app/views/layouts/tiny_passport/mailer.html.erb
|
179
|
+
- app/views/tiny_passport/registration_mailer/send_confirmation_token.html.erb
|
180
|
+
- app/views/tiny_passport/registration_mailer/welcome.html.erb
|
181
|
+
- app/views/tiny_passport/reset_password_mailer/send_token.html.erb
|
182
|
+
- config/locales/en/forms.en.yml
|
183
|
+
- config/locales/zh-CN/forms.zh-CN.yml
|
58
184
|
- config/routes.rb
|
59
|
-
-
|
60
|
-
-
|
61
|
-
-
|
185
|
+
- db/migrate/20131105103853_create_tiny_passport_accounts.rb
|
186
|
+
- db/migrate/20131105104415_create_tiny_passport_login_records.rb
|
187
|
+
- db/migrate/20131105104559_create_tiny_passport_oauth_tokens.rb
|
188
|
+
- db/migrate/20131105104632_create_tiny_passport_oauth_logins.rb
|
189
|
+
- db/migrate/20131105104702_create_tiny_passport_oauth_binds.rb
|
190
|
+
- db/migrate/20131105104738_create_tiny_passport_oauth_infos.rb
|
191
|
+
- db/migrate/20131105104847_create_tiny_passport_avatars.rb
|
192
|
+
- db/migrate/20131107031935_create_tiny_passport_login_emails.rb
|
193
|
+
- lib/omniauth/strategies/qq_connect.rb
|
62
194
|
- lib/tasks/tiny_passport_tasks.rake
|
63
|
-
-
|
64
|
-
-
|
65
|
-
-
|
66
|
-
-
|
67
|
-
-
|
195
|
+
- lib/tiny_passport.rb
|
196
|
+
- lib/tiny_passport/config.rb
|
197
|
+
- lib/tiny_passport/engine.rb
|
198
|
+
- lib/tiny_passport/http_authable.rb
|
199
|
+
- lib/tiny_passport/http_authcenter.rb
|
200
|
+
- lib/tiny_passport/mailerable.rb
|
201
|
+
- lib/tiny_passport/omniauth/strategable.rb
|
202
|
+
- lib/tiny_passport/version.rb
|
68
203
|
- test/dummy/README.rdoc
|
69
|
-
- test/dummy/
|
70
|
-
- test/dummy/
|
204
|
+
- test/dummy/Rakefile
|
205
|
+
- test/dummy/app/assets/javascripts/application.js
|
206
|
+
- test/dummy/app/assets/stylesheets/application.css
|
207
|
+
- test/dummy/app/controllers/application_controller.rb
|
208
|
+
- test/dummy/app/helpers/application_helper.rb
|
209
|
+
- test/dummy/app/views/layouts/application.html.erb
|
210
|
+
- test/dummy/bin/bundle
|
211
|
+
- test/dummy/bin/rails
|
212
|
+
- test/dummy/bin/rake
|
213
|
+
- test/dummy/config.ru
|
71
214
|
- test/dummy/config/application.rb
|
215
|
+
- test/dummy/config/boot.rb
|
216
|
+
- test/dummy/config/database.yml
|
217
|
+
- test/dummy/config/environment.rb
|
218
|
+
- test/dummy/config/environments/development.rb
|
219
|
+
- test/dummy/config/environments/production.rb
|
220
|
+
- test/dummy/config/environments/test.rb
|
72
221
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
222
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
223
|
+
- test/dummy/config/initializers/inflections.rb
|
73
224
|
- test/dummy/config/initializers/mime_types.rb
|
74
225
|
- test/dummy/config/initializers/secret_token.rb
|
75
226
|
- test/dummy/config/initializers/session_store.rb
|
76
227
|
- test/dummy/config/initializers/wrap_parameters.rb
|
77
|
-
- test/dummy/config/initializers/inflections.rb
|
78
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
79
228
|
- test/dummy/config/locales/en.yml
|
80
|
-
- test/dummy/config/
|
81
|
-
- test/dummy/
|
82
|
-
- test/dummy/
|
83
|
-
- test/dummy/
|
84
|
-
- test/dummy/config/database.yml
|
85
|
-
- test/dummy/bin/rake
|
86
|
-
- test/dummy/bin/bundle
|
87
|
-
- test/dummy/bin/rails
|
229
|
+
- test/dummy/config/routes.rb
|
230
|
+
- test/dummy/db/schema.rb
|
231
|
+
- test/dummy/db/test.sqlite3
|
232
|
+
- test/dummy/log/test.log
|
88
233
|
- test/dummy/public/404.html
|
89
234
|
- test/dummy/public/422.html
|
90
|
-
- test/dummy/public/favicon.ico
|
91
235
|
- test/dummy/public/500.html
|
92
|
-
- test/dummy/
|
93
|
-
- test/dummy/
|
94
|
-
- test/dummy/
|
95
|
-
- test/
|
96
|
-
- test/
|
97
|
-
- test/
|
98
|
-
- test/
|
236
|
+
- test/dummy/public/favicon.ico
|
237
|
+
- test/dummy/tmp/cache/271/2A1/tiny_cache%2Fmodels%2FTinyPassport%3A%3AAccount%2F1%2F1
|
238
|
+
- test/dummy/tmp/cache/EDF/4C1/tiny_cache%2Fmodel_uniq_keys%2FTinyPassport%3A%3ALoginEmail%2F%5B%5B%22account_id%22%2C+1%5D%5D
|
239
|
+
- test/fixtures/tiny_passport/avatars.yml
|
240
|
+
- test/fixtures/tiny_passport/login_emails.yml
|
241
|
+
- test/fixtures/tiny_passport/login_records.yml
|
242
|
+
- test/fixtures/tiny_passport/oauth_binds.yml
|
243
|
+
- test/fixtures/tiny_passport/oauth_infos.yml
|
244
|
+
- test/fixtures/tiny_passport/oauth_logins.yml
|
245
|
+
- test/fixtures/tiny_passport/oauth_tokens.yml
|
246
|
+
- test/fixtures/tiny_passport/users.yml
|
247
|
+
- test/forms/tiny_passport/oauth/callback_form_test.rb
|
248
|
+
- test/forms/tiny_passport/registration_form_test.rb
|
249
|
+
- test/forms/tiny_passport/session_form_test.rb
|
250
|
+
- test/forms/tiny_passport/update_password_form_test.rb
|
251
|
+
- test/integration/navigation_test.rb
|
252
|
+
- test/mailers/tiny_passport/registration_mailer_test.rb
|
253
|
+
- test/mailers/tiny_passport/reset_password_mailer_test.rb
|
254
|
+
- test/models/concerns/tiny_passport/configable_test.rb
|
255
|
+
- test/models/tiny_passport/account_test.rb
|
256
|
+
- test/models/tiny_passport/avatar_test.rb
|
257
|
+
- test/models/tiny_passport/login_email_test.rb
|
258
|
+
- test/models/tiny_passport/login_record_test.rb
|
259
|
+
- test/models/tiny_passport/oauth_bind_test.rb
|
260
|
+
- test/models/tiny_passport/oauth_info_test.rb
|
261
|
+
- test/models/tiny_passport/oauth_login_test.rb
|
262
|
+
- test/models/tiny_passport/oauth_token_test.rb
|
263
|
+
- test/support/helpers.rb
|
264
|
+
- test/test_helper.rb
|
99
265
|
- test/tiny_passport_test.rb
|
100
266
|
homepage: http://github.com/xiuxian123/tiny_passport
|
101
267
|
licenses: []
|
268
|
+
metadata: {}
|
102
269
|
post_install_message:
|
103
270
|
rdoc_options: []
|
104
271
|
require_paths:
|
105
272
|
- lib
|
106
273
|
required_ruby_version: !ruby/object:Gem::Requirement
|
107
|
-
none: false
|
108
274
|
requirements:
|
109
275
|
- - ">="
|
110
276
|
- !ruby/object:Gem::Version
|
111
277
|
version: '0'
|
112
|
-
segments:
|
113
|
-
- 0
|
114
|
-
hash: 1706359862659470368
|
115
278
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
279
|
requirements:
|
118
280
|
- - ">="
|
119
281
|
- !ruby/object:Gem::Version
|
120
282
|
version: '0'
|
121
|
-
segments:
|
122
|
-
- 0
|
123
|
-
hash: 1706359862659470368
|
124
283
|
requirements: []
|
125
284
|
rubyforge_project:
|
126
|
-
rubygems_version:
|
285
|
+
rubygems_version: 2.2.1
|
127
286
|
signing_key:
|
128
|
-
specification_version:
|
287
|
+
specification_version: 4
|
129
288
|
summary: Summary of TinyPassport.
|
130
289
|
test_files:
|
131
|
-
- test/
|
132
|
-
- test/
|
133
|
-
- test/dummy/
|
134
|
-
- test/dummy/
|
135
|
-
- test/dummy/
|
290
|
+
- test/dummy/app/assets/javascripts/application.js
|
291
|
+
- test/dummy/app/assets/stylesheets/application.css
|
292
|
+
- test/dummy/app/controllers/application_controller.rb
|
293
|
+
- test/dummy/app/helpers/application_helper.rb
|
294
|
+
- test/dummy/app/views/layouts/application.html.erb
|
295
|
+
- test/dummy/bin/bundle
|
296
|
+
- test/dummy/bin/rails
|
297
|
+
- test/dummy/bin/rake
|
136
298
|
- test/dummy/config/application.rb
|
299
|
+
- test/dummy/config/boot.rb
|
300
|
+
- test/dummy/config/database.yml
|
301
|
+
- test/dummy/config/environment.rb
|
302
|
+
- test/dummy/config/environments/development.rb
|
303
|
+
- test/dummy/config/environments/production.rb
|
304
|
+
- test/dummy/config/environments/test.rb
|
137
305
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
306
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
307
|
+
- test/dummy/config/initializers/inflections.rb
|
138
308
|
- test/dummy/config/initializers/mime_types.rb
|
139
309
|
- test/dummy/config/initializers/secret_token.rb
|
140
310
|
- test/dummy/config/initializers/session_store.rb
|
141
311
|
- test/dummy/config/initializers/wrap_parameters.rb
|
142
|
-
- test/dummy/config/initializers/inflections.rb
|
143
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
144
312
|
- test/dummy/config/locales/en.yml
|
145
|
-
- test/dummy/config/
|
146
|
-
- test/dummy/config
|
147
|
-
- test/dummy/
|
148
|
-
- test/dummy/
|
149
|
-
- test/dummy/
|
150
|
-
- test/dummy/bin/rake
|
151
|
-
- test/dummy/bin/bundle
|
152
|
-
- test/dummy/bin/rails
|
313
|
+
- test/dummy/config/routes.rb
|
314
|
+
- test/dummy/config.ru
|
315
|
+
- test/dummy/db/schema.rb
|
316
|
+
- test/dummy/db/test.sqlite3
|
317
|
+
- test/dummy/log/test.log
|
153
318
|
- test/dummy/public/404.html
|
154
319
|
- test/dummy/public/422.html
|
155
|
-
- test/dummy/public/favicon.ico
|
156
320
|
- test/dummy/public/500.html
|
157
|
-
- test/dummy/
|
321
|
+
- test/dummy/public/favicon.ico
|
158
322
|
- test/dummy/Rakefile
|
159
|
-
- test/dummy/
|
160
|
-
- test/dummy/
|
161
|
-
- test/dummy/
|
162
|
-
- test/
|
163
|
-
- test/
|
323
|
+
- test/dummy/README.rdoc
|
324
|
+
- test/dummy/tmp/cache/271/2A1/tiny_cache%2Fmodels%2FTinyPassport%3A%3AAccount%2F1%2F1
|
325
|
+
- test/dummy/tmp/cache/EDF/4C1/tiny_cache%2Fmodel_uniq_keys%2FTinyPassport%3A%3ALoginEmail%2F%5B%5B%22account_id%22%2C+1%5D%5D
|
326
|
+
- test/fixtures/tiny_passport/avatars.yml
|
327
|
+
- test/fixtures/tiny_passport/login_emails.yml
|
328
|
+
- test/fixtures/tiny_passport/login_records.yml
|
329
|
+
- test/fixtures/tiny_passport/oauth_binds.yml
|
330
|
+
- test/fixtures/tiny_passport/oauth_infos.yml
|
331
|
+
- test/fixtures/tiny_passport/oauth_logins.yml
|
332
|
+
- test/fixtures/tiny_passport/oauth_tokens.yml
|
333
|
+
- test/fixtures/tiny_passport/users.yml
|
334
|
+
- test/forms/tiny_passport/oauth/callback_form_test.rb
|
335
|
+
- test/forms/tiny_passport/registration_form_test.rb
|
336
|
+
- test/forms/tiny_passport/session_form_test.rb
|
337
|
+
- test/forms/tiny_passport/update_password_form_test.rb
|
338
|
+
- test/integration/navigation_test.rb
|
339
|
+
- test/mailers/tiny_passport/registration_mailer_test.rb
|
340
|
+
- test/mailers/tiny_passport/reset_password_mailer_test.rb
|
341
|
+
- test/models/concerns/tiny_passport/configable_test.rb
|
342
|
+
- test/models/tiny_passport/account_test.rb
|
343
|
+
- test/models/tiny_passport/avatar_test.rb
|
344
|
+
- test/models/tiny_passport/login_email_test.rb
|
345
|
+
- test/models/tiny_passport/login_record_test.rb
|
346
|
+
- test/models/tiny_passport/oauth_bind_test.rb
|
347
|
+
- test/models/tiny_passport/oauth_info_test.rb
|
348
|
+
- test/models/tiny_passport/oauth_login_test.rb
|
349
|
+
- test/models/tiny_passport/oauth_token_test.rb
|
350
|
+
- test/support/helpers.rb
|
351
|
+
- test/test_helper.rb
|
164
352
|
- test/tiny_passport_test.rb
|