sequence_on 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sequence_on/sequenced_on.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9618c3be5bdea726ff10c71a2b1c7c4defcb6b14
|
4
|
+
data.tar.gz: 44a9661efd046a062dd1ca4a7ffdea7138fdbe65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ea215f9c02ab3a675a16d00b9a062d0edbd679e64d4f5696d302bc85747efdab85d18ace4afa5b912d473eae2ea4f14606788ad389c7ae32784f287ab0b8257
|
7
|
+
data.tar.gz: 22b50a14f3ae5270e668e9cab3c696c7026d58a97fab3964930a460cd792876bf55cd3107b966410c2c0d6be76992ed8ffe5a9bd1a2d0e40964245b296d13294
|
@@ -38,7 +38,7 @@ module SequenceOn
|
|
38
38
|
def sequenced_on(lmd, options = {})
|
39
39
|
include InstanceMethods
|
40
40
|
mattr_accessor :sequence_options, instance_accessor: false
|
41
|
-
|
41
|
+
before_save :generate_sequence_id
|
42
42
|
self.sequence_options = DEFAULT_OPTIONS.merge(options).merge(lmd: lmd)
|
43
43
|
end
|
44
44
|
end
|