fe_core_ext 0.1.35 → 0.1.36

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: e93101a81014c60f337beded2c9b76f7424007fa
4
- data.tar.gz: 2904c3b0f3bc27df114f4175e4810451a689c284
3
+ metadata.gz: b6d0f9576d359de65384c7a9d3bc47c78dd77a0b
4
+ data.tar.gz: 21dee3b9acfc221b1373ef199eda348fd926daca
5
5
  SHA512:
6
- metadata.gz: 238ace608a843510581722262dbfe9a4a6bb222ce959d84de001ccd380ff7531f1b170f22a75f4de31cee03e90f9f2d1c9aa5eb8356fcbd6105291f381ebfdf8
7
- data.tar.gz: 3643923c43763720ef8e0540f424a5f012f72a22bc9caba93687cccf80a19d9ecdeac103676af304d45635f8b49d9025d0cb648986de9348170406e624e7b163
6
+ metadata.gz: 8a2efef521009b243d3850d39780f10aea3033f2396427dabe8c8c3d3d3351477de6bdac16726040bb6782e802979d676e5b3db080d604758e9d31f7755e95b1
7
+ data.tar.gz: 3282b7ecc980c549a22e09df09128900e19e2e40043a55dbd72f6a0dfb0fea305be7d333f24cf138296234e4f78491a9dbc91a78632caaa08c633a90494a5edc
data/lib/fe_core_ext.rb CHANGED
@@ -6,6 +6,7 @@ require 'fe_core_ext/core_ext/csv'
6
6
  require 'fe_core_ext/core_ext/pathname'
7
7
  require 'fe_core_ext/core_ext/date'
8
8
  require 'fe_core_ext/core_ext/fixnum'
9
+ require 'fe_core_ext/core_ext/numeric'
9
10
 
10
11
  module FeCoreExt
11
12
  end
@@ -0,0 +1,12 @@
1
+ module FeCoreExt::CoreExt
2
+ end
3
+
4
+ module FeCoreExt::CoreExt::Numeric
5
+ def invert
6
+ -self
7
+ end
8
+ end
9
+
10
+ class Numeric
11
+ include FeCoreExt::CoreExt::Numeric
12
+ end
@@ -1,3 +1,3 @@
1
1
  module FeCoreExt
2
- VERSION = '0.1.35'
2
+ VERSION = '0.1.36'
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.35
4
+ version: 0.1.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-20 00:00:00.000000000 Z
11
+ date: 2017-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -89,6 +89,7 @@ files:
89
89
  - lib/fe_core_ext/core_ext/date.rb
90
90
  - lib/fe_core_ext/core_ext/fixnum.rb
91
91
  - lib/fe_core_ext/core_ext/hash.rb
92
+ - lib/fe_core_ext/core_ext/numeric.rb
92
93
  - lib/fe_core_ext/core_ext/pathname.rb
93
94
  - lib/fe_core_ext/core_ext/string.rb
94
95
  - lib/fe_core_ext/gem_ext.rb