active_remote 2.3.0 → 2.3.1

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
  SHA1:
3
- metadata.gz: c89356033a37c579df65b431907bfdff0754d560
4
- data.tar.gz: 3c31cbc7d4f0ac128112374a4baf7fe847d18adf
3
+ metadata.gz: f3a12f9424d44afa1f5eac6ea6c1bad3cbd99a7b
4
+ data.tar.gz: 253540b6e7693db26aa3ca45a4090ecb83714727
5
5
  SHA512:
6
- metadata.gz: 96e1753ea1f51bbe1a64bc40dc39c76d9cb35f2dd27be42cfecb3b4628c8953819fe590b1c480439db6422208e2bad84dfa3913c230d054b1e7af1b209fc16d5
7
- data.tar.gz: 300112bd7a7cb192297ef6f668d7366f2d9d6acd2ab9f0de377ad75ac1ca8d893e1d46b15363e8cc023f691713441e4c62c671f38663ce01c8f4ef1084edd986
6
+ metadata.gz: f1a26cf8ffb7a27db51ec4861edbef1f4d1aeae85865be5cff61ec9695f89553cd4b1652756256d90aecfaf971a5f8f7e4152457e10e1e9c537f9ec6188b28be
7
+ data.tar.gz: cd02439131709c70b578c35654a88a23955e33ab7ca914b62a5402f6d691fa7622c08bba5e0b5c1b01d62d85aa02a37d123a61a6554b026cfbc9b6c01f9a4743
@@ -84,7 +84,7 @@ module ActiveRemote
84
84
 
85
85
  # Override #update to only send changed attributes.
86
86
  #
87
- def update(*)
87
+ def remote_update(*)
88
88
  super(changed)
89
89
  end
90
90
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveRemote
2
- VERSION = "2.3.0"
2
+ VERSION = "2.3.1"
3
3
  end
@@ -295,7 +295,7 @@ describe ActiveRemote::Persistence do
295
295
  end
296
296
 
297
297
  it "updates a remote record" do
298
- expect(Tag.rpc).to receive(:execute).with(:update, tag.scope_key_hash)
298
+ expect(Tag.rpc).to receive(:execute).with(:update, {"name" => "foo", "guid" => "123"})
299
299
  tag.update_attribute(:name, "foo")
300
300
  end
301
301
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_remote
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Hutchison