fe_core_ext 0.29.1 → 0.30.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: 3b9b658d86946ccac8f368b46e7bd11499a06a47c74b4c8edca54ef9b8ce4229
4
- data.tar.gz: 2b2bf7e6016b90e168a17ca20e05a875f34c2ca9ea2553fbd23f63b6dad01b21
3
+ metadata.gz: f40fe7ccde48d9cfab57b3a2de229be1a5fd4f89f35be3b1e8cd4665056dc59d
4
+ data.tar.gz: c746891e774fa9412603cf0c74b3075b4e5708f6a94f3c9ed20cb672c28eb7d5
5
5
  SHA512:
6
- metadata.gz: 360a5dba67f0b6c9d6a7efc9d1cc7ff6ac924b28b3d4bac62c7442181cecf10f9bb274815950f67d966257b9237eff4cd0c2152f8a9feeb5d9c95d65d69bd024
7
- data.tar.gz: e8f828991168666de4055110e65f082983400b9daec27bce0e307d055dd93357e1e99ac1675941b568841cf7945c4ac76fa04616584d79e31805ae8fcce480f3
6
+ metadata.gz: 9e38d92bd1007cb2faeb82618be88beab4bb5b46d5a10c278999c009b182f869d982a8ae2823fb9ff668dc416e5b5465cf5da012de7ebe6ce9e0eb191bd5327f
7
+ data.tar.gz: 2eb8148831b69b2008e2b916744063579fe02222ac072243a4d43a31ba52de98e5e85873c5e32ce769235a5c9844f2f4fedf746d8324372f590eb20da5c34b06
@@ -33,6 +33,11 @@ module FeCoreExt::CoreExt::String
33
33
  delete(",").to_f
34
34
  end
35
35
 
36
+ def valid_sec_code?
37
+ valid_chars = "[0-9ACDFGHJKLMNPRSTUWXY]"
38
+ match?(/^\d#{valid_chars}\d#{valid_chars}$/)
39
+ end
40
+
36
41
  def to_pathname
37
42
  Pathname(self)
38
43
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FeCoreExt
4
- VERSION = "0.29.1"
4
+ VERSION = "0.30.0"
5
5
  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.29.1
4
+ version: 0.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-07 00:00:00.000000000 Z
11
+ date: 2023-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  requirements: []
133
- rubygems_version: 3.2.33
133
+ rubygems_version: 3.4.10
134
134
  signing_key:
135
135
  specification_version: 4
136
136
  summary: Core class extensions