serverspec-runner 1.1.9 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +10 -3
- data/lib/serverspec-runner/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: 19179211dd67128be5bcd4c9892fb59632e71b31
|
4
|
+
data.tar.gz: 3d0d1abab1f51d273aa4ed93e7e785a13303f67e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e195c8cb69548627a9baeaca8eab29166e070d14db701c3400caaf554853b181bdc5afccdd400b2aac963d885895f96ef972d3835fbabb94f39bdb9074ea05e
|
7
|
+
data.tar.gz: 2067415539b7ed1723e8bdddd4f02f27c974f568298ee059ce64abb78f880dbca96facfde6cbbb6d075ceaea0b3648f0e941e0a5331119fc9b4e8b5f42af9213
|
data/Rakefile
CHANGED
@@ -113,9 +113,16 @@ namespace :spec do
|
|
113
113
|
RSpec::Core::RakeTask.new("#{task_path}::#{host_alias}".to_sym) do |t|
|
114
114
|
|
115
115
|
fpath = task_path.gsub(/::/, '/')
|
116
|
-
|
117
|
-
|
118
|
-
|
116
|
+
|
117
|
+
if Dir.exists?("#{ENV['specpath']}/#{fpath}")
|
118
|
+
t.pattern = %W[
|
119
|
+
#{ENV['specpath']}/#{fpath}/*.rb
|
120
|
+
]
|
121
|
+
elsif File.file?("#{ENV['specpath']}/#{fpath}.rb")
|
122
|
+
t.pattern = %W[
|
123
|
+
#{ENV['specpath']}/#{fpath}.rb
|
124
|
+
]
|
125
|
+
end
|
119
126
|
|
120
127
|
raise "\e[31mspec file not found!![#{t.pattern.to_s}]\e[m" if Dir.glob(t.pattern).empty?
|
121
128
|
t.fail_on_error = false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serverspec-runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hiracy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: serverspec
|