configs 1.2.0 → 1.3.0

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
  SHA1:
3
- metadata.gz: 75f17518587855b53c2e646b213d3c5f4539a10b
4
- data.tar.gz: 1ae168eb3eb5a8d7596daa66e13b351cdc5837a3
3
+ metadata.gz: 095e7101e0ca8fd425061cc86cb5f09380c2c1ff
4
+ data.tar.gz: d1d59668f5f92f32d8dcb026519313388dce08fe
5
5
  SHA512:
6
- metadata.gz: 5409690bac6a039938b32c1f7bc0fa23a69522d2178b22e1a1f61b662f66cb56dc46fbadcdf61fc21463e3cb7341d2f75bf7055fcecf34c09b6c315b8202e805
7
- data.tar.gz: 308648a8a6eb6130d27563126b2372ff85b69c50576af921cebb36bbba4bc6a69ae49878e632a929636e5f98e696a33de77f907ae308c6e0eef3204d7632976d
6
+ metadata.gz: e753c6c199f991a9e53f53c2542ad4ec30bc23624787f1ddd780cf15c9087ed1073571551af737aad27d93bafdaaf1dee12558949ece28a9dcbf8036ba4eaee9
7
+ data.tar.gz: c7f90133b87901729842e3fff395321737a724d1aeaf1166a88a1bf1383cf176a5138ba50167673d9a0ca122e25ca2b1297fc3b8a9bc8b8bdad5ec30dea51cdf
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.1.2
data/lib/configs.rb CHANGED
@@ -25,7 +25,7 @@ module Configs
25
25
  # In a Rails app, this is Rails.env
26
26
  attr_writer :environment
27
27
  def environment
28
- @environment ||= 'default'
28
+ @environment ||= (ENV['RACK_ENV'] || 'default')
29
29
  end
30
30
 
31
31
  # will find (and memoize) the yml config file with this name
@@ -1,3 +1,3 @@
1
1
  module Configs
2
- VERSION = "1.2.0"
2
+ VERSION = "1.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: configs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lance Ivy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-16 00:00:00.000000000 Z
11
+ date: 2014-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -47,6 +47,7 @@ extensions: []
47
47
  extra_rdoc_files: []
48
48
  files:
49
49
  - ".gitignore"
50
+ - ".ruby-version"
50
51
  - ".travis.yml"
51
52
  - Gemfile
52
53
  - LICENSE