fe_core_ext 0.1.29 → 0.1.30

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: 8f07fdb0001e890fedcf418e8f3b2ac2581964cb
4
- data.tar.gz: 4f838b1dfecbcf7c9952bbf1fd22db676d7e70c5
3
+ metadata.gz: 7bb0a50372302a289ee91048d7bf2f469bba4eab
4
+ data.tar.gz: 89a7e47565c1e239da941a6c04ae8f8142de0797
5
5
  SHA512:
6
- metadata.gz: dd52bb0ba0180b71d0d937b5ec1c19d48e78da41ff38bb581177fee3e5a083119feca409b51a25f693685acf60f04399db431b9bbe43278bf15ce04b758b20da
7
- data.tar.gz: 7977f2a1adb394af1d09519a896e2110ef0e131bcd554c8d7fb328d877f753ca173810001e8a5215b997d902fd92dc5483e3176826b48b09a3faf9fa14cf0153
6
+ metadata.gz: 075693a4d6ce7f2c5cb1dd17d8ca4176e97f0c0eabe0ccd12a2598e7c76c58fb630abda8052b1b004f928321a7d4574fa6918ac3da2712d4543784ad4f473c7d
7
+ data.tar.gz: b8dbcc07fd2bea88e4b3d2dc75ffa6cd88c504ac9eba6be58e30aa3914ca8766a0b9f6ed516d4f552b7c43b0341074c134baaba4938b4e1aac3d9471ed616806
@@ -1,5 +1,6 @@
1
1
  require 'bigdecimal'
2
2
  require 'bigdecimal/util'
3
+ require 'pathname'
3
4
 
4
5
  module FeCoreExt::CoreExt
5
6
  end
@@ -15,6 +16,10 @@ module FeCoreExt::CoreExt::String
15
16
  delete(',').to_d
16
17
  end
17
18
 
19
+ def to_pathname
20
+ Pathname(self)
21
+ end
22
+
18
23
  def not_number?
19
24
  to_i == 0 && match('0').nil?
20
25
  end
@@ -1,3 +1,3 @@
1
1
  module FeCoreExt
2
- VERSION = '0.1.29'
2
+ VERSION = '0.1.30'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fe_core_ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.29
4
+ version: 0.1.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsu