vagrant-cucumber 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/example/Vagrantfile +0 -2
- data/lib/vagrant-cucumber/commands/cucumber.rb +3 -0
- data/lib/vagrant-cucumber/glue.rb +7 -4
- data/lib/vagrant-cucumber/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: f2283baeb8bfed395ad1ec585245756528c10d86
|
4
|
+
data.tar.gz: d98ac5ae2e18c9c91c9253727111f1638e1ef4d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e391d8b8737415d4c8541e5d0e3e6d7783497528cb99fec4082739819ce0a384d774fdde76005e0db4df9c19f894cfb0cf293b3652f7e6381b3255498a8932e
|
7
|
+
data.tar.gz: 5e04bf5b1845d60259a8e87ca2283df729fe138b661a68396ac55cd7e9b881bb01ccf232a5518b909d68e99ff290b3938a691f7dc7eaaf4c7756e9cb197251c8
|
data/CHANGELOG.md
CHANGED
data/example/Vagrantfile
CHANGED
@@ -9,6 +9,9 @@ module VagrantPlugins
|
|
9
9
|
|
10
10
|
require 'vagrant-cucumber/cucumber/formatter/pretty'
|
11
11
|
require 'vagrant-cucumber/cucumber/formatter/html'
|
12
|
+
require 'vagrant-cucumber/glue'
|
13
|
+
|
14
|
+
VagrantPlugins::Cucumber::Glue::VagrantGlue.set_environment(@env)
|
12
15
|
|
13
16
|
failure = ::Cucumber::Cli::Main.execute(@argv)
|
14
17
|
|
@@ -19,12 +19,15 @@ module VagrantPlugins
|
|
19
19
|
|
20
20
|
class VagrantGlue
|
21
21
|
|
22
|
-
|
22
|
+
@@vagrant_env = nil
|
23
23
|
|
24
|
-
|
25
|
-
|
26
|
-
|
24
|
+
def self.set_environment(env)
|
25
|
+
@@vagrant_env = env
|
26
|
+
end
|
27
|
+
|
28
|
+
def initialize
|
27
29
|
|
30
|
+
@vagrant_env = @@vagrant_env or raise "The vagrant_env hasn't been set"
|
28
31
|
@last_machine_mentioned = nil
|
29
32
|
|
30
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Topper
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|