dotenv 3.1.6 → 3.1.7

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: 9ef0c37e3854d57f689650f8dd106baf862506689c27a3151f19d1e56c8c205d
4
- data.tar.gz: 933c17a9b3974de22f762da60230f449a8b7b75b94949995301905d146289591
3
+ metadata.gz: a4ad122f937755147ff0cc52552f17b1e1cf8f9a290ff791ac5ba2f8ef8b43c7
4
+ data.tar.gz: 3116d767ea5dc67adca867395ea7effbc1b4ee30769223961f8d041d5c34482d
5
5
  SHA512:
6
- metadata.gz: 9a8fed1ea223636257222b690ca9320328d382671fe4023015ddd3aebbd0c778b8f904dab59e80c89309fc01c97e7bb0981c3c2b61833a4884b0c3744608a54b
7
- data.tar.gz: 1cbe9de7f7587cb500464130cc1069f064630eff8ba905fc438080830aec6d7bd193dd5b97b22f71446f78313e1840c4fd147677be2b134e00853f58dafe8ec2
6
+ metadata.gz: 86436a8b6d193590befeb48a29882b9bd5523f8b80fff961faf1feda91cc720b8b44c1e2705bfbebb73836b99684273d49f78b94c09d05a3077e62996473a47c
7
+ data.tar.gz: bb6f98a159c821e0f1cb98ab6c3f0b54a109acc3c934770fd6603f7497c047f031c7124f839963f0f5132a12bd2736e25ab2e4c648cfa56589a30b328d03de61
data/lib/dotenv/parser.rb CHANGED
@@ -43,7 +43,7 @@ module Dotenv
43
43
 
44
44
  def initialize(string, overwrite: false)
45
45
  # Convert line breaks to same format
46
- @string = string.gsub(/[\n\r]+/, "\n")
46
+ @string = string.gsub(/\r\n?/, "\n")
47
47
  @hash = {}
48
48
  @overwrite = overwrite
49
49
  end
@@ -1,3 +1,3 @@
1
1
  module Dotenv
2
- VERSION = "3.1.6".freeze
2
+ VERSION = "3.1.7".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.6
4
+ version: 3.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Keepers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-13 00:00:00.000000000 Z
11
+ date: 2024-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake