diff --git a/Gemfile.lock b/Gemfile.lock index 0934c8c..cb16771 100755 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - omniauth-keycloak (1.0.0) + omniauth-keycloak (1.0.1) json-jwt (~> 1.9.4) omniauth (~> 1.8.1) omniauth-oauth2 (~> 1.5.0) @@ -18,7 +18,7 @@ GEM public_suffix (>= 2.0.2, < 4.0) aes_key_wrap (1.0.1) bindata (2.4.4) - concurrent-ruby (1.0.5) + concurrent-ruby (1.1.3) crack (0.4.3) safe_yaml (~> 1.0.0) diff-lcs (1.3) @@ -52,7 +52,7 @@ GEM oauth2 (~> 1.1) omniauth (~> 1.2) public_suffix (3.0.3) - rack (2.0.5) + rack (2.0.6) rake (10.5.0) rspec (3.8.0) rspec-core (~> 3.8.0) diff --git a/lib/keycloak/version.rb b/lib/keycloak/version.rb index 5f4c5bf..f483d3b 100755 --- a/lib/keycloak/version.rb +++ b/lib/keycloak/version.rb @@ -1,5 +1,5 @@ module Omniauth module Keycloak - VERSION = "1.0.0" + VERSION = "1.0.1" end end diff --git a/omniauth-keycloak.gemspec b/omniauth-keycloak.gemspec index 0c32f89..51a2722 100755 --- a/omniauth-keycloak.gemspec +++ b/omniauth-keycloak.gemspec @@ -12,10 +12,16 @@ Gem::Specification.new do |spec| 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") + 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"