smooth_operator 1.30.1 → 1.30.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MzBkMzFiOTQ5ODg4Mzg0NmZmMzUzM2NiOWIxMjM2ZmZkOWZkZTM3OQ==
4
+ MmNmYjBjMThiMjVhZWM5ODE3OWI0YTI3Y2Q4MDM5YWNkNDBmMDJmZQ==
5
5
  data.tar.gz: !binary |-
6
- MGNjMTJjMDNhZjU3NDE4ZGRlYTdjNzQzYjRhMWYyZDBkMmY1NzEyNA==
6
+ MDMxZTQyNTZiNTYxZDQ2NzUyMWE4YmY4OGM1MjUxMGI4ZTRkMGU5YQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NmUxOGQyZjIyYmM5OWQ4M2NmYmEzMWE1MGM5ODIwMTEyMzQ2N2M4NDcyZjg4
10
- ODhhZTAzMjFlZjcyMWE3YmVjMDM5NThlODUyYjdhM2NlMGRmOGY5ZDQwNWQx
11
- Yzc5OGY3MzE0YjRjMTJlNzIwZWM2MzVlMDg5ZWI2YzA5MzBjMjg=
9
+ MTFmOWM1MzUyOWIzNDVlOTJmZDI2NzUzYTY5YmE3ZmM3MTg4NGM5MjJhZmVh
10
+ NWE5NmZjZjVkMGFjNGM5ZGZjYzhjMjk3NGZmNGRmZWMxOGNlYjYxNDBlOTkx
11
+ ZmFkODljZDE3NGI2MGJjYWJlZWFkOGFkZDBhMWE0M2U1YWE0NjQ=
12
12
  data.tar.gz: !binary |-
13
- ZDczNTYxMzZhZDFjMmMzYjRiZDVkNDgzYzFkZjEzYzAwNzgyZjkzYzhhNWRh
14
- NmQyZGI4N2FjOTAyMjhkMDAxZTcyZGYzZmYzYWMzMDc5YzU4MzNiOTI5MWU1
15
- NmJlODNlYTIxMDQyNjFlYzBmYWYyYjAxZjcxNGMzNTNiMDBiMjA=
13
+ YTk5YmNjMTQ0NWFmOTRhNGE5MTIzZDFlYmFhNGQ0MGJkYWIyOThkN2Q0OGNi
14
+ YjZkZjg2MWQ2MGUyNjIzNGZlOGM0MDFhNGQyY2M0ODJjYTIyY2IwNjFiNDFh
15
+ NmY4MDgxYmRiNDM2MzVkNDU5MDBiOTU3NDgxMGY5YmZiM2QwMmQ=
@@ -63,7 +63,9 @@ module SmoothOperator
63
63
  def destroy(relative_path = nil, data = {}, options = {})
64
64
  return false unless persisted?
65
65
 
66
- make_a_persistence_call(:destroy, relative_path, data, options) do |remote_call|
66
+ resource_data = resource_data_for_server(data)
67
+
68
+ make_a_persistence_call(:destroy, relative_path, resource_data, options) do |remote_call|
67
69
  @destroyed = true if remote_call.status
68
70
 
69
71
  block_given? ? yield(remote_call) : remote_call.status
@@ -1,3 +1,3 @@
1
1
  module SmoothOperator
2
- VERSION = '1.30.1'
2
+ VERSION = '1.30.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smooth_operator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.30.1
4
+ version: 1.30.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - João Gonçalves
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-22 00:00:00.000000000 Z
11
+ date: 2014-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler