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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d678212235cb8c3fb836572d07353c27512f4acddd6f7a209f782a27b9510069
4
- data.tar.gz: 68137343f587a2d8d5193aac0b0a9dcee435b6dba5fc4576d7161cbdd6ec41b0
3
+ metadata.gz: 10a9221dda4f8c0f68a5b7d16cdd3f4b659e1fffa34a5791c950ce13a3555cef
4
+ data.tar.gz: 8ccff2e6feaedcd4263cc426b78263eefe52e0a934070b55d5726a3e4e9933b8
5
5
  SHA512:
6
- metadata.gz: 03bff3f235784bad4f63be6af06d30c7da5d14f07803f933f41535f4b19cfc27aa32382cf2cf2086a3fc8d8bd1c2f6407ec156495721d87866e0d73cccef34dc
7
- data.tar.gz: 811369cb20b110364afe9de91528c7e6572d54844a1284aaef3213383498141c3d289824062bf2135daaa3d03c0ec478ae86f00a0c9c1cbcd708921340af10b4
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 ||= file_contents ? YAML.safe_load(file_contents) : {}
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
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'fileutils'
3
4
  require 'net/ssh'
4
5
 
5
6
  module Dependencies
data/ops_team.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'ops_team'
5
- s.version = '1.16.1.rc1'
5
+ s.version = '1.16.2'
6
6
  s.authors = [
7
7
  'nickthecook@gmail.com'
8
8
  ]
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.1.rc1
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: 1.3.1
252
+ version: '0'
253
253
  requirements: []
254
254
  rubygems_version: 3.1.6
255
255
  signing_key: