omniauth-sberbank 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +21 -0
  3. data/LICENSE +21 -0
  4. data/README.md +84 -0
  5. data/examples/README.md +3 -0
  6. data/examples/blog/.gitignore +23 -0
  7. data/examples/blog/Gemfile +62 -0
  8. data/examples/blog/Gemfile.lock +247 -0
  9. data/examples/blog/README.md +24 -0
  10. data/examples/blog/Rakefile +6 -0
  11. data/examples/blog/app/assets/config/manifest.js +3 -0
  12. data/examples/blog/app/assets/images/.keep +0 -0
  13. data/examples/blog/app/assets/javascripts/application.js +15 -0
  14. data/examples/blog/app/assets/javascripts/cable.js +13 -0
  15. data/examples/blog/app/assets/javascripts/channels/.keep +0 -0
  16. data/examples/blog/app/assets/javascripts/session.coffee +3 -0
  17. data/examples/blog/app/assets/javascripts/welcome.coffee +3 -0
  18. data/examples/blog/app/assets/stylesheets/application.css +15 -0
  19. data/examples/blog/app/assets/stylesheets/session.scss +3 -0
  20. data/examples/blog/app/assets/stylesheets/welcome.scss +3 -0
  21. data/examples/blog/app/channels/application_cable/channel.rb +4 -0
  22. data/examples/blog/app/channels/application_cable/connection.rb +4 -0
  23. data/examples/blog/app/controllers/application_controller.rb +3 -0
  24. data/examples/blog/app/controllers/concerns/.keep +0 -0
  25. data/examples/blog/app/controllers/sessions_controller.rb +22 -0
  26. data/examples/blog/app/controllers/welcome_controller.rb +26 -0
  27. data/examples/blog/app/helpers/application_helper.rb +2 -0
  28. data/examples/blog/app/helpers/session_helper.rb +2 -0
  29. data/examples/blog/app/helpers/welcome_helper.rb +2 -0
  30. data/examples/blog/app/jobs/application_job.rb +2 -0
  31. data/examples/blog/app/mailers/application_mailer.rb +4 -0
  32. data/examples/blog/app/models/application_record.rb +3 -0
  33. data/examples/blog/app/models/concerns/.keep +0 -0
  34. data/examples/blog/app/views/layouts/application.html.erb +14 -0
  35. data/examples/blog/app/views/layouts/mailer.html.erb +13 -0
  36. data/examples/blog/app/views/layouts/mailer.text.erb +1 -0
  37. data/examples/blog/app/views/session/create.html.erb +2 -0
  38. data/examples/blog/app/views/welcome/index.html.erb +7 -0
  39. data/examples/blog/bin/bundle +3 -0
  40. data/examples/blog/bin/rails +9 -0
  41. data/examples/blog/bin/rake +9 -0
  42. data/examples/blog/bin/setup +38 -0
  43. data/examples/blog/bin/spring +17 -0
  44. data/examples/blog/bin/update +29 -0
  45. data/examples/blog/bin/yarn +11 -0
  46. data/examples/blog/config.ru +5 -0
  47. data/examples/blog/config/application.rb +18 -0
  48. data/examples/blog/config/boot.rb +3 -0
  49. data/examples/blog/config/cable.yml +10 -0
  50. data/examples/blog/config/database.yml +25 -0
  51. data/examples/blog/config/environment.rb +5 -0
  52. data/examples/blog/config/environments/development.rb +54 -0
  53. data/examples/blog/config/environments/production.rb +91 -0
  54. data/examples/blog/config/environments/test.rb +42 -0
  55. data/examples/blog/config/initializers/application_controller_renderer.rb +6 -0
  56. data/examples/blog/config/initializers/assets.rb +14 -0
  57. data/examples/blog/config/initializers/backtrace_silencers.rb +7 -0
  58. data/examples/blog/config/initializers/cookies_serializer.rb +5 -0
  59. data/examples/blog/config/initializers/filter_parameter_logging.rb +4 -0
  60. data/examples/blog/config/initializers/inflections.rb +16 -0
  61. data/examples/blog/config/initializers/mime_types.rb +4 -0
  62. data/examples/blog/config/initializers/omniauth.rb +33 -0
  63. data/examples/blog/config/initializers/wrap_parameters.rb +14 -0
  64. data/examples/blog/config/locales/en.yml +33 -0
  65. data/examples/blog/config/puma.rb +56 -0
  66. data/examples/blog/config/routes.rb +14 -0
  67. data/examples/blog/config/secrets.yml +63 -0
  68. data/examples/blog/config/spring.rb +6 -0
  69. data/examples/blog/db/seeds.rb +7 -0
  70. data/examples/blog/lib/assets/.keep +0 -0
  71. data/examples/blog/lib/tasks/.keep +0 -0
  72. data/examples/blog/log/.keep +0 -0
  73. data/examples/blog/package.json +5 -0
  74. data/examples/blog/public/404.html +67 -0
  75. data/examples/blog/public/422.html +67 -0
  76. data/examples/blog/public/500.html +66 -0
  77. data/examples/blog/public/apple-touch-icon-precomposed.png +0 -0
  78. data/examples/blog/public/apple-touch-icon.png +0 -0
  79. data/examples/blog/public/favicon.ico +0 -0
  80. data/examples/blog/public/robots.txt +1 -0
  81. data/examples/blog/test/application_system_test_case.rb +5 -0
  82. data/examples/blog/test/controllers/.keep +0 -0
  83. data/examples/blog/test/controllers/session_controller_test.rb +9 -0
  84. data/examples/blog/test/controllers/welcome_controller_test.rb +9 -0
  85. data/examples/blog/test/fixtures/.keep +0 -0
  86. data/examples/blog/test/fixtures/files/.keep +0 -0
  87. data/examples/blog/test/helpers/.keep +0 -0
  88. data/examples/blog/test/integration/.keep +0 -0
  89. data/examples/blog/test/mailers/.keep +0 -0
  90. data/examples/blog/test/models/.keep +0 -0
  91. data/examples/blog/test/system/.keep +0 -0
  92. data/examples/blog/test/test_helper.rb +9 -0
  93. data/examples/blog/tmp/.keep +0 -0
  94. data/examples/blog/vendor/.keep +0 -0
  95. data/lib/omniauth-sberbank.rb +14 -0
  96. data/lib/omniauth/sberbank/version.rb +7 -0
  97. data/lib/omniauth/strategies/sberbank.rb +193 -0
  98. data/omniauth-sberbank.gemspec +20 -0
  99. 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: []