diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-01 23:29:38 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-01 23:29:38 +0000 |
commit | be7b5929126cb3e696ef222339237faba9b8fe5a (patch) | |
tree | 51eae376f93c09bc82dde5a657a91df2c89062e4 /spec/bundler/support/artifice/compact_index_creds_diff_host.rb | |
parent | ae49dbd392083f69026f2a0fff4a1d5f42d172a7 (diff) | |
download | ruby-be7b5929126cb3e696ef222339237faba9b8fe5a.tar.gz |
Update bundled bundler to 1.16.0.
* lib/bundler, spec/bundler: Merge bundler-1.16.0.
* common.mk: rspec examples of bundler-1.16.0 needs require option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/bundler/support/artifice/compact_index_creds_diff_host.rb')
-rw-r--r-- | spec/bundler/support/artifice/compact_index_creds_diff_host.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/bundler/support/artifice/compact_index_creds_diff_host.rb b/spec/bundler/support/artifice/compact_index_creds_diff_host.rb index 0c417f0580..0d349bcc1e 100644 --- a/spec/bundler/support/artifice/compact_index_creds_diff_host.rb +++ b/spec/bundler/support/artifice/compact_index_creds_diff_host.rb @@ -1,4 +1,5 @@ # frozen_string_literal: true + require File.expand_path("../compact_index", __FILE__) Artifice.deactivate @@ -10,7 +11,7 @@ class CompactIndexCredsDiffHost < CompactIndexAPI end def authorized? - auth.provided? && auth.basic? && auth.credentials && auth.credentials == %w(user pass) + auth.provided? && auth.basic? && auth.credentials && auth.credentials == %w[user pass] end def protected! |