fe_core_ext 0.1.17 → 0.1.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fe_core_ext.rb +1 -0
- data/lib/fe_core_ext/core_ext/hash.rb +15 -0
- data/lib/fe_core_ext/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb2c2639d64ebf22cb15ed03220d25b6da759671
|
4
|
+
data.tar.gz: 9169b0e3514b5e6265c59db3585ca86a67dc2cc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7b79608f5bc14c72aee742dc62b6a84a394c09ce4d929f425bff40e1dbe967cee1c253050e5b72dc55b08cd5eef313c26337e4ac8b20ed0e9e84ae71f35ae9c
|
7
|
+
data.tar.gz: dfa8a4aa20bcd69211866310d12d2a9253e6e303de090ecdcf22e70ab6edc6dd72b018fd88f13b9bf940194c9c79419d40a6a899012c0440c67a92a32e5d77da
|
data/lib/fe_core_ext.rb
CHANGED
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'active_support'
|
2
|
+
require 'active_support/core_ext/hash'
|
3
|
+
|
4
|
+
module FeCoreExt::CoreExt
|
5
|
+
end
|
6
|
+
|
7
|
+
module FeCoreExt::CoreExt::Hash
|
8
|
+
def clean
|
9
|
+
reject { |_, value| value.nil? || value.blank? }
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
class Hash
|
14
|
+
include FeCoreExt::CoreExt::Hash
|
15
|
+
end
|
data/lib/fe_core_ext/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fe_core_ext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tetsu
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -87,6 +87,7 @@ files:
|
|
87
87
|
- lib/fe_core_ext/core_ext/array.rb
|
88
88
|
- lib/fe_core_ext/core_ext/csv.rb
|
89
89
|
- lib/fe_core_ext/core_ext/date.rb
|
90
|
+
- lib/fe_core_ext/core_ext/hash.rb
|
90
91
|
- lib/fe_core_ext/core_ext/pathname.rb
|
91
92
|
- lib/fe_core_ext/core_ext/string.rb
|
92
93
|
- lib/fe_core_ext/gem_ext.rb
|