nestedtext 4.2.2 → 4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/SECURITY.md +2 -2
- data/lib/nestedtext/decode.rb +0 -2
- data/lib/nestedtext/encode.rb +1 -2
- data/lib/nestedtext/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd5afa48eaaac01ee16d751cd1cadc991c30caef74e63e97c599ce53efb7b50a
|
4
|
+
data.tar.gz: 074a8cd224cf2e7698052771cc313cc50bfcf87845f81a26e5a0a3c7f5d85aff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6334df88540082c91b218af86c1b45bd3253e71b21c7a0d9ee89522aca982bf1434455254d69f285b31831b8f3b2f0927b331a6483cdfe913db4ad08cc96963a
|
7
|
+
data.tar.gz: f321ed027ac06a3f3d8cd0f2b4def9664942e1c22cca4fc8780b142bd0294cb2c22465ece6cd35c2427fefe9989776ed19f546eb63242c83db7c015dcf0a2e11
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
|
+
## [4.2.3] - 2022-02-17
|
9
|
+
### Fixed
|
10
|
+
- Try fix rubydoc.info missing class methods.
|
8
11
|
|
9
12
|
## [4.2.2] - 2022-02-12
|
10
13
|
### Fixed
|
data/SECURITY.md
CHANGED
data/lib/nestedtext/decode.rb
CHANGED
@@ -15,7 +15,6 @@ module NestedText
|
|
15
15
|
# @param strict [Boolean] If strict mode should be used.
|
16
16
|
#
|
17
17
|
# @return [Object, nil] The parsed object.
|
18
|
-
#
|
19
18
|
# @raise [NestedText::Error] if anything went wrong.
|
20
19
|
def self.load(ntstring, top_class: Object, strict: false)
|
21
20
|
raise Errors::WrongInputTypeError.new([String], ntstring) unless ntstring.nil? || ntstring.is_a?(String)
|
@@ -31,7 +30,6 @@ module NestedText
|
|
31
30
|
# @param strict [Boolean] If strict mode should be used.
|
32
31
|
#
|
33
32
|
# @return [Object, nil] The parsed object.
|
34
|
-
#
|
35
33
|
# @raise [NestedText::Error] if anything went wrong.
|
36
34
|
# @raise [IOError] on issue opening `filename` for reading in text mode.
|
37
35
|
def self.load_file(filename, top_class: Object, strict: false)
|
data/lib/nestedtext/encode.rb
CHANGED
@@ -28,13 +28,12 @@ module NestedText
|
|
28
28
|
end
|
29
29
|
|
30
30
|
# Encode a Ruby object to a NestedText file.
|
31
|
-
|
31
|
+
#
|
32
32
|
# Apart from `filename`, this method behaves exactly like dump.
|
33
33
|
#
|
34
34
|
# @param (see dump)
|
35
35
|
# @param filename [String] The file path to write the NestedText result to. The conventional file extension is `.nt`.
|
36
36
|
#
|
37
|
-
#
|
38
37
|
# @return (see dump)
|
39
38
|
# @raise (see dump)
|
40
39
|
# @raise [IOError] on issues opening the `filename` for writing in text mode.
|
data/lib/nestedtext/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nestedtext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erik Westrup
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unicode_utils
|