Skip to content

Releases: amancevice/yake

v1.1.1

15 Oct 13:23
f044245
Compare
Choose a tag to compare

v1.1.0

23 Jan 19:29
d28c843
Compare
Choose a tag to compare

Full Changelog: v1.0.0...v1.1.0

v1.0.0

25 May 16:27
7cdbb4a
Compare
Choose a tag to compare

Added Hash#deep_merge adapted from activesupport gem
Added Hash#to_dynamodb and Hash#to_h_from_dynamodb

v0.8.0

24 Nov 17:26
016d881
Compare
Choose a tag to compare

Adds support for datadog-lambda v2

v0.7.0

18 Oct 15:16
bd398f4
Compare
Choose a tag to compare

Change default logging pretty value to false

v0.6.5

17 Aug 12:42
c9aca2d
Compare
Choose a tag to compare

Added Hash#to_struct and Hash#to_deep_struct in yake/support:

{ f: 'g', a: { d: 'e', b: 'c' } }.to_struct
# => #<OpenStruct f="g", a={:d=>"e", :b=>"c"}>

{ f: 'g', a: { d: 'e', b: 'c' } }.to_deep_struct
# => #<OpenStruct f="g", a=#<OpenStruct d="e", b="c">>

Added String#utc in yake/support:

'2009-02-13T23:31:30Z'.utc
# => 2009-02-13 23:31:30 UTC

v0.6.4

12 Aug 01:33
ce7b633
Compare
Choose a tag to compare

Add Yake::Errors::[] method to look up errors by code

v0.6.3

11 Aug 11:45
c37000d
Compare
Choose a tag to compare

Fixed Hash#deep_transform_keys/#deep_transform_keys! to work for Hashes nested in Arrays

v0.6.2

06 Jul 13:00
3624bbb
Compare
Choose a tag to compare

Added support methods to Hash:

  • Hash#deep_keys returns all nested keys in a Hash
  • Hash#deep_transform_keys transforms all nested keys in a Hash
  • Hash#deep_transform_keys! transforms all nested keys in a Hash in place
  • Hash#stringify_names! stringifies names in place
  • Hash#symbolize_names! symbolizes names in place

Hash#symbolize_names and Hash#stringify_names now use Hash#deep_transform_keys

{ a: { b: 'c', d: 'e' }, f: 'g' }.deep_keys
# => [:a, :b, :d, :f]

{ a: { b: 'c', d: 'e' }, f: 'g' }.deep_transform_keys(&:to_s)
# => { "a" => { "b" => "c", "d" => "e" }, "f" => "g" }

hash = { a: { b: 'c', d: 'e' }, f: 'g' }
hash.deep_transform_keys!(&:to_s)
# => { "a" => { "b" => "c", "d" => "e" }, "f" => "g" }

v0.6.1

06 Jul 12:51
42483f9
Compare
Choose a tag to compare

Logger uses STDERR by default instead of STDOUT