lotus-utils 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/lotus/utils/attributes.rb +2 -4
- data/lib/lotus/utils/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c30faaee9896466ea8757f707a3c0a33ada14f3a
|
4
|
+
data.tar.gz: 8e959b68425befd384065a74e0367865ab21ede3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4f36dfb7d0b2e204433cd5e535e8de699e42a9706f054da3bb86aa0d3e5b23f7af8c3f5814591c3ec18554deed697f8b7a20739b9ee113a6393a9bf40fa619e
|
7
|
+
data.tar.gz: a4eb1264f70bbe20081fa2e2398e45c4a24ebfeac85ef9dfc0ce743ce764f34edabccd6ce046247f4bc5a33d720cb3e0bd15d4723f84772f9cb0df09245fa3e8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# Lotus::Utils
|
2
2
|
Ruby core extentions and class utilities for Lotus
|
3
3
|
|
4
|
+
## v0.4.2 - 2015-05-15
|
5
|
+
### Fixed
|
6
|
+
- [Luca Guidi] Ensure `Lotus::Utils::Attributes#to_h` to return `::Hash`
|
7
|
+
|
4
8
|
## v0.4.1 - 2015-05-15
|
5
9
|
### Added
|
6
10
|
- [Luca Guidi & Alfonso Uceda Pompa] Introduced `Lotus::Utils::Inflector`, `Lotus::Utils::String#pluralize` and `#singularize`
|
@@ -104,13 +104,11 @@ module Lotus
|
|
104
104
|
|
105
105
|
# Returns a deep duplicated copy of the attributes as a Hash
|
106
106
|
#
|
107
|
-
# @return [
|
107
|
+
# @return [::Hash]
|
108
108
|
#
|
109
109
|
# @since 0.3.2
|
110
|
-
#
|
111
|
-
# @see Lotus::Utils::Hash
|
112
110
|
def to_h
|
113
|
-
|
111
|
+
::Hash[].tap do |result|
|
114
112
|
@attributes.each do |k, v|
|
115
113
|
result[k] = _read_value(v)
|
116
114
|
end
|
data/lib/lotus/utils/version.rb
CHANGED