idlc-sdk-pfm 1.1.1 → 1.1.2

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: 6b3f442857171bdd550a467649a7737600449b1546d9216aa6437657388d4b18
4
- data.tar.gz: bf05b73182ec4b898e683a039eae372907e3fb43063f5724abb49a99d554c48d
3
+ metadata.gz: 0d50da91becd2911aab532fb8391d298fbeeb6e400549bf97604191e88063d5e
4
+ data.tar.gz: 6b2f6c72375da99d4e23b5f498f3b1b3cb97c0a42fc90cd033c06d88e4302496
5
5
  SHA512:
6
- metadata.gz: 22726af53cadfb8a9bf89416c0a628c8eb98ea18c52d1d7617cec46e318334f7504c8b0eb494f096ad5456a5aa1a894934807ff5b533b96ead9102d879ac6fa3
7
- data.tar.gz: 6783df8bc4095853c4af3bd866a81cab0d83015d63622df271228c4eaf1f322f2f3e18cbc2067fcd1a274b428d4f2c2abeef48315153fedcd645e90b3194299a
6
+ metadata.gz: da6a82261221dada81dc5e2a3033035f694ebb26d19fda3f7accdc8ce0983cad9b29c056096ec100812c9d22f5e6bfc68d68075105d8084f5cae744e6756ac13
7
+ data.tar.gz: f6ade30822d130a2c7ae2a8dfb22038c6765bec5ca3701077d9e3cfa495fa2e492e9cf2bd3f5ba838601b4cef6a607d182407be9fe25c7a4af54d095ac8e270e
@@ -100,7 +100,7 @@ module Pfm
100
100
  @settings = {}
101
101
 
102
102
  # Required
103
- @settings['AWS_REGION'] = Setting.new('us-east-1', true)
103
+ @settings['AWS_REGION'] = Setting.new(ENV['AWS_REGION'], true)
104
104
  @settings['RUBOCOP_RULES_FILE'] = Setting.new('.rubocop.yml', true)
105
105
  @settings['FOODCRITIC_RULES_FILE'] = Setting.new('.foodcritic', true)
106
106
  @settings['BUILD_BASE_DIR'] = Setting.new('builds', true)
@@ -1,3 +1,3 @@
1
1
  module Pfm
2
- VERSION = '1.1.1'.freeze
2
+ VERSION = '1.1.2'.freeze
3
3
  end
data/lib/idlc-sdk-pfm.rb CHANGED
@@ -14,6 +14,9 @@ require 'idlc-sdk-pfm/cli'
14
14
  require 'idlc-sdk-pfm/commands_map'
15
15
  require 'idlc-sdk-pfm/builtin_commands'
16
16
 
17
+ # Default region
18
+ ENV['AWS_REGION'] = 'us-east-1' unless ENV['AWS_REGION']
19
+
17
20
  # Load config file as mapp of strings ex. SETTINGS[ 'AWS_REGION' ] = 'us-east-1'
18
21
  SETTINGS = Pfm::Settings.new(true).settings_strings
19
22
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: idlc-sdk-pfm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Cazell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-29 00:00:00.000000000 Z
11
+ date: 2018-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler