refinements 4.0.0 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/refinements/identity.rb +1 -1
- data/lib/refinements/strings.rb +2 -2
- metadata +14 -36
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c4b436bdda7e9640d790125575dbd591d518936
|
4
|
+
data.tar.gz: a436e02a1feb586f15f8dc13b901d0293a34d12f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5de07d45a27714a1e58ea28798976f4a751615c85217ac9ff4be6c5abfb9b54d7abc8a1e78cd755032be53928fc3f3f8a0212e1317533090622fa80d55958db9
|
7
|
+
data.tar.gz: 657179733de71b612887e1091f6b2246e327ce275c2d711f8535c505a9ada6b50b1cab3df5209f475246f50a5c6e2da6d66ebf32ba714e29e7f3e9522fc19438
|
data/README.md
CHANGED
@@ -204,9 +204,9 @@ To test, run:
|
|
204
204
|
|
205
205
|
Read [Semantic Versioning](http://semver.org) for details. Briefly, it means:
|
206
206
|
|
207
|
-
- Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
|
208
|
-
- Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
|
209
207
|
- Major (X.y.z) - Incremented for any backwards incompatible public API changes.
|
208
|
+
- Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
|
209
|
+
- Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
|
210
210
|
|
211
211
|
# Code of Conduct
|
212
212
|
|
data/lib/refinements/identity.rb
CHANGED
data/lib/refinements/strings.rb
CHANGED
@@ -82,8 +82,8 @@ module Refinements
|
|
82
82
|
# :reek:UtilityFunction
|
83
83
|
def join_parts parts, method:, delimiter: ""
|
84
84
|
parts.reduce "" do |result, part|
|
85
|
-
next part.
|
86
|
-
"#{result}#{delimiter}#{part.
|
85
|
+
next part.__send__(method) if result.empty?
|
86
|
+
"#{result}#{delimiter}#{part.__send__ method}"
|
87
87
|
end
|
88
88
|
end
|
89
89
|
end
|
metadata
CHANGED
@@ -1,36 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinements
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
-
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBBMQ8wDQYDVQQDDAZicm9v
|
14
|
-
a2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQBGRYC
|
15
|
-
aW8wHhcNMTYxMDE5MTY0NDEzWhcNMTcxMDE5MTY0NDEzWjBBMQ8wDQYDVQQDDAZi
|
16
|
-
cm9va2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQB
|
17
|
-
GRYCaW8wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCgryPL4/IbWDcL
|
18
|
-
fnqpnoJALqj+ega7hSsvvD8sac57HPNLeKcOmSafFiQLAnTmmE132ZlFc8kyZRVn
|
19
|
-
zmqSESowO5jd+ggFuy1ySqQJXhwgik04KedKRUjpIDZePrjw+M5UJT1qzKCKL2xI
|
20
|
-
nx5cOKP1fSWJ1RRu8JhaDeSloGtYMdw2c28wnKPNIsWDood4xhbLcY9IqeISft2e
|
21
|
-
oTAHTHandHbvt24X3/n67ceNjLBbsVZPXCC1C8C8ccjHjA4Tm2uiFoDwThMcPggg
|
22
|
-
90H6fh0vLFcNAobdPEchbge8tWtfmMPz2+C4yklANn81GA+ANsBS1uwx6mxJoMQU
|
23
|
-
BNVp0aLvAgMBAAGjezB5MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
|
24
|
-
BBRS85Rn1BaqeIONByw4t46DMDMzHDAfBgNVHREEGDAWgRRicm9va2VAYWxjaGVt
|
25
|
-
aXN0cy5pbzAfBgNVHRIEGDAWgRRicm9va2VAYWxjaGVtaXN0cy5pbzANBgkqhkiG
|
26
|
-
9w0BAQUFAAOCAQEAZMb57Y4wdpbX8XxTukEO7VC1pndccUsxdbziGsAOiuHET3Aq
|
27
|
-
ygLvrfdYrN88/w+qxncW5bxbO3a6UGkuhIFUPM8zRSE/rh6bCcJljTJrExVt42eV
|
28
|
-
aYCb7WJNsx3eNXHn3uQodq3tD+lmNJzz2bFeT3smGSKEnALBjqorO/2mpDh4FJ3S
|
29
|
-
4CcDYsJ1ywep8LDJDBBGdKz9moL+axryzpeTpgTT/fFYFzRzWrURPyDvPOikh9TX
|
30
|
-
n/LUZ1dKhIHzfKx1B4+TEIefArObGfkLIDM8+Dq1RX7TF1k81Men7iu4MgE9bYBn
|
31
|
-
3dE+xI3FdB5gWcdWxdtgRCmWjtXeYYyb4z6NQQ==
|
32
|
-
-----END CERTIFICATE-----
|
33
|
-
date: 2017-01-22 00:00:00.000000000 Z
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-05-06 00:00:00.000000000 Z
|
34
12
|
dependencies:
|
35
13
|
- !ruby/object:Gem::Dependency
|
36
14
|
name: rake
|
@@ -50,16 +28,16 @@ dependencies:
|
|
50
28
|
name: gemsmith
|
51
29
|
requirement: !ruby/object:Gem::Requirement
|
52
30
|
requirements:
|
53
|
-
- - "
|
31
|
+
- - "~>"
|
54
32
|
- !ruby/object:Gem::Version
|
55
|
-
version: '
|
33
|
+
version: '9.4'
|
56
34
|
type: :development
|
57
35
|
prerelease: false
|
58
36
|
version_requirements: !ruby/object:Gem::Requirement
|
59
37
|
requirements:
|
60
|
-
- - "
|
38
|
+
- - "~>"
|
61
39
|
- !ruby/object:Gem::Version
|
62
|
-
version: '
|
40
|
+
version: '9.4'
|
63
41
|
- !ruby/object:Gem::Dependency
|
64
42
|
name: pry
|
65
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -164,14 +142,14 @@ dependencies:
|
|
164
142
|
requirements:
|
165
143
|
- - "~>"
|
166
144
|
- !ruby/object:Gem::Version
|
167
|
-
version: '3.
|
145
|
+
version: '3.6'
|
168
146
|
type: :development
|
169
147
|
prerelease: false
|
170
148
|
version_requirements: !ruby/object:Gem::Requirement
|
171
149
|
requirements:
|
172
150
|
- - "~>"
|
173
151
|
- !ruby/object:Gem::Version
|
174
|
-
version: '3.
|
152
|
+
version: '3.6'
|
175
153
|
- !ruby/object:Gem::Dependency
|
176
154
|
name: guard-rspec
|
177
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,28 +170,28 @@ dependencies:
|
|
192
170
|
requirements:
|
193
171
|
- - "~>"
|
194
172
|
- !ruby/object:Gem::Version
|
195
|
-
version: '4.
|
173
|
+
version: '4.6'
|
196
174
|
type: :development
|
197
175
|
prerelease: false
|
198
176
|
version_requirements: !ruby/object:Gem::Requirement
|
199
177
|
requirements:
|
200
178
|
- - "~>"
|
201
179
|
- !ruby/object:Gem::Version
|
202
|
-
version: '4.
|
180
|
+
version: '4.6'
|
203
181
|
- !ruby/object:Gem::Dependency
|
204
182
|
name: rubocop
|
205
183
|
requirement: !ruby/object:Gem::Requirement
|
206
184
|
requirements:
|
207
185
|
- - "~>"
|
208
186
|
- !ruby/object:Gem::Version
|
209
|
-
version: '0.
|
187
|
+
version: '0.48'
|
210
188
|
type: :development
|
211
189
|
prerelease: false
|
212
190
|
version_requirements: !ruby/object:Gem::Requirement
|
213
191
|
requirements:
|
214
192
|
- - "~>"
|
215
193
|
- !ruby/object:Gem::Version
|
216
|
-
version: '0.
|
194
|
+
version: '0.48'
|
217
195
|
- !ruby/object:Gem::Dependency
|
218
196
|
name: codeclimate-test-reporter
|
219
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -265,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
265
243
|
version: '0'
|
266
244
|
requirements: []
|
267
245
|
rubyforge_project:
|
268
|
-
rubygems_version: 2.6.
|
246
|
+
rubygems_version: 2.6.12
|
269
247
|
signing_key:
|
270
248
|
specification_version: 4
|
271
249
|
summary: Provides a collection of refinements to core Ruby objects.
|
checksums.yaml.gz.sig
DELETED
Binary file
|
data.tar.gz.sig
DELETED
Binary file
|
metadata.gz.sig
DELETED
Binary file
|