except_nested 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: b17ef1eb5a2532ffb4a7da058b5493f6595fb497
4
- data.tar.gz: e8ae309967e1afa31518fb4ba3dd1a2f6d64ebf2
3
+ metadata.gz: b3dfd263c90824f4daca8a8dd835f9768dd81c6e
4
+ data.tar.gz: da173964d7fd2a531c5a93880f0e3fef9136c8ab
5
5
  SHA512:
6
- metadata.gz: d31a60ec88b8f5f983d348e02d02d31c0f2e13b3a17f1d62e9d04a5bf8fba27620871dca9162f266302de21c8d4e042e201479a91647cf375ba00d7234d7872f
7
- data.tar.gz: 8ff851e99d8231c20f1a9062b198a04e7946f3e6444c988ecd604b1ad49d34af1737a8bb807be756bfdccfc49255dd4efbf8432a69885ce06331616756e6c380
6
+ metadata.gz: d5f57b52c637604679934e3f934dcbcb752d1d27d58a2eb54f72176860ea5a3ea1ef6776d1b0378d644057edab81db9a52decb6fb8e413fb94b2ad05ebcec981
7
+ data.tar.gz: ed2c5069845bedd2021261f98bf1c9eb3392ba36002217787ac679c3f199c33e6a1e1cf674869b1139a4261cce69e6a7656060af8c8cb98cd227efba3b89704f
@@ -1,19 +1,20 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- except_nested (0.1.1)
5
- activesupport (~> 4.2)
4
+ except_nested (0.1.2)
5
+ activesupport (~> 5)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (4.2.9)
10
+ activesupport (5.1.3)
11
+ concurrent-ruby (~> 1.0, >= 1.0.2)
11
12
  i18n (~> 0.7)
12
13
  minitest (~> 5.1)
13
- thread_safe (~> 0.3, >= 0.3.4)
14
14
  tzinfo (~> 1.1)
15
15
  codeclimate-test-reporter (0.4.8)
16
16
  simplecov (>= 0.7.1, < 1.0.0)
17
+ concurrent-ruby (1.0.5)
17
18
  diff-lcs (1.3)
18
19
  docile (1.1.5)
19
20
  i18n (0.8.6)
@@ -33,7 +34,7 @@ GEM
33
34
  diff-lcs (>= 1.2.0, < 2.0)
34
35
  rspec-support (~> 3.6.0)
35
36
  rspec-support (3.6.0)
36
- simplecov (0.15.0)
37
+ simplecov (0.12.0)
37
38
  docile (~> 1.1.0)
38
39
  json (>= 1.8, < 3)
39
40
  simplecov-html (~> 0.10.0)
@@ -51,7 +52,7 @@ DEPENDENCIES
51
52
  except_nested!
52
53
  rake (~> 10.0)
53
54
  rspec (~> 3.0)
54
- simplecov (~> 0.15.0)
55
+ simplecov (~> 0.12.0)
55
56
 
56
57
  BUNDLED WITH
57
58
  1.15.3
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Except Nested
2
2
  [![Gem Version](https://badge.fury.io/rb/except_nested.svg)](https://rubygems.org/gems/except_nested)
3
3
  [![Build Status](https://travis-ci.org/abarrak/except_nested.svg?branch=master)](https://travis-ci.org/abarrak/except_nested)
4
+ [![Test Coverage](https://codeclimate.com/github/abarrak/except_nested/badges/coverage.svg)](https://codeclimate.com/github/abarrak/except_nested/coverage)
4
5
  [![Dependency Status](https://gemnasium.com/badges/github.com/abarrak/except_nested.svg)](https://gemnasium.com/github.com/abarrak/except_nested)
5
6
 
6
7
  **except_nested** allows exclusion of given hash keys at various depth of the hash.
@@ -66,6 +67,8 @@ h.except_nested(:name, :degree, :preferences)
66
67
  => {}
67
68
  ```
68
69
 
70
+ It works for any nested levels. Check [test case](https://github.com/abarrak/except_nested/blob/master/spec/except_nested_spec.rb#L87-L105) for 3-level depth example.
71
+
69
72
  ## Documentation
70
73
 
71
74
  [RDoc version](http://www.rubydoc.info/gems/except_nested) at RubyDoc.
@@ -24,10 +24,10 @@ Gem::Specification.new do |spec|
24
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
25
  spec.require_paths = ["lib"]
26
26
 
27
- spec.add_dependency 'activesupport', '~> 4.2'
27
+ spec.add_dependency 'activesupport', '~> 5'
28
28
  spec.add_development_dependency "bundler", "~> 1.15"
29
29
  spec.add_development_dependency "rake", "~> 10.0"
30
30
  spec.add_development_dependency "rspec", "~> 3.0"
31
- spec.add_development_dependency "simplecov", "~> 0.15.0"
31
+ spec.add_development_dependency "simplecov", "~> 0.12.0"
32
32
  spec.add_development_dependency "codeclimate-test-reporter", "~> 0.4.8"
33
33
  end
@@ -1,3 +1,3 @@
1
1
  module ExceptNested
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: except_nested
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abdullah Barrak
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.2'
19
+ version: '5'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '4.2'
26
+ version: '5'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.15.0
75
+ version: 0.12.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.15.0
82
+ version: 0.12.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: codeclimate-test-reporter
85
85
  requirement: !ruby/object:Gem::Requirement