nestedtext 1.1.0 → 1.1.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: f906cf4ad95eb7c5db10e4aac5c9a8ef3fed91405dbad16572ed9a7c38fa7d05
4
- data.tar.gz: c1189a45c17049006e0c81e589298ad9659e1bb42ce3889e31a863b279753663
3
+ metadata.gz: 75a2d51a9136b92dfc3ca5c7d41172107a51ec9d330b0553c992a86d32156179
4
+ data.tar.gz: b28add9673b21617c99fe4573794c44ee04a0c49c003ced761540fab4f4b1a55
5
5
  SHA512:
6
- metadata.gz: 4dac3b9cc46cc628bcb5d804c13a986f3c9a5b7b207f02a84ac60caeff211cf416346e27af21b67485e41092e63b0c58de6f012a3a05b0a279a1f11edcdd3474
7
- data.tar.gz: 13bc5644759667435b7c7da7ac60aaea5ab2236f9c4bd7a57856140967e9a2d9fc2ce60733df4076e500dcfc031a6954ccdc07a7c2d1fd1df60c280cf73cb13b
6
+ metadata.gz: 7f7147ac293908f5cf6aa67175f0a0bf5f0b0dbc68fda541c58e045edbba88e176cd1dffd8e18004fa8848f385c62ae8df1124d8c60afca8ac47231b54cb50bb
7
+ data.tar.gz: 00b93d7103d7a8aee1c4c4902ff5a935ceb0760265a776ad837a845b8992869f47b704dfed4cdd6c7788df567f64ab0d936494ef52bfff15302c8693f3f045cd
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
+ ## [1.1.1] - 2022-01-25
10
+ ### Fixed
11
+ - Renamed `NTEncodeMixing` to `NTEncodeMixin` .
12
+
9
13
  ## [1.1.0] - 2022-01-25
10
14
  ### Added
11
15
  - Expose `NestedText::VERSION` for convenience to the clients.
data/SECURITY.md CHANGED
@@ -5,7 +5,7 @@
5
5
  | Version | Supported |
6
6
  | ------- | ------------------ |
7
7
  | 1.x.x | :white_check_mark: |
8
- | < 1.0 | :x: |
8
+ | < 1.1.1 | :x: |
9
9
 
10
10
 
11
11
  ## Reporting a Vulnerability
@@ -5,8 +5,7 @@ require "nestedtext/encode_helpers"
5
5
  # Or both: add encoding/decoding of more native classes, and allow decoding + applying a schema with 3rd party.
6
6
  # Or encourage using Marshal from core?
7
7
 
8
- NT_MIXIN = NestedText.const_get(:NTEncodeStrictMixing)
9
-
8
+ NT_MIXIN = NestedText.const_get(:NTEncodeStrictMixin)
10
9
  class String include NT_MIXIN end
11
10
  class Array include NT_MIXIN end
12
11
  class Hash include NT_MIXIN end
@@ -1,15 +1,14 @@
1
1
  require "nestedtext/dumper"
2
2
 
3
- # TODO: s/Mixing/Mixin/g
4
3
  module NestedText
5
- module NTEncodeStrictMixing
4
+ module NTEncodeStrictMixin
6
5
  def to_nt(indentation: 4, strict: true)
7
6
  Dumper.new(EncodeOptions.new(indentation, strict)).dump self
8
7
  end
9
8
  end
10
- private_constant :NTEncodeStrictMixing
9
+ private_constant :NTEncodeStrictMixin
11
10
 
12
- module NTEncodeMixing
11
+ module NTEncodeMixin
13
12
  def to_nt(indentation: 4)
14
13
  Dumper.new(EncodeOptions.new(indentation, false)).dump self
15
14
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NestedText
4
- VERSION = "1.1.0"
4
+ VERSION = "1.1.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: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Westrup