vx-builder 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vx/builder/script/ruby.rb +1 -6
- data/lib/vx/builder/version.rb +1 -1
- data/spec/fixtures/integration/ruby/deploy/d.before_script.sh +0 -4
- data/spec/fixtures/integration/ruby/language/before_script.sh +0 -4
- data/spec/fixtures/integration/ruby/matrix/0.before_script.sh +0 -4
- data/spec/fixtures/integration/ruby/matrix/1.before_script.sh +0 -4
- data/spec/fixtures/integration/ruby/matrix/d.before_script.sh +0 -4
- data/spec/lib/builder_spec.rb +0 -9
- data/spec/spec_helper.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f603c093b787b915c407b654047a7c1db4fd6ba
|
4
|
+
data.tar.gz: 2e6fc9b9d226efe698f5e9bfeb81d086dff67f90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34d541b402b2c1815e6bed10d8f49c65d98077f25778d6c17a04b7c8e395076a25f61e67e9139ad572443c47e390732dd35460529812396f06e1c85657a037d3
|
7
|
+
data.tar.gz: 2ec8b3d8e41657b2e4d660859bf60c3018dfa969709b48f0bbe7e063811a7095efd502b640917cc7456482d067d0e120a31947c3811e913a380f394fffc9ec99
|
@@ -26,17 +26,12 @@ module Vx
|
|
26
26
|
i << trace_sh_command("bundle --version")
|
27
27
|
end
|
28
28
|
|
29
|
-
env
|
29
|
+
do_install(env) do |i|
|
30
30
|
bundler_args = env.source.bundler_args.first
|
31
31
|
i << trace_sh_command("bundle install #{bundler_args}")
|
32
32
|
i << trace_sh_command("bundle clean --force")
|
33
33
|
end
|
34
34
|
|
35
|
-
do_install(env) do |i|
|
36
|
-
i << trace_sh_command("bundle install")
|
37
|
-
i << trace_sh_command("bundle clean --force")
|
38
|
-
end
|
39
|
-
|
40
35
|
do_script(env) do |i|
|
41
36
|
script = "if [ -f Rakefile ] ; then \n #{trace_sh_command "bundle exec rake"}\nfi"
|
42
37
|
i << script
|
data/lib/vx/builder/version.rb
CHANGED
@@ -51,10 +51,6 @@ echo \$\ bundle\ install\
|
|
51
51
|
bundle install
|
52
52
|
echo \$\ bundle\ clean\ --force
|
53
53
|
bundle clean --force
|
54
|
-
echo \$\ bundle\ install
|
55
|
-
bundle install
|
56
|
-
echo \$\ bundle\ clean\ --force
|
57
|
-
bundle clean --force
|
58
54
|
|
59
55
|
# before deploy
|
60
56
|
echo \$\ echo\ before\ deploy
|
@@ -51,10 +51,6 @@ echo \$\ bundle\ install\
|
|
51
51
|
bundle install
|
52
52
|
echo \$\ bundle\ clean\ --force
|
53
53
|
bundle clean --force
|
54
|
-
echo \$\ bundle\ install
|
55
|
-
bundle install
|
56
|
-
echo \$\ bundle\ clean\ --force
|
57
|
-
bundle clean --force
|
58
54
|
|
59
55
|
# before script
|
60
56
|
echo \$\ echo\ before\ script
|
@@ -51,10 +51,6 @@ echo \$\ bundle\ install\
|
|
51
51
|
bundle install
|
52
52
|
echo \$\ bundle\ clean\ --force
|
53
53
|
bundle clean --force
|
54
|
-
echo \$\ bundle\ install
|
55
|
-
bundle install
|
56
|
-
echo \$\ bundle\ clean\ --force
|
57
|
-
bundle clean --force
|
58
54
|
|
59
55
|
# before script
|
60
56
|
echo \$\ echo\ before\ script
|
data/spec/lib/builder_spec.rb
CHANGED
@@ -4,13 +4,4 @@ describe Vx::Builder do
|
|
4
4
|
subject { described_class }
|
5
5
|
|
6
6
|
its(:config) { should be }
|
7
|
-
|
8
|
-
context ".configure" do
|
9
|
-
it "should change configuration" do
|
10
|
-
subject.configure do |c|
|
11
|
-
c.casher_ruby = 'ruby'
|
12
|
-
end
|
13
|
-
expect(subject.config.casher_ruby).to eq 'ruby'
|
14
|
-
end
|
15
|
-
end
|
16
7
|
end
|
data/spec/spec_helper.rb
CHANGED