nestedtext 2.0.0 → 2.0.1
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 +4 -4
- data/.gitignore +3 -0
- data/CHANGELOG.md +4 -0
- data/README.md +1 -7
- data/lib/nestedtext/core_ext_internal.rb +1 -1
- data/lib/nestedtext/errors.rb +2 -2
- data/lib/nestedtext/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 309ec763445bda579aa39d3b82dec3bac8c7d2d2a76ef6b1c8e540452fa02150
|
|
4
|
+
data.tar.gz: d8fe34b30c1d1ce10206fa4b290339fb069b8cb66ce3d3e8ea58e6050271622f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 49b45ea8ab5f15704c7cd3322a40278f885b552377c978f661215dbdf727e29ac514c035bd6462ad7601e23dfcaebe159a5fbac13816eca6cc0e4fc6f25c7265
|
|
7
|
+
data.tar.gz: ff062a01cb069d1cd8b685b434fe8554966f52aadb946f8339eee8f6efda531575f988a49ef5ac3c7c232268e0bc007dac84aa00cb03cc434e0597a61a57ed88
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [2.0.1] - 2022-01-26
|
|
10
|
+
### Fixed
|
|
11
|
+
- README issue with logo showing up on Rdoc (out-commented HTML).
|
|
12
|
+
|
|
9
13
|
## [2.0.0] - 2022-01-26
|
|
10
14
|
### Changed
|
|
11
15
|
- **Breaking change**: strict mode now defaults to false for both the `load` and `dump` methods.
|
data/README.md
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
<p align="center">
|
|
3
|
-
<a href="#">
|
|
4
|
-
<img src="https://raw.githubusercontent.com/erikw/nestedtext-ruby/main/img/logo.webp" alt="Project logo" />
|
|
5
|
-
</a>
|
|
6
|
-
</p>
|
|
7
|
-
-->
|
|
8
1
|
# NestedText Ruby Library [](https://twitter.com/intent/tweet?text=NestedText,%20the%20human%20friendly%20data%20format,%20has%20a%20now%20a%20ruby%20library%20for%20easy%20encoding%20and%20decoding&url=https://github.com/erikw/nestedtext-ruby&via=erik_westrup&hashtags=nestedtext,ruby,gem)
|
|
9
2
|
[](https://badge.fury.io/rb/nestedtext)
|
|
10
3
|
[](https://rubygems.org/gems/nestedtext)
|
|
4
|
+
[](https://www.rubydoc.info/gems/nestedtext/)
|
|
11
5
|
[](https://nestedtext.org/en/v3.2/)
|
|
12
6
|
[](https://github.com/KenKundert/nestedtext_tests/tree/585e95a73d94ac1f48e71a154e2db0ab67cf30fa)
|
|
13
7
|
[](https://github.com/erikw/nestedtext-ruby/actions/workflows/ci.yml)
|
data/lib/nestedtext/errors.rb
CHANGED
|
@@ -6,14 +6,14 @@ require "word_wrap/core_ext"
|
|
|
6
6
|
require "nestedtext/constants"
|
|
7
7
|
|
|
8
8
|
module NestedText
|
|
9
|
-
# Top level error for
|
|
9
|
+
# Top level error for users to rescue on.
|
|
10
10
|
class Error < StandardError
|
|
11
11
|
private_class_method :new
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
module Errors
|
|
15
15
|
class InternalError < Error
|
|
16
|
-
public_class_method :new # Prevent
|
|
16
|
+
public_class_method :new # Prevent users from instansiating.
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
class ParseError < InternalError
|
data/lib/nestedtext/version.rb
CHANGED