invisible_record 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/invisible_record/helper.rb +1 -1
- data/lib/invisible_record/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d70c2835b8f94f922df18a8bec3033a3dda6cfbcbbaf91520e6e4a34e2d32b4
|
4
|
+
data.tar.gz: 30ef867d5777a27f1d8ba84e3ffa3b5108114a74ab28b50a0b29a168d660f11a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6be0ba5a6f8deb7e4ccf880bfb97b73242003bc230bd1f46e55667abaa002d7caff73311cb30f4f68cc7af4d8682362108e5adc27a711da44064bec9313420e4
|
7
|
+
data.tar.gz: 1fa1c02848b3d208b8f593a02f18e40992a6c27429c0fce2351b1914ec396c2855f06e250e7604f6ee205738687a6a1d89e9cfb46017f77a3953bd3e8f09d6a6
|
data/Gemfile.lock
CHANGED
@@ -15,7 +15,7 @@ module InvisibleRecord
|
|
15
15
|
end
|
16
16
|
|
17
17
|
klass.define_method "soft_delete" do |*args|
|
18
|
-
options = args.last
|
18
|
+
options = args.last || {}
|
19
19
|
options[:datetime] ||= DateTime.now
|
20
20
|
assign_timestamp = "#{deleted_ts_attr}="
|
21
21
|
send(assign_timestamp, options[:datetime])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: invisible_record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Rejón
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|