blurb 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/blurb.gemspec +1 -1
  3. data/lib/blurb/request.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 308f8f046233821f03d87749c7bbbc5bd99d440b471f526bfffc82e50e187d07
4
- data.tar.gz: 8e5c1636d1a129af2c21daf33fb10d2397da31b9dafafd8abdf924495c1c6775
3
+ metadata.gz: 8f341e35796573d6a77dd26bbd58466f72a6c47277998d52e0fc534dd043c07c
4
+ data.tar.gz: 73f88da24b64d54c19960f6f57ba36c8615b5374286b611cb44607303ece2cd6
5
5
  SHA512:
6
- metadata.gz: 4e7350f33658327c5a11e81835de61b2e68a141e812d335fcddab777ea3c36f3ae90bb36756c14656233106e9514bf3742e0a32d9d5ac1d90a89ab946e4c7878
7
- data.tar.gz: 82bda34380cb304a6422fea70f0af6e14832c71a4c8339407fd192064799725fce1344baae64b915211b28064f8ae89ee1afca7217320ccc443392848c716688
6
+ metadata.gz: f12c0909f2e381b91b61b472701f1fdf9f8e8785371c3752032b81c2ae543282595b8d4a29159bcd1cace3f3638a8749858afc2c61a5d1c054e467753382ad44
7
+ data.tar.gz: 8b348ea74f8bc44b5c7eee99942fc20d5b2c2dd59b8910f2d0f03f689c344181632844e9c49cf9b249c99b618ad9fb6156325d696dcde55744710d1fadf4e0a6
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "blurb"
7
- spec.version = "0.4.0"
7
+ spec.version = "0.4.1"
8
8
  spec.authors = ["dlbunker", "eamigo13"]
9
9
  spec.email = ["evan@pattern.com"]
10
10
 
@@ -67,7 +67,7 @@ class Blurb
67
67
 
68
68
  def camelcase_keys(hash)
69
69
  map = hash.map do |key,value|
70
- value = value.strftime('%Y%m%d') if value.class == Date || value.class == Time
70
+ value = value.strftime('%Y%m%d') if [Date, Time, ActiveSupport::TimeWithZone].include?(value.class)
71
71
  [key.to_s.camelize(:lower), value]
72
72
  end
73
73
  map.to_h
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blurb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - dlbunker
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-08-12 00:00:00.000000000 Z
12
+ date: 2019-08-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler