dotenv 3.1.3 → 3.1.4

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
  SHA256:
3
- metadata.gz: 8f16b8b4a904cc3ab097d3c4fcc7a86a548b95c99a40323133f775ce635acc7a
4
- data.tar.gz: 8f1eac3e583001bd9e2455112f75145a45770a9d1d5e1b4ae58cd16d09160009
3
+ metadata.gz: bbefe05cecd5a12cdd9a9dc72b3ff2feee883c10f84c40c9105d3d9c1c5ffc3c
4
+ data.tar.gz: a61066d9119426fa542acf6a17d7134033d17cef8bdf71fe87e964a5d4b5e925
5
5
  SHA512:
6
- metadata.gz: e15bdb2e4d3327c75ffd141d7f1bcea8f2d8ce29b450d1aaa8ac90b83e08b65c70a9752fbc76d1a0bc874889b7d26d85e736391f7d1c4a588deda04fb191d39f
7
- data.tar.gz: 28d43ce2765fd432d50e85f389eabc00618b807cfc1a6034c5974641534f4455a7324340ebc559598391eadad2e469bc8a5ca9aa4e4486594519d4493db4a718
6
+ metadata.gz: 9941e0374f811e9048db77c77731106b1b3f75eff0358d6c2a8ef24265857ccfb02d76409f733f1f930815f4b032e5939520ee6c0a48d3eaa00d734be036eb4b
7
+ data.tar.gz: 83b856b11c9817f51151e4249a1fb5fd38b057720a049270ffa7fcf05a20547ce2db29e6690feb8f536478b0995549eaa52a90b5d1a019af5aa73ce6def3e561
data/lib/dotenv/rails.rb CHANGED
@@ -11,7 +11,7 @@ Dotenv.instrumenter = ActiveSupport::Notifications
11
11
 
12
12
  # Watch all loaded env files with Spring
13
13
  ActiveSupport::Notifications.subscribe("load.dotenv") do |*args|
14
- if defined?(Spring)
14
+ if defined?(Spring) && Spring.respond_to?(:watch)
15
15
  event = ActiveSupport::Notifications::Event.new(*args)
16
16
  Spring.watch event.payload[:env].filename if Rails.application
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module Dotenv
2
- VERSION = "3.1.3".freeze
2
+ VERSION = "3.1.4".freeze
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: 3.1.3
4
+ version: 3.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Keepers
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-17 00:00:00.000000000 Z
11
+ date: 2024-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -85,7 +85,7 @@ licenses:
85
85
  - MIT
86
86
  metadata:
87
87
  changelog_uri: https://github.com/bkeepers/dotenv/releases
88
- post_install_message:
88
+ post_install_message:
89
89
  rdoc_options: []
90
90
  require_paths:
91
91
  - lib
@@ -100,8 +100,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  - !ruby/object:Gem::Version
101
101
  version: '0'
102
102
  requirements: []
103
- rubygems_version: 3.5.9
104
- signing_key:
103
+ rubygems_version: 3.5.16
104
+ signing_key:
105
105
  specification_version: 4
106
106
  summary: Loads environment variables from `.env`.
107
107
  test_files: []