hotdog 0.27.0 → 0.27.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed4a83ac54e12aecba688f7f0bb7b563f9cee80c
4
- data.tar.gz: '038bbcb0dbc3e5e541c9a433ec64946beec79b62'
3
+ metadata.gz: c50905e95a355910d2c5b79718f9eeb2a979b8b1
4
+ data.tar.gz: d1b32b0865160e303e6912125ae13a711b58fca3
5
5
  SHA512:
6
- metadata.gz: 35816f0033e867223cd699e3740566339896d6bf53e08f5e140c245e6e4b23abb7eebbaf996ff69c096e096ff1f9b2acab24b72700198c4063cbd911adffbbc9
7
- data.tar.gz: d4158608de22ab5bee02e542bedf87f5e1fe2b2dac6b5bb82e02529930763830c0c371789ad1cd3fdec2adb634c0ad1c7913d427c57287d012ad0d07b2580421
6
+ metadata.gz: 6b53a6a4ff7e6069d0238c1ad915af5678755e1152a761d3939a77056b149cd4ad77058137bbe111090e585d3dcd839927c820bf9844dcab7bcb23a95837a1a0
7
+ data.tar.gz: 794ec26214132db55833ba020452fb551baab5e7a5bebc4266b39c84ec8ae800ec7a72c9f3f7f645bd363b635cf3c2cf3f0aa4335588a0ba7ca0816a29a3b2c3
@@ -1,3 +1,3 @@
1
1
  module Hotdog
2
- VERSION = "0.27.0"
2
+ VERSION = "0.27.1"
3
3
  end
@@ -26,7 +26,7 @@ describe "option parser for down" do
26
26
  it "can handle subcommand options after subcommand" do
27
27
  allow(cmd).to receive(:run).with(["foo", "bar", "baz"], a_hash_including(
28
28
  downtime: 12345,
29
- verbose: false,
29
+ verbosity: Hotdog::VERBOSITY_NULL,
30
30
  ))
31
31
  app.main(["down", "--downtime", "12345", "foo", "bar", "baz"])
32
32
  end
@@ -34,7 +34,7 @@ describe "option parser for down" do
34
34
  it "can handle common options before subcommand" do
35
35
  allow(cmd).to receive(:run).with(["foo", "bar", "baz"], a_hash_including(
36
36
  downtime: 12345,
37
- verbose: true,
37
+ verbosity: Hotdog::VERBOSITY_INFO,
38
38
  ))
39
39
  app.main(["--verbose", "down", "--downtime", "12345", "foo", "bar", "baz"])
40
40
  end
@@ -42,7 +42,7 @@ describe "option parser for down" do
42
42
  it "can handle common options after subcommand" do
43
43
  allow(cmd).to receive(:run).with(["foo", "bar", "baz"], a_hash_including(
44
44
  downtime: 12345,
45
- verbose: true,
45
+ verbosity: Hotdog::VERBOSITY_INFO,
46
46
  ))
47
47
  app.main(["down", "--downtime", "12345", "--verbose", "foo", "bar", "baz"])
48
48
  end
@@ -19,14 +19,14 @@ describe "option parser for hosts" do
19
19
 
20
20
  it "can handle common options before subcommand" do
21
21
  allow(cmd).to receive(:run).with(["foo", "bar", "baz"], a_hash_including(
22
- verbose: true,
22
+ verbosity: Hotdog::VERBOSITY_INFO,
23
23
  ))
24
24
  app.main(["--verbose", "hosts", "foo", "bar", "baz"])
25
25
  end
26
26
 
27
27
  it "can handle common options after subcommand" do
28
28
  allow(cmd).to receive(:run).with(["foo", "bar", "baz"], a_hash_including(
29
- verbose: true,
29
+ verbosity: Hotdog::VERBOSITY_INFO,
30
30
  ))
31
31
  app.main(["hosts", "--verbose", "foo", "bar", "baz"])
32
32
  end
@@ -26,7 +26,7 @@ describe "option parser for pssh" do
26
26
  it "can handle subcommand options after subcommand" do
27
27
  allow(cmd).to receive(:run).with(["foo", "bar", "baz"], a_hash_including(
28
28
  max_parallelism: 42,
29
- verbose: false,
29
+ verbosity: Hotdog::VERBOSITY_NULL,
30
30
  ))
