opsicle 2.14.0 → 2.14.1

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: 31e9a4a355ac66d2cb8b20a5a8c3669a7d43d8fe
4
- data.tar.gz: 5fec5e7945e3ff4d2c804bebe2fca175b3a156f6
3
+ metadata.gz: a24e7ee6f36143061c3d2c101ec94f2bfa637fb6
4
+ data.tar.gz: dde3ff189d676bf6e39ebb93491e6bd493ac2325
5
5
  SHA512:
6
- metadata.gz: 560a92eb936d0dd577a91694c3aa1c53173e2f757c08b289fc3c21e85eab7cc036806c755c1bd6057569e4c69c7409c7d29ce544366d7a05442c2a38e73c0956
7
- data.tar.gz: 0ce918e65cf9cf260c238ceb93b4d7cbf8cae4d786028cd398ffffd6dd02e82f6df69ec3028450f100afcdc5e1de4bda0dd8786a770ff0cf69fc4e449d8b41e7
6
+ metadata.gz: 304be532da5f9e80cc21746b82c13050ae09ca86d37991a69775007653f5b30bbe2c9b1c44024da79cd7755ff6624a00b129f908cf5c38762482b6accee5c7d6
7
+ data.tar.gz: 444983b7e1fbdd6a803d79a6056062004d6ddc4db34aadbc04bbe087047ffe785a6a39c666e11ab756482e04dc1e6b49ae0ac2b747256ae49652c9ada4c99b75
@@ -32,7 +32,7 @@ module Opsicle
32
32
  end
33
33
 
34
34
  def print(before, after)
35
- diff = HashDiff.diff(before, after)
35
+ diff = Hashdiff.diff(before, after)
36
36
  Output.say("Changes: #{diff.size}")
37
37
  Output.terminal.say(Terminal::Table.new headings: %w[Change Key Before After], rows: format_diff(diff)) if diff.size > 0
38
38
  end
@@ -1,3 +1,3 @@
1
1
  module Opsicle
2
- VERSION = "2.14.0"
2
+ VERSION = "2.14.1"
3
3
  end
@@ -41,13 +41,13 @@ module Opsicle
41
41
 
42
42
  context "#print" do
43
43
  it "should print no changes without table" do
44
- allow(HashDiff).to receive(:diff) { [] }
44
+ allow(Hashdiff).to receive(:diff) { [] }
45
45
  expect(Output).to receive(:say).with("Changes: 0") { nil }
46
46
  expect(Output).to_not receive(:terminal)
47
47
  subject.print(nil, nil)
48
48
  end
49
49
  it "should print changes with table" do
50
- allow(HashDiff).to receive(:diff) { [%w[- nyan 1], %w[+ cat 2],%w[~ taco 3 4]] }
50
+ allow(Hashdiff).to receive(:diff) { [%w[- nyan 1], %w[+ cat 2],%w[~ taco 3 4]] }
51
51
  expect(Output).to receive(:say).with("Changes: 3") { nil }
52
52
  allow(Output).to receive_message_chain("terminal.say")
53
53
  allow(Output).to receive_message_chain("terminal.color")
@@ -69,4 +69,4 @@ module Opsicle
69
69
  end
70
70
  end
71
71
  end
72
- end
72
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opsicle
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.14.0
4
+ version: 2.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Fleener
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-04-09 00:00:00.000000000 Z
12
+ date: 2019-09-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk
@@ -93,14 +93,14 @@ dependencies:
93
93
  requirements:
94
94
  - - ~>
95
95
  - !ruby/object:Gem::Version
96
- version: '0.2'
96
+ version: '1.0'
97
97
  type: :runtime
98
98
  prerelease: false
99
99
  version_requirements: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ~>
102
102
  - !ruby/object:Gem::Version
103
- version: '0.2'
103
+ version: '1.0'
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: curses
106
106
  requirement: !ruby/object:Gem::Requirement