omniauth-fdc 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +63 -0
- data/LICENSE.txt +21 -0
- data/README.md +106 -6
- data/lib/omniauth/strategies/fdc.rb +14 -4
- data/lib/omniauth-fdc/version.rb +3 -1
- data/lib/omniauth-fdc.rb +2 -0
- data/omniauth-fdc.gemspec +19 -22
- metadata +20 -55
- data/.gitignore +0 -11
- data/.rspec +0 -3
- data/.ruby-gemset +0 -1
- data/.ruby-version +0 -1
- data/.travis.yml +0 -7
- data/Gemfile +0 -6
- data/Gemfile.lock +0 -56
- data/Rakefile +0 -6
- data/bin/console +0 -14
- data/bin/setup +0 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 03f3f116f55ffd9ff8f27f64a0a0945fc493bab63561e232c384987c17609995
|
|
4
|
+
data.tar.gz: 2b6e24afd77dc0942302dc2b1b0a68bd2652d5c3e2f61f1eee6ac7d25194927f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4fe125a86dfaba2fe9083e5ee748eb444cd20e7d7ca62d55d257f5a6e7ae7638983200c693f54dc8bcae14a747dcf5589ff3f426a2245186b5a235f69d3104df
|
|
7
|
+
data.tar.gz: 47e6adc2d699e8495c63db3c86e4d15196c118b435169a0cea59a5bfd61f546af7dfbd385170057b9377b072b1b670409945b9c03b076d85d7eaf893f9ef0226
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented in this file.
|
|
4
|
+
|
|
5
|
+
## [0.2.0] - 2026-08-26
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- **Breaking:** requires `omniauth ~> 2.0` and `omniauth-oauth2 ~> 1.9` (previously an
|
|
10
|
+
unpinned `omniauth-oauth2`, which resolved to `omniauth 1.9` / `oauth2 1.4`). Host
|
|
11
|
+
applications must upgrade to OmniAuth 2.x; Rails apps also need
|
|
12
|
+
[`omniauth-rails_csrf_protection`](https://github.com/cookpad/omniauth-rails_csrf_protection)
|
|
13
|
+
because OmniAuth 2 only accepts `POST` for the request phase.
|
|
14
|
+
- Pinned the token endpoint to `auth_scheme: :request_body`. `oauth2 2.0` changed its
|
|
15
|
+
default to `:basic_auth`, which would have moved `client_id`/`client_secret` out of
|
|
16
|
+
the token request body and changed what Fulfillment.com receives.
|
|
17
|
+
- Requires Ruby >= 3.2 (the modern `oauth2` dependency chain requires it).
|
|
18
|
+
- Development toolchain: Bundler 4.x, `rake ~> 13.0`, `rspec ~> 3.13`.
|
|
19
|
+
- Replaced Travis CI with GitHub Actions, testing Ruby 3.2 through 3.4.
|
|
20
|
+
- Releases are now cut from the GitHub Releases UI: publishing a `vX.Y.Z` release reruns
|
|
21
|
+
the matrix, checks the tag against `version.rb`, and publishes to RubyGems.org via
|
|
22
|
+
trusted publishing (OIDC, no stored API key).
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- `LICENSE.txt` (MIT), now declared in the gemspec.
|
|
27
|
+
- A default `client_options[:site]` of `https://auth.fulfillment.com`, so the strategy
|
|
28
|
+
works without a `setup` lambda. Overriding `client_options[:site]` still wins.
|
|
29
|
+
- Integration specs covering the request phase, the token exchange, the `redirect_uri`
|
|
30
|
+
override and the auth hash.
|
|
31
|
+
- A weekly `bundle-audit` run, so a new advisory against the locked `oauth2`/`rack`
|
|
32
|
+
chain surfaces here rather than in a consuming app.
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
|
|
36
|
+
- `callback_url` no longer doubles a mount prefix. The override added `script_name` to
|
|
37
|
+
`callback_path`, but OmniAuth 2 moved `script_name` into `callback_path` itself, so a
|
|
38
|
+
strategy mounted under a prefix (for example Devise's `/users`) would have sent
|
|
39
|
+
`redirect_uri=http://host/users/users/auth/fdc/callback`.
|
|
40
|
+
- Resolved 39 advisories carried by the old locked dependency tree, including
|
|
41
|
+
`omniauth` CVE-2015-9284 and CVE-2020-36599, `oauth2` CVE-2026-54603, `jwt`
|
|
42
|
+
CVE-2026-45363, `faraday` CVE-2026-54297, and 30 against `rack 2.2.3`.
|
|
43
|
+
- `bin/console` required a non-existent `omniauth/fdc` file.
|
|
44
|
+
- Development scripts in `bin/` are no longer packaged as gem executables, and the
|
|
45
|
+
committed `.gem` build artifacts are gone from the repo.
|
|
46
|
+
|
|
47
|
+
## [0.1.2] - 2020-06-29
|
|
48
|
+
|
|
49
|
+
- `callback_url` is overridden so query params from a configured `redirect_uri` are not
|
|
50
|
+
sent to Fulfillment.com (#4).
|
|
51
|
+
|
|
52
|
+
## [0.1.1] - 2020-05-20
|
|
53
|
+
|
|
54
|
+
- Raised the `omniauth-oauth2` floor to 1.6 and dropped the upper version constraint.
|
|
55
|
+
|
|
56
|
+
## [0.1.0] - 2018-10-15
|
|
57
|
+
|
|
58
|
+
- Initial published strategy.
|
|
59
|
+
|
|
60
|
+
[0.2.0]: https://github.com/dropstream/omniauth-fdc/releases/tag/v0.2.0
|
|
61
|
+
[0.1.2]: https://rubygems.org/gems/omniauth-fdc/versions/0.1.2
|
|
62
|
+
[0.1.1]: https://rubygems.org/gems/omniauth-fdc/versions/0.1.1
|
|
63
|
+
[0.1.0]: https://rubygems.org/gems/omniauth-fdc/versions/0.1.0
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018-2026 Dropstream
|
|
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.
|
data/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Omniauth::Fdc
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This is an OmniAuth strategy for authenticating to [Fulfillment.com](https://www.fulfillment.com).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Requires Ruby >= 3.2, OmniAuth 2.x and `omniauth-oauth2` 1.9.x.
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -22,14 +22,114 @@ Or install it yourself as:
|
|
|
22
22
|
|
|
23
23
|
## Usage
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
OmniAuth 2 only accepts `POST` for the request phase. In a Rails app, add
|
|
26
|
+
[`omniauth-rails_csrf_protection`](https://github.com/cookpad/omniauth-rails_csrf_protection)
|
|
27
|
+
to your Gemfile and link to the provider with `button_to` or `link_to ..., method: :post`:
|
|
28
|
+
|
|
29
|
+
```ruby
|
|
30
|
+
gem 'omniauth-rails_csrf_protection'
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
```ruby
|
|
34
|
+
Rails.application.config.middleware.use OmniAuth::Builder do
|
|
35
|
+
provider :fdc,
|
|
36
|
+
'client_id', 'client_secret',
|
|
37
|
+
:scope => 'oms'
|
|
38
|
+
end
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
The auth hash carries the token under `credentials`:
|
|
42
|
+
|
|
43
|
+
```ruby
|
|
44
|
+
auth = request.env['omniauth.auth']
|
|
45
|
+
auth['credentials']['token']
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Configuring
|
|
49
|
+
|
|
50
|
+
### Configure the auth host
|
|
51
|
+
|
|
52
|
+
`client_options[:site]` defaults to `https://auth.fulfillment.com`. Point it elsewhere to
|
|
53
|
+
authenticate against a different Fulfillment.com environment:
|
|
54
|
+
|
|
55
|
+
```ruby
|
|
56
|
+
Rails.application.config.middleware.use OmniAuth::Builder do
|
|
57
|
+
provider :fdc,
|
|
58
|
+
'client_id', 'client_secret',
|
|
59
|
+
:scope => 'oms',
|
|
60
|
+
:client_options => { :site => 'https://auth.staging.fulfillment.com' }
|
|
61
|
+
end
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Setting it from a `setup` lambda also still works, which is how apps configured the host
|
|
65
|
+
before the default existed:
|
|
66
|
+
|
|
67
|
+
```ruby
|
|
68
|
+
:setup => ->(env) { env['omniauth.strategy'].options[:client_options][:site] = 'https://auth.fulfillment.com' }
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Configure the callback URL
|
|
72
|
+
|
|
73
|
+
The strategy overrides `callback_url` to drop the query string that OmniAuth would
|
|
74
|
+
otherwise append, because Fulfillment.com rejects a `redirect_uri` that does not match
|
|
75
|
+
the registered one exactly. Pass `callback_url` to override it outright:
|
|
76
|
+
|
|
77
|
+
```ruby
|
|
78
|
+
:callback_url => 'https://app.example.com/users/auth/fdc/callback'
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Otherwise it is derived from the request, including the mount prefix — a strategy mounted
|
|
82
|
+
under Devise's `/users` produces `https://app.example.com/users/auth/fdc/callback`.
|
|
83
|
+
|
|
84
|
+
### Client credentials in the token request
|
|
85
|
+
|
|
86
|
+
`client_options[:auth_scheme]` is pinned to `:request_body`, because Fulfillment.com
|
|
87
|
+
expects `client_id` and `client_secret` in the token request body. This was `oauth2` 1.x's
|
|
88
|
+
default; `oauth2` 2.x defaults to `:basic_auth`. Do not override it unless
|
|
89
|
+
Fulfillment.com starts accepting HTTP Basic auth on the token endpoint.
|
|
26
90
|
|
|
27
91
|
## Development
|
|
28
92
|
|
|
29
|
-
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.
|
|
93
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bundle exec rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
30
94
|
|
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`.
|
|
95
|
+
To install this gem onto your local machine, run `bundle exec rake install`.
|
|
96
|
+
|
|
97
|
+
Run `bundle exec bundle-audit check --update` to check the locked dependency tree against
|
|
98
|
+
the advisory database; CI runs the same check weekly.
|
|
99
|
+
|
|
100
|
+
## Releasing
|
|
101
|
+
|
|
102
|
+
Releases are cut from the [GitHub Releases UI](https://github.com/dropstream/omniauth-fdc/releases/new);
|
|
103
|
+
GitHub Actions builds and publishes the gem to [rubygems.org](https://rubygems.org) via
|
|
104
|
+
[RubyGems trusted publishing](https://guides.rubygems.org/trusted-publishing/), so no API
|
|
105
|
+
key is stored in the repo and the gemspec can keep `rubygems_mfa_required`.
|
|
106
|
+
|
|
107
|
+
1. Bump `VERSION` in `lib/omniauth-fdc/version.rb` and add a `CHANGELOG.md` section
|
|
108
|
+
for it, along with a link definition for the new heading at the bottom of that file.
|
|
109
|
+
Commit both on `master`.
|
|
110
|
+
2. Draft a new release with the target set to `master` and the tag set to the version
|
|
111
|
+
prefixed with `v` — `v0.2.0`, not `0.2.0`. The prefix is stripped before comparing
|
|
112
|
+
against `version.rb`; the gem version itself carries no `v`.
|
|
113
|
+
3. Click **Generate release notes** — the preferred method — then publish. The generated
|
|
114
|
+
notes list the merged pull requests; `CHANGELOG.md` carries the curated prose and
|
|
115
|
+
links back to each release.
|
|
116
|
+
|
|
117
|
+
Publishing creates the tag, which fires the `Release` workflow: it reruns the full test
|
|
118
|
+
matrix, refuses to continue if the tag and `version.rb` disagree, and pushes the gem.
|
|
119
|
+
Note that RubyGems versions are immutable — a bad release can be yanked, never replaced,
|
|
120
|
+
so the version bump has to be committed before the release is published.
|
|
121
|
+
|
|
122
|
+
### One-time RubyGems setup
|
|
123
|
+
|
|
124
|
+
Needed before the first release from CI, and again only if the gem is renamed or moved:
|
|
125
|
+
on rubygems.org open the gem -> **Trusted publishers** -> **Create**, with owner
|
|
126
|
+
`dropstream`, repository `omniauth-fdc`, workflow `release.yml`, and environment
|
|
127
|
+
`release`. The repo also needs an environment named `release`.
|
|
32
128
|
|
|
33
129
|
## Contributing
|
|
34
130
|
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
131
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/dropstream/omniauth-fdc.
|
|
132
|
+
|
|
133
|
+
## License
|
|
134
|
+
|
|
135
|
+
Available as open source under the terms of the [MIT License](LICENSE.txt).
|
|
@@ -1,18 +1,28 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
require 'omniauth-oauth2'
|
|
2
4
|
|
|
3
5
|
module OmniAuth
|
|
4
6
|
module Strategies
|
|
5
7
|
class Fdc < OmniAuth::Strategies::OAuth2
|
|
8
|
+
DEFAULT_SITE = 'https://auth.fulfillment.com'
|
|
6
9
|
|
|
7
10
|
option :client_options, {
|
|
11
|
+
:site => DEFAULT_SITE,
|
|
8
12
|
:authorize_url => '/oauth/authorize',
|
|
9
13
|
:token_url => '/oauth/access_token',
|
|
10
|
-
|
|
11
|
-
|
|
14
|
+
# oauth2 2.x defaults to :basic_auth; Fulfillment.com expects the client
|
|
15
|
+
# credentials in the token request body, which was the oauth2 1.x default.
|
|
16
|
+
:auth_scheme => :request_body
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
# OmniAuth::Strategy#callback_url appends the callback request's own query
|
|
20
|
+
# string, which would send those params to Fulfillment.com as part of
|
|
21
|
+
# redirect_uri and break the exchange. Note that omniauth 2's `callback_path`
|
|
22
|
+
# already carries SCRIPT_NAME, so mount prefixes must not be added again.
|
|
12
23
|
def callback_url
|
|
13
|
-
options[:callback_url] || (full_host +
|
|
24
|
+
options[:callback_url] || (full_host + callback_path)
|
|
14
25
|
end
|
|
15
|
-
|
|
16
26
|
end
|
|
17
27
|
end
|
|
18
28
|
end
|
data/lib/omniauth-fdc/version.rb
CHANGED
data/lib/omniauth-fdc.rb
CHANGED
data/omniauth-fdc.gemspec
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
1
2
|
|
|
2
|
-
lib = File.expand_path("
|
|
3
|
+
lib = File.expand_path("lib", __dir__)
|
|
3
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
5
|
require "omniauth-fdc/version"
|
|
5
6
|
|
|
@@ -9,31 +10,27 @@ Gem::Specification.new do |spec|
|
|
|
9
10
|
spec.authors = ["Sreejith Pillai"]
|
|
10
11
|
spec.email = ["sreejith.gp@icloud.com"]
|
|
11
12
|
|
|
12
|
-
spec.summary =
|
|
13
|
-
spec.description =
|
|
13
|
+
spec.summary = "OmniAuth strategy for Fulfillment.com"
|
|
14
|
+
spec.description = "In this gem you will find an OmniAuth Fdc strategy"
|
|
14
15
|
spec.homepage = "https://github.com/dropstream/omniauth-fdc"
|
|
16
|
+
spec.license = "MIT"
|
|
15
17
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"public gem pushes."
|
|
23
|
-
end
|
|
18
|
+
spec.required_ruby_version = ">= 3.2"
|
|
19
|
+
|
|
20
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
|
21
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
|
22
|
+
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
|
|
23
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
|
24
24
|
|
|
25
|
-
#
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
# Ship only the library itself; development scaffolding stays out of the gem.
|
|
26
|
+
spec.files = Dir.chdir(__dir__) do
|
|
27
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
|
28
|
+
f.match(%r{\A(?:spec|bin|pkg|\.github)/}) ||
|
|
29
|
+
f.match(%r{\A(?:\.gitignore|\.rspec|\.ruby-version|\.ruby-gemset|Gemfile|Gemfile\.lock|Rakefile)\z})
|
|
30
|
+
end
|
|
29
31
|
end
|
|
30
|
-
spec.bindir = "exe"
|
|
31
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
32
32
|
spec.require_paths = ["lib"]
|
|
33
33
|
|
|
34
|
-
spec.
|
|
35
|
-
|
|
36
|
-
spec.add_development_dependency "bundler", "~> 1.16"
|
|
37
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
|
38
|
-
spec.add_development_dependency "rspec", "~> 3.0"
|
|
34
|
+
spec.add_dependency "omniauth", "~> 2.0"
|
|
35
|
+
spec.add_dependency "omniauth-oauth2", "~> 1.9"
|
|
39
36
|
end
|
metadata
CHANGED
|
@@ -1,71 +1,42 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-fdc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sreejith Pillai
|
|
8
|
-
|
|
9
|
-
bindir: exe
|
|
8
|
+
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
|
-
name: omniauth
|
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
|
16
|
-
requirements:
|
|
17
|
-
- - ">="
|
|
18
|
-
- !ruby/object:Gem::Version
|
|
19
|
-
version: '0'
|
|
20
|
-
type: :runtime
|
|
21
|
-
prerelease: false
|
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
-
requirements:
|
|
24
|
-
- - ">="
|
|
25
|
-
- !ruby/object:Gem::Version
|
|
26
|
-
version: '0'
|
|
27
|
-
- !ruby/object:Gem::Dependency
|
|
28
|
-
name: bundler
|
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
|
30
|
-
requirements:
|
|
31
|
-
- - "~>"
|
|
32
|
-
- !ruby/object:Gem::Version
|
|
33
|
-
version: '1.16'
|
|
34
|
-
type: :development
|
|
35
|
-
prerelease: false
|
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
-
requirements:
|
|
38
|
-
- - "~>"
|
|
39
|
-
- !ruby/object:Gem::Version
|
|
40
|
-
version: '1.16'
|
|
41
|
-
- !ruby/object:Gem::Dependency
|
|
42
|
-
name: rake
|
|
13
|
+
name: omniauth
|
|
43
14
|
requirement: !ruby/object:Gem::Requirement
|
|
44
15
|
requirements:
|
|
45
16
|
- - "~>"
|
|
46
17
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
48
|
-
type: :
|
|
18
|
+
version: '2.0'
|
|
19
|
+
type: :runtime
|
|
49
20
|
prerelease: false
|
|
50
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
22
|
requirements:
|
|
52
23
|
- - "~>"
|
|
53
24
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
25
|
+
version: '2.0'
|
|
55
26
|
- !ruby/object:Gem::Dependency
|
|
56
|
-
name:
|
|
27
|
+
name: omniauth-oauth2
|
|
57
28
|
requirement: !ruby/object:Gem::Requirement
|
|
58
29
|
requirements:
|
|
59
30
|
- - "~>"
|
|
60
31
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '
|
|
62
|
-
type: :
|
|
32
|
+
version: '1.9'
|
|
33
|
+
type: :runtime
|
|
63
34
|
prerelease: false
|
|
64
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
36
|
requirements:
|
|
66
37
|
- - "~>"
|
|
67
38
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '
|
|
39
|
+
version: '1.9'
|
|
69
40
|
description: In this gem you will find an OmniAuth Fdc strategy
|
|
70
41
|
email:
|
|
71
42
|
- sreejith.gp@icloud.com
|
|
@@ -73,26 +44,21 @@ executables: []
|
|
|
73
44
|
extensions: []
|
|
74
45
|
extra_rdoc_files: []
|
|
75
46
|
files:
|
|
76
|
-
-
|
|
77
|
-
-
|
|
78
|
-
- ".ruby-gemset"
|
|
79
|
-
- ".ruby-version"
|
|
80
|
-
- ".travis.yml"
|
|
81
|
-
- Gemfile
|
|
82
|
-
- Gemfile.lock
|
|
47
|
+
- CHANGELOG.md
|
|
48
|
+
- LICENSE.txt
|
|
83
49
|
- README.md
|
|
84
|
-
- Rakefile
|
|
85
|
-
- bin/console
|
|
86
|
-
- bin/setup
|
|
87
50
|
- lib/omniauth-fdc.rb
|
|
88
51
|
- lib/omniauth-fdc/version.rb
|
|
89
52
|
- lib/omniauth/strategies/fdc.rb
|
|
90
53
|
- omniauth-fdc.gemspec
|
|
91
54
|
homepage: https://github.com/dropstream/omniauth-fdc
|
|
92
|
-
licenses:
|
|
55
|
+
licenses:
|
|
56
|
+
- MIT
|
|
93
57
|
metadata:
|
|
94
58
|
allowed_push_host: https://rubygems.org
|
|
95
|
-
|
|
59
|
+
homepage_uri: https://github.com/dropstream/omniauth-fdc
|
|
60
|
+
changelog_uri: https://github.com/dropstream/omniauth-fdc/blob/master/CHANGELOG.md
|
|
61
|
+
rubygems_mfa_required: 'true'
|
|
96
62
|
rdoc_options: []
|
|
97
63
|
require_paths:
|
|
98
64
|
- lib
|
|
@@ -100,15 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
100
66
|
requirements:
|
|
101
67
|
- - ">="
|
|
102
68
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: '
|
|
69
|
+
version: '3.2'
|
|
104
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
71
|
requirements:
|
|
106
72
|
- - ">="
|
|
107
73
|
- !ruby/object:Gem::Version
|
|
108
74
|
version: '0'
|
|
109
75
|
requirements: []
|
|
110
|
-
rubygems_version: 3.
|
|
111
|
-
signing_key:
|
|
76
|
+
rubygems_version: 3.6.9
|
|
112
77
|
specification_version: 4
|
|
113
78
|
summary: OmniAuth strategy for Fulfillment.com
|
|
114
79
|
test_files: []
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.ruby-gemset
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
omniauth-fdc
|
data/.ruby-version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.4.4
|
data/.travis.yml
DELETED
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
omniauth-fdc (0.1.1)
|
|
5
|
-
omniauth-oauth2
|
|
6
|
-
|
|
7
|
-
GEM
|
|
8
|
-
remote: https://rubygems.org/
|
|
9
|
-
specs:
|
|
10
|
-
diff-lcs (1.3)
|
|
11
|
-
faraday (1.0.1)
|
|
12
|
-
multipart-post (>= 1.2, < 3)
|
|
13
|
-
hashie (4.1.0)
|
|
14
|
-
jwt (2.2.1)
|
|
15
|
-
multi_json (1.14.1)
|
|
16
|
-
multi_xml (0.6.0)
|
|
17
|
-
multipart-post (2.1.1)
|
|
18
|
-
oauth2 (1.4.4)
|
|
19
|
-
faraday (>= 0.8, < 2.0)
|
|
20
|
-
jwt (>= 1.0, < 3.0)
|
|
21
|
-
multi_json (~> 1.3)
|
|
22
|
-
multi_xml (~> 0.5)
|
|
23
|
-
rack (>= 1.2, < 3)
|
|
24
|
-
omniauth (1.9.1)
|
|
25
|
-
hashie (>= 3.4.6)
|
|
26
|
-
rack (>= 1.6.2, < 3)
|
|
27
|
-
omniauth-oauth2 (1.6.0)
|
|
28
|
-
oauth2 (~> 1.1)
|
|
29
|
-
omniauth (~> 1.9)
|
|
30
|
-
rack (2.2.3)
|
|
31
|
-
rake (10.5.0)
|
|
32
|
-
rspec (3.8.0)
|
|
33
|
-
rspec-core (~> 3.8.0)
|
|
34
|
-
rspec-expectations (~> 3.8.0)
|
|
35
|
-
rspec-mocks (~> 3.8.0)
|
|
36
|
-
rspec-core (3.8.0)
|
|
37
|
-
rspec-support (~> 3.8.0)
|
|
38
|
-
rspec-expectations (3.8.2)
|
|
39
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
40
|
-
rspec-support (~> 3.8.0)
|
|
41
|
-
rspec-mocks (3.8.0)
|
|
42
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
43
|
-
rspec-support (~> 3.8.0)
|
|
44
|
-
rspec-support (3.8.0)
|
|
45
|
-
|
|
46
|
-
PLATFORMS
|
|
47
|
-
ruby
|
|
48
|
-
|
|
49
|
-
DEPENDENCIES
|
|
50
|
-
bundler (~> 1.16)
|
|
51
|
-
omniauth-fdc!
|
|
52
|
-
rake (~> 10.0)
|
|
53
|
-
rspec (~> 3.0)
|
|
54
|
-
|
|
55
|
-
BUNDLED WITH
|
|
56
|
-
1.17.3
|
data/Rakefile
DELETED
data/bin/console
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
|
|
3
|
-
require "bundler/setup"
|
|
4
|
-
require "omniauth/fdc"
|
|
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__)
|