sequence_on 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sequence_on.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1fa71ffc625e563f2e4e98d4d078a033c7033cbc
4
- data.tar.gz: 4912d41a68f88fc3a674858d56042985446607f1
3
+ metadata.gz: 347fdd365e120101402acfd7bc501502a7298ecf
4
+ data.tar.gz: e5ef400318ea5e1cbf3f2c79d53f654c8db48076
5
5
  SHA512:
6
- metadata.gz: 635375d2c86cb0dd26d1baa23911cd2df5c23f9284e2c6e2fa725742354662edff0cfc6de02011a9b700cb7556739ff23c123d207aa8a2385495adb9c7bfec77
7
- data.tar.gz: 15de5a5dd35c6c47dc7722a147f85cbd87f6a8726a306f5b3bd51304ff42051b1bf2a9e388abaf33f68fb367c59d25d04f936f6d4ddd00d564544019b7bf984b
6
+ metadata.gz: 35d70739e173a97bb1af6f68c5f110fc956d5977669f106124242b9d8fda8b91c80a3f8a5a39435243afa55177c8af4ad6037623349d9730cde3ee6c09788ac0
7
+ data.tar.gz: df53d0d71df3091c598a8dc36c1677e68e2268900b4bc62f0d3f5922db5e156891f49e12e65a25b71fbe40fb18662cefc90ac15c0180c4130dc436638fb7a215
data/lib/sequence_on.rb CHANGED
@@ -29,7 +29,7 @@ module SequencedOn
29
29
  self.sequential_id = if last_record
30
30
  last_record.sequential_id + 1
31
31
  else
32
- opts[:starts_at] || 1
32
+ @@seq_on_opts[:starts_at] || 1
33
33
  end
34
34
  end
35
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequence_on
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy SEBAN