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 +8 -8
- data/lib/smooth_operator/persistence.rb +3 -1
- data/lib/smooth_operator/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MmNmYjBjMThiMjVhZWM5ODE3OWI0YTI3Y2Q4MDM5YWNkNDBmMDJmZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDMxZTQyNTZiNTYxZDQ2NzUyMWE4YmY4OGM1MjUxMGI4ZTRkMGU5YQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTFmOWM1MzUyOWIzNDVlOTJmZDI2NzUzYTY5YmE3ZmM3MTg4NGM5MjJhZmVh
|
10
|
+
NWE5NmZjZjVkMGFjNGM5ZGZjYzhjMjk3NGZmNGRmZWMxOGNlYjYxNDBlOTkx
|
11
|
+
ZmFkODljZDE3NGI2MGJjYWJlZWFkOGFkZDBhMWE0M2U1YWE0NjQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
|
-
|
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
|
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.
|
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-
|
11
|
+
date: 2014-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|