forecasting 0.2.0 → 0.3.0

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: 28606e4981727f588e0ab9a027bcea84cd3f25563d2ab031b2eeb075455d42be
4
- data.tar.gz: e68359ad5b0452f3c60f5d5d4c00a7cf9f03311da0d277b7832c88a3115dfc68
3
+ metadata.gz: 5b2d66a278ffe4f60bc238a910505cad69acca49301dc19462cf92babfc3b0e4
4
+ data.tar.gz: 6f1ffb071e36468b2310ba7c029a6e1483e53e92e24ae60322d5d42c13337bf2
5
5
  SHA512:
6
- metadata.gz: 37dccf7bdca14315ec3810be2bc6de1123827b5388a903dee7b5f2f9501a064c3772a10afc0cb5fa5dee12c7da0335b9f7e82a80927052c8f20376f4fdb233d9
7
- data.tar.gz: da4002bc71187fe2084fee8c377de963805f93a7ba79e0a7489cd6f275ff8985b688ca805823282da145334cdd0684eb113ffb8e9e0c1f553e6bb40cdfae937e
6
+ metadata.gz: c6224fc85f8fd5bbe40b76d01a7477397331ec63f7c41c636d91b6c03e96b123641f8faf202baf1328b09480c6d493b4a2550d16faf16381c40cafa95455a9a2
7
+ data.tar.gz: '09fdb75bf0d1279254a2d7818b734ec4f01b6998c6835785e44c470081d1bba911aee2ab8b16050de850895c1d28dab66f05c9e9b5c4d586bd350c8b9ce89364'
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@
4
4
 
5
5
  **Bug Fixes**
6
6
 
7
+ ## Version 0.3.0 - Jan 30, 2023
8
+
9
+ **Bug Fixes**
10
+
11
+ - Fix bug assigning attributes in Forecasting::Models::ForecastRecord::get
12
+
7
13
  ## Version 0.2.0 - Jan 30, 2023
8
14
 
9
15
  **Notes**
@@ -43,7 +43,7 @@ module Forecasting
43
43
  def self.get(id, opts = {})
44
44
  client = opts[:forecast_client] || Forecasting::Client.new(**opts)
45
45
  self.new({ 'id' => id }, opts).tap do |record|
46
- record.attributes = client.get(record.path)
46
+ record.attributes = client.get(record.path)[record.type]
47
47
  end
48
48
  end
49
49
  end
@@ -1,3 +1,3 @@
1
1
  module Forecasting
2
- VERSION = "0.2.0".freeze
2
+ VERSION = "0.3.0".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forecasting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Owens