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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db917b64277779cd86a42c05633d8df2fdbfba8f
4
- data.tar.gz: d7227f87369b787997dcf0136f468c9a5d333c7f
3
+ metadata.gz: 2909dd72a57cf2db579c7d0150f9300d0dca78c5
4
+ data.tar.gz: 809c0173b3ef00f36ea6d741949d74d8f544e99e
5
5
  SHA512:
6
- metadata.gz: ce97b5659a92e99839daa9a40f725af09c48eead2a4b03c482099f9d34f7f6b90474245b88b6d1641ee1a1eb8c4765ab11a6153d49dd6ab58e56bc1302f3a18c
7
- data.tar.gz: 066064f298e0579f0cfe7e1739b836f26d27226f5358ca1cee49eb33e692b67cf14638186ec03439865990c5a37a69acede5a5da79149e4085747cd6a4500017
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.
@@ -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
- Spring.watch Rails.root.join('.env') if defined?(Spring)
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
@@ -1,3 +1,3 @@
1
1
  module Dotenv
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
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.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-03 00:00:00.000000000 Z
11
+ date: 2014-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake