ops_team 1.16.1.rc1 → 1.16.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/app_config.rb +8 -1
- data/lib/dependencies/sshkey.rb +1 -0
- data/ops_team.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10a9221dda4f8c0f68a5b7d16cdd3f4b659e1fffa34a5791c950ce13a3555cef
|
4
|
+
data.tar.gz: 8ccff2e6feaedcd4263cc426b78263eefe52e0a934070b55d5726a3e4e9933b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a314cbc22275e56b5bf94fe346219e054a6b666c726a33606bc5559cd8e1ccc5844b0cec5fd2c812bb2f55e1204b0ca3e29b03653c93bb5e4b77261a02f9385d
|
7
|
+
data.tar.gz: a3874f0db5ce4d8e77dd9b8aa23ed2bc3b01051e43c723c7c515b630eebead194486318b83b5f0b6f887301eaeeed8af87844c8484edaa646a35da780ba93726
|
data/lib/app_config.rb
CHANGED
@@ -42,7 +42,14 @@ class AppConfig
|
|
42
42
|
private
|
43
43
|
|
44
44
|
def config
|
45
|
-
@config ||=
|
45
|
+
@config ||= if file_contents == ""
|
46
|
+
Output.warn("Config file '#{@filename}' exists but is empty.")
|
47
|
+
{}
|
48
|
+
elsif file_contents
|
49
|
+
YAML.safe_load(file_contents)
|
50
|
+
else
|
51
|
+
{}
|
52
|
+
end
|
46
53
|
rescue YAML::SyntaxError => e
|
47
54
|
raise ParsingError, "#{@filename}: #{e}"
|
48
55
|
end
|
data/lib/dependencies/sshkey.rb
CHANGED
data/ops_team.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ops_team
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.16.
|
4
|
+
version: 1.16.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nickthecook@gmail.com
|
@@ -247,9 +247,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
247
247
|
version: '2.5'
|
248
248
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
249
249
|
requirements:
|
250
|
-
- - "
|
250
|
+
- - ">="
|
251
251
|
- !ruby/object:Gem::Version
|
252
|
-
version:
|
252
|
+
version: '0'
|
253
253
|
requirements: []
|
254
254
|
rubygems_version: 3.1.6
|
255
255
|
signing_key:
|