gretel-trails 0.0.4 → 0.0.5

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: 9d6191f3931f02d51c457c2b0a62cfa6e2ae7c15
4
- data.tar.gz: 57c37e7d79dc511b926042e2f34bf69163bc0c4b
3
+ metadata.gz: 2adf657e1647ed0bbb9c15d8084978bcd4732a08
4
+ data.tar.gz: bf3bf0a8cbe2c51cea32ef9f67f440021a1b2384
5
5
  SHA512:
6
- metadata.gz: cad57f90482be9761b66d4fe5a373d1d4299c932554381993573afba146bd50b2ca573f0ba4029556e983d6b7b926eb08fedc8baac4d7747611cfd9f914c7112
7
- data.tar.gz: 183dedc4e90e5c699194e8f7c6fe75e2837dd075ad6481df6c374b670470a1663d92b113e45e9da47f46d05abdcb8aa973ac75bb9885edf645c89dece17fbbae
6
+ metadata.gz: bee4415da8dd57c401a0958abfd53a0a82dfab7c1d96a4c36efc41d9612d408348a37158995e67336453eaeabca27d96092519b3a0e1c031b3180c6d850ae994
7
+ data.tar.gz: 8e2cba23eaa26aed4a373656fbfea7012d2e6d1ff8b783bed6185fb2cd79c0fe069e71b0da9d3beab707b6dfe538cdb52c3724a925ce7d67ae6ce270d87b218d
@@ -53,6 +53,8 @@ module Gretel
53
53
  rec.expires_at = expires_at
54
54
  rec.save
55
55
  end
56
+ rescue ActiveRecord::RecordNotUnique
57
+ retry
56
58
  end
57
59
 
58
60
  def self.delete_expired
@@ -1,5 +1,5 @@
1
1
  module Gretel
2
2
  module Trails
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gretel-trails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lasse Bunk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-31 00:00:00.000000000 Z
11
+ date: 2013-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gretel