refinements 2.2.0 → 2.2.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 +0 -0
- data/lib/refinements/identity.rb +1 -1
- data/lib/refinements/string_extensions.rb +1 -1
- metadata +17 -59
- 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: a6392abcce831054b4c6570ef13529d99fe0f851
|
4
|
+
data.tar.gz: 9710d2658ddacd73de0f27c3839a3586ce3c4a20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b801764507cab23f18c9f311f1a7c2a55a0ec2301857478635b25545f03f1636885cdc5aee2c660270d8769aa3d120d2d87cc6951c673d5eb6f3e8745ff0ea6c
|
7
|
+
data.tar.gz: 2e928536b26a04d4c63a7d670bcb63ac2824d396e1ffa2b4b6071df9351249cf63d27f5e88b4a086f187f9d24ae6268db517ae1091dee450a3c3b335cd509979
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/refinements/identity.rb
CHANGED
@@ -5,7 +5,7 @@ module Refinements
|
|
5
5
|
module StringExtensions
|
6
6
|
refine String do
|
7
7
|
def camelcase
|
8
|
-
return self if self =~ /\A
|
8
|
+
return self if self =~ /\A\w+\z/ && self =~ /[A-Z]/ && self =~ /[a-z]/
|
9
9
|
snakecase.split("_").map(&:capitalize).join ""
|
10
10
|
end
|
11
11
|
|
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: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -30,36 +30,36 @@ cert_chain:
|
|
30
30
|
aSif+qBc6oHD7EQWPF5cZkzkIURuwNwPBngZGxIKaMAgRhjGFXzUMAaq++r59cS9
|
31
31
|
xTfQ4k6fglKEgpnLAXiKdo2c8Ym+X4rIKFfedQ==
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2016-
|
33
|
+
date: 2016-05-15 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: rake
|
37
37
|
requirement: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - "
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '0'
|
41
|
+
version: '11.0'
|
42
42
|
type: :development
|
43
43
|
prerelease: false
|
44
44
|
version_requirements: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - "
|
46
|
+
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '0'
|
48
|
+
version: '11.0'
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: gemsmith
|
51
51
|
requirement: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '7.
|
55
|
+
version: '7.6'
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
58
|
version_requirements: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '7.
|
62
|
+
version: '7.6'
|
63
63
|
- !ruby/object:Gem::Dependency
|
64
64
|
name: pry
|
65
65
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,20 +88,6 @@ dependencies:
|
|
88
88
|
- - ">="
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '0'
|
91
|
-
- !ruby/object:Gem::Dependency
|
92
|
-
name: pry-remote
|
93
|
-
requirement: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - ">="
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: '0'
|
98
|
-
type: :development
|
99
|
-
prerelease: false
|
100
|
-
version_requirements: !ruby/object:Gem::Requirement
|
101
|
-
requirements:
|
102
|
-
- - ">="
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: '0'
|
105
91
|
- !ruby/object:Gem::Dependency
|
106
92
|
name: pry-state
|
107
93
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,34 +102,6 @@ dependencies:
|
|
116
102
|
- - ">="
|
117
103
|
- !ruby/object:Gem::Version
|
118
104
|
version: '0'
|
119
|
-
- !ruby/object:Gem::Dependency
|
120
|
-
name: pry-rescue
|
121
|
-
requirement: !ruby/object:Gem::Requirement
|
122
|
-
requirements:
|
123
|
-
- - ">="
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '0'
|
126
|
-
type: :development
|
127
|
-
prerelease: false
|
128
|
-
version_requirements: !ruby/object:Gem::Requirement
|
129
|
-
requirements:
|
130
|
-
- - ">="
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: '0'
|
133
|
-
- !ruby/object:Gem::Dependency
|
134
|
-
name: pry-stack_explorer
|
135
|
-
requirement: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - ">="
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: '0'
|
140
|
-
type: :development
|
141
|
-
prerelease: false
|
142
|
-
version_requirements: !ruby/object:Gem::Requirement
|
143
|
-
requirements:
|
144
|
-
- - ">="
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
version: '0'
|
147
105
|
- !ruby/object:Gem::Dependency
|
148
106
|
name: bond
|
149
107
|
requirement: !ruby/object:Gem::Requirement
|
@@ -204,16 +162,16 @@ dependencies:
|
|
204
162
|
name: rspec
|
205
163
|
requirement: !ruby/object:Gem::Requirement
|
206
164
|
requirements:
|
207
|
-
- - "
|
165
|
+
- - "~>"
|
208
166
|
- !ruby/object:Gem::Version
|
209
|
-
version: '
|
167
|
+
version: '3.4'
|
210
168
|
type: :development
|
211
169
|
prerelease: false
|
212
170
|
version_requirements: !ruby/object:Gem::Requirement
|
213
171
|
requirements:
|
214
|
-
- - "
|
172
|
+
- - "~>"
|
215
173
|
- !ruby/object:Gem::Version
|
216
|
-
version: '
|
174
|
+
version: '3.4'
|
217
175
|
- !ruby/object:Gem::Dependency
|
218
176
|
name: rb-fsevent
|
219
177
|
requirement: !ruby/object:Gem::Requirement
|
@@ -274,16 +232,16 @@ dependencies:
|
|
274
232
|
name: rubocop
|
275
233
|
requirement: !ruby/object:Gem::Requirement
|
276
234
|
requirements:
|
277
|
-
- - "
|
235
|
+
- - "~>"
|
278
236
|
- !ruby/object:Gem::Version
|
279
|
-
version: '0'
|
237
|
+
version: '0.40'
|
280
238
|
type: :development
|
281
239
|
prerelease: false
|
282
240
|
version_requirements: !ruby/object:Gem::Requirement
|
283
241
|
requirements:
|
284
|
-
- - "
|
242
|
+
- - "~>"
|
285
243
|
- !ruby/object:Gem::Version
|
286
|
-
version: '0'
|
244
|
+
version: '0.40'
|
287
245
|
- !ruby/object:Gem::Dependency
|
288
246
|
name: codeclimate-test-reporter
|
289
247
|
requirement: !ruby/object:Gem::Requirement
|
@@ -338,7 +296,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
338
296
|
version: '0'
|
339
297
|
requirements: []
|
340
298
|
rubyforge_project:
|
341
|
-
rubygems_version: 2.6.
|
299
|
+
rubygems_version: 2.6.4
|
342
300
|
signing_key:
|
343
301
|
specification_version: 4
|
344
302
|
summary: Provides a collection of refinements for core Ruby objects.
|
metadata.gz.sig
CHANGED
Binary file
|