omniauth-icalia 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 6cad58273fb22cba6b5c8d71664759576620fa2537740fdfccde10cb60f2fff0
4
+ data.tar.gz: 7e276c2f58291e30add46bebb595658afddc43e6b2c7d06f21aa7096b726b68e
5
+ SHA512:
6
+ metadata.gz: 0aca0652ac4f348489ad9486182bdb3cee95c926c307865aa0a9d91b2c84287c5fe2b562dc46f76857a542ef0b256d2a433fbdcc4544b2b3c979dd6baef3845d
7
+ data.tar.gz: 469abd58dd314111be50a440e7055d3939c3b1b133b25ebc13e46ea04549dd8aae48d63ed274b299f1993fc9ff246f6d6ac681678257601af3c39475a657f68b
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at TODO: Write your email address. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 TODO: Write your name
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,70 @@
1
+ # Omniauth::Icalia
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/omniauth/icalia`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'omniauth-icalia'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install omniauth-icalia
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## System Testing on your app
28
+
29
+ You can use the included service stub in your system tests.
30
+
31
+ On your spec_helper, or test setup file:
32
+
33
+ ```ruby
34
+ require 'omniauth-icalia/service_stubs'
35
+ ```
36
+
37
+ Then, in your test setup, call `prepare`:
38
+
39
+ ```ruby
40
+ # For example, in RSpec:
41
+ before { Icalia::StubbedSSOService.prepare }
42
+
43
+ # Use a block if you need to set the data returned by the service:
44
+ before do
45
+ Icalia::StubbedSSOService.prepare do |config|
46
+ # Optionally add example data about the expected token owner:
47
+ config.example_resource_owner_id = SecureRandom.uuid
48
+ config.example_resource_owner_given_name = 'George'
49
+ config.example_resource_owner_family_name = 'Harrison'
50
+ end
51
+ end
52
+ ```
53
+
54
+ ## Development
55
+
56
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
57
+
58
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
59
+
60
+ ## Contributing
61
+
62
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/omniauth-icalia. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
63
+
64
+ ## License
65
+
66
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
67
+
68
+ ## Code of Conduct
69
+
70
+ Everyone interacting in the Omniauth::Icalia project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/omniauth-icalia/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "omniauth/icalia"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,176 @@
1
+ require 'sinatra/base'
2
+
3
+ require 'capybara'
4
+ require 'capybara/server'
5
+
6
+ require 'socket'
7
+
8
+ module Icalia
9
+ class StubbedSSOService < Sinatra::Base
10
+ FIND_AVAILABLE_PORT = 0
11
+ CODE = 'icalia_oauth_authorization_code'.freeze
12
+
13
+ post '/oauth/token' do
14
+ if params[:code] == CODE
15
+ response.headers['Content-Type'] = 'application/json'
16
+ flow = oauth_flows.last
17
+ data = flow.slice('state').merge(
18
+ access_token: 'ACCESS_TOKEN',
19
+ token_type: 'Bearer',
20
+ created_at: DateTime.now.to_i
21
+ )
22
+ flow[:granted_access_data] = data
23
+ data.to_json
24
+ else
25
+ status 400
26
+ {
27
+ error: 'invalid_grant',
28
+ error_description: "Authorization code does not exist: #{code}",
29
+ }.to_json
30
+ end
31
+ end
32
+
33
+ get '/oauth/authorize' do
34
+ store_oauth_flow_data params
35
+ uri = URI(params[:redirect_uri])
36
+ uri.query = URI.encode_www_form(state: params[:state], code: CODE)
37
+ redirect uri
38
+ end
39
+
40
+ get '/oauth/token/info' do
41
+ flow = oauth_flows.last
42
+ data = {
43
+ data: {
44
+ id: SecureRandom.uuid,
45
+ type: 'oauth-access-token',
46
+ attributes: {
47
+ scopes: [],
48
+ 'expires-at': nil,
49
+ 'created-at': Time.at(flow.dig(:granted_access_data, :created_at))
50
+ },
51
+ relationships: {
52
+ 'resource-owner': {
53
+ data: { type: 'person', id: example_resource_owner_id }
54
+ }
55
+ }
56
+ },
57
+ included: [
58
+ {
59
+ type: 'person',
60
+ id: example_resource_owner_id,
61
+ attributes: {
62
+ 'full-name': example_resource_owner_full_name,
63
+ 'given-name': example_resource_owner_given_name,
64
+ 'family-name': example_resource_owner_family_name,
65
+ 'gender-type': example_resource_owner_gender_type,
66
+ 'custom-gender': example_resource_owner_custom_gender
67
+ }
68
+ }
69
+ ]
70
+ }
71
+ response.headers['Content-Type'] = 'application/vnd.api+json'
72
+ data.to_json
73
+ end
74
+
75
+ %i[example_resource_owner_id example_resource_owner_given_name
76
+ example_resource_owner_family_name example_resource_owner_gender_type
77
+ example_resource_owner_custom_gender].each do |method_name|
78
+ define_singleton_method method_name do
79
+ class_variable_get("@@#{method_name}")
80
+ end
81
+
82
+ define_singleton_method "#{method_name}=".to_sym do |value|
83
+ class_variable_set("@@#{method_name}", value)
84
+ end
85
+ end
86
+
87
+ %i[oauth_flows store_oauth_flow_data example_resource_owner_id
88
+ example_resource_owner_given_name example_resource_owner_family_name
89
+ example_resource_owner_gender_type example_resource_owner_full_name
90
+ example_resource_owner_custom_gender].each do |method_name|
91
+ define_method method_name do |*args|
92
+ self.class.public_send method_name, *args
93
+ end
94
+ end
95
+
96
+ class << self
97
+ def oauth_flows
98
+ @oauth_flows ||= []
99
+ end
100
+
101
+ def reset
102
+ oauth_flows.clear
103
+
104
+ self.example_resource_owner_id = SecureRandom.uuid
105
+ self.example_resource_owner_given_name = 'Example Person'
106
+ self.example_resource_owner_family_name = 'From Artanis'
107
+ self.example_resource_owner_gender_type = 'male'
108
+ self.example_resource_owner_custom_gender = nil
109
+ end
110
+
111
+ def example_resource_owner_full_name
112
+ [example_resource_owner_given_name, example_resource_owner_family_name]
113
+ .compact.join(' ').strip
114
+ end
115
+
116
+ def store_oauth_flow_data(data)
117
+ oauth_flows << data
118
+ end
119
+
120
+ # Taken from FakeStripe.stub_stripe at fake_stripe gem:
121
+ def prepare
122
+ reset
123
+
124
+ yield self if block_given?
125
+
126
+ # Since the OAuth flow is performed by the browser, we'll need to boot
127
+ # the Sinatra app instead of just stubbing the app with WebMock...
128
+ boot_once
129
+
130
+ oauth_host = "http://localhost:#{server_port}"
131
+
132
+ OmniAuth::Strategies::Icalia.instances.each do |options|
133
+ client_options = options.client_options
134
+ client_options.site = oauth_host
135
+ client_options.token_url = "#{oauth_host}/oauth/token"
136
+ client_options.authorize_url = "#{oauth_host}/oauth/authorize"
137
+ end
138
+ end
139
+
140
+ def teardown
141
+ default_client_options = OmniAuth::Strategies::Icalia
142
+ .default_options
143
+ .client_options
144
+
145
+ OmniAuth::Strategies::Icalia.instances.each do |options|
146
+ client_options = options.client_options
147
+ client_options.site = default_client_options.site
148
+ client_options.token_url = default_client_options.token_url
149
+ client_options.authorize_url = default_client_options.authorize_url
150
+ end
151
+ end
152
+
153
+ # Taken from FakeStripe::Utils at fake_stripe gem: =======================
154
+ def find_available_port
155
+ server = TCPServer.new(FIND_AVAILABLE_PORT)
156
+ server.addr[1]
157
+ ensure
158
+ server.close if server
159
+ end
160
+
161
+ # Taken from Bootable at fake_stripe gem: ================================
162
+ def boot(port = find_available_port)
163
+ instance = new
164
+ Capybara::Server.new(instance, port: port).tap(&:boot)
165
+ end
166
+
167
+ def boot_once
168
+ @boot_once ||= boot(server_port)
169
+ end
170
+
171
+ def server_port
172
+ @server_port ||= find_available_port
173
+ end
174
+ end
175
+ end
176
+ end
@@ -0,0 +1,2 @@
1
+ require 'omniauth-icalia/version'
2
+ require 'omniauth/strategies/icalia'
@@ -0,0 +1 @@
1
+ require 'icalia/stubbed_sso_service'
@@ -0,0 +1,5 @@
1
+ module Omniauth
2
+ module Icalia
3
+ VERSION = '0.1.3'
4
+ end
5
+ end
@@ -0,0 +1,81 @@
1
+ require 'omniauth-oauth2'
2
+ require 'icalia-sdk-event-core'
3
+
4
+ module OmniAuth
5
+ module Strategies
6
+ class Icalia < OmniAuth::Strategies::OAuth2
7
+ INFO_PATH = '/oauth/token/info?include=resource-owner.email-accounts'
8
+
9
+ option :client_options, {
10
+ site: 'https://artanis.icalialabs.com',
11
+ token_url: 'https://artanis.icalialabs.com/oauth/token',
12
+ authorize_url: 'https://artanis.icalialabs.com/oauth/authorize'
13
+ }
14
+
15
+ @@instances = []
16
+
17
+ def self.instances
18
+ class_variable_get('@@instances')
19
+ end
20
+
21
+ def initialize(*args)
22
+ instance = super(*args)
23
+ @@instances << instance
24
+ instance
25
+ end
26
+
27
+ def request_phase
28
+ super
29
+ end
30
+
31
+ def authorize_params
32
+ super.tap do |params|
33
+ %w[scope client_options].each do |v|
34
+ if request.params[v]
35
+ params[v.to_sym] = request.params[v]
36
+ end
37
+ end
38
+ end
39
+ end
40
+
41
+ uid { raw_info.resource_owner.id.to_s }
42
+
43
+ info do
44
+ personal_info = raw_info.resource_owner
45
+ {
46
+ 'full_name' => personal_info.full_name,
47
+ 'given_name' => personal_info.given_name,
48
+ 'family_name' => personal_info.family_name,
49
+ 'gender_type' => personal_info.gender_type,
50
+ 'custom_gender' => personal_info.custom_gender,
51
+ 'date_of_birth' => personal_info.date_of_birth
52
+ }
53
+ end
54
+
55
+ extra do
56
+ { raw_info: raw_info, scope: scope }
57
+ end
58
+
59
+ def raw_info
60
+ access_token.options[:mode] = :header
61
+ @raw_info ||= fetch_user_info
62
+ end
63
+
64
+ def scope
65
+ access_token['scope']
66
+ end
67
+
68
+ def callback_url
69
+ full_host + script_name + callback_path
70
+ end
71
+
72
+ private
73
+
74
+ def fetch_user_info
75
+ response_body = access_token.get(INFO_PATH).body
76
+ raw_data = ActiveSupport::JSON.decode(response_body)
77
+ ::Icalia::Event::Deserializer.new(raw_data).perform
78
+ end
79
+ end
80
+ end
81
+ end
@@ -0,0 +1,30 @@
1
+
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'omniauth-icalia/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.authors = ['Roberto Quintanilla']
8
+ spec.email = ['vov@icalialabs.com']
9
+ spec.description = %q{Official Omniauth Strategy for Icalia.}
10
+ spec.summary = %q{Official Omniauth Strategy for Icalia.}
11
+ spec.homepage = 'https://github.com/IcaliaLabs/omniauth-icalia'
12
+ spec.license = 'MIT'
13
+
14
+ spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
15
+ spec.files = `git ls-files -- lib/* *.md *.gemspec *.txt Rakefile`.split("\n")
16
+ spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
+ spec.name = 'omniauth-icalia'
18
+ spec.require_paths = ['lib']
19
+ spec.version = Omniauth::Icalia::VERSION
20
+
21
+ spec.add_dependency 'omniauth', '~> 1.5'
22
+ spec.add_dependency 'omniauth-oauth2', '>= 1.4.0', '< 2.0'
23
+ spec.add_dependency 'icalia-sdk-event-core', '~> 0.3', '>= 0.3.5'
24
+
25
+ spec.add_development_dependency 'bundler', '~> 1.17'
26
+ spec.add_development_dependency 'capybara', '~> 3.0', '>= 3.0.0'
27
+ spec.add_development_dependency 'sinatra', '~> 2.0', '>= 2.0.0'
28
+ spec.add_development_dependency 'rake', '~> 13.0'
29
+ spec.add_development_dependency 'rspec', '~> 3.0'
30
+ end
metadata ADDED
@@ -0,0 +1,193 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: omniauth-icalia
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.3
5
+ platform: ruby
6
+ authors:
7
+ - Roberto Quintanilla
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-02-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: omniauth
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.5'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: omniauth-oauth2
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.4.0
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '2.0'
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 1.4.0
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '2.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: icalia-sdk-event-core
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '0.3'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 0.3.5
57
+ type: :runtime
58
+ prerelease: false
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '0.3'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 0.3.5
67
+ - !ruby/object:Gem::Dependency
68
+ name: bundler
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: '1.17'
74
+ type: :development
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - "~>"
79
+ - !ruby/object:Gem::Version
80
+ version: '1.17'
81
+ - !ruby/object:Gem::Dependency
82
+ name: capybara
83
+ requirement: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: 3.0.0
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '3.0'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: 3.0.0
98
+ - - "~>"
99
+ - !ruby/object:Gem::Version
100
+ version: '3.0'
101
+ - !ruby/object:Gem::Dependency
102
+ name: sinatra
103
+ requirement: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ version: 2.0.0
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '2.0'
111
+ type: :development
112
+ prerelease: false
113
+ version_requirements: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: 2.0.0
118
+ - - "~>"
119
+ - !ruby/object:Gem::Version
120
+ version: '2.0'
121
+ - !ruby/object:Gem::Dependency
122
+ name: rake
123
+ requirement: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - "~>"
126
+ - !ruby/object:Gem::Version
127
+ version: '13.0'
128
+ type: :development
129
+ prerelease: false
130
+ version_requirements: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - "~>"
133
+ - !ruby/object:Gem::Version
134
+ version: '13.0'
135
+ - !ruby/object:Gem::Dependency
136
+ name: rspec
137
+ requirement: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - - "~>"
140
+ - !ruby/object:Gem::Version
141
+ version: '3.0'
142
+ type: :development
143
+ prerelease: false
144
+ version_requirements: !ruby/object:Gem::Requirement
145
+ requirements:
146
+ - - "~>"
147
+ - !ruby/object:Gem::Version
148
+ version: '3.0'
149
+ description: Official Omniauth Strategy for Icalia.
150
+ email:
151
+ - vov@icalialabs.com
152
+ executables:
153
+ - console
154
+ - setup
155
+ extensions: []
156
+ extra_rdoc_files: []
157
+ files:
158
+ - CODE_OF_CONDUCT.md
159
+ - LICENSE.txt
160
+ - README.md
161
+ - Rakefile
162
+ - bin/console
163
+ - bin/setup
164
+ - lib/icalia/stubbed_sso_service.rb
165
+ - lib/omniauth-icalia.rb
166
+ - lib/omniauth-icalia/service_stubs.rb
167
+ - lib/omniauth-icalia/version.rb
168
+ - lib/omniauth/strategies/icalia.rb
169
+ - omniauth-icalia.gemspec
170
+ homepage: https://github.com/IcaliaLabs/omniauth-icalia
171
+ licenses:
172
+ - MIT
173
+ metadata: {}
174
+ post_install_message:
175
+ rdoc_options: []
176
+ require_paths:
177
+ - lib
178
+ required_ruby_version: !ruby/object:Gem::Requirement
179
+ requirements:
180
+ - - ">="
181
+ - !ruby/object:Gem::Version
182
+ version: '0'
183
+ required_rubygems_version: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ requirements: []
189
+ rubygems_version: 3.0.3
190
+ signing_key:
191
+ specification_version: 4
192
+ summary: Official Omniauth Strategy for Icalia.
193
+ test_files: []