omniauth-fdc 0.1.1 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2975bc483d12b4b7a724e5b3f1c8ed5b6704c96668cbd462220c1d7a5a219463
4
- data.tar.gz: ab0cdd65d0018c9ef9f7033a751efc6800ddfbf637b6aeaf93bb4db0fb1b48ea
3
+ metadata.gz: 03f3f116f55ffd9ff8f27f64a0a0945fc493bab63561e232c384987c17609995
4
+ data.tar.gz: 2b6e24afd77dc0942302dc2b1b0a68bd2652d5c3e2f61f1eee6ac7d25194927f
5
5
  SHA512:
6
- metadata.gz: 8568de1e5f98a4d9651cb84222ca37966c4e9b3d695fdf14b8b4d094306957eac2053c99e377c5578dc000ebc7de273079b81693d173afc25c3fc426b2871e78
7
- data.tar.gz: e0c0b89584e44a2605eea3b1fcd2e0e03d32a96e75e26e2150b81481f0d9cdc0a053d9aa9058aa1f257a5988a39e49a810908b9be823f82b5b04a53c93cbba48
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
- 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/fdc`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ This is an OmniAuth strategy for authenticating to [Fulfillment.com](https://www.fulfillment.com).
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
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
- TODO: Write usage instructions here
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`. 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).
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/[USERNAME]/omniauth-fdc.
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,13 +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
- }
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.
23
+ def callback_url
24
+ options[:callback_url] || (full_host + callback_path)
25
+ end
11
26
  end
12
27
  end
13
28
  end
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Omniauth
2
4
  module Fdc
3
- VERSION = "0.1.1"
5
+ VERSION = "0.2.0"
4
6
  end
5
7
  end
data/lib/omniauth-fdc.rb CHANGED
@@ -1,2 +1,4 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "omniauth-fdc/version"
2
4
  require 'omniauth/strategies/fdc'
data/omniauth-fdc.gemspec CHANGED
@@ -1,5 +1,6 @@
1
+ # frozen_string_literal: true
1
2
 
2
- lib = File.expand_path("../lib", __FILE__)
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 = %q{OmniAuth strategy for Fulfillment.com}
13
- spec.description = %q{In this gem you will find an OmniAuth Fdc strategy}
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
- # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
17
- # to allow pushing to a single host or delete this section to allow pushing to any host.
18
- if spec.respond_to?(:metadata)
19
- spec.metadata["allowed_push_host"] = "https://rubygems.org"
20
- else
21
- raise "RubyGems 2.0 or newer is required to protect against " \
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
- # Specify which files should be added to the gem when it is released.
26
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
27
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
28
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
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.add_runtime_dependency 'omniauth-oauth2'
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.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sreejith Pillai
8
- autorequire:
9
- bindir: exe
8
+ bindir: bin
10
9
  cert_chain: []
11
- date: 2020-05-21 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
- name: omniauth-oauth2
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: '10.0'
48
- type: :development
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: '10.0'
25
+ version: '2.0'
55
26
  - !ruby/object:Gem::Dependency
56
- name: rspec
27
+ name: omniauth-oauth2
57
28
  requirement: !ruby/object:Gem::Requirement
58
29
  requirements:
59
30
  - - "~>"
60
31
  - !ruby/object:Gem::Version
61
- version: '3.0'
62
- type: :development
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: '3.0'
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
- - ".gitignore"
77
- - ".rspec"
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
- post_install_message:
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: '0'
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.0.6
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
@@ -1,11 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
9
-
10
- # rspec failure tracking
11
- .rspec_status
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --color
3
- --require spec_helper
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
@@ -1,7 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.4.4
7
- before_install: gem install bundler -v 1.16.6
data/Gemfile DELETED
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
-
5
- # Specify your gem's dependencies in omniauth-fdc.gemspec
6
- gemspec
data/Gemfile.lock DELETED
@@ -1,56 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- omniauth-fdc (0.1.0)
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.2)
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
@@ -1,6 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
-
4
- RSpec::Core::RakeTask.new(:spec)
5
-
6
- task :default => :spec
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__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
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