hash_filterer 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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hash_filterer.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b73f855d2613cf4befad0bc43006a558ee637e94
4
- data.tar.gz: ba97c1e194debdc1d5cebf8d85c851cc5e6454ee
3
+ metadata.gz: a001fe670e3cfcf2d8172df46502f370d1b2313c
4
+ data.tar.gz: 25c1e84c30c4c5b3ebbd0134d6035ef90ebb8d06
5
5
  SHA512:
6
- metadata.gz: 8dbb1271b44672c273ac92bbf6b479fe37d2b67440d360b51ac2922ae219a75a13f724221d2ca704fe05b120448ec28d428f925f6f45d305d9bb305e1291cd0e
7
- data.tar.gz: 8459f4e75fc2b8a9e9e0938d040f2304eab716ff264ef4304d8255454aabcf88e96f1e2a02abf3eb8634b4592495047226f26671cdb39f1fa14f886b9ee9bb13
6
+ metadata.gz: 4bc461966ced273a6db28daadb920b55ed5d382c3c97fc3987c0385f0354d459675bd7e54e6f9ed3f21e1086320f4d9cb4cd285c2e537f34a4a73327b4e2477b
7
+ data.tar.gz: 8d8aec4c4889d8d064eb86537c59bda93910e12c89054850d40a6581ca89fe3aee70662bf07a31321688140fbdeb00955bfdda203f9c0e96b60a3cad6f5afc37
data/lib/hash_filterer.rb CHANGED
@@ -15,7 +15,7 @@ class HashFilterer
15
15
 
16
16
  def self.allowed_preprocessors
17
17
  # TODO: Make this a config / maybe just remove
18
- ['downcase', 'upcase', 'nil?', 'blank?', 'to_s', 'to_f', 'to_i', 'strip']
18
+ ['downcase', 'upcase', 'nil?', 'blank?', 'to_s', 'to_f', 'to_i', 'strip', 'count']
19
19
  end
20
20
 
21
21
  # nil_ok should be true or false to specify the behavior when the value is nil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hash_filterer
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
  - Guillaume Leseur
@@ -39,7 +39,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
39
39
  version: '0'
40
40
  requirements: []
41
41
  rubyforge_project:
42
- rubygems_version: 2.4.8
42
+ rubygems_version: 2.6.14
43
43
  signing_key:
44
44
  specification_version: 4
45
45
  summary: Applies rules to a hash