diff options
author | Erick Sasse <esasse@gmail.com> | 2015-07-17 21:08:42 -0300 |
---|---|---|
committer | Erick Sasse <esasse@gmail.com> | 2015-07-17 21:08:42 -0300 |
commit | c0f5855a70942f8d969a3c68706ca0e8d6c1bfab (patch) | |
tree | 85f2af71ed46627dcb092cd7f77fdafc6ae37964 /lib/bundler | |
parent | 7515ea86066b0f81f93a212b22a2219605aa7e75 (diff) | |
download | bundler-c0f5855a70942f8d969a3c68706ca0e8d6c1bfab.tar.gz |
Fix Style/SpaceBeforeSemicolon
Diffstat (limited to 'lib/bundler')
-rw-r--r-- | lib/bundler/rubygems_integration.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bundler/rubygems_integration.rb b/lib/bundler/rubygems_integration.rb index 272276a3..3d99ad9b 100644 --- a/lib/bundler/rubygems_integration.rb +++ b/lib/bundler/rubygems_integration.rb @@ -330,7 +330,7 @@ module Bundler # under bundler. The new Gem.bin_path only considers gems in # +specs+ def replace_bin_path(specs) - gem_class = (class << Gem ; self ; end) + gem_class = (class << Gem; self; end) redefine_method(gem_class, :bin_path) do |name, *args| exec_name = args.first @@ -362,7 +362,7 @@ module Bundler # Because Bundler has a static view of what specs are available, # we don't #refresh, so stub it out. def replace_refresh - gem_class = (class << Gem ; self ; end) + gem_class = (class << Gem; self; end) redefine_method(gem_class, :refresh) { } end @@ -446,7 +446,7 @@ module Bundler def stub_rubygems(specs) # Rubygems versions lower than 1.7 use SourceIndex#from_gems_in - source_index_class = (class << Gem::SourceIndex ; self ; end) + source_index_class = (class << Gem::SourceIndex; self; end) source_index_class.send(:define_method, :from_gems_in) do |*args| source_index = Gem::SourceIndex.new source_index.spec_dirs = *args |