dotenv 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +6 -0
- data/lib/dotenv/railtie.rb +6 -1
- data/lib/dotenv/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2909dd72a57cf2db579c7d0150f9300d0dca78c5
|
4
|
+
data.tar.gz: 809c0173b3ef00f36ea6d741949d74d8f544e99e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 052edd1c3120f6bb90cba716b64147c6aa8261d1ecb7e6b9e39bb01d445b22caa29da5c686ab8f326420f1c0a1ba39fb2aa80f7e3a589e863099d16cc8db3e2f
|
7
|
+
data.tar.gz: 5ed2d634130c83788b9d3a21204952fe257c046df600b1f07e1d2cbcfb3f934dc34f8bb43f895effb86a69826ad027f6041985dbbbe5551723334a9ed9cffa87
|
data/Changelog.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.0.1 - Oct 4, 2014
|
4
|
+
|
5
|
+
* Fix load error with Spring when running `rails server` ([#140](https://github.com/bkeepers/dotenv/issues/140))
|
6
|
+
|
7
|
+
[Full Changelog](https://github.com/bkeepers/dotenv/compare/v1.0.0...v1.0.1)
|
8
|
+
|
3
9
|
## 1.0.0 - Oct 3, 2014
|
4
10
|
|
5
11
|
* Remove deprecated features. Upgrade to 0.11.0 and fix deprecation warnings before upgrading to 1.0.0.
|
data/lib/dotenv/railtie.rb
CHANGED
@@ -4,7 +4,12 @@ module Dotenv
|
|
4
4
|
class Railtie < Rails::Railtie
|
5
5
|
config.before_configuration do
|
6
6
|
Dotenv.load Rails.root.join('.env')
|
7
|
-
|
7
|
+
|
8
|
+
begin
|
9
|
+
require "spring/watcher"
|
10
|
+
Spring.watch Rails.root.join('.env')
|
11
|
+
rescue LoadError
|
12
|
+
end
|
8
13
|
end
|
9
14
|
end
|
10
15
|
end
|
data/lib/dotenv/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dotenv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
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-10-
|
11
|
+
date: 2014-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|