foreplay 0.17.1 → 0.17.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Guardfile +1 -1
- data/Rakefile +1 -1
- data/foreplay.gemspec +1 -1
- data/lib/foreplay/engine/defaults.rb +1 -2
- data/lib/foreplay/engine/secrets/location.rb +1 -2
- data/lib/foreplay/engine/server.rb +2 -1
- data/lib/foreplay/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 322975f1979b4f664b310b36febd0784ec9d913a
|
4
|
+
data.tar.gz: b1dc0ae84ccdcaae0a547c40ce96d1f8d811b495
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33e55c05a5b08dd6142681f25bd06e037abfbc6bc1d8a5f5072cc1acef62ee84a44017360e5036cd8ccac3aa075f5ca292059ce4ca6263ee9fcecfa56ba52fe8
|
7
|
+
data.tar.gz: bcccd6c897e3637c9f7ee67828eb73132d05f2f305a831fc25941aa8095c7b5eec09910bad56613f36d80e3b83c22677e3d0efdce26dea1db6e6813c777fb8b0
|
data/Guardfile
CHANGED
@@ -5,7 +5,7 @@ end
|
|
5
5
|
|
6
6
|
guard :rspec, all_after_pass: true, all_on_start: true, cmd: 'bundle exec rspec --fail-fast --format documentation' do
|
7
7
|
watch(%r{^spec/.+_spec\.rb$})
|
8
|
-
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
|
8
|
+
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
9
9
|
watch('spec/spec_helper.rb') { 'spec' }
|
10
10
|
watch(%r{^spec/support/.+\.rb$}) { 'spec' }
|
11
11
|
end
|
data/Rakefile
CHANGED
data/foreplay.gemspec
CHANGED
@@ -19,5 +19,5 @@ Gem::Specification.new do |s|
|
|
19
19
|
|
20
20
|
s.add_runtime_dependency 'foreman', '>= 0.76', '< 1.0'
|
21
21
|
s.add_runtime_dependency 'ssh-shell', '>= 0.4', '< 1.0'
|
22
|
-
s.add_runtime_dependency 'activesupport', '>= 3.2.22', '
|
22
|
+
s.add_runtime_dependency 'activesupport', '>= 3.2.22', '< 5'
|
23
23
|
end
|
@@ -36,8 +36,7 @@ module Foreplay
|
|
36
36
|
|
37
37
|
def roles_all
|
38
38
|
return @roles_all if @roles_all
|
39
|
-
|
40
|
-
@roles_all = YAML.safe_load(File.read(config_file))
|
39
|
+
@roles_all = YAML.safe_load(File.read(config_file), [Date, Symbol, Time], [], true)
|
41
40
|
|
42
41
|
# This environment
|
43
42
|
unless @roles_all.key? environment
|
@@ -31,8 +31,7 @@ module Foreplay
|
|
31
31
|
|
32
32
|
def all_secrets
|
33
33
|
return @all_secrets if @all_secrets
|
34
|
-
|
35
|
-
@all_secrets = url ? YAML.safe_load(raw_secrets) : {}
|
34
|
+
@all_secrets = url ? YAML.safe_load(raw_secrets, [Date, Symbol, Time], [], true) : {}
|
36
35
|
rescue Psych::SyntaxError => e
|
37
36
|
log "Exception caught when loading secrets from this location: #{url}"
|
38
37
|
log "#{e.class}: #{e.message}".red
|
data/lib/foreplay/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreplay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominic Sayers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: foreman
|
@@ -57,7 +57,7 @@ dependencies:
|
|
57
57
|
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: 3.2.22
|
60
|
-
- - "
|
60
|
+
- - "<"
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '5'
|
63
63
|
type: :runtime
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: 3.2.22
|
70
|
-
- - "
|
70
|
+
- - "<"
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '5'
|
73
73
|
description: Deploying Rails projects to Ubuntu using Foreman
|