awful 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/awful.rb +2 -2
  3. data/lib/awful/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 81ec18bc27ae6f684004db441b82b05ed0cacf2e
4
- data.tar.gz: 1a573418df38eae2043626ce28805cb9cd0f23c0
3
+ metadata.gz: 5c3c3f308afeedec0d4062123c7866216c70e7ab
4
+ data.tar.gz: 7e47dafe01e7ca56f2422316c0e45c0fb04de498
5
5
  SHA512:
6
- metadata.gz: 7fc1de9863ae692e5019ae5083bffac6c3b02f7112cfb6a7a3ac4e1f144684b8991d9a698ad1564bbb44758482e696db1a427ba7447e3a600f1cc043d75b3a03
7
- data.tar.gz: 67c9693f4e02a50dd40fb97486887b779c4eb050f588981a61ab668f22415d895963e12167dfb4f495d3702769805a37b8679ea2cc22fb2772bc746b3174d832
6
+ metadata.gz: 9b56c90f105bca387670e4186395cd90abf3ccfa3b18fab280372d299253253b74651fbdd711309390bca00f1201af83860ac1f6c140de948db2ac3f503ed9ed
7
+ data.tar.gz: 07fb00bdc2e4e5a702d3b74cccfd6321afb5c622ff0fd27dfd23251b3e2906ee45ef1bd354558f74a6468013de1dfc4a8282d1c80e443175e2a2389fd5021f1e
data/lib/awful.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  require "awful/version"
2
2
 
3
+ require 'dotenv'
3
4
  require 'aws-sdk'
4
5
  require 'thor'
5
6
  require 'yaml'
6
7
  require 'erb'
7
- require 'dotenv'
8
8
 
9
9
  module Awful
10
10
  class Cli < Thor
@@ -48,7 +48,7 @@ module Awful
48
48
  end
49
49
 
50
50
  def load_cfg(options = {}, file = nil)
51
- Dotenv.load!(options[:env]) if options[:env]
51
+ Dotenv.overload(options[:env]) if options[:env]
52
52
  src = (file and File.read(file)) || ((not $stdin.tty?) and $stdin.read)
53
53
  cfg = src ? YAML.load(::ERB.new(src).result(binding)) : {}
54
54
  symbolize_keys(cfg).merge(symbolize_keys(options.reject{ |_,v| v.nil? }))
data/lib/awful/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Awful
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.14"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ric Lister