31
31
  app.main(["pssh", "-P", "42", "foo", "bar", "baz"])
32
32
  end
@@ -34,7 +34,7 @@ describe "option parser for pssh" do
34
34
  it "can handle common options before subcommand" do
35
35
  allow(cmd).to receive(:run).with(["foo", "bar", "baz"], a_hash_including(
36
36
  max_parallelism: 42,
37
- verbose: true,
37
+ verbosity: Hotdog::VERBOSITY_INFO,
38
38
  ))
39
39
  app.main(["--verbose", "pssh", "-P", "42", "foo", "bar", "baz"])
40
40
  end
@@ -42,7 +42,7 @@ describe "option parser for pssh" do
42
42
  it "can handle common options after subcommand" do
43
43
  allow(cmd).to receive(:run).with(["foo", "bar", "baz"], a_hash_including(
44
44
  max_parallelism: 42,
45
- verbose: true,
45
+ verbosity: Hotdog::VERBOSITY_INFO,
46
46
  ))
47
47
  app.main(["pssh", "-P", "42", "--verbose", "foo", "bar", "baz"])
48
48
  end
@@ -50,7 +50,7 @@ describe "option parser for pssh" do
50
50
  it "can handle subcommand options with remote command, 1" do
51
51
  allow(cmd).to receive(:run).with([], a_hash_including(
52
52
  max_parallelism: 42,
53
- verbose: true,
53
+ verbosity: Hotdog::VERBOSITY_INFO,
54
54
  ))
55
55
  app.main(["pssh", "-P", "42", "--verbose", "--", "foo", "bar", "baz"])
56
56
  expect(cmd.remote_command).to eq("foo bar baz")
@@ -59,7 +59,7 @@ describe "option parser for pssh" do
59
59
  it "can handle subcommand options with remote command, 2" do
60
60
  allow(cmd).to receive(:run).with(["foo"], a_hash_including(
61
61
  max_parallelism: 42,
62
- verbose: true,
62
+ verbosity: Hotdog::VERBOSITY_INFO,
63
63
  ))
64
64
  app.main(["pssh", "-P", "42", "--verbose", "foo", "--", "bar", "baz"])
65
65
  expect(cmd.remote_command).to eq("bar baz")
@@ -68,7 +68,7 @@ describe "option parser for pssh" do
68
68
  it "can handle subcommand options with remote command, 3" do
69
69
  allow(cmd).to receive(:run).with(["foo"], a_hash_including(
70
70
  max_parallelism: 42,
71
- verbose: true,
71
+ verbosity: Hotdog::VERBOSITY_INFO,
72
72
  ))
73
73
  app.main(["pssh", "-P", "42", "--verbose", "foo", "--", "bar", "--", "baz"])
74
74
  expect(cmd.remote_command).to eq("bar -- baz")
@@ -19,14 +19,14 @@ describe "option parser for search" do
19
19
 
20
20
  it "can handle common options before subcommand" do
21
21
  allow(cmd).to receive(:run).with(["foo", "bar", "baz"], a_hash_including(
22
- verbose: true,
22
+ verbosity: Hotdog::VERBOSITY_INFO,
23
23
  ))
24
24
  app.main(["--verbose", "search", "foo", "bar", "baz"])
25
25
  end
26
26
 
27
27
  it "can handle common options after subcommand" do
28
28
  allow(cmd).to receive(:run).with(["foo", "bar", "baz"], a_hash_including(
29
- verbose: true,
29
+ verbosity: Hotdog::VERBOSITY_INFO,
30
30
  ))
31
31
  app.main(["search", "--verbose", "foo", "bar", "baz"])
32
32
  end
@@ -26,7 +26,7 @@ describe "option parser for ssh" do
26
26
  it "can handle subcommand options after subcommand" do
27
27
  allow(cmd).to receive(:run).with(["foo", "bar", "baz"], a_hash_including(
28
28
  index: 42,
29
- verbose: false,
29
+ verbosity: Hotdog::VERBOSITY_NULL,
30
30
  ))
31
31
  app.main(["ssh", "--index", "42", "foo", "bar", "baz"])
32
32
  end
@@ -34,7 +34,7 @@ describe "option parser for ssh" do
34
34
  it "can handle common options before subcommand" do
35
35
  allow(cmd).to receive(:run).with(["foo", "bar", "baz"], a_hash_including(
36
36
  index: 42,
37
- verbose: true,
37
+ verbosity: Hotdog::VERBOSITY_INFO,
38
38
  ))
39
39
  app.main(["--verbose", "ssh", "--index", "42", "foo", "bar", "baz"])
40
40
  end
@@ -42,7 +42,7 @@ describe "option parser for ssh" do
42
42
  it "can handle common options after subcommand" do
43
43
  allow(cmd).to receive(:run).with(["foo", "bar", "baz"], a_hash_including(
44
44
  index: 42,
45
- verbose: true,
45
+ verbosity: Hotdog::VERBOSITY_INFO,
46
46
  ))
47
47
  app.main(["ssh", "--index", "42", "--verbose", "foo", "bar", "baz"])
48
48
  end
@@ -50,7 +50,7 @@ describe "option parser for ssh" do
50
50
  it "can handle subcommand options with remote command, 1" do
51
51
  allow(cmd).to receive(:run).with([], a_hash_including(
52
52
  index: 42,
53
- verbose: true,
53
+ verbosity: Hotdog::VERBOSITY_INFO,
54
54
  ))
55
55
  app.main(["ssh", "--index", "42", "--verbose", "--", "foo", "bar", "baz"])
56
56
  expect(cmd.remote_command).to eq("foo bar baz")
@@ -59,7 +59,7 @@ describe "option parser for ssh" do
59
59
  it "can handle subcommand options with remote command, 2" do
60
60
  allow(cmd).to receive(:run).with(["foo"], a_hash_including(
61
61
  index: 42,
62
- verbose: true,
62
+ verbosity: Hotdog::VERBOSITY_INFO,
63
63
  ))
64
64
  app.main(["ssh", "--index", "42", "--verbose", "foo", "--", "bar", "baz"])
65
65
  expect(cmd.remote_command).to eq("bar baz")
@@ -68,7 +68,7 @@ describe "option parser for ssh" do
68
68
  it "can handle subcommand options with remote command, 3" do
69
69
  allow(cmd).to receive(:run).with(["foo"], a_hash_including(
70
70
  index: 42,
71
- verbose: true,
71
+ verbosity: Hotdog::VERBOSITY_INFO,
72
72
  ))
73
73
  app.main(["ssh", "--index", "42", "--verbose", "foo", "--", "bar", "--", "baz"])
74
74
  expect(cmd.remote_command).to eq("bar -- baz")
@@ -19,14 +19,14 @@ describe "option parser for tags" do
19
19
 
20
20
  it "can handle common options before subcommand" do
21
21
  allow(cmd).to receive(:run).with(["foo", "bar", "baz"], a_hash_including(
22
- verbose: true,
22
+ verbosity: Hotdog::VERBOSITY_INFO,
23
23
  ))
24
24
  app.main(["--verbose", "tags", "foo", "bar", "baz"])
25
25
  end
26
26
 
27
27
  it "can handle common options after subcommand" do
28
28
  allow(cmd).to receive(:run).with(["foo", "bar", "baz"], a_hash_including(
29
- verbose: true,
29
+ verbosity: Hotdog::VERBOSITY_INFO,
30
30
  ))
31
31
  app.main(["tags", "--verbose", "foo", "bar", "baz"])
32
32
  end
@@ -19,14 +19,14 @@ describe "option parser for up" do
19
19
 
20
20
  it "can handle common options before subcommand" do
21
21
  allow(cmd).to receive(:run).with(["foo", "bar", "baz"], a_hash_including(
22
- verbose: true,
22
+ verbosity: Hotdog::VERBOSITY_INFO,
23
23
  ))
24
24
  app.main(["--verbose", "up", "foo", "bar", "baz"])
25
25
  end
26
26
 
27
27
  it "can handle common options after subcommand" do
28
28
  allow(cmd).to receive(:run).with(["foo", "bar", "baz"], a_hash_including(
29
- verbose: true,
29
+ verbosity: Hotdog::VERBOSITY_INFO,
30
30
  ))
31
31
  app.main(["up", "--verbose", "foo", "bar", "baz"])
32
32
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hotdog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.27.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yamashita Yuu