snail_trail 1.1.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +4 -0
- data/lib/snail_trail/version_concern.rb +1 -3
- data/lib/snail_trail/version_number.rb +2 -2
- 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: d318ee9074719077f6979b96a5f7623e39d8fab08a41846f2b261f2327a70c95
|
4
|
+
data.tar.gz: abf3db2a5b328f03d1c4996672000644e0ae9a0863540fd18106fc2b9eebfc67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3bd824bb2c4cebd7ed1cf80ed13c1843dadab0584da6be004e4d7a1b1951ab21dd6227c57d5459a2b36ed327fe15b2a1ee4320ebfa861789d92ec497cef1c7e
|
7
|
+
data.tar.gz: 4c664aa0dc4ad0041deb0c2adb565de8d3c4e644b947d078fe92b8f460228cb01235694a29d72ca668288b0eb2981d6c72e9c8759dcb445000b8d12d30ed78f3
|
data/CHANGELOG.adoc
CHANGED
@@ -60,9 +60,7 @@ module SnailTrail
|
|
60
60
|
# Defaults to using the primary key as the secondary sort order if
|
61
61
|
# possible.
|
62
62
|
def timestamp_sort_order(direction = "asc")
|
63
|
-
[arel_table[
|
64
|
-
array << arel_table[primary_key].send(direction.downcase) if primary_key_is_int?
|
65
|
-
end
|
63
|
+
[(arel_table[primary_key].send(direction.downcase) if primary_key_is_int?)].compact
|
66
64
|
end
|
67
65
|
|
68
66
|
# Given an attribute like `"name"`, query the `versions.object_changes`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snail_trail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brands Insurance
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-05-
|
11
|
+
date: 2025-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|