fe_core_ext 0.27.0 → 0.29.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: 2b2edebd6960c44f5de6228de9682e38dbc1d6a658b61baf95e251f07db72260
4
- data.tar.gz: 0c207c390e5af9e6e744e293e6157928cdd33a67a07ec2d8a4c8ba7795136a80
3
+ metadata.gz: 330a91dfca6ac32ddbadc3296c7b306988fd99576389945651297c7fb8e1d1eb
4
+ data.tar.gz: 36777e73316edb947dbe40e926a03369c33f465841e20997f608eb572a27fcab
5
5
  SHA512:
6
- metadata.gz: a1396d80d727d6720063348505085bcc74ec21c26b1fa2ad3bc484a83c2be53c2d4874881c15b803b39826a08667110be30519215930c4b7e64836a5c16f82b8
7
- data.tar.gz: f086416a4ecfa3247886c6da78d6cc458ddbdde87a8b4e62a2c7618de84d6279d603eb2dc1ac11043553cd43dd0d1450b6d2535333bae884d7f175391c54d2d7
6
+ metadata.gz: 47e082d5b55d13a1c4a62692e6a89ce300210f83edd1b41d17cdefb51ff4987dc5555b833728863a97af74f7645ffbdc60707f261f68e2b64155d122106a4885
7
+ data.tar.gz: 6798dee768d9bc5b9d23054bf689d448ca1e78d2da270f8853c7021bee2cfcb0d7fa9f10a62f00f263ce0d60b650824eea0ce2502da883b306945941d93ffd6f
@@ -7,8 +7,9 @@ module FeCoreExt::CoreExt
7
7
  end
8
8
 
9
9
  module FeCoreExt::CoreExt::Hash
10
- def snake_symbolize_keys
11
- transform_keys { |key| key.to_s.snakecase.to_sym }
10
+ def rename_key(original_key, new_key)
11
+ self[new_key] = delete(original_key) if key?(original_key)
12
+ self
12
13
  end
13
14
  end
14
15
 
@@ -42,7 +42,7 @@ module FeCoreExt::CoreExt::String
42
42
  end
43
43
 
44
44
  def valid_number?
45
- match?(/^-?([0-9][\d\,\.]*)$/)
45
+ match?(/^-?([0-9][\d,.]*)$/)
46
46
  end
47
47
 
48
48
  ## deprecated
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FeCoreExt
4
- VERSION = '0.27.0'
4
+ VERSION = '0.29.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.27.0
4
+ version: 0.29.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-01-05 00:00:00.000000000 Z
11
+ date: 2023-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport