kirgudu_sso 0.0.1
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.rdoc +3 -0
- data/Rakefile +34 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/fonts/caecilialtstd-bold-webfont.woff +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/fonts/caecilialtstd-light-webfont.woff +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/fonts/gotham-bold.woff +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/fonts/gotham-book.woff +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/badge-free.png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/badge-free@2x.png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/badge-premium.png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/badge-premium@2x.png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/chevron-blue-bg.png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/chevron-blue-bg@2x.png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/error-bang.png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/error-bang@2x.png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/green-check.png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/green-check@2x.png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/header-bar.png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/icon-settings.png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/icon-settings@2x.png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/icon-shield-white.png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/icon-shield-white@2x.png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/kirgudu-sso-tour1@2x.png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/kirgudu-sso-tour2@2x.png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/kirgudu-sso-tour3@2x.png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/menu-dropdown-arrow-white (1).png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/menu-dropdown-arrow-white.png +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/images/settings-bg.jpeg +0 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/stylesheets/register.css +794 -0
- data/app/assets/templates/kirgudu_sso/authentications/base/stylesheets/sso.css +4824 -0
- data/app/controllers/kirgudu_sso/authentications_controller.rb +140 -0
- data/app/controllers/kirgudu_sso/base_controller.rb +5 -0
- data/app/helpers/kirgudu_sso/application_helper.rb +4 -0
- data/app/models/kirgudu_sso/client.rb +142 -0
- data/app/models/kirgudu_sso/http_error.rb +5 -0
- data/app/views/kirgudu_sso/application.html.erb +14 -0
- data/app/views/kirgudu_sso/authentications/base/authentications/confirm_email.html.erb +51 -0
- data/app/views/kirgudu_sso/authentications/base/authentications/login.html.erb +60 -0
- data/app/views/kirgudu_sso/authentications/base/authentications/register.html.erb +123 -0
- data/app/views/kirgudu_sso/authentications/base/authentications/register_successful.html.erb +25 -0
- data/app/views/kirgudu_sso/authentications/base/authentications/restore_password.html.erb +53 -0
- data/app/views/kirgudu_sso/authentications/base/authentications/restore_password_code.html.erb +49 -0
- data/app/views/kirgudu_sso/authentications/base/authentications/restore_password_success.html.erb +33 -0
- data/app/views/kirgudu_sso/authentications/base/layouts/application.html.erb +128 -0
- data/app/views/kirgudu_sso/authentications/base/mailers/authentications/confirmation_code.html.erb +21 -0
- data/app/views/kirgudu_sso/authentications/base/mailers/authentications/confirmation_code.text.erb +21 -0
- data/app/views/kirgudu_sso/authentications/base/mailers/authentications/restore_password_code.html.erb +20 -0
- data/app/views/kirgudu_sso/authentications/base/mailers/authentications/restore_password_code.text.erb +20 -0
- data/app/views/kirgudu_sso/authentications/base/mailers/authentications/restore_password_success.html.erb +12 -0
- data/app/views/kirgudu_sso/authentications/base/mailers/authentications/restore_password_success.text.erb +18 -0
- data/config/locales/chupakabra_tools.en.yml +28 -0
- data/config/locales/chupakabra_tools.ru.yml +28 -0
- data/config/locales/kirgudu_sso.en.yml +79 -0
- data/config/locales/kirgudu_sso.ru.yml +145 -0
- data/config/routes.rb +2 -0
- data/lib/kirgudu_sso/engine.rb +5 -0
- data/lib/kirgudu_sso/version.rb +3 -0
- data/lib/kirgudu_sso.rb +4 -0
- data/lib/tasks/kirgudu_sso_tasks.rake +4 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -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/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -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 +83 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/kirgudu_sso_test.rb +7 -0
- data/test/test_helper.rb +15 -0
- metadata +258 -0
data/test/test_helper.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
|
7
|
+
Rails.backtrace_cleaner.remove_silencers!
|
8
|
+
|
9
|
+
# Load support files
|
10
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
11
|
+
|
12
|
+
# Load fixtures from the engine
|
13
|
+
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
14
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
15
|
+
end
|
metadata
ADDED
@@ -0,0 +1,258 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: kirgudu_sso
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Mitrofanov Dmitry
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-08-14 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: '4.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: chupakabra_tools
|
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: kirgudu_base
|
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: validate_as_url
|
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: validate_as_seo_tag
|
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: sqlite3
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: SSO Client for SSO.Kirgudy.NET
|
98
|
+
email:
|
99
|
+
- mdima@it-guru.biz
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- MIT-LICENSE
|
105
|
+
- README.rdoc
|
106
|
+
- Rakefile
|
107
|
+
- app/assets/templates/kirgudu_sso/authentications/base/fonts/caecilialtstd-bold-webfont.woff
|
108
|
+
- app/assets/templates/kirgudu_sso/authentications/base/fonts/caecilialtstd-light-webfont.woff
|
109
|
+
- app/assets/templates/kirgudu_sso/authentications/base/fonts/gotham-bold.woff
|
110
|
+
- app/assets/templates/kirgudu_sso/authentications/base/fonts/gotham-book.woff
|
111
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/badge-free.png
|
112
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/badge-free@2x.png
|
113
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/badge-premium.png
|
114
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/badge-premium@2x.png
|
115
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/chevron-blue-bg.png
|
116
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/chevron-blue-bg@2x.png
|
117
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/error-bang.png
|
118
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/error-bang@2x.png
|
119
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/green-check.png
|
120
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/green-check@2x.png
|
121
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/header-bar.png
|
122
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/icon-settings.png
|
123
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/icon-settings@2x.png
|
124
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/icon-shield-white.png
|
125
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/icon-shield-white@2x.png
|
126
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/kirgudu-sso-tour1@2x.png
|
127
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/kirgudu-sso-tour2@2x.png
|
128
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/kirgudu-sso-tour3@2x.png
|
129
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/menu-dropdown-arrow-white
|
130
|
+
(1).png
|
131
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/menu-dropdown-arrow-white.png
|
132
|
+
- app/assets/templates/kirgudu_sso/authentications/base/images/settings-bg.jpeg
|
133
|
+
- app/assets/templates/kirgudu_sso/authentications/base/stylesheets/register.css
|
134
|
+
- app/assets/templates/kirgudu_sso/authentications/base/stylesheets/sso.css
|
135
|
+
- app/controllers/kirgudu_sso/authentications_controller.rb
|
136
|
+
- app/controllers/kirgudu_sso/base_controller.rb
|
137
|
+
- app/helpers/kirgudu_sso/application_helper.rb
|
138
|
+
- app/models/kirgudu_sso/client.rb
|
139
|
+
- app/models/kirgudu_sso/http_error.rb
|
140
|
+
- app/views/kirgudu_sso/application.html.erb
|
141
|
+
- app/views/kirgudu_sso/authentications/base/authentications/confirm_email.html.erb
|
142
|
+
- app/views/kirgudu_sso/authentications/base/authentications/login.html.erb
|
143
|
+
- app/views/kirgudu_sso/authentications/base/authentications/register.html.erb
|
144
|
+
- app/views/kirgudu_sso/authentications/base/authentications/register_successful.html.erb
|
145
|
+
- app/views/kirgudu_sso/authentications/base/authentications/restore_password.html.erb
|
146
|
+
- app/views/kirgudu_sso/authentications/base/authentications/restore_password_code.html.erb
|
147
|
+
- app/views/kirgudu_sso/authentications/base/authentications/restore_password_success.html.erb
|
148
|
+
- app/views/kirgudu_sso/authentications/base/layouts/application.html.erb
|
149
|
+
- app/views/kirgudu_sso/authentications/base/mailers/authentications/confirmation_code.html.erb
|
150
|
+
- app/views/kirgudu_sso/authentications/base/mailers/authentications/confirmation_code.text.erb
|
151
|
+
- app/views/kirgudu_sso/authentications/base/mailers/authentications/restore_password_code.html.erb
|
152
|
+
- app/views/kirgudu_sso/authentications/base/mailers/authentications/restore_password_code.text.erb
|
153
|
+
- app/views/kirgudu_sso/authentications/base/mailers/authentications/restore_password_success.html.erb
|
154
|
+
- app/views/kirgudu_sso/authentications/base/mailers/authentications/restore_password_success.text.erb
|
155
|
+
- config/locales/chupakabra_tools.en.yml
|
156
|
+
- config/locales/chupakabra_tools.ru.yml
|
157
|
+
- config/locales/kirgudu_sso.en.yml
|
158
|
+
- config/locales/kirgudu_sso.ru.yml
|
159
|
+
- config/routes.rb
|
160
|
+
- lib/kirgudu_sso.rb
|
161
|
+
- lib/kirgudu_sso/engine.rb
|
162
|
+
- lib/kirgudu_sso/version.rb
|
163
|
+
- lib/tasks/kirgudu_sso_tasks.rake
|
164
|
+
- test/dummy/README.rdoc
|
165
|
+
- test/dummy/Rakefile
|
166
|
+
- test/dummy/app/assets/javascripts/application.js
|
167
|
+
- test/dummy/app/assets/stylesheets/application.css
|
168
|
+
- test/dummy/app/controllers/application_controller.rb
|
169
|
+
- test/dummy/app/helpers/application_helper.rb
|
170
|
+
- test/dummy/app/views/layouts/application.html.erb
|
171
|
+
- test/dummy/bin/bundle
|
172
|
+
- test/dummy/bin/rails
|
173
|
+
- test/dummy/bin/rake
|
174
|
+
- test/dummy/config.ru
|
175
|
+
- test/dummy/config/application.rb
|
176
|
+
- test/dummy/config/boot.rb
|
177
|
+
- test/dummy/config/database.yml
|
178
|
+
- test/dummy/config/environment.rb
|
179
|
+
- test/dummy/config/environments/development.rb
|
180
|
+
- test/dummy/config/environments/production.rb
|
181
|
+
- test/dummy/config/environments/test.rb
|
182
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
183
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
184
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
185
|
+
- test/dummy/config/initializers/inflections.rb
|
186
|
+
- test/dummy/config/initializers/mime_types.rb
|
187
|
+
- test/dummy/config/initializers/session_store.rb
|
188
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
189
|
+
- test/dummy/config/locales/en.yml
|
190
|
+
- test/dummy/config/routes.rb
|
191
|
+
- test/dummy/config/secrets.yml
|
192
|
+
- test/dummy/public/404.html
|
193
|
+
- test/dummy/public/422.html
|
194
|
+
- test/dummy/public/500.html
|
195
|
+
- test/dummy/public/favicon.ico
|
196
|
+
- test/integration/navigation_test.rb
|
197
|
+
- test/kirgudu_sso_test.rb
|
198
|
+
- test/test_helper.rb
|
199
|
+
homepage: http://it-guru.biz
|
200
|
+
licenses:
|
201
|
+
- MIT
|
202
|
+
metadata: {}
|
203
|
+
post_install_message:
|
204
|
+
rdoc_options: []
|
205
|
+
require_paths:
|
206
|
+
- lib
|
207
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
208
|
+
requirements:
|
209
|
+
- - ">="
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: '0'
|
212
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
213
|
+
requirements:
|
214
|
+
- - ">="
|
215
|
+
- !ruby/object:Gem::Version
|
216
|
+
version: '0'
|
217
|
+
requirements: []
|
218
|
+
rubyforge_project:
|
219
|
+
rubygems_version: 2.2.2
|
220
|
+
signing_key:
|
221
|
+
specification_version: 4
|
222
|
+
summary: SSO Client for SSO.Kirgudy.NET
|
223
|
+
test_files:
|
224
|
+
- test/dummy/app/assets/javascripts/application.js
|
225
|
+
- test/dummy/app/assets/stylesheets/application.css
|
226
|
+
- test/dummy/app/controllers/application_controller.rb
|
227
|
+
- test/dummy/app/helpers/application_helper.rb
|
228
|
+
- test/dummy/app/views/layouts/application.html.erb
|
229
|
+
- test/dummy/bin/bundle
|
230
|
+
- test/dummy/bin/rails
|
231
|
+
- test/dummy/bin/rake
|
232
|
+
- test/dummy/config/application.rb
|
233
|
+
- test/dummy/config/boot.rb
|
234
|
+
- test/dummy/config/database.yml
|
235
|
+
- test/dummy/config/environment.rb
|
236
|
+
- test/dummy/config/environments/development.rb
|
237
|
+
- test/dummy/config/environments/production.rb
|
238
|
+
- test/dummy/config/environments/test.rb
|
239
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
240
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
241
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
242
|
+
- test/dummy/config/initializers/inflections.rb
|
243
|
+
- test/dummy/config/initializers/mime_types.rb
|
244
|
+
- test/dummy/config/initializers/session_store.rb
|
245
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
246
|
+
- test/dummy/config/locales/en.yml
|
247
|
+
- test/dummy/config/routes.rb
|
248
|
+
- test/dummy/config/secrets.yml
|
249
|
+
- test/dummy/config.ru
|
250
|
+
- test/dummy/public/404.html
|
251
|
+
- test/dummy/public/422.html
|
252
|
+
- test/dummy/public/500.html
|
253
|
+
- test/dummy/public/favicon.ico
|
254
|
+
- test/dummy/Rakefile
|
255
|
+
- test/dummy/README.rdoc
|
256
|
+
- test/integration/navigation_test.rb
|
257
|
+
- test/kirgudu_sso_test.rb
|
258
|
+
- test/test_helper.rb
|