kcu 0.3.0 → 0.4.0

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: b390824d729ff0b0d28f3b453aef75ee5d5e7da7
4
- data.tar.gz: 2ca5b1df6afd4ec36facb653592df40194731ab4
3
+ metadata.gz: 6fe9d510551ddd31966036469de4fdc1bd11e3d0
4
+ data.tar.gz: ed40814bc131d663ebcb3433269d0cda53dc9c2c
5
5
  SHA512:
6
- metadata.gz: c2ac93598773b7c07008adadb66f96b628229010ca34aa03da0f9de22c19fc3ef1cab36922f54f1ac4b4e48f1c9a062fdd493157bb220b4536cfd9c7cd5d57fd
7
- data.tar.gz: 568488c1fe0d3aeebec2e848e0ec5b214e94336339ca9379bec27af891ad12df97b8ed8be788d7516041f95d9d543c59933f0453512f2dadeef4d3be62d8b423
6
+ metadata.gz: 896f0b6493edb2ea1b7e7d6de13209f82b794ebfce09328c25a4b2f56d2591b87ca7204de94846f6fa27f3bc80a76ee7be43a4ed22bb38838c522d81c54a60e8
7
+ data.tar.gz: 5f8e4b4cf25aa5d1441465d95ad3250bc5695ffe1902c19c2cadaf0c5f104fd3839d2e09ae7d40ee95a8d280d1dc100c4ef7cde5751346a5c0eca6f1ed41870a
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.4.0] - 2017-12-12
8
+ ### Added
9
+ - Error message if failed to get secret json
10
+
7
11
  ## [0.3.0] - 2017-11-26
8
12
  ### Added
9
13
  - Add easy deployment
data/README.md CHANGED
@@ -27,7 +27,7 @@ Some examples:
27
27
  kcu secret list production/worker
28
28
  kcu secret get production/worker sidekiq_concurrency
29
29
  kcu secret set production/worker sidekiq_concurrency 10
30
- kcu controller restart production/website
30
+ kcu deployment restart production/website
31
31
  ```
32
32
 
33
33
  ### Easy Deployment
@@ -16,6 +16,10 @@ module Kcu
16
16
  "--output" => "json",
17
17
  )
18
18
 
19
+ unless status.exitstatus.zero?
20
+ fail stderr_str
21
+ end
22
+
19
23
  c.secret_json = JSON.parse(stdout_str)
20
24
  end
21
25
 
@@ -1,3 +1,3 @@
1
1
  module Kcu
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kcu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ramon Tayag
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-28 00:00:00.000000000 Z
11
+ date: 2017-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport