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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5cf7ba597155429f0ddcc3e5efb8c845f4c0efba246457787859b6b86ca84053
4
- data.tar.gz: 9e89f9ac8ad280152002744808c2f13681c77855c08647621494fa3ac8730567
3
+ metadata.gz: 153a1125c70c291a174d633ade80bd679c7273bc7a822399e28c7d674585467f
4
+ data.tar.gz: b014b0d28966949583b2aff44deb03ed2572145aefdb87ae5a8d4fc82f4976e2
5
5
  SHA512:
6
- metadata.gz: '042008d371d9f6bca1a997a7a2dc5b8dff5abb369f8735727472dc50c60f548fda06acafd4ff1d49af97ef31b452ae0f002e890c183c7f50c50c677781cf0329'
7
- data.tar.gz: bdf45e0bd91efb50eb3a04745d43b9825a1dd06ef424dcc14b272248084841b31cbbd2b13379cbff6adf16f07b0f80a09465ebcfc8554e4a992adb0eeb34961f
6
+ metadata.gz: b62accc3cb7bc70e25e34199264dc2eccbbbecfc7527be0bb3de40e8f283e23c833872af9b78044eb0de6c51e522ba634dd24be91968f1a40762e6e02040453a
7
+ data.tar.gz: 1a25544329a7d4a44b034d5dfa4f866b6b3efd8b819d3933b96099734bd3b6548a4c2e68a2d2c05d7c88cd35bf3c5536b11c8b9d8bc6d793393af7047dd0013e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seam (2.0.0b3)
4
+ seam (2.0.0b5)
5
5
  faraday (~> 2.7)
6
6
  faraday-retry (~> 2.2)
7
7
  svix (~> 1.30)
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Seam
4
- VERSION = "2.0.0b3"
4
+ VERSION = "2.0.0b5"
5
5
  end
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.0b3
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-13 00:00:00.000000000 Z
11
+ date: 2024-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday