dh-proteus 0.2.8 → 0.2.9

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: dfb402228b57b8c5a7c59744b70652d523b2181436f6a58ac194d425ea8b4090
4
- data.tar.gz: eb9a26f321db8b69899602af91db1d0912e5f29a9434ac4f772b3fead4dfea91
3
+ metadata.gz: 0050e7f0384ddfd112f219028beb73c50fb94f0c1641299cdc9366f00ab8bb3f
4
+ data.tar.gz: 2e0848fe0ef77e05e5bc87866ab1cae91263c31cf09adec78e6c2a1f9c2f9cf5
5
5
  SHA512:
6
- metadata.gz: 9b597499fccf25bf0857c55e8ab204d0dfcf78855e83ed9a2989dfd33ebb5768033816ce0aaee96a8a4cf02b470eda8fc8f219e1bbefe3cc8bd45c6c04360e0c
7
- data.tar.gz: bb0035be1671fcfc50d2a1045aa5fef0673852e10ee3ebf3dc953b05d1afdaa3f80e81b8db3ff9b7a7df2dd7aa98385671f56efb3aa5973a7d5e0b6e83996f5f
6
+ metadata.gz: 853b33065aebfa76b4a2731b848515854df8516c541b7d0f22ae087d6889241dffd777c3afec9eb69734b47ef841178f1730f5bcefede1e59cd5661af03d4131
7
+ data.tar.gz: 15a5da34f039927b8157f9859051266318e778e9cf4c2d94d769adbb648fcde3816a866038c4ff75112b45426625ac76404a24bfbad095899291a83a48cbf01e
@@ -13,10 +13,12 @@ module Proteus
13
13
  @context = context
14
14
  @environment = environment
15
15
 
16
- @config[:providers].select {|p| p[:name] == 'aws' }.first[:environments].each do |env|
17
- env[:match].each do |m|
18
- if @environment == m
19
- @provider_environment = env
16
+ @config[:providers].each do |provider|
17
+ provider[:environments].each do |env|
18
+ env[:match].each do |m|
19
+ if @environment == m
20
+ @provider_environment = env
21
+ end
20
22
  end
21
23
  end
22
24
  end
@@ -1,5 +1,5 @@
1
1
  module Proteus
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
3
3
  end
4
4
 
5
5
  if $0 == __FILE__
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dh-proteus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Albrecht
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-08 00:00:00.000000000 Z
11
+ date: 2020-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler