seam 2.0.0b3 → 2.0.0b5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/seam/base_resource.rb +2 -0
- data/lib/seam/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 153a1125c70c291a174d633ade80bd679c7273bc7a822399e28c7d674585467f
|
4
|
+
data.tar.gz: b014b0d28966949583b2aff44deb03ed2572145aefdb87ae5a8d4fc82f4976e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b62accc3cb7bc70e25e34199264dc2eccbbbecfc7527be0bb3de40e8f283e23c833872af9b78044eb0de6c51e522ba634dd24be91968f1a40762e6e02040453a
|
7
|
+
data.tar.gz: 1a25544329a7d4a44b034d5dfa4f866b6b3efd8b819d3933b96099734bd3b6548a4c2e68a2d2c05d7c88cd35bf3c5536b11c8b9d8bc6d793393af7047dd0013e
|
data/Gemfile.lock
CHANGED
data/lib/seam/base_resource.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require "time"
|
3
4
|
require_relative "deep_hash_accessor"
|
4
5
|
|
5
6
|
module Seam
|
@@ -20,6 +21,7 @@ module Seam
|
|
20
21
|
def update_from_response(data)
|
21
22
|
@data = data
|
22
23
|
@data.each do |key, value|
|
24
|
+
value = Seam::DeepHashAccessor.new(value) if value.is_a?(Hash)
|
23
25
|
instance_variable_set(:"@#{key}", value)
|
24
26
|
end
|
25
27
|
end
|
data/lib/seam/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.0b5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seam Labs, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|