cipherpipe 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/cipherpipe.gemspec +1 -1
- data/lib/cipherpipe/configuration.rb +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7aac2c412e8538004eea7f1c1e9c69ec63d7810ec6737cdd43e29e07dbc8a549
|
4
|
+
data.tar.gz: fc7108645a39a68b9bd4d07980a77446f830f3da491171ba1d89d606b1c88290
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d43797a015fa64376ad4e9371de902e9a6d48666a5336318082eb6e2da271c52abc67f4e714b12e39122f555d9d69a98961f0f0db4cbc0089a9445f72577183
|
7
|
+
data.tar.gz: b29dc12a59b1d355598f2b86ecd07a35e8835fc9b614404d07123d740216bd61abb09f36cd9e758416ca10fcad2c42895cf74d23e1c9818f932b82ce8fe2fadc
|
data/Gemfile.lock
CHANGED
data/cipherpipe.gemspec
CHANGED
@@ -49,11 +49,14 @@ class Cipherpipe::Configuration
|
|
49
49
|
end
|
50
50
|
|
51
51
|
def parse_source(hash)
|
52
|
+
role = hash["ec2_role"]
|
53
|
+
role.gsub!("ENVIRONMENT", environment) unless role.nil?
|
54
|
+
|
52
55
|
Cipherpipe::ExternalSource.new(
|
53
56
|
hash["type"],
|
54
57
|
hash["destination"].gsub("ENVIRONMENT", environment),
|
55
58
|
hash["primary"],
|
56
|
-
|
59
|
+
role
|
57
60
|
)
|
58
61
|
end
|
59
62
|
|