omniauth-sberbank 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +21 -0
- data/LICENSE +21 -0
- data/README.md +84 -0
- data/examples/README.md +3 -0
- data/examples/blog/.gitignore +23 -0
- data/examples/blog/Gemfile +62 -0
- data/examples/blog/Gemfile.lock +247 -0
- data/examples/blog/README.md +24 -0
- data/examples/blog/Rakefile +6 -0
- data/examples/blog/app/assets/config/manifest.js +3 -0
- data/examples/blog/app/assets/images/.keep +0 -0
- data/examples/blog/app/assets/javascripts/application.js +15 -0
- data/examples/blog/app/assets/javascripts/cable.js +13 -0
- data/examples/blog/app/assets/javascripts/channels/.keep +0 -0
- data/examples/blog/app/assets/javascripts/session.coffee +3 -0
- data/examples/blog/app/assets/javascripts/welcome.coffee +3 -0
- data/examples/blog/app/assets/stylesheets/application.css +15 -0
- data/examples/blog/app/assets/stylesheets/session.scss +3 -0
- data/examples/blog/app/assets/stylesheets/welcome.scss +3 -0
- data/examples/blog/app/channels/application_cable/channel.rb +4 -0
- data/examples/blog/app/channels/application_cable/connection.rb +4 -0
- data/examples/blog/app/controllers/application_controller.rb +3 -0
- data/examples/blog/app/controllers/concerns/.keep +0 -0
- data/examples/blog/app/controllers/sessions_controller.rb +22 -0
- data/examples/blog/app/controllers/welcome_controller.rb +26 -0
- data/examples/blog/app/helpers/application_helper.rb +2 -0
- data/examples/blog/app/helpers/session_helper.rb +2 -0
- data/examples/blog/app/helpers/welcome_helper.rb +2 -0
- data/examples/blog/app/jobs/application_job.rb +2 -0
- data/examples/blog/app/mailers/application_mailer.rb +4 -0
- data/examples/blog/app/models/application_record.rb +3 -0
- data/examples/blog/app/models/concerns/.keep +0 -0
- data/examples/blog/app/views/layouts/application.html.erb +14 -0
- data/examples/blog/app/views/layouts/mailer.html.erb +13 -0
- data/examples/blog/app/views/layouts/mailer.text.erb +1 -0
- data/examples/blog/app/views/session/create.html.erb +2 -0
- data/examples/blog/app/views/welcome/index.html.erb +7 -0
- data/examples/blog/bin/bundle +3 -0
- data/examples/blog/bin/rails +9 -0
- data/examples/blog/bin/rake +9 -0
- data/examples/blog/bin/setup +38 -0
- data/examples/blog/bin/spring +17 -0
- data/examples/blog/bin/update +29 -0
- data/examples/blog/bin/yarn +11 -0
- data/examples/blog/config.ru +5 -0
- data/examples/blog/config/application.rb +18 -0
- data/examples/blog/config/boot.rb +3 -0
- data/examples/blog/config/cable.yml +10 -0
- data/examples/blog/config/database.yml +25 -0
- data/examples/blog/config/environment.rb +5 -0
- data/examples/blog/config/environments/development.rb +54 -0
- data/examples/blog/config/environments/production.rb +91 -0
- data/examples/blog/config/environments/test.rb +42 -0
- data/examples/blog/config/initializers/application_controller_renderer.rb +6 -0
- data/examples/blog/config/initializers/assets.rb +14 -0
- data/examples/blog/config/initializers/backtrace_silencers.rb +7 -0
- data/examples/blog/config/initializers/cookies_serializer.rb +5 -0
- data/examples/blog/config/initializers/filter_parameter_logging.rb +4 -0
- data/examples/blog/config/initializers/inflections.rb +16 -0
- data/examples/blog/config/initializers/mime_types.rb +4 -0
- data/examples/blog/config/initializers/omniauth.rb +33 -0
- data/examples/blog/config/initializers/wrap_parameters.rb +14 -0
- data/examples/blog/config/locales/en.yml +33 -0
- data/examples/blog/config/puma.rb +56 -0
- data/examples/blog/config/routes.rb +14 -0
- data/examples/blog/config/secrets.yml +63 -0
- data/examples/blog/config/spring.rb +6 -0
- data/examples/blog/db/seeds.rb +7 -0
- data/examples/blog/lib/assets/.keep +0 -0
- data/examples/blog/lib/tasks/.keep +0 -0
- data/examples/blog/log/.keep +0 -0
- data/examples/blog/package.json +5 -0
- data/examples/blog/public/404.html +67 -0
- data/examples/blog/public/422.html +67 -0
- data/examples/blog/public/500.html +66 -0
- data/examples/blog/public/apple-touch-icon-precomposed.png +0 -0
- data/examples/blog/public/apple-touch-icon.png +0 -0
- data/examples/blog/public/favicon.ico +0 -0
- data/examples/blog/public/robots.txt +1 -0
- data/examples/blog/test/application_system_test_case.rb +5 -0
- data/examples/blog/test/controllers/.keep +0 -0
- data/examples/blog/test/controllers/session_controller_test.rb +9 -0
- data/examples/blog/test/controllers/welcome_controller_test.rb +9 -0
- data/examples/blog/test/fixtures/.keep +0 -0
- data/examples/blog/test/fixtures/files/.keep +0 -0
- data/examples/blog/test/helpers/.keep +0 -0
- data/examples/blog/test/integration/.keep +0 -0
- data/examples/blog/test/mailers/.keep +0 -0
- data/examples/blog/test/models/.keep +0 -0
- data/examples/blog/test/system/.keep +0 -0
- data/examples/blog/test/test_helper.rb +9 -0
- data/examples/blog/tmp/.keep +0 -0
- data/examples/blog/vendor/.keep +0 -0
- data/lib/omniauth-sberbank.rb +14 -0
- data/lib/omniauth/sberbank/version.rb +7 -0
- data/lib/omniauth/strategies/sberbank.rb +193 -0
- data/omniauth-sberbank.gemspec +20 -0
- metadata +160 -0
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require File.expand_path('lib/omniauth/sberbank/version', __dir__)
|
4
|
+
|
5
|
+
Gem::Specification.new do |gem|
|
6
|
+
gem.authors = ['Sergei Baksheev']
|
7
|
+
gem.email = ['sergbaksheev825@gmail.com']
|
8
|
+
gem.summary = 'Sberbank OAuth2 Strategy for OmniAuth'
|
9
|
+
gem.homepage = 'https://github.com/insales/omniauth-sberbank'
|
10
|
+
gem.licenses = ['MIT']
|
11
|
+
|
12
|
+
gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
13
|
+
gem.files = `git ls-files`.split("\n")
|
14
|
+
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
15
|
+
gem.name = 'omniauth-sberbank'
|
16
|
+
gem.require_paths = ['lib']
|
17
|
+
gem.version = OmniAuth::Sberbank::VERSION
|
18
|
+
gem.required_ruby_version = '>= 2.6.0'
|
19
|
+
gem.add_runtime_dependency 'omniauth-oauth2', ['>= 1.5', '<= 1.7.1']
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,160 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: omniauth-sberbank
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.4
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Sergei Baksheev
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-06-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: omniauth-oauth2
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.5'
|
20
|
+
- - "<="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.7.1
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.5'
|
30
|
+
- - "<="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.7.1
|
33
|
+
description:
|
34
|
+
email:
|
35
|
+
- sergbaksheev825@gmail.com
|
36
|
+
executables: []
|
37
|
+
extensions: []
|
38
|
+
extra_rdoc_files: []
|
39
|
+
files:
|
40
|
+
- Gemfile
|
41
|
+
- LICENSE
|
42
|
+
- README.md
|
43
|
+
- examples/README.md
|
44
|
+
- examples/blog/.gitignore
|
45
|
+
- examples/blog/Gemfile
|
46
|
+
- examples/blog/Gemfile.lock
|
47
|
+
- examples/blog/README.md
|
48
|
+
- examples/blog/Rakefile
|
49
|
+
- examples/blog/app/assets/config/manifest.js
|
50
|
+
- examples/blog/app/assets/images/.keep
|
51
|
+
- examples/blog/app/assets/javascripts/application.js
|
52
|
+
- examples/blog/app/assets/javascripts/cable.js
|
53
|
+
- examples/blog/app/assets/javascripts/channels/.keep
|
54
|
+
- examples/blog/app/assets/javascripts/session.coffee
|
55
|
+
- examples/blog/app/assets/javascripts/welcome.coffee
|
56
|
+
- examples/blog/app/assets/stylesheets/application.css
|
57
|
+
- examples/blog/app/assets/stylesheets/session.scss
|
58
|
+
- examples/blog/app/assets/stylesheets/welcome.scss
|
59
|
+
- examples/blog/app/channels/application_cable/channel.rb
|
60
|
+
- examples/blog/app/channels/application_cable/connection.rb
|
61
|
+
- examples/blog/app/controllers/application_controller.rb
|
62
|
+
- examples/blog/app/controllers/concerns/.keep
|
63
|
+
- examples/blog/app/controllers/sessions_controller.rb
|
64
|
+
- examples/blog/app/controllers/welcome_controller.rb
|
65
|
+
- examples/blog/app/helpers/application_helper.rb
|
66
|
+
- examples/blog/app/helpers/session_helper.rb
|
67
|
+
- examples/blog/app/helpers/welcome_helper.rb
|
68
|
+
- examples/blog/app/jobs/application_job.rb
|
69
|
+
- examples/blog/app/mailers/application_mailer.rb
|
70
|
+
- examples/blog/app/models/application_record.rb
|
71
|
+
- examples/blog/app/models/concerns/.keep
|
72
|
+
- examples/blog/app/views/layouts/application.html.erb
|
73
|
+
- examples/blog/app/views/layouts/mailer.html.erb
|
74
|
+
- examples/blog/app/views/layouts/mailer.text.erb
|
75
|
+
- examples/blog/app/views/session/create.html.erb
|
76
|
+
- examples/blog/app/views/welcome/index.html.erb
|
77
|
+
- examples/blog/bin/bundle
|
78
|
+
- examples/blog/bin/rails
|
79
|
+
- examples/blog/bin/rake
|
80
|
+
- examples/blog/bin/setup
|
81
|
+
- examples/blog/bin/spring
|
82
|
+
- examples/blog/bin/update
|
83
|
+
- examples/blog/bin/yarn
|
84
|
+
- examples/blog/config.ru
|
85
|
+
- examples/blog/config/application.rb
|
86
|
+
- examples/blog/config/boot.rb
|
87
|
+
- examples/blog/config/cable.yml
|
88
|
+
- examples/blog/config/database.yml
|
89
|
+
- examples/blog/config/environment.rb
|
90
|
+
- examples/blog/config/environments/development.rb
|
91
|
+
- examples/blog/config/environments/production.rb
|
92
|
+
- examples/blog/config/environments/test.rb
|
93
|
+
- examples/blog/config/initializers/application_controller_renderer.rb
|
94
|
+
- examples/blog/config/initializers/assets.rb
|
95
|
+
- examples/blog/config/initializers/backtrace_silencers.rb
|
96
|
+
- examples/blog/config/initializers/cookies_serializer.rb
|
97
|
+
- examples/blog/config/initializers/filter_parameter_logging.rb
|
98
|
+
- examples/blog/config/initializers/inflections.rb
|
99
|
+
- examples/blog/config/initializers/mime_types.rb
|
100
|
+
- examples/blog/config/initializers/omniauth.rb
|
101
|
+
- examples/blog/config/initializers/wrap_parameters.rb
|
102
|
+
- examples/blog/config/locales/en.yml
|
103
|
+
- examples/blog/config/puma.rb
|
104
|
+
- examples/blog/config/routes.rb
|
105
|
+
- examples/blog/config/secrets.yml
|
106
|
+
- examples/blog/config/spring.rb
|
107
|
+
- examples/blog/db/seeds.rb
|
108
|
+
- examples/blog/lib/assets/.keep
|
109
|
+
- examples/blog/lib/tasks/.keep
|
110
|
+
- examples/blog/log/.keep
|
111
|
+
- examples/blog/package.json
|
112
|
+
- examples/blog/public/404.html
|
113
|
+
- examples/blog/public/422.html
|
114
|
+
- examples/blog/public/500.html
|
115
|
+
- examples/blog/public/apple-touch-icon-precomposed.png
|
116
|
+
- examples/blog/public/apple-touch-icon.png
|
117
|
+
- examples/blog/public/favicon.ico
|
118
|
+
- examples/blog/public/robots.txt
|
119
|
+
- examples/blog/test/application_system_test_case.rb
|
120
|
+
- examples/blog/test/controllers/.keep
|
121
|
+
- examples/blog/test/controllers/session_controller_test.rb
|
122
|
+
- examples/blog/test/controllers/welcome_controller_test.rb
|
123
|
+
- examples/blog/test/fixtures/.keep
|
124
|
+
- examples/blog/test/fixtures/files/.keep
|
125
|
+
- examples/blog/test/helpers/.keep
|
126
|
+
- examples/blog/test/integration/.keep
|
127
|
+
- examples/blog/test/mailers/.keep
|
128
|
+
- examples/blog/test/models/.keep
|
129
|
+
- examples/blog/test/system/.keep
|
130
|
+
- examples/blog/test/test_helper.rb
|
131
|
+
- examples/blog/tmp/.keep
|
132
|
+
- examples/blog/vendor/.keep
|
133
|
+
- lib/omniauth-sberbank.rb
|
134
|
+
- lib/omniauth/sberbank/version.rb
|
135
|
+
- lib/omniauth/strategies/sberbank.rb
|
136
|
+
- omniauth-sberbank.gemspec
|
137
|
+
homepage: https://github.com/insales/omniauth-sberbank
|
138
|
+
licenses:
|
139
|
+
- MIT
|
140
|
+
metadata: {}
|
141
|
+
post_install_message:
|
142
|
+
rdoc_options: []
|
143
|
+
require_paths:
|
144
|
+
- lib
|
145
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
147
|
+
- - ">="
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: 2.6.0
|
150
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
155
|
+
requirements: []
|
156
|
+
rubygems_version: 3.1.2
|
157
|
+
signing_key:
|
158
|
+
specification_version: 4
|
159
|
+
summary: Sberbank OAuth2 Strategy for OmniAuth
|
160
|
+
test_files: []
|