chake 0.90.2 → 0.90.3

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
  SHA256:
3
- metadata.gz: c094249a63d6302e4b53969fcb103595aca7da88a1a1c3c6355d0facc9a55061
4
- data.tar.gz: 8ebdd02f879e7f5dfdf083e985a81745e62df3102c5c3c972c89a96e2058873c
3
+ metadata.gz: 693b8b54a375b45d4adcd8ba3bc9b4d67c4a54746767e3dcf4a3df14750a18b9
4
+ data.tar.gz: 6ddd35528575a2b413d3c8e1ebd445bfb9a742c4410eb76062a2848a8b5b06d1
5
5
  SHA512:
6
- metadata.gz: 19730aecf31f2f6f2d2564d247e17f7e26cce70673a37430793628e31a20a038e1f1f25bf9a290c5540798143390ae8100a8dcb186eac1355aef02f460735b82
7
- data.tar.gz: f595aa58c562160b6944927f9c2ede9a58ee32a9cedcd436895140fe011316d2bcb7755d2449b0a49f78eff2ce4e9f3a0752b6611b9cacd0ffe760fdc4e58c77
6
+ metadata.gz: 254cdfa1778b624204769f8f6ab96dc367d1200a3814809597df64b102d91c47d91659a2854620963702b5251ec1730476da5e40dd7db5e7e0c66a1ec55136ad
7
+ data.tar.gz: 607a924a23f89120fbf7fb97e0f27a80ed3a5b20f001620776498e9a3d7646f4ad01cdb94d159fd405cf22ba1e6f8d810718f69cc20399bf54bf5eedfacbae33
data/ChangeLog.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.90.3
2
+
3
+ - `itamae_spec`: fix rspec warning about syntax for `expect { }.to raise`
4
+ - bootstrap: `00_set_hostname.sh`: don't set hostname if not needed
5
+ - Chake::Connection: add missing require for `$CHILD_STATUS`
6
+
1
7
  # 0.90.2
2
8
 
3
9
  - upload: make sure to reupload on config manager changes
@@ -1,7 +1,9 @@
1
1
  hostname="$1"
2
2
 
3
- echo "$hostname" > /etc/hostname
4
- hostname --file /etc/hostname
3
+ if [ "$(hostname)" != "${hostname}" ]; then
4
+ echo "$hostname" > /etc/hostname
5
+ hostname --file /etc/hostname
6
+ fi
5
7
 
6
8
  fqdn=$(hostname --fqdn || true)
7
9
  if [ "$fqdn" != "$hostname" ]; then
@@ -1,3 +1,5 @@
1
+ require 'English'
2
+
1
3
  module Chake
2
4
  Connection = Struct.new(:node)
3
5
  class Connection
data/lib/chake/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Chake
2
- VERSION = '0.90.2'.freeze
2
+ VERSION = '0.90.3'.freeze
3
3
  end
@@ -61,7 +61,7 @@ describe Chake::ConfigManager::Itamae do
61
61
 
62
62
  it 'throws an error for unsupported connection' do
63
63
  allow(node).to receive(:connection).and_return(Object.new)
64
- expect(-> { cfg.converge }).to raise_error(NotImplementedError)
64
+ expect { cfg.converge }.to raise_error(NotImplementedError)
65
65
  end
66
66
 
67
67
  it 'handles silent mode' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.90.2
4
+ version: 0.90.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antonio Terceiro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-05 00:00:00.000000000 Z
11
+ date: 2023-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler