awesome_spawn 1.4.0 → 1.4.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2377955010be58dc1a2612d2293c2b423721fbdc
|
4
|
+
data.tar.gz: 294a70bb931c7eda8f4ae676f9635202679175b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c3671bcf020eb3c28750fcfdd67f19387100bf43064f9e1359f2bf690d7e984b7eceaa33d8ea198e47b42ecb01c27eae89f73c7f3bde5ef7aab915c4192d7ab
|
7
|
+
data.tar.gz: 1c512c6c1a18ca52bf255f1626b281f38c94c74ef17c9dae8bf220c0617ac36ff024f6d08ea0589790d583b532c9613f0b65d20a2ae573dbecf274c0e7168fcf
|
@@ -34,6 +34,13 @@ describe AwesomeSpawn::CommandLineBuilder do
|
|
34
34
|
expect(actual).to eq "/usr/bin/ruby -v"
|
35
35
|
end
|
36
36
|
|
37
|
+
it "with Pathname in params" do
|
38
|
+
options = ["-d", Pathname.new("script.rb")]
|
39
|
+
|
40
|
+
actual = subject.build(Pathname.new("/usr/bin/ruby"), options)
|
41
|
+
expect(actual).to eq "/usr/bin/ruby -d script.rb"
|
42
|
+
end
|
43
|
+
|
37
44
|
context "with Hash" do
|
38
45
|
it "that is empty" do
|
39
46
|
assert_params({}, "")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awesome_spawn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Frey
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-
|
14
|
+
date: 2016-06-22 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|