awrence 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -0
  3. data/VERSION +1 -1
  4. data/lib/awrence/methods.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f49788d1e0e12c23a9e0046b28a26b6205e9f5e1876073588d31c019c62bd4ba
4
- data.tar.gz: 3eb67e0bcfdaa0d83789b7ffc84107c127ebbc79bb1dcdce6be13e66ee6e8d27
3
+ metadata.gz: 6ea9ffe08685c4d1f7d302efaf13077b4cf86908fce25dd6dac706e9f832b39e
4
+ data.tar.gz: a9c44ac2fd6134e5063c30eb924fdbf2a44a6652d956b467a8324bd4065034f1
5
5
  SHA512:
6
- metadata.gz: 8fba35e04b34b8e45e10d33cde3b349433df9d6b85d8fc25228b485c91d46a32cdb1d1f114447bb9b59b789f617506c33984d5290e52a482e04fde538a15bd19
7
- data.tar.gz: 1e781631f2a222d5856b1bd63f8853091ff0cada7bbec643307f2bf0a3a28cfc1bc0256e6b72ed23426b3828702853b6cc2f9af7c844f805561fe3c36424ade4
6
+ metadata.gz: 9da5f704603f55dbf0220554da57c448bedff741751b66836e22a69bbdef9498938cc7149dbbcb036c2808b650024e6ad90875510986f4c675b0b482ec2aae56
7
+ data.tar.gz: 4b97555cb25181c0dadd271b3c2c4b22fd0cf2c5f06b826f7f87f9282b1f7afb3f78c3c7465ede8ec3e1e48084458b4e99a4a6bed3e026c1ff6942f1b5b8e05e
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Awrence
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/awrence.svg)](https://badge.fury.io/rb/awrence)
4
+ ![CI](https://github.com/technicalpanda/awrence/workflows/CI/badge.svg)
4
5
 
5
6
  Have you ever needed to automatically convert Rubyish `snake_case` to JSON-style `camelBack` or `CamelCase` hash keys?
6
7
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.2.1
@@ -52,7 +52,7 @@ module Awrence
52
52
  when Array
53
53
  value.map { |v| send(method, v) }
54
54
  when Hash
55
- Hash[value.map { |k, v| [camelize_key(k, first_upper: first_upper), send(method, v)] }]
55
+ value.map { |k, v| [camelize_key(k, first_upper: first_upper), send(method, v)] }.to_h
56
56
  else
57
57
  value
58
58
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awrence
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Hrycyszyn
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-02-01 00:00:00.000000000 Z
12
+ date: 2021-02-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: byebug