tartarus-rb 0.7.0 → 0.8.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
  SHA256:
3
- metadata.gz: 0a770f6674e54fb7d322129972137b230dad98be24c90700ffc0e8ebaa203cb1
4
- data.tar.gz: d77e6531054e907e5ad9f6bc4193e794cf83b06a3ee1748e4b0c51ea2751217d
3
+ metadata.gz: 1fbf0d84c0c5a7221c340303d65c7649d883dae985003803b571b2a41b28081b
4
+ data.tar.gz: 0a63951eac2535c59a63968ee260ec2980b0c904cbde4bba0d83beb1c04d46a5
5
5
  SHA512:
6
- metadata.gz: a7e8c811a106818486ef19b3b62321695a2b0c4a1aa831d4a4ae0ef58a5eb0edcc6558ec77a01c1e16bb0a1f8f434edf640ee929f7ca251448d63dcc3ab0070b
7
- data.tar.gz: c3caebab36e9922761c2107c17262dc9b773fb443327f0bfc3e418c6c747b741e8c2f9c2337339f1c5e7cd442dcd1e4aad4707015ee8587088355b844e20df70
6
+ metadata.gz: 2f7ffe596efe58ddc1c83f2d680516b54795a0ebd240ef2231dbed873bcf71ff36c52b0c06636de1de703f6a26320122ff1747bbdb98bbf2602e4547e083656e
7
+ data.tar.gz: 037ec5b6c6220b18e67641eead3d177df8413b1f711148a9098957e5718b4ee18754812550062d9c5f8cfdcfa8d0f16ce8a63cb0996fd2882567bb5b67bd3356
data/Changelog.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Master
4
4
 
5
+ ## 0.8.0
6
+
7
+ - Remove explicit ordering from both `Tartarus::ArchivableCollectionRepository#items_older_than` and `Tartarus::ArchivableCollectionRepository#items_older_than_for_tenant`
8
+
5
9
  ## 0.7.0
6
10
 
7
11
  - Remove explicit ordering from `Tartarus::ArchivableCollectionRepository#items_older_than`, it increased the cost of queries significantly on large tables
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tartarus-rb (0.7.0)
4
+ tartarus-rb (0.8.0)
5
5
  sidekiq (>= 5)
6
6
  sidekiq-cron (~> 1)
7
7
 
@@ -19,7 +19,7 @@ class Tartarus
19
19
  collection = collection_for(model_name)
20
20
  ensure_column_exists(collection, model_name, timestamp_field)
21
21
 
22
- collection.where("#{timestamp_field} < ?", timestamp).order(timestamp_field)
22
+ collection.where("#{timestamp_field} < ?", timestamp)
23
23
  end
24
24
 
25
25
  private
@@ -1,5 +1,5 @@
1
1
  class Tartarus
2
2
  module Rb
3
- VERSION = "0.7.0"
3
+ VERSION = "0.8.0"
4
4
  end
5
5
  end
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.7.0
4
+ version: 0.8.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: 2023-09-19 00:00:00.000000000 Z
11
+ date: 2023-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq