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 +4 -4
- data/lib/fe_core_ext/core_ext/hash.rb +3 -2
- data/lib/fe_core_ext/core_ext/string.rb +1 -1
- data/lib/fe_core_ext/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 330a91dfca6ac32ddbadc3296c7b306988fd99576389945651297c7fb8e1d1eb
|
4
|
+
data.tar.gz: 36777e73316edb947dbe40e926a03369c33f465841e20997f608eb572a27fcab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
11
|
-
|
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
|
|
data/lib/fe_core_ext/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2023-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|