simplygenius-atmos 0.10.0 → 0.10.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0c1304c504dd0cd09e353384793eeb0e7c09c1eb7935da83fef773ce9f99992
|
4
|
+
data.tar.gz: e56fef2966f91b07a1458788c0b17f92ecb3d846d7786b0ca6155f29388857ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b35b9967562d7c81ec2e5847db3faf87f96ee30f8f5638d04fbf7d5b8fe239feeda42c6c9ca56e01af059f42df8080e40a4e977da8b6fbb13f7eeb53f6b79bf
|
7
|
+
data.tar.gz: b3defecd765a7ea210f22e87be82ea4e828227cf680f378afba0fa32fefc54428aa1d93a1c78e04251815a5de2e658b0ea46d44de3a5ed158beafb9ef5b6ed6b
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
0.10.1 (09/20/2019)
|
2
|
+
-------------------
|
3
|
+
|
4
|
+
* add a quiet output option to make it easier to use secret values in external scripts [da7770a](https://github.com/simplygenius/atmos/commit/da7770a)
|
5
|
+
* latest 0.11 terraform [0959ba6](https://github.com/simplygenius/atmos/commit/0959ba6)
|
6
|
+
* add aws cli to image as it comes in handy for oddball deploy scenarios [392bb9b](https://github.com/simplygenius/atmos/commit/392bb9b)
|
7
|
+
|
1
8
|
0.10.0 (09/13/2019)
|
2
9
|
-------------------
|
3
10
|
|
@@ -32,6 +32,10 @@ module SimplyGenius
|
|
32
32
|
:flag, "debug output\n",
|
33
33
|
default: false
|
34
34
|
|
35
|
+
option ["-q", "--quiet"],
|
36
|
+
:flag, "suppress output\n",
|
37
|
+
default: false
|
38
|
+
|
35
39
|
option ["-c", "--[no-]color"],
|
36
40
|
:flag, "colorize output (or not)\n (default: $stdout.tty?)"
|
37
41
|
|
@@ -104,7 +108,12 @@ module SimplyGenius
|
|
104
108
|
if Atmos.config.nil?
|
105
109
|
Atmos.config = Config.new(atmos_env, atmos_group)
|
106
110
|
log = Atmos.config.is_atmos_repo? && log? ? "atmos.log" : nil
|
107
|
-
|
111
|
+
level = :info
|
112
|
+
level = :debug if debug?
|
113
|
+
level = :error if quiet?
|
114
|
+
|
115
|
+
Logging.setup_logging(level, color?, log)
|
116
|
+
|
108
117
|
UI.color_enabled = color?
|
109
118
|
|
110
119
|
Atmos.config.add_user_load_path(*load_path_list)
|
@@ -21,7 +21,8 @@ module SimplyGenius
|
|
21
21
|
Atmos.config.provider.auth_manager.authenticate(ENV) do |auth_env|
|
22
22
|
ClimateControl.modify(auth_env) do
|
23
23
|
value = Atmos.config.provider.secret_manager.get(key)
|
24
|
-
logger.info "Secret value for #{key}:
|
24
|
+
logger.info "Secret value for #{key}:"
|
25
|
+
puts value
|
25
26
|
end
|
26
27
|
end
|
27
28
|
|
@@ -100,10 +100,10 @@ module SimplyGenius
|
|
100
100
|
sio.try(:clear)
|
101
101
|
end
|
102
102
|
|
103
|
-
def self.setup_logging(
|
103
|
+
def self.setup_logging(level, color, logfile)
|
104
104
|
init_logger
|
105
105
|
|
106
|
-
::Logging.logger.root.level =
|
106
|
+
::Logging.logger.root.level = level
|
107
107
|
appenders = []
|
108
108
|
detail_pattern = '[%d] %-5l %c{2} %m\n'
|
109
109
|
plain_pattern = '%m\n'
|
data/lib/simplygenius/atmos.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplygenius-atmos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Conway
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|