serverspec 2.10.1 → 2.10.2

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: ea9b0bff20566314ccfa7c0ff7b130d5f5d29c68
4
- data.tar.gz: 1d1e87e7b4841511432d5ba976d0ac9dc47e159b
3
+ metadata.gz: 3eb7ee244af74cf36302726288caabfc92a7d2e8
4
+ data.tar.gz: ebe34f62ffc42c9b97ec1cb58a5a21bfb4b59005
5
5
  SHA512:
6
- metadata.gz: 4c259a9d258feff332c1e5f8e4d2ded7a804cfe5e3d0b68995eb07feaec290e774ff7c0536e775dfafee0e96a089647a35486f1ca68d109196a94358462029e4
7
- data.tar.gz: c6d1bb12a9970cae7161776b656bb864f89a188fbacba42873755bd339b2a1d21e9ebddefd93ca6ee1472e2ba91e5f56b13601e745d38ebc16f88c6194416c85
6
+ metadata.gz: 935fa12dded4c4a9505f4239a61b3166928f4c65969b741430ffe9edbe794d629d5fc4341b4244df2a8ccf19a2625df4333f61ad511894715b27bb97c9ba5c0a
7
+ data.tar.gz: a96bbc49570b3b544491ff7a09e24ae307b8ef4e516607081ecd43c48ebdbd3af59cfd9a47b065012d5233fe2e24896d1a23a9cbf37237d0a75faec1b18bced5
@@ -178,17 +178,20 @@ namespace :spec do
178
178
  targets = []
179
179
  Dir.glob('./spec/*').each do |dir|
180
180
  next unless File.directory?(dir)
181
- targets << File.basename(dir)
181
+ target = File.basename(dir)
182
+ target = "_#{target}" if target == "default"
183
+ targets << target
182
184
  end
183
185
 
184
186
  task :all => targets
185
187
  task :default => :all
186
188
 
187
189
  targets.each do |target|
188
- desc "Run serverspec tests to #{target}"
190
+ original_target = target == "_default" ? target[1..-1] : target
191
+ desc "Run serverspec tests to #{original_target}"
189
192
  RSpec::Core::RakeTask.new(target.to_sym) do |t|
190
- ENV['TARGET_HOST'] = target
191
- t.pattern = "spec/#{target}/*_spec.rb"
193
+ ENV['TARGET_HOST'] = original_target
194
+ t.pattern = "spec/#{original_target}/*_spec.rb"
192
195
  end
193
196
  end
194
197
  end
@@ -1,3 +1,3 @@
1
1
  module Serverspec
2
- VERSION = "2.10.1"
2
+ VERSION = "2.10.2"
3
3
  end
data/wercker.yml CHANGED
@@ -1,18 +1,11 @@
1
1
  box: mizzy/serverspec-base@0.0.6
2
2
  build:
3
3
  steps:
4
- - script:
5
- name: Run setup.sh
6
- code: $WORKING_DIR/setup.sh
7
4
  - script:
8
5
  name: Run walter
9
6
  code: ./walter
10
7
  cwd: $WORKING_DIR
11
8
 
12
9
  after-steps:
13
- - script:
14
- name: Run vagrant destroy
15
- code: vagrant destroy --force
16
- cwd: $WORKING_DIR
17
10
  - 1syo/idobata-notify@0.1.1:
18
11
  token: $IDOBATA_TOKEN
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.1
4
+ version: 2.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-11 00:00:00.000000000 Z
11
+ date: 2015-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec