dotenv-rails 0.11.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dotenv-rails.rb +1 -11
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96f9f95ba6528453e21fdf1a4b56b6760a727471
|
4
|
+
data.tar.gz: 2460ad47d51ff9194ec408536f9cf95bd283e37e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b228f29afc1e6cdb9d4270e260dae87524b4499148246c9a1b04c42051a3b8ff10eabe977eee410cac6fee7d0e98a11e9c699a8acb84c12e975ac4aef7a3374
|
7
|
+
data.tar.gz: adeab7bb01425eef6b580ab053f03bca8007b00e7e5950d2fefd40182951731fa83d595b5c9d241bce7d6fac2ad461a21a0566f4ef47025bbd74c33283e22e4b
|
data/lib/dotenv-rails.rb
CHANGED
@@ -1,11 +1 @@
|
|
1
|
-
require
|
2
|
-
|
3
|
-
env_file = ".env.#{Rails.env}"
|
4
|
-
if File.exists?(env_file) && !defined?(Dotenv::Deployment)
|
5
|
-
warn "Auto-loading of `#{env_file}` will be removed in 1.0. See " +
|
6
|
-
"https://github.com/bkeepers/dotenv-deployment if you would like to " +
|
7
|
-
"continue using this feature."
|
8
|
-
Dotenv.load ".env.#{Rails.env}"
|
9
|
-
end
|
10
|
-
|
11
|
-
Dotenv.load '.env'
|
1
|
+
require "dotenv/railtie"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dotenv-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Keepers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dotenv
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 1.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 1.0.0
|
27
27
|
description: Autoload dotenv in Rails.
|
28
28
|
email:
|
29
29
|
- brandon@opensoul.org
|
@@ -42,19 +42,18 @@ require_paths:
|
|
42
42
|
- lib
|
43
43
|
required_ruby_version: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|
50
|
-
- -
|
50
|
+
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: '0'
|
53
53
|
requirements: []
|
54
54
|
rubyforge_project:
|
55
|
-
rubygems_version: 2.
|
55
|
+
rubygems_version: 2.2.2
|
56
56
|
signing_key:
|
57
57
|
specification_version: 4
|
58
58
|
summary: Autoload dotenv in Rails.
|
59
59
|
test_files: []
|
60
|
-
has_rdoc:
|