omniauth-shipbob 0.0.2 → 0.1.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: c6c4df1a2ed0e54d50053ec4c16044628289af2485eae44b10f95b3a7538f271
4
- data.tar.gz: 3b60031b3d80f56a4101f783db6c69fa7229dd58f50934931f686520d54998c4
3
+ metadata.gz: add429b715eade981bc48e54a292d7faab824797c1da4c1bab33fa8400e7fa3b
4
+ data.tar.gz: c3d8f06da521066571d7999402ce7f1025af46d8c252054c22ac2ef634515e91
5
5
  SHA512:
6
- metadata.gz: d37936c44401fcd7c769a8364464fbca3e1c3148c79853afec1a9e97328940e0507cb4b55dd205fa2d57f0acb8c28c11c7659b68d9c49b232a25b59b6add98dc
7
- data.tar.gz: 47072c6175ac5c3d7d11f29fa7262ed29fd28380794d309878e5ada2fdecf180dede98ee13d899b4d6bc620559d330d352ebc5f58857c7123473953fd4a1757d
6
+ metadata.gz: 7ef0cd947dbfe468eccc504c1aa32f7b4fbfe9432a5d1aae08a101d39bad3b65fa85f810e2da1ecbbff65e8a86c5b8cefe48d5508dfc586b4285e0fd87a64c65
7
+ data.tar.gz: 83e449907e6c4f23f8e7a83452aaf5090db62444c01885f58eb3ce5a3bf278b79b030a77abf40efb76cfbbdd4cddd0efac0c9b897c37735335645973b9925569
data/CHANGELOG.md ADDED
@@ -0,0 +1,48 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project are documented in this file.
4
+
5
+ ## [0.1.0] - 2026-08-19
6
+
7
+ ### Changed
8
+
9
+ - **Breaking:** requires `omniauth ~> 2.0` and `omniauth-oauth2 ~> 1.9` (previously
10
+ unpinned, which resolved to `omniauth 1.9` / `oauth2 1.4`). Host applications must
11
+ 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 ShipBob 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 by pushing a `v*` tag: the `Release` workflow reruns the matrix,
21
+ checks the tag against `version.rb`, publishes to RubyGems.org via trusted publishing
22
+ (OIDC, no stored API key), and opens a GitHub release from this changelog.
23
+
24
+ ### Added
25
+
26
+ - `LICENSE.txt` (MIT), now declared in the gemspec.
27
+ - `channel_url`, which builds the channel endpoint from `api_url` and tolerates a
28
+ trailing slash on the configured value.
29
+ - Integration specs covering the request phase, the token exchange, the `redirect_uri`
30
+ override and the auth hash (including `channel_id`), against both the production and
31
+ sandbox hosts.
32
+
33
+ ### Fixed
34
+
35
+ - Channel lookup failures are now logged instead of being silently discarded.
36
+ - `bin/console` required a non-existent `omniauth/fdc` file.
37
+ - Development scripts in `bin/` are no longer packaged as gem executables.
38
+
39
+ ## [0.0.3]
40
+
41
+ - `api_url` is now a strategy option, defaulting to `https://api.shipbob.com/1.0`, so
42
+ the channel lookup can point at ShipBob's sandbox (#10).
43
+ - `callback_url` is overridden so query params from a configured `redirect_uri` are not
44
+ sent to ShipBob (#7).
45
+
46
+ ## [0.0.2]
47
+
48
+ - Initial published strategy.
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019-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,6 +1,8 @@
1
1
  # Omniauth::Shipbob
2
2
 
3
- This is an OmniAuth strategy for authenticating to ShipBob.
3
+ This is an OmniAuth strategy for authenticating to ShipBob.
4
+
5
+ Requires Ruby >= 3.2, OmniAuth 2.x and `omniauth-oauth2` 1.9.x.
4
6
 
5
7
  ## Installation
6
8
 
@@ -20,6 +22,14 @@ Or install it yourself as:
20
22
 
21
23
  ## Usage
22
24
 
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
+
23
33
  ```ruby
24
34
  Rails.application.config.middleware.use OmniAuth::Builder do
25
35
  provider :shipbob,
@@ -43,13 +53,64 @@ You can configure integration_name through the authorize_params hash:
43
53
  end
44
54
  ```
45
55
 
56
+ ### Configure the API endpoint
57
+
58
+ `api_url` sets the host the strategy calls to look up the channel id that lands in
59
+ `credentials['channel_id']`. It defaults to `https://api.shipbob.com/1.0`.
60
+
61
+ ### Configure for Sandbox ENV
62
+
63
+ Configure these options to use ShipBob's [sandbox](https://developer.shipbob.com/sandbox-simulations) environment.
64
+
65
+ ```ruby
66
+ Rails.application.config.middleware.use OmniAuth::Builder do
67
+ provider :shipbob,
68
+ ...,
69
+ api_url: 'https://sandbox-api.shipbob.com/2.0',
70
+ client_options: {
71
+ site: 'https://authstage.shipbob.com'
72
+ },
73
+ end
74
+ ```
75
+
46
76
 
47
77
  ## Development
48
78
 
49
- 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.
79
+ 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.
80
+
81
+ To install this gem onto your local machine, run `bundle exec rake install`.
82
+
83
+ ## Releasing
84
+
85
+ Releases are cut by pushing a tag; GitHub Actions builds and publishes the gem to
86
+ [rubygems.org](https://rubygems.org) via
87
+ [RubyGems trusted publishing](https://guides.rubygems.org/trusted-publishing/), so no API
88
+ key is stored in the repo and the gemspec can keep `rubygems_mfa_required`.
50
89
 
51
- 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).
90
+ 1. Bump `VERSION` in `lib/omniauth-shipbob/version.rb` and add a `CHANGELOG.md` section
91
+ for it (the release notes are taken from that section).
92
+ 2. Commit both on `master`.
93
+ 3. Tag and push:
94
+
95
+ ```sh
96
+ git tag -a v0.1.0 -m "v0.1.0"
97
+ git push origin master --tags
98
+ ```
99
+
100
+ The `Release` workflow then runs the full test matrix, refuses to continue if the tag and
101
+ `version.rb` disagree, pushes the gem, and opens a GitHub release.
102
+
103
+ ### One-time RubyGems setup
104
+
105
+ Before the first automated release, register this repo as a trusted publisher: on
106
+ rubygems.org open the gem → **Trusted publishers** → **Create**, with owner
107
+ `dropstream`, repository `omniauth-shipbob`, workflow `release.yml`, and environment
108
+ `release`.
52
109
 
53
110
  ## Contributing
54
111
 
55
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/omniauth-fdc.
112
+ Bug reports and pull requests are welcome on GitHub at https://github.com/dropstream/omniauth-shipbob.
113
+
114
+ ## License
115
+
116
+ Available as open source under the terms of the [MIT License](LICENSE.txt).
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  require 'omniauth-oauth2'
3
4
  require 'json'
@@ -5,15 +6,20 @@ require 'json'
5
6
  module OmniAuth
6
7
  module Strategies
7
8
  class Shipbob < OmniAuth::Strategies::OAuth2
9
+ DEFAULT_API_URL = 'https://api.shipbob.com/1.0'
8
10
 
9
11
  option :client_options, {
10
12
  :authorize_url => '/connect/integrate',
11
13
  :token_url => '/connect/token',
12
- :site => 'https://auth.shipbob.com'
14
+ :site => 'https://auth.shipbob.com',
15
+ # oauth2 2.x defaults to :basic_auth; ShipBob expects the client
16
+ # credentials in the token request body, which was the oauth2 1.x default.
17
+ :auth_scheme => :request_body
13
18
  }
14
-
19
+
15
20
  option :authorize_params, { :response_mode => 'form_post' }
16
-
21
+ option :api_url, DEFAULT_API_URL
22
+
17
23
  credentials do
18
24
  hash = {"token" => access_token.token}
19
25
  hash["refresh_token"] = access_token.refresh_token if access_token.expires? && access_token.refresh_token
@@ -22,15 +28,25 @@ module OmniAuth
22
28
  hash['channel_id'] = get_channel_id(access_token)
23
29
  hash
24
30
  end
25
-
31
+
26
32
  def get_channel_id(token)
27
33
  log :info, 'Calling API to get Channel Id.'
28
- response = token.get('https://api.shipbob.com/1.0/channel', :headers => { 'Content-Type' => 'application/json' })
34
+ response = token.get(channel_url, :headers => { 'Content-Type' => 'application/json' })
29
35
  JSON.parse(response.body).dig(0, "id")
30
- rescue => e
31
- nil
36
+ rescue StandardError => e
37
+ log :error, "Failed to fetch ShipBob Channel Id: #{e.class}: #{e.message}"
38
+ nil
39
+ end
40
+
41
+ # The channel endpoint on the configured API host, e.g. ShipBob's sandbox.
42
+ def channel_url
43
+ "#{options.api_url.to_s.chomp('/')}/channel"
44
+ end
45
+
46
+ # override callback_url to avoid sending query params along with specified redirect_uri
47
+ def callback_url
48
+ full_host + script_name + callback_path
32
49
  end
33
-
34
50
  end
35
51
  end
36
52
  end
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Shipbob
3
- VERSION = "0.0.2"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
@@ -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-shipbob/version"
5
6
 
@@ -9,31 +10,27 @@ Gem::Specification.new do |spec|
9
10
  spec.authors = ["Venkata Kishor"]
10
11
  spec.email = ["kishore.venkat@getdropstream.com"]
11
12
 
12
- spec.summary = %q{OmniAuth strategy for ShipBob}
13
- spec.description = %q{In this gem you will find an OmniAuth ShipBob strategy}
13
+ spec.summary = "OmniAuth strategy for ShipBob"
14
+ spec.description = "In this gem you will find an OmniAuth ShipBob strategy"
14
15
  spec.homepage = "https://github.com/dropstream/omniauth-shipbob"
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-shipbob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Venkata Kishor
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 ShipBob strategy
70
41
  email:
71
42
  - kishore.venkat@getdropstream.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-shipbob.rb
88
51
  - lib/omniauth-shipbob/version.rb
89
52
  - lib/omniauth/strategies/shipbob.rb
90
53
  - omniauth-shipbob.gemspec
91
54
  homepage: https://github.com/dropstream/omniauth-shipbob
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-shipbob
60
+ changelog_uri: https://github.com/dropstream/omniauth-shipbob/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 ShipBob
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-shipbob
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,4 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- # Specify your gem's dependencies in omniauth-fdc.gemspec
4
- gemspec
data/Gemfile.lock DELETED
@@ -1,56 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- omniauth-shipbob (0.0.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.2)
31
- rake (10.5.0)
32
- rspec (3.9.0)
33
- rspec-core (~> 3.9.0)
34
- rspec-expectations (~> 3.9.0)
35
- rspec-mocks (~> 3.9.0)
36
- rspec-core (3.9.0)
37
- rspec-support (~> 3.9.0)
38
- rspec-expectations (3.9.0)
39
- diff-lcs (>= 1.2.0, < 2.0)
40
- rspec-support (~> 3.9.0)
41
- rspec-mocks (3.9.0)
42
- diff-lcs (>= 1.2.0, < 2.0)
43
- rspec-support (~> 3.9.0)
44
- rspec-support (3.9.0)
45
-
46
- PLATFORMS
47
- ruby
48
-
49
- DEPENDENCIES
50
- bundler (~> 1.16)
51
- omniauth-shipbob!
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