activerecord-uuid-order 0.4.0 → 0.5.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 +4 -4
- 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: bf5a38b8539658e9c09324012523352fe70270da57cadbaa791751d5f7e330d6
|
4
|
+
data.tar.gz: a8d413da91863109bea5648a66d683b11535b7a9c9be82746d8a86cf20da443c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5194cc147fbd4a758e365492fed7005fb1f87c29287e458f7f31070f8bb506a469f3403e2cda0ac4260126c691eaf58d1fea78fb5683f874e6371b81387cd0cc
|
7
|
+
data.tar.gz: c4326f6bcd671f8b7906f097d8510e1fd639b2d76407c1a6520d1f4b6fcb22613b5ab0c79fefeec9c1173cd90c1ef14b8abc75dbd654706989b2346b33888bd2
|
@@ -2,13 +2,13 @@ require 'activerecord-uuid-order/version'
|
|
2
2
|
require 'activerecord-uuid-order/core_extensions'
|
3
3
|
|
4
4
|
module ActiveRecordUUIDOrder
|
5
|
-
@@implicit_order_column = nil
|
6
|
-
|
7
5
|
def implicit_order_column=(value)
|
8
|
-
|
6
|
+
class_variable_set(:@@implicit_order_column , value)
|
9
7
|
end
|
10
8
|
|
11
9
|
def implicit_order_column
|
12
|
-
|
10
|
+
class_variable_get(:@@implicit_order_column)
|
11
|
+
rescue NameError
|
12
|
+
nil
|
13
13
|
end
|
14
14
|
end
|