appenv 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,7 @@
1
1
  class AppEnv::Environment < ActiveSupport::OrderedOptions
2
2
 
3
3
  def initialize(file = '.env', &blk)
4
- super()
5
- return if @file
4
+ super(&nil)
6
5
  @file = file
7
6
  source = _compile_source_env
8
7
  blk.call(self, source)
@@ -1,5 +1,5 @@
1
1
  module AppEnv
2
2
 
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appenv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2013-04-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
16
- requirement: &9557620 !ruby/object:Gem::Requirement
16
+ requirement: &9946620 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *9557620
24
+ version_requirements: *9946620
25
25
  description: Environment-variable compatible application configuration.
26
26
  email:
27
27
  - joseph@booki.sh