omniauth-salesforce-ruby 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 55817eeaaaea5c09d7238352702da719b249b5cc88c4095adaa26f86358d4625
4
+ data.tar.gz: 6c6d989c80dc7c87b550d67ba3957e4fbdbad178d0fa4771e4a318d715f21b2a
5
+ SHA512:
6
+ metadata.gz: 6a85bc36786cf1db6892db5ef1b370c3a988e45c7481ad6dcf0a6c36771453b81608060473d4736eded894217ba9f46ffd713a2c5662b84ba937e4a6148e41c0
7
+ data.tar.gz: d1093b6fbc40975ebe937259da9be2448c35e0f76c43b5b3cf5c6b59f2962472b332c012adbdbe3a439839c13b79f9172ef3319d0fdaa3e23b472e8000b039df
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ /pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --colour
2
+ --format documentation
data/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm use 1.9.2-p290@omniauth-salesforce --create
data/Gemfile ADDED
@@ -0,0 +1,15 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development do
6
+ gem 'rubocop', '~> 0.52.1', require: false
7
+ end
8
+
9
+ group :development, :test do
10
+ gem 'guard'
11
+ gem 'guard-rspec'
12
+ gem 'guard-bundler'
13
+ gem 'rb-fsevent'
14
+ gem 'growl'
15
+ end
data/Guardfile ADDED
@@ -0,0 +1,10 @@
1
+ guard 'rspec', :version => 2 do
2
+ watch(%r{^spec/.+_spec\.rb$})
3
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
4
+ watch('spec/spec_helper.rb') { "spec" }
5
+ end
6
+
7
+ guard 'bundler' do
8
+ watch('Gemfile')
9
+ watch('omniauth-salesforce-ruby.gemspec')
10
+ end
data/LICENSE.md ADDED
@@ -0,0 +1,5 @@
1
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
2
+
3
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
4
+
5
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,49 @@
1
+ # omniauth-salesforce
2
+
3
+ [OmniAuth](https://github.com/intridea/omniauth) Strategy for [salesforce.com](salesforce.com).
4
+
5
+ Note: This is an Accel fork of the fork of the [original](https://github.com/richardvanhook/omniauth-salesforce) project - due to dependencies not being updated.
6
+
7
+ ## See it in action
8
+
9
+ [http://omniauth-salesforce-example.herokuapp.com](http://omniauth-salesforce-example.herokuapp.com)
10
+
11
+ [Source for above app](https://github.com/richardvanhook/omniauth-salesforce-example)
12
+
13
+ ## Basic Usage
14
+
15
+ ```ruby
16
+ require "sinatra"
17
+ require "omniauth"
18
+ require "omniauth-salesforce"
19
+
20
+ class MyApplication < Sinatra::Base
21
+ use Rack::Session
22
+ use OmniAuth::Builder do
23
+ provider :salesforce, ENV['SALESFORCE_KEY'], ENV['SALESFORCE_SECRET']
24
+ end
25
+ end
26
+ ```
27
+
28
+ ## Including other sites
29
+
30
+ ```ruby
31
+ use OmniAuth::Builder do
32
+ provider :salesforce,
33
+ ENV['SALESFORCE_KEY'],
34
+ ENV['SALESFORCE_SECRET']
35
+ provider OmniAuth::Strategies::SalesforceSandbox,
36
+ ENV['SALESFORCE_SANDBOX_KEY'],
37
+ ENV['SALESFORCE_SANDBOX_SECRET']
38
+ provider OmniAuth::Strategies::SalesforcePreRelease,
39
+ ENV['SALESFORCE_PRERELEASE_KEY'],
40
+ ENV['SALESFORCE_PRERELEASE_SECRET']
41
+ provider OmniAuth::Strategies::DatabaseDotCom,
42
+ ENV['DATABASE_DOT_COM_KEY'],
43
+ ENV['DATABASE_DOT_COM_SECRET']
44
+ end
45
+ ```
46
+
47
+ ## Resources
48
+
49
+ * [Article: Digging Deeper into OAuth 2.0 on Force.com](http://wiki.developerforce.com/index.php/Digging_Deeper_into_OAuth_2.0_on_Force.com)
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
3
+ require 'rspec/core/rake_task'
4
+
5
+ desc 'Default: run specs.'
6
+ task :default => :spec
7
+
8
+ desc "Run specs"
9
+ RSpec::Core::RakeTask.new
10
+
11
+ desc 'Run specs'
12
+ task :default => :spec
@@ -0,0 +1,99 @@
1
+ require 'omniauth-oauth2'
2
+ require 'openssl'
3
+ require 'base64'
4
+
5
+ module OmniAuth
6
+ module Strategies
7
+ class Salesforce < OmniAuth::Strategies::OAuth2
8
+
9
+ MOBILE_USER_AGENTS = 'webos|ipod|iphone|ipad|android|blackberry|mobile'
10
+
11
+ option :client_options, {
12
+ :site => 'https://login.salesforce.com',
13
+ :authorize_url => '/services/oauth2/authorize',
14
+ :token_url => '/services/oauth2/token'
15
+ }
16
+ option :authorize_options, [
17
+ :scope,
18
+ :display,
19
+ :immediate,
20
+ :state,
21
+ :prompt,
22
+ :redirect_uri,
23
+ :login_hint
24
+ ]
25
+
26
+ def request_phase
27
+ req = Rack::Request.new(@env)
28
+ options.update(req.params)
29
+ ua = req.user_agent.to_s
30
+ if !options.has_key?(:display)
31
+ mobile_request = ua.downcase =~ Regexp.new(MOBILE_USER_AGENTS)
32
+ options[:display] = mobile_request ? 'touch' : 'page'
33
+ end
34
+ super
35
+ end
36
+
37
+ def auth_hash
38
+ signed_value = access_token.params['id'] + access_token.params['issued_at']
39
+ raw_expected_signature = OpenSSL::HMAC.digest('sha256', options.client_secret.to_s, signed_value)
40
+ expected_signature = Base64.strict_encode64 raw_expected_signature
41
+ signature = access_token.params['signature']
42
+ fail! "Salesforce user id did not match signature!" unless signature == expected_signature
43
+ super
44
+ end
45
+
46
+ uid { raw_info['id'] }
47
+
48
+ info do
49
+ {
50
+ 'name' => raw_info['display_name'],
51
+ 'email' => raw_info['email'],
52
+ 'nickname' => raw_info['nick_name'],
53
+ 'first_name' => raw_info['first_name'],
54
+ 'last_name' => raw_info['last_name'],
55
+ 'location' => '',
56
+ 'description' => '',
57
+ 'image' => raw_info['photos']['thumbnail'] + "?oauth_token=#{access_token.token}",
58
+ 'phone' => '',
59
+ 'urls' => raw_info['urls']
60
+ }
61
+ end
62
+
63
+ credentials do
64
+ hash = {'token' => access_token.token}
65
+ hash.merge!('instance_url' => access_token.params["instance_url"])
66
+ hash.merge!('refresh_token' => access_token.refresh_token) if access_token.refresh_token
67
+ hash
68
+ end
69
+
70
+ def raw_info
71
+ access_token.options[:mode] = :header
72
+ @raw_info ||= access_token.post(access_token['id']).parsed
73
+ end
74
+
75
+ extra do
76
+ raw_info.merge({
77
+ 'instance_url' => access_token.params['instance_url'],
78
+ 'pod' => access_token.params['instance_url'],
79
+ 'signature' => access_token.params['signature'],
80
+ 'issued_at' => access_token.params['issued_at']
81
+ })
82
+ end
83
+
84
+ end
85
+
86
+ class SalesforceSandbox < OmniAuth::Strategies::Salesforce
87
+ default_options[:client_options][:site] = 'https://test.salesforce.com'
88
+ end
89
+
90
+ class DatabaseDotCom < OmniAuth::Strategies::Salesforce
91
+ default_options[:client_options][:site] = 'https://login.database.com'
92
+ end
93
+
94
+ class SalesforcePreRelease < OmniAuth::Strategies::Salesforce
95
+ default_options[:client_options][:site] = 'https://prerellogin.pre.salesforce.com/'
96
+ end
97
+
98
+ end
99
+ end
@@ -0,0 +1,5 @@
1
+ module OmniAuth
2
+ module Salesforce
3
+ VERSION = '1.1.1'
4
+ end
5
+ end
@@ -0,0 +1,2 @@
1
+ require 'omniauth-salesforce/version'
2
+ require 'omniauth/strategies/salesforce'
@@ -0,0 +1,38 @@
1
+ require File.expand_path('../lib/omniauth-salesforce/version', __FILE__)
2
+
3
+ Gem::Specification.new do |gem|
4
+ gem.authors = ['Richard Vanhook']
5
+ gem.email = ['rvanhook@salesforce.com']
6
+ gem.description = 'OmniAuth strategy for salesforce.com.'
7
+ gem.summary = 'OmniAuth strategy for salesforce.com.'
8
+ gem.homepage = 'https://github.com/diasluan/omniauth-salesforce-ruby'
9
+
10
+ gem.executables = `git ls-files -- bin/*`.split('\n').map { |f| File.basename(f) }
11
+ gem.files = [".gitignore",
12
+ ".rspec",
13
+ ".rvmrc",
14
+ "Gemfile",
15
+ "Guardfile",
16
+ "LICENSE.md",
17
+ "README.md",
18
+ "Rakefile",
19
+ "lib/omniauth-salesforce.rb",
20
+ "lib/omniauth-salesforce/version.rb",
21
+ "lib/omniauth/strategies/salesforce.rb",
22
+ "omniauth-salesforce-ruby.gemspec",
23
+ "spec/omniauth/strategies/salesforce_spec.rb",
24
+ "spec/spec_helper.rb"]
25
+ gem.test_files = ["spec/omniauth/strategies/salesforce_spec.rb","spec/spec_helper.rb"]
26
+ gem.name = 'omniauth-salesforce-ruby'
27
+ gem.require_paths = ['lib']
28
+ gem.version = OmniAuth::Salesforce::VERSION
29
+ gem.license = 'MIT'
30
+
31
+ gem.add_dependency 'omniauth', '~> 2.0'
32
+ gem.add_dependency 'omniauth-oauth2', '~> 1.7.1'
33
+ gem.required_ruby_version = '>= 2.1.0'
34
+ gem.add_development_dependency 'rack-test'
35
+ gem.add_development_dependency 'rspec', '~> 2.7'
36
+ gem.add_development_dependency 'simplecov'
37
+ gem.add_development_dependency 'webmock'
38
+ end
@@ -0,0 +1,217 @@
1
+ require 'spec_helper'
2
+
3
+ describe OmniAuth::Strategies::Salesforce do
4
+ strategy = nil
5
+ before do
6
+ OmniAuth.config.test_mode = true
7
+ rack_app = []
8
+ rack_app.stub :call
9
+ strategy = OmniAuth::Strategies::Salesforce.new rack_app, 'Consumer Key', 'Consumer Secret'
10
+ end
11
+ describe "request_phase" do
12
+ env = nil
13
+ before do
14
+ env = {
15
+ 'rack.session' => {},
16
+ 'HTTP_USER_AGENT' => 'unknown',
17
+ 'REQUEST_METHOD' => 'GET',
18
+ 'rack.input' => '',
19
+ 'rack.url_scheme' => 'http',
20
+ 'SERVER_NAME' => 'server.example',
21
+ 'QUERY_STRING' => 'code=xxxx',
22
+ 'SCRIPT_NAME' => '',
23
+ 'SERVER_PORT' => 80
24
+ }
25
+ end
26
+ context "when using a mobile browser" do
27
+ user_agents = {
28
+ :Pre => "Mozilla/5.0 (webOS/1.4.0; U; en-US) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pre/1.1",
29
+ :iPod => "Mozilla/5.0 (iPod; U; CPU like Mac OS X; en) AppleWebKit/420.1 (KHTML, like Gecko) Version/3.0 Mobile/4A93 Safari/419.3",
30
+ :iPhone => "Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543 Safari/419.3",
31
+ :iPad => "Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10",
32
+ :Nexus => "Mozilla/5.0 (Linux; U; Android 2.2; en-us; Nexus One Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1",
33
+ :myTouch => "Mozilla/5.0 (Linux; U; Android 1.6; en-us; WOWMobile myTouch 3G Build/unknown) AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.1.2 Mobile Safari/525.20.1",
34
+ :Storm => "BlackBerry9530/4.7.0.148 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/105",
35
+ :Torch => "Mozilla/5.0 (BlackBerry; U; BlackBerry 9810; en-US) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.0.0 Mobile Safari/534.11+",
36
+ :generic_mobile => "some mobile device"
37
+ }
38
+ user_agents.each_pair do |name, agent|
39
+ context "with the user agent from a #{name.to_s}" do
40
+ before do
41
+ env['HTTP_USER_AGENT'] = agent
42
+ strategy.call!(env)
43
+ strategy.request_phase
44
+ end
45
+ subject {strategy.options}
46
+ it "sets the :display option to 'touch'" do
47
+ subject[:display].should == 'touch'
48
+ end
49
+ end
50
+ end
51
+ end
52
+ context "when using a desktop browser" do
53
+ user_agents = {
54
+ :Chrome => "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.21 (KHTML, like Gecko) Chrome/19.0.1042.0 Safari/535.21",
55
+ :Safari => "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; de-at) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1",
56
+ :IE => "Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET CLR 1.0.3705; .NET CLR 1.1.4322)",
57
+ :anything_else => "unknown"
58
+ }
59
+ user_agents.each_pair do |name, agent|
60
+ context "with the user agent from #{name.to_s}" do
61
+ before do
62
+ env['HTTP_USER_AGENT'] = agent
63
+ strategy.call!(env)
64
+ strategy.request_phase
65
+ end
66
+ subject {strategy.options}
67
+ it "sets the :display option to 'page'" do
68
+ subject[:display].should == 'page'
69
+ end
70
+ end
71
+ end
72
+ end
73
+ end
74
+ describe "callback phase" do
75
+ raw_info = nil
76
+ before do
77
+ raw_info = {
78
+ 'id' => 'salesforce id',
79
+ 'display_name' => 'display name',
80
+ 'email' => 'email',
81
+ 'nick_name' => 'nick name',
82
+ 'first_name' => 'first name',
83
+ 'last_name' => 'last name',
84
+ 'photos' => {'thumbnail' => '/thumbnail/url'},
85
+ 'urls'=> {
86
+ "enterprise" => "https://salesforce.example/services",
87
+ "metadata" => "https://salesforce.example/services"
88
+ }
89
+ }
90
+ client = OAuth2::Client.new 'id', 'secret', {:site => 'example.com'}
91
+ access_token = OAuth2::AccessToken.from_hash client, {
92
+ 'access_token' => 'token',
93
+ 'instance_url' => 'http://instance.salesforce.example',
94
+ 'signature' => 'invalid',
95
+ 'issued_at' => '1296458209517'
96
+ }
97
+ strategy.stub(:raw_info) { raw_info }
98
+ strategy.stub(:access_token) { access_token }
99
+ end
100
+ describe "uid" do
101
+ it "sets the id" do
102
+ strategy.uid.should == raw_info['id']
103
+ end
104
+ end
105
+ describe "info" do
106
+ subject { strategy.info }
107
+ it "returns an info hash" do
108
+ subject.should_not be_nil
109
+ end
110
+ it "sets name" do
111
+ subject['name'].should == raw_info['display_name']
112
+ end
113
+ it "sets email" do
114
+ subject['email'].should == raw_info['email']
115
+ end
116
+ it "sets nickname" do
117
+ subject['nickname'].should == raw_info['nick_name']
118
+ end
119
+ it "sets first_name" do
120
+ subject['first_name'].should == raw_info['first_name']
121
+ end
122
+ it "sets last_name" do
123
+ subject['last_name'].should == raw_info['last_name']
124
+ end
125
+ it "sets location" do
126
+ subject['location'].should == ''
127
+ end
128
+ it "sets description" do
129
+ subject['description'].should == ''
130
+ end
131
+ it "sets image" do
132
+ subject['image'].should == raw_info['photos']['thumbnail'] + "?oauth_token=#{strategy.access_token.token}"
133
+ end
134
+ it "sets phone" do
135
+ subject['phone'].should == ''
136
+ end
137
+ it "sets urls" do
138
+ subject['urls'].should == raw_info['urls']
139
+ end
140
+ end
141
+ describe "credentials" do
142
+ subject { strategy.credentials }
143
+ it "sets token" do
144
+ subject['token'].should == strategy.access_token.token
145
+ end
146
+ it "sets instance_url" do
147
+ subject['instance_url'].should == strategy.access_token.params["instance_url"]
148
+ end
149
+ context "given a refresh token" do
150
+ it "sets refresh_token" do
151
+ subject['refresh_token'].should == strategy.access_token.refresh_token
152
+ end
153
+ end
154
+ context "when not given a refresh token" do
155
+ it "does not set a refresh token" do
156
+ subject['refresh_token'].should be_nil
157
+ end
158
+ end
159
+ end
160
+ describe "extra" do
161
+ subject { strategy.extra }
162
+ it "sets instance_url" do
163
+ subject['instance_url'].should == strategy.access_token.params['instance_url']
164
+ end
165
+ it "sets pod" do
166
+ subject['pod'].should == strategy.access_token.params['instance_url']
167
+ end
168
+ it "sets signature" do
169
+ subject['signature'].should == strategy.access_token.params['signature']
170
+ end
171
+ it "sets issued_at" do
172
+ subject['issued_at'].should == strategy.access_token.params['issued_at']
173
+ end
174
+ end
175
+ describe "user id validation" do
176
+ client_id = nil
177
+ issued_at = nil
178
+ signature = nil
179
+ instance_url = 'http://instance.salesforce.example'
180
+ before do
181
+ client_id = "https://login.salesforce.com/id/00Dd0000000d45TEBQ/005d0000000fyGPCCY"
182
+ issued_at = "1331142541514"
183
+ signature = Base64.strict_encode64(OpenSSL::HMAC.digest('sha256', strategy.options.client_secret.to_s, client_id + issued_at))
184
+ end
185
+ context "when the signature does not match" do
186
+ before do
187
+ access_token = OAuth2::AccessToken.from_hash strategy.access_token.client, {
188
+ 'id' => 'forged client id',
189
+ 'issued_at' => issued_at,
190
+ 'instance_url' => 'http://instance.salesforce.example',
191
+ 'signature' => signature
192
+ }
193
+ strategy.stub(:access_token) { access_token }
194
+ end
195
+ it "should call fail!" do
196
+ strategy.should_receive(:fail!)
197
+ strategy.auth_hash
198
+ end
199
+ end
200
+ context "when the signature does match" do
201
+ before do
202
+ access_token = OAuth2::AccessToken.from_hash strategy.access_token.client, {
203
+ 'id' => client_id,
204
+ 'issued_at' => issued_at,
205
+ 'instance_url' => 'http://instance.salesforce.example',
206
+ 'signature' => signature
207
+ }
208
+ strategy.stub(:access_token) { access_token }
209
+ end
210
+ it "should not fail" do
211
+ strategy.should_not_receive(:fail!)
212
+ strategy.auth_hash
213
+ end
214
+ end
215
+ end
216
+ end
217
+ end
@@ -0,0 +1,16 @@
1
+ $LOAD_PATH.unshift File.expand_path('..', __FILE__)
2
+ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
3
+
4
+ require 'simplecov'
5
+ SimpleCov.start
6
+ require 'rspec'
7
+ require 'rack/test'
8
+ require 'webmock/rspec'
9
+ require 'omniauth'
10
+ require 'omniauth-salesforce-ruby'
11
+
12
+ RSpec.configure do |config|
13
+ config.include WebMock::API
14
+ config.include Rack::Test::Methods
15
+ config.extend OmniAuth::Test::StrategyMacros, type: :strategy
16
+ end
metadata ADDED
@@ -0,0 +1,143 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: omniauth-salesforce-ruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Richard Vanhook
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-07-19 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: '2.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
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.7.1
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 1.7.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: rack-test
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
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: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.7'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.7'
69
+ - !ruby/object:Gem::Dependency
70
+ name: simplecov
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
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: webmock
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: OmniAuth strategy for salesforce.com.
98
+ email:
99
+ - rvanhook@salesforce.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".gitignore"
105
+ - ".rspec"
106
+ - ".rvmrc"
107
+ - Gemfile
108
+ - Guardfile
109
+ - LICENSE.md
110
+ - README.md
111
+ - Rakefile
112
+ - lib/omniauth-salesforce.rb
113
+ - lib/omniauth-salesforce/version.rb
114
+ - lib/omniauth/strategies/salesforce.rb
115
+ - omniauth-salesforce-ruby.gemspec
116
+ - spec/omniauth/strategies/salesforce_spec.rb
117
+ - spec/spec_helper.rb
118
+ homepage: https://github.com/diasluan/omniauth-salesforce-ruby
119
+ licenses:
120
+ - MIT
121
+ metadata: {}
122
+ post_install_message:
123
+ rdoc_options: []
124
+ require_paths:
125
+ - lib
126
+ required_ruby_version: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: 2.1.0
131
+ required_rubygems_version: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ requirements: []
137
+ rubygems_version: 3.2.22
138
+ signing_key:
139
+ specification_version: 4
140
+ summary: OmniAuth strategy for salesforce.com.
141
+ test_files:
142
+ - spec/omniauth/strategies/salesforce_spec.rb
143
+ - spec/spec_helper.rb