starting_blocks 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/starting_blocks/bash.rb +1 -0
- data/lib/starting_blocks/minitest_contract.rb +6 -5
- data/lib/starting_blocks/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: 73cec2160c61ea89f777f22ef48cb7355bdfd1b9
|
4
|
+
data.tar.gz: f4e366762b126c7998e2df85bcd0753e144f1feb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04f501524e2b4e0ca19cb37476d9adfae836c4c7dac0cdfe6ee0d99d7503cc28f3b83c7f15199a19cd4554638049ffa0138fc894b9f599a9a4bd8419177a4596
|
7
|
+
data.tar.gz: 4c249e2f0ab5ff8d295fa7401b545ebaa2bb60fe9789644dcbf58fea77c316fd5fb02744735e090bbbfe9a5a1f8dca2e0128696a7e9ce6bd247eeb0148106045
|
data/lib/starting_blocks/bash.rb
CHANGED
@@ -51,11 +51,12 @@ module StartingBlocks
|
|
51
51
|
|
52
52
|
def execute_these_files files
|
53
53
|
requires = files.map { |x| "require '#{x}'" }.join("\n")
|
54
|
-
if options[:use_bundler]
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
54
|
+
command = if options[:use_bundler]
|
55
|
+
"bundle exec ruby -e \"#{requires}\""
|
56
|
+
else
|
57
|
+
"ruby -e \"#{requires}\""
|
58
|
+
end
|
59
|
+
Bash.run command
|
59
60
|
end
|
60
61
|
|
61
62
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: starting_blocks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Darren Cauthon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|