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 +4 -4
- data/lib/tara/archive.rb +2 -0
- data/lib/tara/installer.rb +2 -1
- data/lib/tara/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2514f74e17c4722fa3530c33316677f0172fe33d
|
4
|
+
data.tar.gz: 1894ece840918e760f6748df9fb1d84b712a1d28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c85ee0535398762502858583c0acc3a0a2d43e66f55137755bb0e93fe04990c8360fab04e1277ceff0e573de59a3a10c660b140f1e0775d66d9d399756dbe1e
|
7
|
+
data.tar.gz: 00e1cc05a57f97157cc5129f7151cc3080fa43a9ea9746a54dae2a9f2c026a50da06d1dd53ee8211d2d0af2b4e02adef3fa72a17e7bea5266afc4372c34e41d4
|
data/lib/tara/archive.rb
CHANGED
@@ -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
|
data/lib/tara/installer.rb
CHANGED
@@ -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 =
|
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
|
data/lib/tara/version.rb
CHANGED
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.
|
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-
|
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
|