toml-rb 2.1.2 → 2.2.0

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: 1ed2a5c60a90b96e4f1d9a0aa3024fc3b1cfc9504fe959d881528bf0daa9367f
4
- data.tar.gz: 9fa0b0ce2c2ae818c797aa7f5b42d51988ab502f498807aa60db6b1aff106ac1
3
+ metadata.gz: 765a560c972358ce8b26fd4c2a1206f3605cd981d34cc95ce76e8883c74db0ce
4
+ data.tar.gz: ceb2f71af612e83e62c33a27ea947144b76e900883eef1200cb6eb2d416f7426
5
5
  SHA512:
6
- metadata.gz: 4a94f395d0d470a13d4b45b39a11f44917f7b9d992b18717677b219ffb4abe4ca73cf0bd693da833dbaf6eabe627b25e4f43bfe1661ed61cc9d6ca2a215313c0
7
- data.tar.gz: 842796622e4c97b5c08c691a4a876a6a00b358b4d0222e8665a7e1b34b105f30d8f711e77ecc77f4f49d9d6417b57e775c842dcc15c5b7998c4c6199c0dede4e
6
+ metadata.gz: 66cf777cc7be8677ba2feaf63a0521a3d578f2482d5bbf63908f2fc10424a213fcd8080a83eab73fcdb954f9e0645bb11ddb6fcb01f2f6121f512aae1606e147
7
+ data.tar.gz: 13b9908f48b5888487e9417d8b3eff1c7388e3e8b7e0a031ad0045142be2210ba6ba72252da5e7c79ed6c4faf26c6cf51128f343b72ef5483e969cc51b688268
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ![TOML Logo](https://github.com/toml-lang/toml/blob/master/logos/toml-100.png)
1
+ ![TOML Logo](https://github.com/toml-lang/toml/blob/main/logos/toml-100.png)
2
2
 
3
3
 
4
4
  toml-rb
@@ -11,7 +11,7 @@ toml-rb
11
11
 
12
12
  A [TOML](https://github.com/toml-lang/toml) parser using [Citrus](http://mjackson.github.io/citrus) library.
13
13
 
14
- TOML specs supported: `0.5.0`
14
+ TOML specs supported: `1.0.0`
15
15
 
16
16
  Installation
17
17
  ------------
@@ -1,36 +1,36 @@
1
1
  grammar TomlRB::Arrays
2
2
  include TomlRB::Primitive
3
-
3
+
4
4
  rule array_comments
5
5
  (indent? (comment indent?)*)
6
6
  end
7
7
 
8
8
  rule float_array
9
- (float (space "," array_comments float)*) {
9
+ (float (indent? "," array_comments float)*) {
10
10
  captures[:float].map(&:value)
11
11
  }
12
12
  end
13
13
 
14
14
  rule string_array
15
- (string (space "," array_comments string)*) {
15
+ (string (indent? "," array_comments string)*) {
16
16
  captures[:string].map(&:value)
17
17
  }
18
18
  end
19
19
 
20
20
  rule integer_array
21
- (integer (space "," array_comments integer)*) {
21
+ (integer (indent? "," array_comments integer)*) {
22
22
  captures[:integer].map(&:value)
23
23
  }
24
24
  end
25
25
 
26
26
  rule datetime_array
27
- (datetime (space "," array_comments datetime)*) {
27
+ (datetime (indent? "," array_comments datetime)*) {
28
28
  captures[:datetime].map(&:value)
29
29
  }
30
30
  end
31
31
 
32
32
  rule bool_array
33
- (bool (space "," array_comments bool)*) {
33
+ (bool (indent? "," array_comments bool)*) {
34
34
  captures[:bool].map(&:value)
35
35
  }
36
36
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TomlRB
4
- VERSION = "2.1.2"
4
+ VERSION = "2.2.0"
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: 2.1.2
4
+ version: 2.2.0
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: 2022-01-27 00:00:00.000000000 Z
12
+ date: 2022-07-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: citrus