tartarus-rb 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/tartarus/archivable_collection_repository.rb +1 -1
- data/lib/tartarus/rb/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d964cd9b85733405512f08d58cea33e9f12f5b6d3fa05d8fb2d1c979463ffead
|
4
|
+
data.tar.gz: 955301decdf77128432413afb6dd40612bb5c279e2cb65129f740cf1c81c1373
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d455a12a6503b078c1b49e3902d840a017bfa50f99c6eee2ff17367d3398eb62b376503f84b260a90663e9c3f465ac59ba4509a1b3f9767835548853a24f3469
|
7
|
+
data.tar.gz: 2b4502ce62eb6bd831413d237e9b69535fbbe113c09e25e35f0ee680c902599bd0c52a210c0eb365ccde044c6a200da32c4b12798a6137e996a228f1192d8b10
|
data/Changelog.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
## Master
|
4
4
|
|
5
|
+
## 0.6.0
|
6
|
+
|
7
|
+
- Optimize query from `Tartarus::ArchivableCollectionRepository#items_older_than` by adding explicit ordering
|
8
|
+
|
5
9
|
## 0.5.0
|
6
10
|
|
7
11
|
- Provide ability to explicitly set the name of archivable item to have multiple ways of archiving the same model
|
data/Gemfile.lock
CHANGED
@@ -20,7 +20,7 @@ class Tartarus
|
|
20
20
|
collection = collection_for(model_name)
|
21
21
|
ensure_column_exists(collection, model_name, timestamp_field)
|
22
22
|
|
23
|
-
collection.where("#{timestamp_field} < ?", timestamp)
|
23
|
+
collection.where("#{timestamp_field} < ?", timestamp).order(timestamp_field)
|
24
24
|
end
|
25
25
|
|
26
26
|
private
|
data/lib/tartarus/rb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tartarus-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karol Galanciak
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|
@@ -264,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
264
264
|
- !ruby/object:Gem::Version
|
265
265
|
version: '0'
|
266
266
|
requirements: []
|
267
|
-
rubygems_version: 3.1.
|
267
|
+
rubygems_version: 3.1.4
|
268
268
|
signing_key:
|
269
269
|
specification_version: 4
|
270
270
|
summary: A gem for archving (deleting) old records you no longer need. Send them straight
|