relaxo-model 0.16.0 → 0.17.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: 94885a0f81111f0e8ae7aa9c932ece3c903ebd81fb9f87756fc29317b8063536
4
- data.tar.gz: edfd857bb82fd267570d33553fc11e4d03772653d0b0d2bc10631bae63b6ec1d
3
+ metadata.gz: d5a7bf567015446448d276991edbaf5ae5639c46fb718d3f3da95725fde8e983
4
+ data.tar.gz: bb061e063c19f537cf73704bdd3ddc2f2e4f84c3f9a9b84fc7b6a2cdd41ec41b
5
5
  SHA512:
6
- metadata.gz: 167db567e592094c75204d7d9041857665b88f0d18ac3da8e599d5140af19b5cdaf120c0e5d81d77867b8711912fc44097ab9c0bcad9e3bcd787edff3f046c7d
7
- data.tar.gz: 7fb77cb8fbe0949e9495ec7ce76a6c9d0907303f42c14b6923776ea3791353525eaa3c906cabfa9632a41108ee83a6170a5a843e4d1c70a596b4f758379593ad
6
+ metadata.gz: f077e32a41107719d760835467b7ef8b8cfbd20b6dfa168e967d49a824f0be1822068f4b6742681f5f13fff974614a3deb74a3be1051d20359f5343668a8a74b
7
+ data.tar.gz: 1c2714ba31834609ce49f11dc6cd603959f79685986901709c73685b88165f3a18ee0eb74e6be9c2af0144ac0c534aee32197b688d630012a58611c19a387b7e
@@ -54,7 +54,8 @@ module Relaxo
54
54
  # Attributes that have been changed or de-serialized from the dataset:
55
55
  attr :changed
56
56
 
57
- def reload
57
+ def reload(dataset = @dataset)
58
+ @dataset = dataset
58
59
  @changed.clear
59
60
  self.load_object
60
61
  end
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Relaxo
22
22
  module Model
23
- VERSION = "0.16.0"
23
+ VERSION = "0.17.0"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaxo-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-25 00:00:00.000000000 Z
11
+ date: 2020-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: relaxo