activerecord-uuid-order 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/activerecord-uuid-order.rb +5 -7
- data/lib/activerecord-uuid-order/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fe763f62002d477f79cd15d920e6822cfce1ea047b52319fcaebf753ddc363d
|
4
|
+
data.tar.gz: d4ac8917878d0bcf608790bfd2e40cd7a1fab0d2d8229adeda278a23443e647c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8919bb52119196dce4b8f427c20b572f5b0fde81fef1a85a40c3429927c06541c4c54b330a8ab952d23f7c2157e357b21dad9c142bcc9731325b00914572d5df
|
7
|
+
data.tar.gz: 8171791d20f73cc44a9aee28500894a5c66c309152a1d1d38f92fa466b372561be812afe2c8fbc4330d5ee6c449ac584e2cd479be1c370d04a6645ad2be311f1
|
@@ -2,13 +2,11 @@ require 'activerecord-uuid-order/version'
|
|
2
2
|
require 'activerecord-uuid-order/core_extensions'
|
3
3
|
|
4
4
|
module ActiveRecordUUIDOrder
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
end
|
5
|
+
def self.implicit_order_column=(value)
|
6
|
+
@@implicit_order_column = value
|
7
|
+
end
|
9
8
|
|
10
|
-
|
11
|
-
|
12
|
-
end
|
9
|
+
def self.implicit_order_column
|
10
|
+
@@implicit_order_column
|
13
11
|
end
|
14
12
|
end
|