nestedtext 4.2.2 → 4.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56edadbc6c19a780acc64f2dc5e7b433a7a5086b9c2ff5d19837d18fa84ef1cb
4
- data.tar.gz: 0b65feaf1d2cd866c1700c19bf2329c4c0a01db97b48c7c3b18dd91ae1620969
3
+ metadata.gz: 4097a04ffbad6494a050d95624b1a812d88367ae0ad13f664db3202e78497561
4
+ data.tar.gz: 480a7d50589f6f531375b6e5f9e1fdeead6ca2528d01ef0378cf420f2bbe5334
5
5
  SHA512:
6
- metadata.gz: fa67ebde8e33b4e254f1ca484046113971141bb2fcd10e7b64aeb03cd4dab0912acfc465c521bf9a5647483536c478cc754c0602f79bf9a156c870c9e7d2974e
7
- data.tar.gz: 9527268ebfae6a0646ce7f22f9af6f30bca4a70e8e65a233e94fd870054ebae374cc2a1aa58df4572d3128298ae8433fc8218633dcc2410665e8fd9ab895ff25
6
+ metadata.gz: e81869accd1c6a905ee1a020b03f3f5745219e6df4267541995660f82fced4e744dee03d0a64434ee56d976a28874ab48c6c5901c3a5b8f9ebf756f7b7bdd984
7
+ data.tar.gz: 3e23a0fd7253fdbc35e025de36cbc4916da7cf880fcc02884a92616a2375ee0200f0e96571da021a681a013ced87c7d07d243905991a292071c0066c9d808b1a
data/.yardopts ADDED
@@ -0,0 +1,17 @@
1
+ --title "NestedText API Documentation"
2
+ --readme README.md
3
+ --embed-mixin NTEncodeMixin
4
+ --markup markdown
5
+ --markup-provider redcarpet
6
+ --fail-on-warning
7
+ lib/nestedtext.rb
8
+ lib/nestedtext/core_ext.rb
9
+ lib/nestedtext/encode.rb
10
+ lib/nestedtext/decode.rb
11
+ lib/nestedtext/encode_helpers.rb
12
+ lib/nestedtext/error.rb
13
+ lib/nestedtext/version.rb
14
+ -
15
+ CHANGELOG.md
16
+ CONTRIBUTING.md
17
+ LICENSE.txt
data/CHANGELOG.md CHANGED
@@ -6,6 +6,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [4.4.1] - 2022-02-17
10
+ ### Fixed
11
+ - Try fix rubydoc.info missing class methods.
12
+
13
+ ## [4.4.0] - 2022-02-17
14
+ ### Fixed
15
+ - rubydoc.info not re-generating for patch versions?
16
+
17
+ ## [4.3.1] - 2022-02-17
18
+ ### Fixed
19
+ - Include .yardopts in gem for rubydoc.info
20
+
21
+ ## [4.3.0] - 2022-02-17
22
+ ### Fixed
23
+ - Try fix rubydoc.info missing class methods.
24
+
9
25
  ## [4.2.2] - 2022-02-12
10
26
  ### Fixed
11
27
  - Better module documentation fix.
data/README.md CHANGED
@@ -383,7 +383,12 @@ or combined with gem-release:
383
383
  ```console
384
384
  $ vi CHANGELOG.md
385
385
  $ git commit -am "Update CHANGELOG.md" && git push
386
- $ gem bump --version minor --tag --sign --push
386
+ $ gem bump --version minor --tag --push --sign
387
+ ```
388
+
389
+ then watch progress with [gh](https://cli.github.com/)
390
+ ```console
391
+ $ gh run watch
387
392
  ```
388
393
 
389
394
 
data/SECURITY.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Version | Supported |
6
6
  | ------- | ------------------ |
7
- | 2.x.x | :white_check_mark: |
8
- | < 2.0.0 | :x: |
7
+ | 4.x.x | :white_check_mark: |
8
+ | < 4.0.0 | :x: |
9
9
 
10
10
 
11
11
  ## Reporting a Vulnerability
@@ -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)
@@ -28,17 +28,15 @@ 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.
41
- #
42
40
  def self.dump_file(obj, filename, **kwargs)
43
41
  raise Errors::DumpFileBadPathError, filename unless filename.is_a? String
44
42
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module NestedText
4
4
  # The version of this library.
5
- VERSION = '4.2.2'
5
+ VERSION = '4.4.1'
6
6
  end
data/nestedtext.gemspec CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
 
28
28
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
29
29
  `git ls-files -z`.split("\x0").select do |f|
30
- f.match(%r{\A(?:lib/|CHANGELOG.md|CONTRIBUTING.md|LICENSE.txt|README.md|SECURITY.md|nestedtext.gemspec)})
30
+ f.match(%r{\A(?:lib/|CHANGELOG.md|CONTRIBUTING.md|LICENSE.txt|README.md|SECURITY.md|nestedtext.gemspec|.yardopts)})
31
31
  end
32
32
  end
33
33
  spec.require_paths = ['lib']
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.2.2
4
+ version: 4.4.1
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-12 00:00:00.000000000 Z
11
+ date: 2022-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: unicode_utils
@@ -63,6 +63,7 @@ executables: []
63
63
  extensions: []
64
64
  extra_rdoc_files: []
65
65
  files:
66
+ - ".yardopts"
66
67
  - CHANGELOG.md
67
68
  - CONTRIBUTING.md
68
69
  - LICENSE.txt