fixed issues with gem release
parent
e0307be166
commit
5da4c4539d
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
require "bundler/setup"
|
||||
require "omniauth/omniauth-keycloak"
|
||||
|
||||
# You can add fixtures and/or initialization code here to make experimenting
|
||||
# with your gem easier. You can also use a different console, if you like.
|
||||
|
||||
# (If you use this, don't forget to add pry to your Gemfile!)
|
||||
# require "pry"
|
||||
# Pry.start
|
||||
|
||||
require "irb"
|
||||
IRB.start(__FILE__)
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
set -vx
|
||||
|
||||
bundle install
|
||||
|
||||
# Do any other automated setup that you need to do here
|
|
@ -9,17 +9,13 @@ Gem::Specification.new do |spec|
|
|||
spec.summary = spec.description
|
||||
spec.homepage = "https://github.com/ccrockett/omniauth-keycloak"
|
||||
spec.license = "MIT"
|
||||
spec.required_rubygems_version = '>= 1.3.5'
|
||||
spec.required_ruby_version = '>= 2.2'
|
||||
|
||||
# Specify which files should be added to the gem when it is released.
|
||||
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
||||
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
||||
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^lib/}) }
|
||||
end
|
||||
|
||||
spec.bindir = "exe"
|
||||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
||||
spec.require_paths = ["lib"]
|
||||
|
||||
gem.executables = `git ls-files -- bin/*`.split("\n").collect { |f| File.basename(f) }
|
||||
gem.files = `git ls-files`.split("\n")
|
||||
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
||||
|
||||
spec.add_dependency "omniauth", "~> 1.8.1"
|
||||
spec.add_dependency "omniauth-oauth2", "~> 1.5.0"
|
||||
|
|
Loading…
Reference in New Issue