refinements 7.15.0 → 7.15.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.tar.gz.sig +2 -1
- data/README.adoc +4 -4
- data/lib/refinements/identity.rb +1 -1
- data/lib/refinements/pathnames.rb +1 -1
- metadata +1 -1
- 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: c4efd7acd4d8da05214aa7947c0f61f3a04c8ece8733c2bdc4dc48ce9cbad371
|
4
|
+
data.tar.gz: 5025123a8cc9e8fe23d1a0436e265c173a89477e6b5194a159a1ed9e5cb5ec9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48228ed81040b9e9b18f7e743d3cdb64885ea53515de5d588817a8969d6d02781e7404b8a6e33e7f24c70f982c3b3f5fd72b61ceb1c87a5d2c8eb8117e544641
|
7
|
+
data.tar.gz: 1d0a4c17a13822cea9d33b2dbdc937e1ea34559910821224b41230b1ac5ab4873f55b423d456fde87866befad8494972963f92dcddf188c996a6d04e8488ba2b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
����l�7���c�!�>�:�᛭co����~"cI������W��n�7Z5�E���x<�!}����{�`�:Bb�DqP}S�T6p���ߡ �N�w�75`���
|
2
|
+
�T����F���Tv<���Bxw>�nN���Cӈ-h_6P-k� j�t����
|
data/README.adoc
CHANGED
@@ -240,10 +240,10 @@ Answers new hash where every top-level missing key has the same default value.
|
|
240
240
|
[source,ruby]
|
241
241
|
----
|
242
242
|
example = Hash.with_default ""
|
243
|
-
example[:a]
|
243
|
+
example[:a] # => ""
|
244
244
|
|
245
245
|
example = Hash.with_default []
|
246
|
-
example[:b]
|
246
|
+
example[:b] # => []
|
247
247
|
----
|
248
248
|
|
249
249
|
===== #deep_merge
|
@@ -471,7 +471,7 @@ Passes each hash value as a block argument for further processing.
|
|
471
471
|
[source,ruby]
|
472
472
|
----
|
473
473
|
example = {unit: "221B", street: "Baker Street", city: "London", country: "UK"}
|
474
|
-
example.use { |unit, street| "#{unit} #{street}" }
|
474
|
+
example.use { |unit, street| "#{unit} #{street}" } # => "221B Baker Street"
|
475
475
|
----
|
476
476
|
|
477
477
|
==== IO
|
@@ -588,7 +588,7 @@ Answers file extensions as an array.
|
|
588
588
|
|
589
589
|
[source,ruby]
|
590
590
|
----
|
591
|
-
Pathname("example.txt.erb").extensions
|
591
|
+
Pathname("example.txt.erb").extensions # => [".txt", ".erb"]
|
592
592
|
----
|
593
593
|
|
594
594
|
===== #files
|
data/lib/refinements/identity.rb
CHANGED
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|