sequenced 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ 1.3.0 (April 11, 2013)
2
+ ----------------------
3
+
4
+ * Fix a potential bug that could overwrite previously set sequential IDs if
5
+ they are later found to be non-unique.
6
+
1
7
  1.2.0 (April 11, 2013)
2
8
  ----------------------
3
9
 
@@ -59,6 +59,13 @@ module Sequenced
59
59
  scope = self.class.sequenced_options[:scope]
60
60
  column = self.class.sequenced_options[:column]
61
61
 
62
+ unless self.respond_to?(column)
63
+ raise ArgumentError, "Column method ##{column.to_s} is undefined"
64
+ end
65
+
66
+ # Short-circuit here if the ID is already set
67
+ return unless self.send(column).nil?
68
+
62
69
  if scope.present?
63
70
  if scope.is_a?(Array)
64
71
  scope.each { |s| verify_scope_method(s) }
@@ -67,10 +74,6 @@ module Sequenced
67
74
  end
68
75
  end
69
76
 
70
- unless self.respond_to?(column)
71
- raise ArgumentError, "Column method ##{column.to_s} is undefined"
72
- end
73
-
74
77
  # Fetch the next ID unless it is already defined
75
78
  self.send(:"#{column}=", next_sequential_id) until sequential_id_is_unique?
76
79
  end
@@ -1,3 +1,3 @@
1
1
  module Sequenced
2
- VERSION = "1.2.0"
2
+ VERSION = "1.3.0"
3
3
  end
@@ -11871,3 +11871,161 @@ Migrating to CreateEmails (20130411225444)
11871
11871
   (0.0ms) SAVEPOINT active_record_1
11872
11872
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
11873
11873
   (5.8ms) rollback transaction
