fe_core_ext 0.1.2 → 0.1.3

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: a2cfb0d4199a3245c41689acfeacbab75e0ae635
4
- data.tar.gz: 8f24294837df41cb3c2c286eccb628a84c9bc06c
3
+ metadata.gz: 7c88f8a34ee71781236a6535a2b03268858dd892
4
+ data.tar.gz: f96eda6f6bd3d849e3395577386e328691a063e4
5
5
  SHA512:
6
- metadata.gz: 3e7ca790d0d8510a5c2bfc8bfbf7572bd39813c05b3fd27b17a7c2799beac442eec64d34a0b132d7519068ef4ea3124586b0240c09312eb1f3014712787644be
7
- data.tar.gz: 7e0781ecccc34f8dcc9ad16a42a78bafb3e25d997cf4ba6882e07f5e6a89b10d42e973365ed136f34b40e31b5ca745cbdfd02ce208fca4c292228dfc68a22fc2
6
+ metadata.gz: 605ac89482140af8f9234c945c9ccd6057574b82c09d2a73adecafa96323e21bea9397a7fbc52456246eb636b2534ae3f57dede6ab81380e9eb367f29dd72bd6
7
+ data.tar.gz: 9772b7208fb57a5f084b5fe9e163415eff8dd6386c2eb98d0ffec4655b46c8070a81f5a004725d7d69ff370afb7ee5e432be23da11b5f7a77bad2188ab82bfb7
@@ -18,6 +18,14 @@ module FeCoreExt::CoreExt::String
18
18
  def not_number?
19
19
  to_i == 0 && match('0').nil?
20
20
  end
21
+
22
+ def zen_to_han
23
+ tr('0-9A-Za-z &・', '0-9A-Za-z &・')
24
+ end
25
+
26
+ def to_katakana
27
+ tr('ぁ-ん','ァ-ン')
28
+ end
21
29
  end
22
30
 
23
31
  class String
@@ -1,3 +1,3 @@
1
1
  module FeCoreExt
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
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.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-17 00:00:00.000000000 Z
11
+ date: 2016-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler