lite-ruby 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -2
- data/Gemfile.lock +1 -1
- data/lib/lite/ruby/array.rb +1 -1
- data/lib/lite/ruby/hash.rb +4 -4
- data/lib/lite/ruby/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d491d1f3a4df259dd3f5f08b9757082d16029d52695442273bd8e3946d07615b
|
4
|
+
data.tar.gz: bc77e6dd598a7800d7e7abe7bde39fcae5a941edea9b483df499c39c2b37b05e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24d51fda2095cbe7a2e0fd9217404ecbab715193529d92b2ddae93c648b09013f3c022712f326f66e0f3cd6f5426f85f6c41a5e1cc28134144c4bb774c26d59b
|
7
|
+
data.tar.gz: 6b7c5b3ab9552381c50b4e4bc8cdaf8eca96077b1d53687353ab85dac1594810a097dabf2975f5b27fd2c22a3c21d5b953ac328f28f355a8e49df28ad8059b4b
|
data/CHANGELOG.md
CHANGED
@@ -6,7 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
-
## [1.0.4] - 2019-08-
|
9
|
+
## [1.0.4] - 2019-08-010
|
10
|
+
### Changed
|
11
|
+
- Improved speed for Array denillify
|
12
|
+
- Improved speed for Hash denillify
|
13
|
+
|
14
|
+
## [1.0.4] - 2019-08-010
|
10
15
|
### Added
|
11
16
|
- Added more boolean value checks
|
12
17
|
- Added Numeric => `markdown_percentage`
|
@@ -15,7 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
15
20
|
- Added Object => `to_bool`
|
16
21
|
- Added String => `dedupe`
|
17
22
|
### Changed
|
18
|
-
- Move
|
23
|
+
- Move Boolean classes to its own file
|
19
24
|
|
20
25
|
## [1.0.3] - 2019-07-30
|
21
26
|
### Added
|
data/Gemfile.lock
CHANGED
data/lib/lite/ruby/array.rb
CHANGED
data/lib/lite/ruby/hash.rb
CHANGED
@@ -164,12 +164,12 @@ class Hash
|
|
164
164
|
self
|
165
165
|
end
|
166
166
|
|
167
|
-
def denillify(
|
168
|
-
dup.denillify!(
|
167
|
+
def denillify(identity = 0)
|
168
|
+
dup.denillify!(identity)
|
169
169
|
end
|
170
170
|
|
171
|
-
def denillify!(
|
172
|
-
each { |key, val| self[key] = val
|
171
|
+
def denillify!(identity = 0)
|
172
|
+
each { |key, val| self[key] = val || identity }
|
173
173
|
end
|
174
174
|
|
175
175
|
def diff(hash)
|
data/lib/lite/ruby/version.rb
CHANGED