toby 1.0.0.pre.rc2 → 1.0.0.pre.rc3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1e0acda45cfe119c3d8d9eccf8219e20483f45edf9b03f512d6cbed270bf11c
4
- data.tar.gz: 107c270acc1369b4573a55288355ea14fd391560af8263a65d153544109382f8
3
+ metadata.gz: 5ce2b5aa328ae2fe6069c2b6d389affecea1766c6e65e8973403f22a24dbc7f4
4
+ data.tar.gz: 79932f22dc812332f2626e34db793c2b44c28cb579f353c9356405c983d73e63
5
5
  SHA512:
6
- metadata.gz: 1aa4a9b1d89719d9fbc70853a8f1ba9b2d2d2a77e40f6f1111ef82bcfbd686a7ef2d94cb0fe220b2c44e2ed169128352e84751771930bba03ed80ce06ea6a631
7
- data.tar.gz: b6e7b8136f32fd4a7c64b4eb04a52b036593d25b7238a788c318e5b0e8d33a87b3803daeb4ebbbcfc2c280db194a19f7efab900341f4edd8ebb7e494b9367733
6
+ metadata.gz: f5d10c7e73f82202e130766c7dbf9b88099c93d739e91d76ec2d27dd9d831657cd4a5d8430988ad411c671c309aa055251bef06bffdc66015086404cc2e41978
7
+ data.tar.gz: d1a44248a5ae1b570c1a43f7c19509fbb70115feeab3b361fa64dcbbecf033e009e011b4446ca224f108581d33c6f9862e3480edb4e43551648fc78a98de216a
@@ -23,7 +23,7 @@ require_relative 'toby/toml/array'
23
23
  require_relative 'toby/toml/inline_table'
24
24
  require_relative 'toby/toml/key_value'
25
25
  require_relative 'toby/toml/table'
26
- require_relative 'toby/toml/toml_file'
26
+ require_relative 'toby/toml/toml_data'
27
27
 
28
28
  require_relative 'toby/parser/string'
29
29
  require_relative 'toby/parser/datetime'
@@ -22,7 +22,7 @@ module Toby
22
22
  end
23
23
 
24
24
  # @param options [Hash] The options hash for the object's #to_hash method when applicable
25
- # (see Toby::TOML::TOMLFile#to_hash)
25
+ # (see Toby::TOML::TOMLData#to_hash)
26
26
  # @return [Array] Returns the value of #value, the value of #to_hash,
27
27
  # or the object itself for every object in the Toby::TOML::Array
28
28
  def to_hash(options = {})
@@ -4,7 +4,7 @@ module Toby
4
4
  module TOML
5
5
  # Represents an entire TOML file
6
6
  # @see https://toml.io/en/v1.0.0-rc.3
7
- class TOMLFile < Toby::TOML::Table
7
+ class TOMLData < Toby::TOML::Table
8
8
  # @return [Array<Toby::TOML::Table>] The tables in the TOML file
9
9
  attr_reader :tables
10
10
 
@@ -54,7 +54,7 @@ module Toby
54
54
  end
55
55
 
56
56
  tables.each do |table|
57
- next if table.is_a? Toby::TOML::TOMLFile
57
+ next if table.is_a? Toby::TOML::TOMLData
58
58
 
59
59
  output.puts table.dump
60
60
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.rc2
4
+ version: 1.0.0.pre.rc3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Polny
@@ -30,7 +30,7 @@ files:
30
30
  - lib/toby/toml/inline_table.rb
31
31
  - lib/toby/toml/key_value.rb
32
32
  - lib/toby/toml/table.rb
33
- - lib/toby/toml/toml_file.rb
33
+ - lib/toby/toml/toml_data.rb
34
34
  homepage: https://github.com/joe-p/toby
35
35
  licenses:
36
36
  - MIT