tree_reject 0.1.0 → 1.0.0

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: c1ffe46be0f2a714ce8f7c6411dca2cce60394f61e309f00f3ecbf21fdca46bf
4
- data.tar.gz: 5b85c983a4d6f86f71ed1cdf372feb4c5d0d0ff7df247ac3b98c2617ff783a73
3
+ metadata.gz: 14b8b4b2f900a483b2965c93b59327447f09845008deb0cf941ec3cf00ab269e
4
+ data.tar.gz: 5ad3420dd0784d6451022bb3ccb8c3b57b9bc89b8a9437ba62c105e8d497b911
5
5
  SHA512:
6
- metadata.gz: 31c899b6343cf3c0db651d90fbc545b03757053827f8993fbbbabcfebb59a19de3179879280d88266bc463388cd2bf06738e5f55d4dd4fb3c7dd3d450630491e
7
- data.tar.gz: 1aca2595815757c63e752892d88fe69d161c81a0ee7476f77d72684486c503ef9c20c93981e0add37626f9b82b1a677c5346a87a6e04f85422209e0a93500778
6
+ metadata.gz: '00652939634881c949d29ecc37b65e1e3e205dc9dadef896677a34940ee3c3514532c185a81b67372f4ca528be6ea5a85d9a6aef75ad5c0fed2eee5f76adc2d3'
7
+ data.tar.gz: aabdf2ca98f0ad29ef45ea2305122f2ddd574920560595a6cbd313475008c509834860c7b534d762c01bc5f1ff87fce660a20f16a0181537a1acd9ebc188c11e
@@ -4,8 +4,5 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
6
6
 
7
- ## Unreleased
8
-
9
- ## 0.1.0 - 2019-03-28
10
- ### Added
7
+ ## 1.0.0 - 2019-03-28
11
8
  - Initial version
data/README.md CHANGED
@@ -2,10 +2,11 @@
2
2
 
3
3
  [![Build Status](https://travis-ci.org/salsify/tree_reject.svg?branch=master)](https://travis-ci.org/salsify/tree_reject)
4
4
 
5
+ [![Gem Version](https://badge.fury.io/rb/tree_reject.svg)](https://badge.fury.io/rb/tree_reject)
5
6
 
6
7
  `tree_reject` is a Ruby gem that removes deeply nested keys from Ruby Hashes or hash-like objects.
7
8
 
8
- For example if you have the Hash:
9
+ For example:
9
10
 
10
11
  ```ruby
11
12
  hash = {
@@ -19,18 +20,15 @@ hash = {
19
20
  ba: 'ba'
20
21
  }
21
22
  }
22
- ```
23
23
 
24
- and `tree_reject` the Hash:
25
- ```ruby
26
- {
24
+ hash.tree_reject({
27
25
  a: {
28
26
  aa: :aaa
29
27
  }
30
- }
28
+ })
31
29
  ```
32
30
 
33
- your new hash will be:
31
+ results in:
34
32
  ```ruby
35
33
  {
36
34
  a: {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TreeReject
4
- VERSION = '0.1.0'
4
+ VERSION = '1.0.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tree_reject
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salsify, Inc