sequel_acts_as_cacheable 1.1 → 1.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
- NjdhY2EyMjAzNDQ4ZDFjNTkyMjM3NmIxYTQ1N2I4MDUwMjljNDFjMQ==
4
+ YmU4OGExMWI4ODRiMWYzODNhYTBmZTUzNDE5MDY0NjI1MDEwZTY4Zg==
5
5
  data.tar.gz: !binary |-
6
- Y2I4OGY4OWMxYzI3NTM0ZThlMGNmZTJlOTgxNTMzMDdhZjRkMzUzYg==
6
+ ZDFhYmNkZDYxM2EzYWZhMDgxZTAwMDFlZTNhZjk0MDBiZTc0YzA4OA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YTgxOTgyN2EyMmRlOTYwMDQyNDAyNTNkMzlmOTBjZGYzMWI5NjBmZDRhZTg0
10
- N2E0YTUyOTk5ZjgzNWIxZTc0MmRjYmZjZmMwNzg1MmRjYzYzOGVlZjA0M2Mw
11
- MWFlYjg1YTY2NmQ0YTkzMGQ2YzA2MDdjNzI0MTAzMGZmNTFkZDc=
9
+ ZjBlNzY3MDUzYTM4ZWMzMDFmNTM5NGU5MzQ2ODQ3ZjUxMzYyMWRkNjk5Nzc5
10
+ NGE1ZDNkMzk4ZTU1ODM1MzNhNDVlYWIwYmVjODVmOTMwZDZhNzgzMjkxMGY1
11
+ ZWFmYzMyODMwZmQzOGQ2M2NmODc5ZmFhZGE3MWM3YmRkNGRhMWQ=
12
12
  data.tar.gz: !binary |-
13
- NjAwYjhlZTc4NDlmODA3MWFmZjgzNjU2YWUyZTY3NTExMTVhM2JlM2VmYjQw
14
- OWMzZTU4MDgzNTk3MTNkYzAyZjQyZDdjNzIxZGQwZWYwMzc5NTBhMGEyZTgz
15
- NTcwYmM4ODQ2ODE4MjRkMzgyNGZmYjVmYjdhMjAwNWJlZDVhZjI=
13
+ YjQ0ODMyNDM5OTc0Y2EwOTcyZjAzOWM2MjU0MjkyNTI4ZmFkMTZjZjVjZTRi
14
+ YTMzY2VlYTQ5ZGQ2MGJjMjZjNjM1MzgyZGJjYjdmZTg1ZDFmMjc1ZDRjMjhl
15
+ NjZkYmNiYTJlOTNiMTZkZTBmMTg4OWUxM2YyZTIyZmRlM2YyMWU=
@@ -99,7 +99,11 @@ module Sequel
99
99
  end
100
100
 
101
101
  def delete
102
- result = super
102
+ begin
103
+ result = super
104
+ rescue Sequel::NoExistingObject
105
+ logger.error "attempted to delete a record that doesn't exist"
106
+ end
103
107
  invalidate_cache!
104
108
  result
105
109
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequel_acts_as_cacheable
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.1'
4
+ version: '1.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Misha Conway
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-19 00:00:00.000000000 Z
11
+ date: 2013-11-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: MishaAConway@gmail.com
@@ -18,7 +18,8 @@ extra_rdoc_files: []
18
18
  files:
19
19
  - lib/sequel_acts_as_cacheable.rb
20
20
  homepage:
21
- licenses: []
21
+ licenses:
22
+ - MIT
22
23
  metadata: {}
23
24
  post_install_message:
24
25
  rdoc_options: []