toml-rb 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/toml-rb.rb +17 -1
- data/toml-rb.gemspec +1 -2
- metadata +2 -3
- data/init.rb +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6b3502619355ff2fd40b540dbf6a9bdc0afe3db
|
4
|
+
data.tar.gz: cb932bcb0e881fbb28100628193f058dbd805df1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 597976a68218ac52452905864869848b43974ba6dc9af205a08984ae30a829367c3b61d34ec8f8264b8328582dc9731b749617b109d8d2fdc9476944bf30714d
|
7
|
+
data.tar.gz: d8362d0e3a01c1d66cbc7a63b378626d35083ae3a68e889fa8ec52ee6ea967f2d542c518bc2eea68c59c3cb84fbed09a23d257d6ff2d583fdbdaecd40e836a3e
|
data/lib/toml-rb.rb
CHANGED
@@ -1,4 +1,20 @@
|
|
1
|
-
|
1
|
+
require 'citrus'
|
2
|
+
|
3
|
+
require_relative "toml-rb/errors"
|
4
|
+
require_relative "toml-rb/array"
|
5
|
+
require_relative "toml-rb/string"
|
6
|
+
require_relative "toml-rb/table_array"
|
7
|
+
require_relative "toml-rb/inline_table"
|
8
|
+
require_relative "toml-rb/keyvalue"
|
9
|
+
require_relative "toml-rb/keygroup"
|
10
|
+
require_relative "toml-rb/parser"
|
11
|
+
require_relative "toml-rb/dumper"
|
12
|
+
|
13
|
+
ROOT = File.dirname(File.expand_path(__FILE__))
|
14
|
+
Citrus.load "#{ROOT}/toml-rb/grammars/helper.citrus"
|
15
|
+
Citrus.load "#{ROOT}/toml-rb/grammars/primitive.citrus"
|
16
|
+
Citrus.load "#{ROOT}/toml-rb/grammars/array.citrus"
|
17
|
+
Citrus.load "#{ROOT}/toml-rb/grammars/document.citrus"
|
2
18
|
|
3
19
|
module TomlRB
|
4
20
|
# Public: Returns a hash from *TomlRB* content.
|
data/toml-rb.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'toml-rb'
|
3
|
-
s.version = '1.1.
|
3
|
+
s.version = '1.1.1'
|
4
4
|
s.date = Time.now.strftime('%Y-%m-%d')
|
5
5
|
s.summary = 'Toml parser in ruby, for ruby.'
|
6
6
|
s.description = 'A Toml parser using Citrus parsing library. '
|
@@ -16,7 +16,6 @@ Gem::Specification.new do |s|
|
|
16
16
|
'lib/**/*.citrus',
|
17
17
|
'*.gemspec',
|
18
18
|
'test/*.*',
|
19
|
-
'init.rb'
|
20
19
|
]
|
21
20
|
|
22
21
|
s.add_dependency 'citrus', '~> 3.0', '> 3.0'
|
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: 1.1.
|
4
|
+
version: 1.1.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: 2017-
|
12
|
+
date: 2017-11-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: citrus
|
@@ -41,7 +41,6 @@ extra_rdoc_files: []
|
|
41
41
|
files:
|
42
42
|
- README.md
|
43
43
|
- Rakefile
|
44
|
-
- init.rb
|
45
44
|
- lib/toml-rb.rb
|
46
45
|
- lib/toml-rb/array.rb
|
47
46
|
- lib/toml-rb/dumper.rb
|
data/init.rb
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'citrus'
|
2
|
-
|
3
|
-
ROOT = File.dirname(File.expand_path(__FILE__))
|
4
|
-
|
5
|
-
require "#{ROOT}/lib/toml-rb/errors"
|
6
|
-
require "#{ROOT}/lib/toml-rb/array"
|
7
|
-
require "#{ROOT}/lib/toml-rb/string"
|
8
|
-
require "#{ROOT}/lib/toml-rb/table_array"
|
9
|
-
require "#{ROOT}/lib/toml-rb/inline_table"
|
10
|
-
require "#{ROOT}/lib/toml-rb/keyvalue"
|
11
|
-
require "#{ROOT}/lib/toml-rb/keygroup"
|
12
|
-
require "#{ROOT}/lib/toml-rb/parser"
|
13
|
-
require "#{ROOT}/lib/toml-rb/dumper"
|
14
|
-
|
15
|
-
Citrus.load "#{ROOT}/lib/toml-rb/grammars/helper.citrus"
|
16
|
-
Citrus.load "#{ROOT}/lib/toml-rb/grammars/primitive.citrus"
|
17
|
-
Citrus.load "#{ROOT}/lib/toml-rb/grammars/array.citrus"
|
18
|
-
Citrus.load "#{ROOT}/lib/toml-rb/grammars/document.citrus"
|