autoproj 2.8.4 → 2.8.5.b1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 651f60fc325d3c89f2c228b21cba6fbb4e59f6ef265519c886cc902ea7b447c5
4
- data.tar.gz: 6c5444bb162212e02591fc44103c590ebf32cd57e71ac404b126f7ff81464d21
3
+ metadata.gz: c07bd3ea7d39baa65fee835e47fcefa3b0d1eb2e54b386734b736b529b7fca67
4
+ data.tar.gz: 1beb2540b5f04deca745b843a7ac9e88b984ae80e28a81ae581a579eaa5805b2
5
5
  SHA512:
6
- metadata.gz: eb567f162a65b45a85bfe6ec630cdc60dc47d599466a362f1af6f74cc887805273acd30e2bc91841c895fe2cef77422caba8ab44151aad7501757de8c78517eb
7
- data.tar.gz: 43d29cde118d224707c4fed2b40662277a745a9a98a8e768f574d3cf83292afa6dac9aed427a8631f36068a81bd2bbf33f75d3fc1044608f7b3052f0beb32d98
6
+ metadata.gz: 24175df94d84ec5ea34576466fdaadfa166d8e0b277eb2364efbee971c79cad62f2a20449243a9fddbdc10375f524681d96fb8ed7a4c67e56f251c941bb87cc4
7
+ data.tar.gz: cb1935cdfb1c399fba76160f7c6e6b8a13cc118c3e347597acbac295ec8986662fb05836d89d7a3cc109334ae1c98b85900497074308449cfecd75717be1a07e
@@ -170,7 +170,9 @@ def backup_clean(mapping)
170
170
  end
171
171
  end
172
172
 
173
- def self.run_bundler_install(ws, gemfile, *options, update: true, binstubs: nil, gem_path: ws.config.gems_install_path)
173
+ def self.run_bundler_install(ws, gemfile, *options, update: true, binstubs: nil,
174
+ gem_home: ws.config.gems_gem_home,
175
+ gem_path: ws.config.gems_install_path)
174
176
  if update && File.file?("#{gemfile}.lock")
175
177
  FileUtils.rm "#{gemfile}.lock"
176
178
  end
@@ -182,7 +184,7 @@ def self.run_bundler_install(ws, gemfile, *options, update: true, binstubs: nil,
182
184
  end
183
185
 
184
186
  connections = Set.new
185
- run_bundler(ws, 'install', *options, gemfile: gemfile) do |line|
187
+ run_bundler(ws, 'install', *options, gem_home: gem_home, gemfile: gemfile) do |line|
186
188
  case line
187
189
  when /Installing (.*)/
188
190
  Autobuild.message " bundler: installing #{$1}"
@@ -196,18 +198,18 @@ def self.run_bundler_install(ws, gemfile, *options, update: true, binstubs: nil,
196
198
  end
197
199
  end
198
200
 
199
- def self.bundle_gem_path(ws, gem_name, gemfile: nil)
201
+ def self.bundle_gem_path(ws, gem_name, gem_home: nil, gemfile: nil)
200
202
  path = String.new
201
- PackageManagers::BundlerManager.run_bundler(ws, 'show', gem_name, gemfile: gemfile) do |line|
203
+ PackageManagers::BundlerManager.run_bundler(ws, 'show', gem_name, gem_home: gem_home, gemfile: gemfile) do |line|
202
204
  path << line
203
205
  end
204
206
  path.chomp
205
207
  end
206
208
 
207
- def self.run_bundler(ws, *commandline, gemfile: nil)
209
+ def self.run_bundler(ws, *commandline, gem_home: nil, gemfile: nil)
208
210
  Bundler.with_clean_env do
209
211
  target_env = Hash[
210
- 'GEM_HOME' => nil,
212
+ 'GEM_HOME' => gem_home,
211
213
  'GEM_PATH' => nil,
212
214
  'BUNDLE_GEMFILE' => gemfile,
213
215
  'RUBYOPT' => nil,
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "2.8.4"
2
+ VERSION = "2.8.5.b1"
3
3
  end
@@ -385,7 +385,7 @@ def update_autoproj(restart_on_update: true)
385
385
  binstubs = File.join(dot_autoproj_dir, 'bin')
386
386
  if restart_on_update
387
387
  old_autoproj_path = PackageManagers::BundlerManager.bundle_gem_path(
388
- self, 'autoproj', gemfile: gemfile)
388
+ self, 'autoproj', gem_home: config.gems_gem_home, gemfile: gemfile)
389
389
  end
390
390
  begin
391
391
  Autoproj.message " updating autoproj"
@@ -396,7 +396,7 @@ def update_autoproj(restart_on_update: true)
396
396
  end
397
397
  if restart_on_update
398
398
  new_autoproj_path = PackageManagers::BundlerManager.bundle_gem_path(
399
- self, 'autoproj', gemfile: gemfile)
399
+ self, 'autoproj', gem_home: config.gems_gem_home, gemfile: gemfile)
400
400
  end
401
401
 
402
402
  # First things first, see if we need to update ourselves
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoproj
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.4
4
+ version: 2.8.5.b1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvain Joyeux
@@ -437,9 +437,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
437
437
  version: 2.1.0
438
438
  required_rubygems_version: !ruby/object:Gem::Requirement
439
439
  requirements:
440
- - - ">="
440
+ - - ">"
441
441
  - !ruby/object:Gem::Version
442
- version: '0'
442
+ version: 1.3.1
443
443
  requirements: []
444
444
  rubyforge_project:
445
445
  rubygems_version: 2.7.6