fe_core_ext 0.11.1 → 0.12.0

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
  SHA256:
3
- metadata.gz: ad6343d63437a657f4dbde3f98b6bdca17d5df33f8e8f90e1ca4db43527e1f60
4
- data.tar.gz: 7f963b9bd854709fbd3340d9dc64aa1982daa16ef3c2570e60ad84523aaceb86
3
+ metadata.gz: d1eb5166f19707b3c70423e41f4d684d42efb95fc2e1a05783f89932c1e6d749
4
+ data.tar.gz: 924a817b2c1dd13aa3930ed80bd59be04240496febe81a2bbfe6bca1153e6a2c
5
5
  SHA512:
6
- metadata.gz: 7c38d35d96d71b246b87381c6bbe130aa158b411f22f697d23ad9d9b529d2c42030dad9c12a5de6a7501cfedf3a990904999f18a8e33db8337b19fccd4fd0d1b
7
- data.tar.gz: f96c3906315cf51ba426a61aa05b3af80ae65e5f93f037e74ebe27c150d29f06af3e0558b5bbe16382ede15f0b45f8d5ac4409fbb054c38dcbbb10e86f735081
6
+ metadata.gz: 211a97a14d2d271f876408ccc7bb9b1d4e5a895192413ac005126aebffd72655c6195bd92475e792630b03e7e6df74bc83c35b155eb60c173eeee1786cf373b8
7
+ data.tar.gz: 2304b86ca90dbd5a97d8c7baaacee728fdeefa29540e650ea196f6d5b3d520bf412077b5a7a904960d596dff94fea8ecfec14ad6391401b9ac1585a0a66a6817
@@ -25,10 +25,15 @@ module FeCoreExt::CoreExt::String
25
25
  to_i == 0 && match('0').nil?
26
26
  end
27
27
 
28
+ ## deprecated
28
29
  def zen_to_han
29
30
  tr('0-9A-Za-z &・-()', '0-9A-Za-z &・\-()')
30
31
  end
31
32
 
33
+ def alphanumeric_zen_to_han
34
+ tr('0-9A-Za-z &・-()', '0-9A-Za-z &・\-()')
35
+ end
36
+
32
37
  def to_katakana
33
38
  tr('ぁ-ん', 'ァ-ン')
34
39
  end
@@ -1,3 +1,3 @@
1
1
  module FeCoreExt
2
- VERSION = '0.11.1'
2
+ VERSION = '0.12.0'
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.11.1
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-16 00:00:00.000000000 Z
11
+ date: 2020-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport