active_remote 3.2.0 → 3.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e137b069705e28aaa7d2790f21247563045d25ebd9b9b5e642a2683813d1cd44
4
- data.tar.gz: 0cc3e08eaf44f1bf307511dae88dbcfe29b98d6a8a74ff7476997cfcb9c1402a
3
+ metadata.gz: bfc7721bde7338f18d48628778fc459403968a04c453d63840990a61bb194d76
4
+ data.tar.gz: 1ca73c49c458db773890efc9379ed7e70ea525d305de8cb31b4b0239e50e5e9b
5
5
  SHA512:
6
- metadata.gz: f05afc6129a1636d65fa5e4014b111da5ce80513e9260d1f2b5e234d58821f2b0b79e72137fd259fbc30c14438f36afe0169c676befd9cb9f29c1d20a4aa4d9a
7
- data.tar.gz: 1c8dca82f3bc260fa2100b8077c3f9a3103aabfac050e7ded3f42d84ff427a8eeb7a22b2106c12d08263324e8cc85b9c3083dc1f788e6a92fdd3e2a61f12d780
6
+ metadata.gz: 5d7ede2b6df950844516d77078e60d1ff629a511b4d0594398247483e4f4167199c826a2ab40a5879de07d9040a5ba228f79cc98cd00f3989e6bf9120851ccfc
7
+ data.tar.gz: f56cc3b5e1f4db3093f88fbdacd00f1cf91631de395fe5473e80072a38aee93826772a89f1c1f9afb3bdc4ae8b3016d105d7c589f76b683706449c93812584d7
@@ -77,7 +77,7 @@ module ActiveRemote
77
77
  #
78
78
  def delete
79
79
  raise ReadOnlyRemoteRecord if readonly?
80
- response = rpc.execute(:delete, scope_key_hash)
80
+ response = remote_call(:delete, scope_key_hash)
81
81
 
82
82
  add_errors(response.errors) if response.respond_to?(:errors)
83
83
 
@@ -102,7 +102,7 @@ module ActiveRemote
102
102
  #
103
103
  def destroy
104
104
  raise ReadOnlyRemoteRecord if readonly?
105
- response = rpc.execute(:destroy, scope_key_hash)
105
+ response = remote_call(:destroy, scope_key_hash)
106
106
 
107
107
  add_errors(response.errors) if response.respond_to?(:errors)
108
108
 
@@ -239,7 +239,7 @@ module ActiveRemote
239
239
  # Use the getter here so we get the type casting.
240
240
  new_attributes = attributes
241
241
 
242
- response = rpc.execute(:create, new_attributes)
242
+ response = remote_call(:create, new_attributes)
243
243
 
244
244
  assign_attributes(response.to_hash)
245
245
  add_errors(response.errors) if response.respond_to?(:errors)
@@ -269,7 +269,7 @@ module ActiveRemote
269
269
  updated_attributes.slice!(*attribute_names)
270
270
  updated_attributes.merge!(scope_key_hash)
271
271
 
272
- response = rpc.execute(:update, updated_attributes)
272
+ response = remote_call(:update, updated_attributes)
273
273
 
274
274
  assign_attributes(response.to_hash)
275
275
  add_errors(response.errors) if response.respond_to?(:errors)
@@ -88,7 +88,7 @@ module ActiveRemote
88
88
  def search(args)
89
89
  args = validate_search_args!(args)
90
90
 
91
- response = rpc.execute(:search, args)
91
+ response = remote_call(:search, args)
92
92
 
93
93
  if response.respond_to?(:records)
94
94
  records = serialize_records(response.records)
@@ -1,3 +1,3 @@
1
1
  module ActiveRemote
2
- VERSION = "3.2.0"
2
+ VERSION = "3.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_remote
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Hutchison
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-30 00:00:00.000000000 Z
11
+ date: 2018-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -269,7 +269,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
269
269
  version: '0'
270
270
  requirements: []
271
271
  rubyforge_project:
272
- rubygems_version: 2.7.7
272
+ rubygems_version: 2.7.8
273
273
  signing_key:
274
274
  specification_version: 4
275
275
  summary: Active Record for your platform