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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3582ab69182aac292556f21c4a1021c09a9a4d50
4
- data.tar.gz: 0f0e3a5561dee1797652203eb4fd6bdf75d01189
3
+ metadata.gz: c30faaee9896466ea8757f707a3c0a33ada14f3a
4
+ data.tar.gz: 8e959b68425befd384065a74e0367865ab21ede3
5
5
  SHA512:
6
- metadata.gz: efcbf3a494ad1c10a1fd9f76dfbccc181af68eb001035633c603cf19bc01e4f66832c97169269b7af35f276cec245bc375a01166cdfd94dd6225a5f186855a89
7
- data.tar.gz: 7f6ec20ba5908141c698eb3d1893b0e894621ee8c4e21f1a01e1bc22206da2eaa78f3bf86a8059ae9e81e84916bebd573ee1df63cce2496a9b4077ee9e603f20
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 [Lotus::Utils::Hash]
107
+ # @return [::Hash]
108
108
  #
109
109
  # @since 0.3.2
110
- #
111
- # @see Lotus::Utils::Hash
112
110
  def to_h
113
- Utils::Hash.new.tap do |result|
111
+ ::Hash[].tap do |result|
114
112
  @attributes.each do |k, v|
115
113
  result[k] = _read_value(v)
116
114
  end
@@ -3,6 +3,6 @@ module Lotus
3
3
  # Defines the version
4
4
  #
5
5
  # @since 0.1.0
6
- VERSION = '0.4.1'.freeze
6
+ VERSION = '0.4.2'.freeze
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lotus-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi