tara 0.8.0 → 0.9.0

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
  SHA1:
3
- metadata.gz: 2f6d8c177a714c7ea7084a545c234b1dd2de8780
4
- data.tar.gz: f7b28cc182d6cdb559ff7eac415bc381fe698b9c
3
+ metadata.gz: 2514f74e17c4722fa3530c33316677f0172fe33d
4
+ data.tar.gz: 1894ece840918e760f6748df9fb1d84b712a1d28
5
5
  SHA512:
6
- metadata.gz: 1aaa40b2021457b8669fc9bc606b3948b743fd64bef12f2264cb750cd8678cbc58236bef65ded88048014251a26f4e390ad774eff429547587a8dfff0c30153f
7
- data.tar.gz: e54acb8ccb9f95459b98bac1a919148e31beb4440a7f583c3899c756d86b68f565d02d93cbbd6dcddd7c0367c519551d3bc02806b4171d9bc7879fbe5d0564a6
6
+ metadata.gz: 5c85ee0535398762502858583c0acc3a0a2d43e66f55137755bb0e93fe04990c8360fab04e1277ceff0e573de59a3a10c660b140f1e0775d66d9d399756dbe1e
7
+ data.tar.gz: 00e1cc05a57f97157cc5129f7151cc3080fa43a9ea9746a54dae2a9f2c026a50da06d1dd53ee8211d2d0af2b4e02adef3fa72a17e7bea5266afc4372c34e41d4
@@ -39,6 +39,8 @@ module Tara
39
39
  # the directory where the archive will be created.
40
40
  # @option config [Boolean] :bundle_ignore_config (false)
41
41
  # if Bundler config should be ignored when installing dependencies
42
+ # @option config [Integer] :bundle_jobs (4)
43
+ # the number of parallel workers to be used when installing gems
42
44
  # @option config [String] :download_dir (File.join(@config[:build_dir], 'downloads'))
43
45
  # the directory where Traveling Ruby artifacts will be downloaded.
44
46
  # @option config [String] :archive_name (@config[:app_name] + '.tgz') name of the archive
@@ -9,6 +9,7 @@ module Tara
9
9
  @without_groups = options[:without_groups]
10
10
  @app_dir = Pathname.new(options[:app_dir])
11
11
  @bundle_env = bundle_env(options[:bundle_ignore_config])
12
+ @bundle_jobs = options[:bundle_jobs] || 4
12
13
  @shell = options[:shell] || Shell
13
14
  @build_command = options[:build_command]
14
15
  end
@@ -35,7 +36,7 @@ module Tara
35
36
 
36
37
  def bundler_command
37
38
  @bundler_command ||= begin
38
- command = 'bundle install --jobs 4 --frozen --path . --gemfile lib/vendor/Gemfile'
39
+ command = "bundle install --jobs #{@bundle_jobs} --frozen --path . --gemfile lib/vendor/Gemfile"
39
40
  command << %( --without #{@without_groups.join(' ')}) if @without_groups.any?
40
41
  command
41
42
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Tara
4
- VERSION = '0.8.0'
4
+ VERSION = '0.9.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tara
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mathias Söderberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-16 00:00:00.000000000 Z
11
+ date: 2017-11-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Tara packs your Ruby app into a standalone archive with gems and a Ruby
14
14
  runtime