11874
+ Connecting to database specified by database.yml
11875
+  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
11876
+ Migrating to CreateQuestions (20120219165346)
11877
+ Migrating to CreateAnswers (20120219165548)
11878
+ Migrating to CreateAccounts (20120219171957)
11879
+ Migrating to CreateInvoices (20120219172039)
11880
+ Migrating to CreateOrders (20120219172922)
11881
+ Migrating to CreateSubscriptions (20120219174931)
11882
+ Migrating to CreateUsers (20120219175744)
11883
+ Migrating to CreateAddresses (20120219232323)
11884
+ Migrating to CreateComments (20120220000804)
11885
+ Migrating to CreateEmails (20130411225444)
11886
+  (0.0ms) begin transaction
11887
+  (0.0ms) SAVEPOINT active_record_1
11888
+ SQL (3.8ms) INSERT INTO "accounts" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["name", nil], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11889
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11890
+  (0.0ms) SAVEPOINT active_record_1
11891
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."account_id" = 1 AND (custom_sequential_id IS NOT NULL) ORDER BY custom_sequential_id DESC LIMIT 1
11892
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."custom_sequential_id" = 1 AND "users"."account_id" = 1
11893
+ SQL (0.5ms) INSERT INTO "users" ("account_id", "created_at", "custom_sequential_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["account_id", 1], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["custom_sequential_id", 1], ["name", nil], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11894
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11895
+  (55.9ms) rollback transaction
11896
+  (0.0ms) begin transaction
11897
+  (0.0ms) SAVEPOINT active_record_1
11898
+ SQL (0.4ms) INSERT INTO "accounts" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["name", nil], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11899
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11900
+  (0.0ms) SAVEPOINT active_record_1
11901
+ Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."account_id" = 1 AND (sequential_id IS NOT NULL) ORDER BY sequential_id DESC LIMIT 1
11902
+  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."sequential_id" = 1000 AND "invoices"."account_id" = 1
11903
+ SQL (0.4ms) INSERT INTO "invoices" ("account_id", "amount", "created_at", "sequential_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["account_id", 1], ["amount", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["sequential_id", 1000], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11904
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11905
+  (0.0ms) SAVEPOINT active_record_1
11906
+ Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."account_id" = 1 AND (sequential_id IS NOT NULL) ORDER BY sequential_id DESC LIMIT 1
11907
+  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."sequential_id" = 1001 AND "invoices"."account_id" = 1
11908
+ SQL (0.2ms) INSERT INTO "invoices" ("account_id", "amount", "created_at", "sequential_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["account_id", 1], ["amount", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["sequential_id", 1001], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11909
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11910
+  (0.6ms) rollback transaction
11911
+  (0.4ms) begin transaction
11912
+  (0.0ms) SAVEPOINT active_record_1
11913
+ SQL (0.3ms) INSERT INTO "accounts" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["name", nil], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11914
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11915
+  (0.0ms) SAVEPOINT active_record_1
11916
+ SQL (0.3ms) INSERT INTO "invoices" ("account_id", "amount", "created_at", "sequential_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["account_id", 1], ["amount", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["sequential_id", 1], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11917
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11918
+  (0.0ms) SAVEPOINT active_record_1
11919
+ Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."account_id" = 1 AND (sequential_id IS NOT NULL) ORDER BY sequential_id DESC LIMIT 1
11920
+  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."sequential_id" = 1000 AND "invoices"."account_id" = 1
11921
+ SQL (0.2ms) INSERT INTO "invoices" ("account_id", "amount", "created_at", "sequential_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["account_id", 1], ["amount", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["sequential_id", 1000], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11922
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11923
+  (0.5ms) rollback transaction
11924
+  (0.0ms) begin transaction
11925
+  (0.0ms) SAVEPOINT active_record_1
11926
+ SQL (0.3ms) INSERT INTO "subscriptions" ("created_at", "plan", "sequential_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["plan", nil], ["sequential_id", 1], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11927
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11928
+  (0.0ms) SAVEPOINT active_record_1
11929
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE (sequential_id IS NOT NULL) ORDER BY sequential_id DESC LIMIT 1
11930
+  (0.1ms) SELECT COUNT(*) FROM "subscriptions" WHERE "subscriptions"."sequential_id" = 2
11931
+ SQL (0.3ms) INSERT INTO "subscriptions" ("created_at", "plan", "sequential_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["plan", nil], ["sequential_id", 2], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11932
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11933
+  (1.3ms) rollback transaction
11934
+  (0.0ms) begin transaction
11935
+  (0.0ms) SAVEPOINT active_record_1
11936
+ SQL (0.3ms) INSERT INTO "questions" ("body", "created_at", "summary", "updated_at") VALUES (?, ?, ?, ?) [["body", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["summary", nil], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11937
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11938
+  (0.0ms) SAVEPOINT active_record_1
11939
+ Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 AND (sequential_id IS NOT NULL) ORDER BY sequential_id DESC LIMIT 1
11940
+  (0.1ms) SELECT COUNT(*) FROM "answers" WHERE "answers"."sequential_id" = 1 AND "answers"."question_id" = 1
11941
+ SQL (0.5ms) INSERT INTO "answers" ("body", "created_at", "question_id", "sequential_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["question_id", 1], ["sequential_id", 1], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11942
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11943
+  (0.7ms) rollback transaction
11944
+  (0.0ms) begin transaction
11945
+  (0.0ms) SAVEPOINT active_record_1
11946
+ SQL (0.3ms) INSERT INTO "questions" ("body", "created_at", "summary", "updated_at") VALUES (?, ?, ?, ?) [["body", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["summary", nil], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11947
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11948
+  (0.0ms) SAVEPOINT active_record_1
11949
+ SQL (0.3ms) INSERT INTO "answers" ("body", "created_at", "question_id", "sequential_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["question_id", 1], ["sequential_id", 10], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11950
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11951
+  (0.0ms) SAVEPOINT active_record_1
11952
+ SQL (0.2ms) INSERT INTO "answers" ("body", "created_at", "question_id", "sequential_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["question_id", 1], ["sequential_id", 10], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11953
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11954
+  (0.6ms) rollback transaction
11955
+  (0.0ms) begin transaction
11956
+  (0.0ms) SAVEPOINT active_record_1
11957
+ SQL (0.3ms) INSERT INTO "questions" ("body", "created_at", "summary", "updated_at") VALUES (?, ?, ?, ?) [["body", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["summary", nil], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11958
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11959
+  (0.0ms) SAVEPOINT active_record_1
11960
+ SQL (0.4ms) INSERT INTO "comments" ("body", "created_at", "question_id", "sequential_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["question_id", 1], ["sequential_id", 1], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11961
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11962
+  (0.0ms) SAVEPOINT active_record_1
11963
+ SQL (0.2ms) INSERT INTO "comments" ("body", "created_at", "question_id", "sequential_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["question_id", 1], ["sequential_id", 2], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11964
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11965
+  (0.0ms) SAVEPOINT active_record_1
11966
+ SQL (0.1ms) INSERT INTO "comments" ("body", "created_at", "question_id", "sequential_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["question_id", 1], ["sequential_id", 3], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11967
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11968
+  (0.0ms) SAVEPOINT active_record_1
11969
+ Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."question_id" = 1 AND (sequential_id IS NOT NULL) ORDER BY sequential_id DESC LIMIT 1
11970
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."sequential_id" = 4 AND "comments"."question_id" = 1
11971
+ SQL (0.1ms) INSERT INTO "comments" ("body", "created_at", "question_id", "sequential_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["question_id", 1], ["sequential_id", 4], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11972
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11973
+  (0.7ms) rollback transaction
11974
+  (0.0ms) begin transaction
11975
+  (0.0ms) SAVEPOINT active_record_1
11976
+ SQL (0.4ms) INSERT INTO "emails" ("address", "created_at", "emailable_id", "emailable_type", "sequential_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["emailable_id", 1], ["emailable_type", "User"], ["sequential_id", 2], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11977
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11978
+  (0.0ms) SAVEPOINT active_record_1
11979
+ SQL (0.3ms) INSERT INTO "emails" ("address", "created_at", "emailable_id", "emailable_type", "sequential_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["emailable_id", 1], ["emailable_type", "Question"], ["sequential_id", 3], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11980
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11981
+  (0.0ms) SAVEPOINT active_record_1
11982
+ Email Load (0.2ms) SELECT "emails".* FROM "emails" WHERE "emails"."emailable_id" = 1 AND "emails"."emailable_type" = 'User' AND (sequential_id IS NOT NULL) ORDER BY sequential_id DESC LIMIT 1
11983
+  (0.1ms) SELECT COUNT(*) FROM "emails" WHERE "emails"."sequential_id" = 3 AND "emails"."emailable_id" = 1 AND "emails"."emailable_type" = 'User'
11984
+ SQL (0.2ms) INSERT INTO "emails" ("address", "created_at", "emailable_id", "emailable_type", "sequential_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["emailable_id", 1], ["emailable_type", "User"], ["sequential_id", 3], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11986
+  (0.6ms) rollback transaction
11987
+  (0.0ms) begin transaction
11988
+  (0.0ms) SAVEPOINT active_record_1
11989
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
11990
+  (0.0ms) rollback transaction
11991
+  (0.0ms) begin transaction
11992
+  (0.0ms) SAVEPOINT active_record_1
11993
+ SQL (0.3ms) INSERT INTO "questions" ("body", "created_at", "summary", "updated_at") VALUES (?, ?, ?, ?) [["body", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["summary", nil], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11995
+  (0.0ms) SAVEPOINT active_record_1
11996
+ SQL (0.3ms) INSERT INTO "answers" ("body", "created_at", "question_id", "sequential_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["question_id", 1], ["sequential_id", 10], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
11997
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11998
+  (0.0ms) SAVEPOINT active_record_1
11999
+ Answer Load (0.1ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 AND (sequential_id IS NOT NULL) ORDER BY sequential_id DESC LIMIT 1
12000
+  (0.1ms) SELECT COUNT(*) FROM "answers" WHERE "answers"."sequential_id" = 11 AND "answers"."question_id" = 1
12001
+ SQL (0.2ms) INSERT INTO "answers" ("body", "created_at", "question_id", "sequential_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["question_id", 1], ["sequential_id", 11], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
12002
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12003
+  (0.5ms) rollback transaction
12004
+  (0.0ms) begin transaction
12005
+  (0.0ms) SAVEPOINT active_record_1
12006
+ SQL (0.3ms) INSERT INTO "questions" ("body", "created_at", "summary", "updated_at") VALUES (?, ?, ?, ?) [["body", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["summary", nil], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
12007
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12008
+  (0.0ms) SAVEPOINT active_record_1
12009
+ Answer Load (0.1ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 AND (sequential_id IS NOT NULL) ORDER BY sequential_id DESC LIMIT 1
12010
+  (0.1ms) SELECT COUNT(*) FROM "answers" WHERE "answers"."sequential_id" = 1 AND "answers"."question_id" = 1
12011
+ SQL (0.3ms) INSERT INTO "answers" ("body", "created_at", "question_id", "sequential_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["question_id", 1], ["sequential_id", 1], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
12012
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12013
+ Answer Load (0.1ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", 1]]
12014
+  (0.0ms) SAVEPOINT active_record_1
12015
+  (0.1ms) UPDATE "answers" SET "body" = 'Updated body', "updated_at" = '2013-04-12 01:33:10.706724' WHERE "answers"."id" = 1
12016
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12017
+  (0.6ms) rollback transaction
12018
+  (0.0ms) begin transaction
12019
+  (0.0ms) SAVEPOINT active_record_1
12020
+ SQL (0.3ms) INSERT INTO "accounts" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["name", nil], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
12021
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12022
+  (0.0ms) SAVEPOINT active_record_1
12023
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
12024
+  (0.5ms) rollback transaction
12025
+  (0.0ms) begin transaction
12026
+  (0.0ms) SAVEPOINT active_record_1
12027
+ SQL (0.3ms) INSERT INTO "accounts" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00], ["name", nil], ["updated_at", Fri, 12 Apr 2013 01:33:10 UTC +00:00]]
12028
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12029
+  (0.0ms) SAVEPOINT active_record_1
12030
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
12031
+  (6.1ms) rollback transaction
@@ -89,7 +89,7 @@ class SequencedTest < ActiveSupport::TestCase
89
89
  another_answer.save
90
90
 
91
91
  assert_equal 10, answer.sequential_id
92
- assert_equal 11, another_answer.sequential_id
92
+ assert_equal 10, another_answer.sequential_id
93
93
  end
94
94
 
95
95
  test "model with a default scope for sorting" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequenced
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-11 00:00:00.000000000 Z
12
+ date: 2013-04-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport