activerecord-uuid-order 0.6.0 → 0.7.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: 01b7d60e6dba2eb66121918d5729a9556a0402e9e498bc3c3a37d752b70a8dce
4
- data.tar.gz: a0b386585c6d2113abea9e25b99fed62c0fc39157332b7275949219190f6d3aa
3
+ metadata.gz: 166a0e6b8e7e1f006e5dbf5a5fbcd21cf5c7bf9cdf44f36fe15e2ca709be5c09
4
+ data.tar.gz: 32481ea773a003c513abdfe25a8bf9a8e58c3c2f3b6d7e96081ce0c03089d5b1
5
5
  SHA512:
6
- metadata.gz: 587bbeebab47328aef85d644d2a917d241152426bdb2840d06f98a3d496105c2e23f3523077fefae748a9d6ad44b82bb30a835c98d000d201ad2dc64b43b22af
7
- data.tar.gz: f86ec7600a23a66bb2eafa667393b3f0696e9fe76194f6842bd42e4185bd09d2b92cdd0a512a140bc70e0cd630175f1dab8e538086fa350d5179635ba407262b
6
+ metadata.gz: 9120339871ac9258d8757dd89869b9c93d254e44a8d535070ef206a5bd4f9a079765fcc0e74b15a5a8c4bceaef57b18643c638d581b5c5093e46e9aa74f4e4d4
7
+ data.tar.gz: 7ce198f89717f47943a31ad888d21dcb58fec6f2ef8f1034c578df89d76420afc77ec0399d615fc8fd02ddf37e71c39a0dd2c4d45e585be32a9c19a07f0057ef
@@ -2,15 +2,13 @@ require 'activerecord-uuid-order/version'
2
2
  require 'activerecord-uuid-order/core_extensions'
3
3
 
4
4
  module ActiveRecordUUIDOrder
5
- def self.included(base)
6
- base.class_variable_set(:@@implicit_order_column, nil)
7
- end
8
-
9
5
  def implicit_order_column=(value)
10
6
  class_variable_set(:@@implicit_order_column, value)
11
7
  end
12
8
 
13
9
  def implicit_order_column
14
10
  class_variable_get(:@@implicit_order_column)
11
+ rescue NameError
12
+ class_variable_set(:@@implicit_order_column, nil)
15
13
  end
16
14
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveRecordUUIDOrder
2
- VERSION = "0.6.0"
2
+ VERSION = "0.7.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-uuid-order
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - pawurb