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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/lib/toml-rb.rb +17 -1
  3. data/toml-rb.gemspec +1 -2
  4. metadata +2 -3
  5. data/init.rb +0 -18
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32ade102e20e23061b94e8ca46213e6339bb6ed5
4
- data.tar.gz: 2c733d188a03f4a82eed240b97ebdbfdc30d7773
3
+ metadata.gz: f6b3502619355ff2fd40b540dbf6a9bdc0afe3db
4
+ data.tar.gz: cb932bcb0e881fbb28100628193f058dbd805df1
5
5
  SHA512:
6
- metadata.gz: 20c0af758d312662bddf908b2e7640fba6f7eacdd81d4c70b59bf85d63858d5422f7035a5979d7397080eeac528b5446afc2483312f78e76dff2bc17a3ed83d9
7
- data.tar.gz: 1dd538cd557011d7a2a1c8fe8c1583788d3080cabf0b42239dd92fcad9f26573a93cf003b6b401a89afeaa84adc8bb465ec523fad1ba69233ce2dc530ab91ed3
6
+ metadata.gz: 597976a68218ac52452905864869848b43974ba6dc9af205a08984ae30a829367c3b61d34ec8f8264b8328582dc9731b749617b109d8d2fdc9476944bf30714d
7
+ data.tar.gz: d8362d0e3a01c1d66cbc7a63b378626d35083ae3a68e889fa8ec52ee6ea967f2d542c518bc2eea68c59c3cb84fbed09a23d257d6ff2d583fdbdaecd40e836a3e
@@ -1,4 +1,20 @@
1
- require_relative '../init'
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.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'toml-rb'
3
- s.version = '1.1.0'
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.0
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-10-01 00:00:00.000000000 Z
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"