gris 0.1.4 → 0.1.5

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: 4ef5f60c714ffb37c1cee757a9f948a7be8cc565
4
- data.tar.gz: aa30d373204592b972d76be94ecd3d5bb6026c96
3
+ metadata.gz: d24e479d857e250201458ae8d8e87857ca973677
4
+ data.tar.gz: 95231f647554f326516432a6228963eccfd201b5
5
5
  SHA512:
6
- metadata.gz: ed7f285cd67b0465818cd73d56777c824ffa8715d9461f337e17ce7df8d5d6c52207874e1aa740c6b3692ce5ad6cf0a6d0d4af692383d5697ca90c7d99d1918e
7
- data.tar.gz: b5637b878507394ec58524598ca861be1fb92d991ab30ffb482a4f25c18a0b4037cd6be329fa9a274a92343c686b12beb913b3b9f920dd4690701539f463222e
6
+ metadata.gz: 3308f4baea02ab03e62da41a922c96a0fa41cc2909da23b07a7c4709b78c6d417832277b2b531aa31cc1cb9631a456a000605d66cf37a1f4fa1de231265289eb
7
+ data.tar.gz: bee140a75df7feb198809c9cd5ab29733e90a6a52076d265f2181d697df05126c74076215590df394765f0fe64808f8798d07a779b819806c4d5a1c1d80c9f88
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gris (0.1.4)
4
+ gris (0.1.5)
5
5
  activesupport (~> 4.2, >= 4.2.0)
6
6
  dotenv (~> 1.0.2, >= 1.0.2)
7
7
  git (~> 1.2, >= 1.2.8)
data/lib/gris/setup.rb CHANGED
@@ -4,7 +4,8 @@ require 'dotenv'
4
4
  module Gris
5
5
  class << self
6
6
  def load_environment
7
- Dotenv.load
7
+ env_file = Gris.env.test? ? '.env.test' : '.env'
8
+ Dotenv.overload env_file
8
9
  end
9
10
 
10
11
  def env
data/lib/gris/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Gris
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
 
4
4
  class Version
5
5
  class << self
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gris
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Fareed
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-16 00:00:00.000000000 Z
11
+ date: 2015-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor