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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: da2428e63c733898e24cabf063caf91d02e416b5
4
- data.tar.gz: e17712e9fa0c2abcd2dbdb7447d379081f85d247
3
+ metadata.gz: fb2c2639d64ebf22cb15ed03220d25b6da759671
4
+ data.tar.gz: 9169b0e3514b5e6265c59db3585ca86a67dc2cc4
5
5
  SHA512:
6
- metadata.gz: ed6dc6a031fda7ba1791ada8ef5713360c8870deacb7bcef80834a43c333c8d2d2658fffc0280aeb03904e62d0d6614b377f72a156d689d8f02479311d650c12
7
- data.tar.gz: db58eb4ffc246dbe625cf331270ab6d5382b81e2252d97414f7d7c2b6eec9f486e4803ea52d30d0a36d04097d560187e3f06181989dd191045a2be8269be9fac
6
+ metadata.gz: f7b79608f5bc14c72aee742dc62b6a84a394c09ce4d929f425bff40e1dbe967cee1c253050e5b72dc55b08cd5eef313c26337e4ac8b20ed0e9e84ae71f35ae9c
7
+ data.tar.gz: dfa8a4aa20bcd69211866310d12d2a9253e6e303de090ecdcf22e70ab6edc6dd72b018fd88f13b9bf940194c9c79419d40a6a899012c0440c67a92a32e5d77da
data/lib/fe_core_ext.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  require 'fe_core_ext/version'
2
2
  require 'fe_core_ext/core_ext/array'
3
3
  require 'fe_core_ext/core_ext/string'
4
+ require 'fe_core_ext/core_ext/hash'
4
5
  require 'fe_core_ext/core_ext/csv'
5
6
  require 'fe_core_ext/core_ext/pathname'
6
7
  require 'fe_core_ext/core_ext/date'
@@ -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
@@ -1,3 +1,3 @@
1
1
  module FeCoreExt
2
- VERSION = '0.1.17'
2
+ VERSION = '0.1.18'
3
3
  end
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.17
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-17 00:00:00.000000000 Z
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