Skip to content

Commit

Permalink
Merge 0d14733 into cc0f552
Browse files Browse the repository at this point in the history
  • Loading branch information
pat committed Jul 16, 2019
2 parents cc0f552 + 0d14733 commit 7924838
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
16 changes: 9 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
bundler_args: --without development
before_install:
- gem update --system
- gem update bundler
- gem install bundler --version 1.17.3
install:
- bundle _1.17.3_ install --jobs=3 --retry=3
cache: bundler
env:
global:
- JRUBY_OPTS="$JRUBY_OPTS --debug"
language: ruby
rvm:
- jruby-9000
- 2.2.9
- 2.3.5
- 2.4.4
- 2.5.3
- jruby-9.2.7.0
- 2.2.10
- 2.3.8
- 2.4.6
- 2.5.5
- 2.6.3
- jruby-head
- ruby-head
matrix:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ group :test do
gem 'rack-test'
gem 'rest-client', '~> 2.0.0', :platforms => [:jruby_18]
gem 'rspec', '~> 3.5.0'
gem 'rubocop', '>= 0.58.2', :platforms => %i[ruby_20 ruby_21 ruby_22 ruby_23 ruby_24]
gem 'rubocop', '~> 0.58.2', :platforms => %i[ruby_20 ruby_21 ruby_22 ruby_23 ruby_24]
gem 'tins', '~> 1.13.0', :platforms => %i[jruby_18 jruby_19 ruby_19]
end

Expand Down
2 changes: 1 addition & 1 deletion lib/omniauth/strategy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def setup_path
options[:setup_path] || "#{path_prefix}/#{name}/setup"
end

CURRENT_PATH_REGEX = %r{/$}.freeze
CURRENT_PATH_REGEX = %r{/$}
EMPTY_STRING = ''.freeze
def current_path
@current_path ||= request.path_info.downcase.sub(CURRENT_PATH_REGEX, EMPTY_STRING)
Expand Down

0 comments on commit 7924838

Please sign in to comment.