/instiki/svnpassword

To download this project, use:
bzr branch https://golem.ph.utexas.edu/~distler/code/instiki/svn/

« back to all changes in this revision

Viewing changes to bundle

  • Committer: Jacques Distler
  • Date: 2016年01月05日 02:19:15 UTC
  • Revision ID: distler@golem.ph.utexas.edu-20160105021915-wesgmmalqrxcsiqf
Ruby 2.3 Compatibility

Show diffs side-by-side

added added

removed removed

Lines of Context:
bundle
8
8
9
9
require 'rubygems'
10
10
vend = File.join(File.dirname(__FILE__), 'vendor')
11
Gem.use_paths File.join(vend, 'bundle', File.basename(Gem.dir)), (Gem.path + [File.join(vend, 'plugins', 'bundler')])
12
13
version = ">= 0"
14
15
if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? 1ドル then
16
version = 1ドル
17
ARGV.shift
11
#Gem.use_paths File.join(vend, 'bundle', 'ruby', File.basename(Gem.dir)), ([File.join(vend, 'plugins', 'bundler')] + Gem.path)
12
Gem.use_paths File.join(vend, 'bundle', 'ruby', File.basename(Gem.dir)), [File.join(vend, 'plugins', 'bundler')]
13
14
version = ">= 0.a"
15
16
if ARGV.first
17
str = ARGV.first
18
str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding
19
if str =~ /\A_(.*)_\z/ and Gem::Version.correct?(1ドル) then
20
version = 1ドル
21
ARGV.shift
22
end
18
23
end
19
24
20
25
gem 'bundler', version

AltStyle によって変換されたページ (->オリジナル) /