serverspec 0.2.12 → 0.2.13
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/serverspec/matchers/get_stdout.rb +8 -0
- data/lib/serverspec/version.rb +1 -1
- metadata +3 -3
@@ -1,5 +1,13 @@
|
|
1
1
|
RSpec::Matchers.define :get_stdout do |expected|
|
2
2
|
match do |command|
|
3
|
+
puts <<'EOF'
|
4
|
+
|
5
|
+
************************************
|
6
|
+
"get_stdout" matcher is deprecated.
|
7
|
+
Use "return_stdout" matcher instead.
|
8
|
+
************************************
|
9
|
+
|
10
|
+
EOF
|
3
11
|
ret = backend.do_check(command)
|
4
12
|
ret[:stdout] =~ /#{expected}/
|
5
13
|
end
|
data/lib/serverspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serverspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 13
|
10
|
+
version: 0.2.13
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Gosuke Miyashita
|