stack_master 1.7.1-x64-mingw32 → 1.7.2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stack_master/config.rb +4 -0
- data/lib/stack_master/prompter.rb +2 -0
- data/lib/stack_master/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e23fe0b1ad02d826d9e845196960ec3eb056534e
|
4
|
+
data.tar.gz: 02b08ab848383b41d55ec9d628b574dfcde13563
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 654de1b6c6e8baed17953896812d6f4562a870e8dcefcb672bd80e1d0f262f24872964368d134d1f8f54f8e92c6efc7fab2186bcddea923d941e03093f77fbf0
|
7
|
+
data.tar.gz: c15a3ff445d055540b662f11e1e385cff426908cfab675ae14134bfa3dde235028046291ad7365ed9d1c15224b814de4d158c2f495bbd4db6d6a48e8a684b5e6
|
data/lib/stack_master/config.rb
CHANGED
@@ -3,11 +3,15 @@ require 'active_support/core_ext/object/deep_dup'
|
|
3
3
|
|
4
4
|
module StackMaster
|
5
5
|
class Config
|
6
|
+
ConfigParseError = Class.new(StandardError)
|
7
|
+
|
6
8
|
def self.load!(config_file = 'stack_master.yml')
|
7
9
|
resolved_config_file = search_up_and_chdir(config_file)
|
8
10
|
config = YAML.load(File.read(resolved_config_file))
|
9
11
|
base_dir = File.dirname(File.expand_path(resolved_config_file))
|
10
12
|
new(config, base_dir)
|
13
|
+
rescue Psych::SyntaxError => error
|
14
|
+
raise ConfigParseError, "Unable to parse #{resolved_config_file}: #{error}"
|
11
15
|
end
|
12
16
|
|
13
17
|
attr_accessor :stacks,
|
data/lib/stack_master/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stack_master
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.2
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Steve Hodgkiss
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-07-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|