diff --git a/Gemfile b/Gemfile index 1c5c25c..bac8367 100644 --- a/Gemfile +++ b/Gemfile @@ -11,9 +11,4 @@ group :test do gem 'sqlite3', '~> 1.4.0' gem 'capybara' gem 'poltergeist' - - # Lock down versions of gems for older versions of Ruby - if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new("2.4") - gem 'responders', '~> 2.4' - end end diff --git a/README.md b/README.md index 2baef9a..3163bb7 100644 --- a/README.md +++ b/README.md @@ -6,18 +6,15 @@ It uses [ruby-saml][] to handle all SAML-related stuff. ## Installation -Add this line to your application's Gemfile: +Add this gem to your application's Gemfile: - gem 'devise_saml_authenticatable' + git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } + gem "devise_saml_authenticatable", github: "apokalipto/devise_saml_authenticatable" And then execute: $ bundle -Or install it yourself as: - - $ gem install devise_saml_authenticatable - ## Usage Follow the [normal devise installation process](https://github.com/plataformatec/devise/tree/master#getting-started). The controller filters and helpers are unchanged from normal devise usage. diff --git a/lib/devise_saml_authenticatable/version.rb b/lib/devise_saml_authenticatable/version.rb index 507ec9c..24c2b2b 100644 --- a/lib/devise_saml_authenticatable/version.rb +++ b/lib/devise_saml_authenticatable/version.rb @@ -1,3 +1,3 @@ module DeviseSamlAuthenticatable - VERSION = "1.5.0" + VERSION = "1.6.0" end diff --git a/spec/support/Gemfile.rails4 b/spec/support/Gemfile.rails4 index f1fd48b..7502bd6 100644 --- a/spec/support/Gemfile.rails4 +++ b/spec/support/Gemfile.rails4 @@ -30,4 +30,12 @@ group :test do elsif Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new("2.4") gem 'responders', '~> 2.0' end + + if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new("2.2") + gem 'byebug', '~> 9.0' + elsif Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new("2.3") + gem 'byebug', '~> 10.0' + elsif Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new("2.4") + gem 'byebug', '~> 11.0.0' + end end diff --git a/spec/support/Gemfile.rails5 b/spec/support/Gemfile.rails5 index 818b4be..bc3ee5b 100644 --- a/spec/support/Gemfile.rails5 +++ b/spec/support/Gemfile.rails5 @@ -16,4 +16,10 @@ group :test do if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new("2.4") gem 'responders', '~> 2.4' end + + if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new("2.3") + gem 'byebug', '~> 10.0' + elsif Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new("2.4") + gem 'byebug', '~> 11.0.0' + end end diff --git a/spec/support/Gemfile.rails5.1 b/spec/support/Gemfile.rails5.1 index 6f6798d..2156e9a 100644 --- a/spec/support/Gemfile.rails5.1 +++ b/spec/support/Gemfile.rails5.1 @@ -16,4 +16,10 @@ group :test do if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new("2.4") gem 'responders', '~> 2.4' end + + if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new("2.3") + gem 'byebug', '~> 10.0' + elsif Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new("2.4") + gem 'byebug', '~> 11.0.0' + end end diff --git a/spec/support/Gemfile.rails5.2 b/spec/support/Gemfile.rails5.2 index 8a479d8..7edc5c2 100644 --- a/spec/support/Gemfile.rails5.2 +++ b/spec/support/Gemfile.rails5.2 @@ -16,4 +16,10 @@ group :test do if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new("2.4") gem 'responders', '~> 2.4' end + + if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new("2.3") + gem 'byebug', '~> 10.0' + elsif Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new("2.4") + gem 'byebug', '~> 11.0.0' + end end