soft_deletion 1.0.0 → 1.1.0

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: a5528f0de354a83d084b7b28c84bab4b8d0dc371
4
- data.tar.gz: fab84dbf2a047d1056c3ca0841bec86edb8ba2e3
3
+ metadata.gz: 855e30bb57aed54bfc4f5dad35add6d1e4016adf
4
+ data.tar.gz: ddbd760ed9411b44d2b9108b189201976e7b7157
5
5
  SHA512:
6
- metadata.gz: c40e24c183ae876d36e99c71979624834c386cdc10a9ff096fbe1f8f6027e5c47ddaab8feb69ddfd15191265feb5bf6357e64d0cc19673afdb563e79e8148da7
7
- data.tar.gz: fd0e6523ff162a14bd6f85a73bc51c8abb5ad1c5bf99e3e22699d6b78fc715b614f80efaea8bcb5bedd8741b2225d46f7ff933819c48e77d986f65d369710402
6
+ metadata.gz: 74ab08e62c1364f560b4d9c101ab0523ded919eb564fd5fb90dd5abcc269bb91ca4fac1900bc2a9bbe6eb59048987c41b34060d730655dd8a4ad5921dbb2d392
7
+ data.tar.gz: 7149e993a547f9ab9747364b2da31616e9029ffd5164d78888d0ee731ae5fd641b4f03fd6d2844245d347d9ed983cf707729b5ce03bd9c09c64349c54ee7213b
@@ -27,7 +27,7 @@ module SoftDeletion
27
27
  end
28
28
 
29
29
  def mark_as_soft_deleted_sql
30
- ["deleted_at = ?", Time.now]
30
+ { deleted_at: Time.now }
31
31
  end
32
32
 
33
33
  def soft_delete_all!(ids_or_models)
@@ -1,3 +1,3 @@
1
1
  module SoftDeletion
2
- VERSION = '1.0.0'
2
+ VERSION = '1.1.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soft_deletion
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zendesk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-04 00:00:00.000000000 Z
11
+ date: 2017-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 3.2.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 5.1.0
22
+ version: 5.2.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 3.2.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 5.1.0
32
+ version: 5.2.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rake
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -64,14 +64,14 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '2.0'
67
+ version: '3.5'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '2.0'
74
+ version: '3.5'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: database_cleaner
77
77
  requirement: !ruby/object:Gem::Requirement