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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/forecasting/models/forecast_record.rb +1 -1
- data/lib/forecasting/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b2d66a278ffe4f60bc238a910505cad69acca49301dc19462cf92babfc3b0e4
|
4
|
+
data.tar.gz: 6f1ffb071e36468b2310ba7c029a6e1483e53e92e24ae60322d5d42c13337bf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6224fc85f8fd5bbe40b76d01a7477397331ec63f7c41c636d91b6c03e96b123641f8faf202baf1328b09480c6d493b4a2550d16faf16381c40cafa95455a9a2
|
7
|
+
data.tar.gz: '09fdb75bf0d1279254a2d7818b734ec4f01b6998c6835785e44c470081d1bba911aee2ab8b16050de850895c1d28dab66f05c9e9b5c4d586bd350c8b9ce89364'
|
data/CHANGELOG.md
CHANGED
@@ -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
|
data/lib/forecasting/version.rb
CHANGED