doggy 2.0.39 → 2.0.40

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: 3e04c1e4612bdfa22169dc85914ce496b940a72e
4
- data.tar.gz: 9588342799f7ef5033f9720456b7e756a913cb6b
3
+ metadata.gz: 4496d8cd23e4983fb689340b0213af9d95a16a3d
4
+ data.tar.gz: de2a176a72843d876aa39cd5635dd38062b370e6
5
5
  SHA512:
6
- metadata.gz: 35838ed57e26c6cb0e0f9d20f50503a1247197d48680c5d9db8c467abc13ae13a70f4dd7c0c1f859f91d57e99736a6d370b98baa8d38bdca14f7e88c21ed76b8
7
- data.tar.gz: 00e55e4ee1f7d3f9c621db78eeec3440f76ae40da3db054b32e70f01a516769269c25624b4ce7e3f2ca5ebb08d1329122b74e945026c8b7d7f73405860ddeabb
6
+ metadata.gz: df9010ce021f5b83d9701a317939d0006117223a093132324a611f77c7296c8dea6d62f1f2c033ec83671dfe3de20f9032aa2b481b1f1fb44a26f191c36206a0
7
+ data.tar.gz: 0c7d88c8263132befedf6466b08fde1606fbb9ba4c58dd63ea6c861c9e6728f640ff2cd03d4e126f29fc25fe85969e5a66dc126e246b76857a5f9b8bab5ea5f5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- doggy (2.0.39)
4
+ doggy (2.0.40)
5
5
  activesupport (~> 4)
6
6
  json (~> 1.8.3)
7
7
  parallel (~> 1.6.1)
@@ -69,4 +69,4 @@ DEPENDENCIES
69
69
  webmock
70
70
 
71
71
  BUNDLED WITH
72
- 1.13.7
72
+ 1.14.4
data/lib/doggy/model.rb CHANGED
@@ -212,7 +212,7 @@ module Doggy
212
212
  end
213
213
 
214
214
  def destroy
215
- request(:delete, resource_url(id))
215
+ self.class.request(:delete, resource_url(id), nil, [404])
216
216
  end
217
217
 
218
218
  def destroy_local
data/lib/doggy/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Doggy
4
- VERSION = '2.0.39'
4
+ VERSION = '2.0.40'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doggy
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.39
4
+ version: 2.0.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vlad Gorodetsky
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-03-13 00:00:00.000000000 Z
12
+ date: 2017-04-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json