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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b4a864ffef33a9d6138c701deb4e6ba95d27a0bcc40e8a2bdcb724b58db64e7
4
- data.tar.gz: 78fd068eb2c14b44b1371c4a09e6208acedfefc169dbc72ee79df000797e91a0
3
+ metadata.gz: 309ec763445bda579aa39d3b82dec3bac8c7d2d2a76ef6b1c8e540452fa02150
4
+ data.tar.gz: d8fe34b30c1d1ce10206fa4b290339fb069b8cb66ce3d3e8ea58e6050271622f
5
5
  SHA512:
6
- metadata.gz: dd46ca341047384eee141d5abc6d131214b45de60a51d3ab9b43292565f38e88a1c8a387543f9f37f27738fe99c553896458338f059f4da6a6420ca8884474a2
7
- data.tar.gz: 9c73ab57b33f6d86feb0da4ca8a32402b8fd61e41d9eb0395adb3710a6176ede0ff018481af0655975c160382c23719ef6d4f70766906838453eda9bc46b72b7
6
+ metadata.gz: 49b45ea8ab5f15704c7cd3322a40278f885b552377c978f661215dbdf727e29ac514c035bd6462ad7601e23dfcaebe159a5fbac13816eca6cc0e4fc6f25c7265
7
+ data.tar.gz: ff062a01cb069d1cd8b685b434fe8554966f52aadb946f8339eee8f6efda531575f988a49ef5ac3c7c232268e0bc007dac84aa00cb03cc434e0597a61a57ed88
data/.gitignore CHANGED
@@ -10,6 +10,9 @@
10
10
  # When built from $(gem build *.gemspec)
11
11
  /*.gem
12
12
 
13
+ # rdoc
14
+ /doc
15
+
13
16
  # minitest
14
17
  /test/html_reports/
15
18
  /test/reports/
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 [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](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
  [![Gem Version](https://badge.fury.io/rb/nestedtext.svg)](https://badge.fury.io/rb/nestedtext)
10
3
  [![Gem Downloads](https://ruby-gem-downloads-badge.herokuapp.com/nestedtext?color=brightgreen&type=total&label=gem%20downloads)](https://rubygems.org/gems/nestedtext)
4
+ [![Documentation](https://img.shields.io/badge/docs-API-informational?logo=readthedocs&logoColor=violet)](https://www.rubydoc.info/gems/nestedtext/)
11
5
  [![Data Format Version Supported](https://img.shields.io/badge/%F0%9F%84%BD%F0%9F%85%83%20Version%20Supported-3.2.1-blueviolet)](https://nestedtext.org/en/v3.2/)
12
6
  [![Official Tests](https://img.shields.io/badge/%F0%9F%8F%81%20Official%20Tests-Passing-success)](https://github.com/KenKundert/nestedtext_tests/tree/585e95a73d94ac1f48e71a154e2db0ab67cf30fa)
13
7
  [![GitHub Actions: Continuous Integration](https://github.com/erikw/nestedtext-ruby/actions/workflows/ci.yml/badge.svg)](https://github.com/erikw/nestedtext-ruby/actions/workflows/ci.yml)
@@ -1,5 +1,5 @@
1
1
  module NestedText
2
- # Hiding extensions for Kernel here away from clients.
2
+ # Hiding extensions for Kernel here away from users.
3
3
  # Reference: https://ruby-doc.org/core-3.1.0/doc/syntax/refinements_rdoc.html
4
4
  module CoreExtInternal
5
5
  refine String do
@@ -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 clients to rescue on.
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 clients from instansiating.
16
+ public_class_method :new # Prevent users from instansiating.
17
17
  end
18
18
 
19
19
  class ParseError < InternalError
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NestedText
4
- VERSION = "2.0.0"
4
+ VERSION = "2.0.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nestedtext
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Westrup