refinements 9.0.0 → 9.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +6 -24
- data/lib/refinements/hashes.rb +0 -2
- data/lib/refinements/identity.rb +1 -1
- data/lib/refinements/symbols.rb +0 -2
- data.tar.gz.sig +6 -3
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70acf2b8c8ba95ab2cb0189c0367b2292442abf3d9d81cbe6e820ef95c5a66b5
|
4
|
+
data.tar.gz: 48d5e2e7d1a7a3e8f076436faebc91f3bda04767a28eee1440d44e3d7b08f60b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b492840eacf8c27793979d6d8618dfc01802c9d4135056a49710a1e15fa10795d2d946c6133db444145701c822941ffaeccd1cddb5d4edf688e634af9ba76ee
|
7
|
+
data.tar.gz: 5ae2b2815f56b7b863b00ba18f8ec496bcd761d3919db52f5b805e5b3336cd30f4eaf4ef50b573507977ac09e54146aae577e1b44bded757472ece82de96f006
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -1219,35 +1219,17 @@ To test, run:
|
|
1219
1219
|
bundle exec rake
|
1220
1220
|
----
|
1221
1221
|
|
1222
|
-
==
|
1222
|
+
== link:https://www.alchemists.io/policies/license[License]
|
1223
1223
|
|
1224
|
-
|
1224
|
+
== link:https://www.alchemists.io/policies/security[Security]
|
1225
1225
|
|
1226
|
-
|
1227
|
-
* Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
|
1228
|
-
* Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
|
1226
|
+
== link:https://www.alchemists.io/policies/code_of_conduct[Code of Conduct]
|
1229
1227
|
|
1230
|
-
==
|
1228
|
+
== link:https://www.alchemists.io/policies/contributions[Contributions]
|
1231
1229
|
|
1232
|
-
|
1233
|
-
participating in this project you agree to abide by its terms.
|
1230
|
+
== link:https://www.alchemists.io/projects/refinements/versions[Versions]
|
1234
1231
|
|
1235
|
-
==
|
1236
|
-
|
1237
|
-
Read link:CONTRIBUTING.adoc[CONTRIBUTING] for details.
|
1238
|
-
|
1239
|
-
== Community
|
1240
|
-
|
1241
|
-
Feel free to link:https://www.alchemists.io/community[join the commmunity] for discussions related
|
1242
|
-
to this project and much more.
|
1243
|
-
|
1244
|
-
== License
|
1245
|
-
|
1246
|
-
Read link:LICENSE.adoc[LICENSE] for details.
|
1247
|
-
|
1248
|
-
== Changes
|
1249
|
-
|
1250
|
-
Read link:CHANGES.adoc[CHANGES] for details.
|
1232
|
+
== link:https://www.alchemists.io/community[Community]
|
1251
1233
|
|
1252
1234
|
== Credits
|
1253
1235
|
|
data/lib/refinements/hashes.rb
CHANGED
@@ -42,11 +42,9 @@ module Refinements
|
|
42
42
|
|
43
43
|
def deep_symbolize_keys! = replace(deep_symbolize_keys)
|
44
44
|
|
45
|
-
# rubocop:disable Style/MethodDefParentheses
|
46
45
|
def fetch_value(key, *default_value, &)
|
47
46
|
fetch(key, *default_value, &) || default_value.first
|
48
47
|
end
|
49
|
-
# rubocop:enable Style/MethodDefParentheses
|
50
48
|
|
51
49
|
# :reek:TooManyStatements
|
52
50
|
def flatten_keys prefix: nil, delimiter: "_", cast: :to_sym
|
data/lib/refinements/identity.rb
CHANGED
data/lib/refinements/symbols.rb
CHANGED
@@ -4,11 +4,9 @@ module Refinements
|
|
4
4
|
# Provides additional enhancements to the Symbol primitive.
|
5
5
|
module Symbols
|
6
6
|
refine Symbol do
|
7
|
-
# rubocop:disable Style/MethodDefParentheses
|
8
7
|
def call(*arguments, &)
|
9
8
|
proc { |receiver| receiver.public_send self, *arguments, & }
|
10
9
|
end
|
11
|
-
# rubocop:enable Style/MethodDefParentheses
|
12
10
|
end
|
13
11
|
end
|
14
12
|
end
|
data.tar.gz.sig
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
-
|
2
|
-
�
|
3
|
-
��O
|
1
|
+
�
|
2
|
+
��v�TD"�W��:�
|
3
|
+
��ASN~�c{�����m,���� PrA��f8����w�P��g���1�|O�'V�$l�Y^�'-��(p�$�"{��܉x����$�]��^(~NI��|
|
4
|
+
���E"��+��y`�i_�ƙh��>E@�����Q�W��]���Ós]�SBݒt�I3��ي~j�e
|
5
|
+
�_���I��_�}O+��~�N��z-y�X.�M�u���
|
6
|
+
{4��/���|����H��j�GS9��m
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinements
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.0.
|
4
|
+
version: 9.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
|
29
29
|
W2A=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date:
|
31
|
+
date: 2022-01-01 00:00:00.000000000 Z
|
32
32
|
dependencies: []
|
33
33
|
description:
|
34
34
|
email:
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
- Hippocratic-3.0
|
59
59
|
metadata:
|
60
60
|
bug_tracker_uri: https://github.com/bkuhlmann/refinements/issues
|
61
|
-
changelog_uri: https://www.alchemists.io/projects/refinements/
|
61
|
+
changelog_uri: https://www.alchemists.io/projects/refinements/versions
|
62
62
|
documentation_uri: https://www.alchemists.io/projects/refinements
|
63
63
|
rubygems_mfa_required: 'true'
|
64
64
|
source_code_uri: https://github.com/bkuhlmann/refinements
|
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: '0'
|
79
79
|
requirements: []
|
80
|
-
rubygems_version: 3.3.
|
80
|
+
rubygems_version: 3.3.4
|
81
81
|
signing_key:
|
82
82
|
specification_version: 4
|
83
83
|
summary: A collection of refinements to core Ruby objects.
|
metadata.gz.sig
CHANGED
Binary file
|