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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9b2fab8ec6b717ba29bc3c22384079406026f74695a132edf66d874d5d15314
4
- data.tar.gz: bf35ea57b17d3ff040fae15078ed8d303330d318a6067903a0c89e0f57e41d3b
3
+ metadata.gz: 7aac2c412e8538004eea7f1c1e9c69ec63d7810ec6737cdd43e29e07dbc8a549
4
+ data.tar.gz: fc7108645a39a68b9bd4d07980a77446f830f3da491171ba1d89d606b1c88290
5
5
  SHA512:
6
- metadata.gz: b19efd4d039824f3222d8dc53b8279712acf2d5ecf203e199901fa65b656c4a29bf1b122eaf7e71d2b8d2e0e823dbbcb864ae6e0fa1b4f4a558589309da325bc
7
- data.tar.gz: 076ad3592c79152537e8afae5db73c8d6e6b4025272738dacf2b9f123380a82141691beca3f483635773377020ce456befb8ba94f6dc792f5ce612a9580dd455
6
+ metadata.gz: 8d43797a015fa64376ad4e9371de902e9a6d48666a5336318082eb6e2da271c52abc67f4e714b12e39122f555d9d69a98961f0f0db4cbc0089a9445f72577183
7
+ data.tar.gz: b29dc12a59b1d355598f2b86ecd07a35e8835fc9b614404d07123d740216bd61abb09f36cd9e758416ca10fcad2c42895cf74d23e1c9818f932b82ce8fe2fadc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cipherpipe (0.2.0)
4
+ cipherpipe (0.2.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/cipherpipe.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "cipherpipe"
3
- spec.version = "0.2.0"
3
+ spec.version = "0.2.1"
4
4
  spec.authors = ["Pat Allan"]
5
5
  spec.email = ["pat@freelancing-gods.com"]
6
6
 
@@ -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
- hash["ec2_role"]
59
+ role
57
60
  )
58
61
  end
59
62
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cipherpipe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan