serverspec-runner 1.1.7 → 1.1.8

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: 48adedb2bbc37b67f7c781b05dfbeaad03fd1484
4
- data.tar.gz: 74e45af8dd746c024c7f2d3c9fade6bf09f8d887
3
+ metadata.gz: d760f5bf858ebb1d1814fd4f38b8e784c81102aa
4
+ data.tar.gz: fd06be5ae9eee9a3ed81337e807eb39100a5cf15
5
5
  SHA512:
6
- metadata.gz: 55c7f48cf5a88805398857c7dbb1b5f091ecee8058936acdb2a9ed42544e3d08e3290e66c513ffc84acfe120cf890f732352f070a2a4f6e958c78ff07b4e520e
7
- data.tar.gz: 7fedd87e93023709cd6c0196c18c2ad3cfbbd9a5c965eb0ed9c8dad2b6514780bb924e4f599d8fd6887aeb9792744c2a16c32df8da8ad5549d665f0bbbfc5114
6
+ metadata.gz: 6c01617db414009714ee756564a30c822a2c7e8b1c723e9d40bc9a865cd26dd5f7e8185e464563177ce507b836b0cc1bee34ee798929956c8eda80bc84b648e1
7
+ data.tar.gz: 7670c6300d5eb66944a163ce7f2b757931f965f38096c2b3a03aafb9bcb534b127fe5dffcd9c8ba50610a32385d439fba02b315dccd7c33f194913e55a3176b5
@@ -17,8 +17,8 @@ opts = GetoptLong.new(
17
17
  ["--tableformat", "-t", GetoptLong::REQUIRED_ARGUMENT],
18
18
  ["--parallel", "-p", GetoptLong::REQUIRED_ARGUMENT],
19
19
  ["--help", "-h", GetoptLong::NO_ARGUMENT],
20
- ["--tmpdir", "-1", GetoptLong::REQUIRED_ARGUMENT],
21
- ["--raketask", "-2", GetoptLong::REQUIRED_ARGUMENT],
20
+ ["--raketask", "-1", GetoptLong::REQUIRED_ARGUMENT],
21
+ ["--tmpdir", "-2", GetoptLong::REQUIRED_ARGUMENT],
22
22
  ["--tasks", "-T", GetoptLong::NO_ARGUMENT]
23
23
  )
24
24
 
@@ -39,7 +39,7 @@ opts.each do |opt, arg|
39
39
  when '--tmpdir'
40
40
  ENV['tmpdir'] = arg
41
41
  when '--raketask'
42
- raketask += "::" + arg
42
+ raketask = arg
43
43
  when '--tasks'
44
44
  showtasks = true
45
45
  else
@@ -51,6 +51,7 @@ opts.each do |opt, arg|
51
51
  puts "-t, --tableformat (aa|mkd|csv|bool) specify result table type(default: aa)"
52
52
  puts "-T, --tasks display the tasks with descriptions(exec rake -T)"
53
53
  puts "-p, --parallel execute tasks in parallel"
54
+ puts "-1, --raketask RAKE_TASK_NAME execute specified rake task only(ex: spec:test::anyhost-01)"
54
55
  puts "-h, --help show help"
55
56
  exit 0
56
57
  end
@@ -1,3 +1,3 @@
1
1
  module ServerspecRunner
2
- VERSION = "1.1.7"
2
+ VERSION = "1.1.8"
3
3
  end
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.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - hiracy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-17 00:00:00.000000000 Z
11
+ date: 2015-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: serverspec