toml-rb 3.0.0 → 3.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
  SHA256:
3
- metadata.gz: 8ffefacf06bf0b68f7d313970ca32038eee20ca6523e858bfb2868a0a157b54c
4
- data.tar.gz: 46a024f4576404516986a08785b63f2c63c3eabf29fa0e114b6758ca251ef6e0
3
+ metadata.gz: 17bca528380dd019502a124e00667782d479b10f3b969d4953eb53738c8f94b4
4
+ data.tar.gz: db97b38da58ce0a0ff99f5f1c62b0c14aadf40529188336843964f8fe7bc808a
5
5
  SHA512:
6
- metadata.gz: ce98e0824c9079b7f2703330fb23d5954bb6ce2a3e0f1f69b7fb7d0a98098d46f74a4e0a5011b21bffea83c52e03932658ba54ce336231c28f250306fdac6c31
7
- data.tar.gz: 1a12c162af7d87ea67906fb83849b300e8cf7810e39ee2009a0a3fc2f496be916cca99defca054687e53a9a6ce46da432874032d98836fc262b45154ff9aeb80
6
+ metadata.gz: 7f27ceb8979c1775126f652c39766e84072007ba59d58bab852be8a38033f091c31239b7931515de1c9d504e11f253d27cf2086e47efc9339de62aaa17dee6cc
7
+ data.tar.gz: f659f25a3335391dbb3982e09f76266ac365349e87b8d58b3eb1d6f3b2b403da4bf976b735a2cb55bcddbdd061894989329b243f19818ab50f339d86c40b8b07
@@ -105,7 +105,7 @@ module TomlRB
105
105
  end
106
106
 
107
107
  def bare_key?(key)
108
- !!key.to_s.match(/^[a-zA-Z0-9_-]*$/)
108
+ !!key.to_s.match(/^[a-zA-Z0-9_-]+$/)
109
109
  end
110
110
 
111
111
  # The key needs to use quotes according to TOML specs.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TomlRB
4
- VERSION = "3.0.0"
4
+ VERSION = "3.0.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toml-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emiliano Mancuso
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-01-21 00:00:00.000000000 Z
12
+ date: 2024-01-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: citrus