hashlation 0.1.3 → 0.1.4

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: 6f73fbcd96c1c7beeedd568b29102b4931a8d2425aaa9dada4fede99d1c0aa88
4
- data.tar.gz: 8a7624e52ea1880b35e5df71d10d704fa8d25dd83205cac334faec748f4b4716
3
+ metadata.gz: a4749821b8641ec38d5873ef319710ea86068b57dde8691fd2c9ea4d588f5a1f
4
+ data.tar.gz: 1f1ba4280c4b9970fc9e6222712d630309d63c8ed1645746cf4a2abff1b56119
5
5
  SHA512:
6
- metadata.gz: 467cbaa9f2c43460c61266487f8f3aece0ef1af931a01f2bfe279608cbef2c38e3f6dfeabebfb93c4c9602509727135457e4eacfd5c097c7804f667ddf9ede8c
7
- data.tar.gz: f95861a090051ccf724bc7cc10f7b43b45a15427847a7070487723c5cdac453545a0e83ac6a21a77f2d86111f77220a908dd63961da75c29364a26f4f398d29f
6
+ metadata.gz: faabb932c886ab678c0387150cbfecac339de828cbbbdc1532460baf7883a86ed9273b52930e7aa84a1b8c83d0449280e25914bb010aba1e054445b383ab7492
7
+ data.tar.gz: ced1723b25e56f8426f0cdf1927c12f24b5eae62d4a399821276a572d81495f96509340677a858b57b7b152bd9106b12b1fe02431f69646d25f343eb4c1e7834
data/hashlation.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.email = ["56176404+rharris389@users.noreply.github.com"]
10
10
 
11
11
  spec.summary = "Lightweight response parsing"
12
- spec.description = "Lightweight hash parser for cleaner navigation of large response objects."
12
+ spec.description = "Lightweight parser for cleaner navigation of large or deeply nested hashes."
13
13
  spec.homepage = "https://github.com/rharris389/hashlation"
14
14
  spec.license = "MIT"
15
15
  spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
@@ -60,7 +60,6 @@ module Hashlation
60
60
 
61
61
  def sanatize_key(key)
62
62
  # If this is to be responses may contain improper keys, uncomment and implement for all attr names
63
- # the PrimeTrust API responses only need to be underscored as they do not contain leading integers or dis-allowed characters
64
63
  key[0,1] =~ /^[0-9].*/ ? "_#{key.tr(':', '_').underscore}" : key.tr(':', '_').underscore
65
64
  end
66
65
 
@@ -58,7 +58,6 @@ module Hashlation
58
58
 
59
59
  def sanatize_key(key)
60
60
  # If this is to be responses may contain improper keys, uncomment and implement for all attr names
61
- # the PrimeTrust API responses only need to be underscored as they do not contain leading integers or dis-allowed characters
62
61
  key.underscore
63
62
  end
64
63
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Hashlation
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hashlation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - rharris389
@@ -10,7 +10,7 @@ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2022-05-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Lightweight hash parser for cleaner navigation of large response objects.
13
+ description: Lightweight parser for cleaner navigation of large or deeply nested hashes.
14
14
  email:
15
15
  - 56176404+rharris389@users.noreply.github.com
16
16
  executables: []