rspec-system-serverspec 1.0.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGEFILE
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
require '
|
1
|
+
require 'specinfra/backend/exec'
|
2
2
|
|
3
|
-
module
|
3
|
+
module SpecInfra
|
4
4
|
module Backend
|
5
|
-
class RSpecSystem <
|
5
|
+
class RSpecSystem < SpecInfra::Backend::Exec
|
6
6
|
def run_command(cmd, opt={})
|
7
7
|
cmd = build_command(cmd)
|
8
8
|
cmd = add_pre_command(cmd)
|
@@ -1,11 +1,11 @@
|
|
1
|
-
module
|
1
|
+
module SpecInfra
|
2
2
|
module Helper
|
3
3
|
module RSpecSystem
|
4
4
|
def backend(commands_object=nil)
|
5
5
|
if ! respond_to?(:commands)
|
6
|
-
commands_object =
|
6
|
+
commands_object = SpecInfra::Commands::Base.new
|
7
7
|
end
|
8
|
-
instance =
|
8
|
+
instance = SpecInfra::Backend::RSpecSystem.instance
|
9
9
|
instance.set_commands(commands_object || commands)
|
10
10
|
instance
|
11
11
|
end
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
# Metadata
|
4
4
|
s.name = 'rspec-system-serverspec'
|
5
|
-
s.version = '
|
5
|
+
s.version = '2.0.0'
|
6
6
|
s.authors = ['Hunter Haugen']
|
7
7
|
s.email = ['h.haugen@gmail.com']
|
8
8
|
s.summary = 'Serverspec rspec-system plugin'
|
@@ -20,6 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.required_ruby_version = '>= 1.8.7'
|
21
21
|
s.add_runtime_dependency 'rspec-system', '~> 2.0'
|
22
22
|
s.add_runtime_dependency 'serverspec', '~> 0.0'
|
23
|
+
s.add_runtime_dependency 'specinfra', '~> 0.0'
|
23
24
|
s.add_development_dependency "bundler", "~> 1.3"
|
24
25
|
s.add_development_dependency "rake"
|
25
26
|
end
|
data/spec/spec_helper_system.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-system-serverspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-12-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec-system
|
@@ -43,6 +43,22 @@ dependencies:
|
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '0.0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: specinfra
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.0'
|
46
62
|
- !ruby/object:Gem::Dependency
|
47
63
|
name: bundler
|
48
64
|
requirement: !ruby/object:Gem::Requirement
|