From dfc0e71c1cd5a58d77d88020071d1ae6a3928800 Mon Sep 17 00:00:00 2001 From: Derrick Reimer Date: Fri, 24 Oct 2014 10:28:39 -0700 Subject: [PATCH] Release 2.0.0 [ci skip] --- CHANGELOG.md | 10 +++++++++- Rakefile | 3 --- lib/sequenced/version.rb | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b0d5e8..d4fceef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +2.0.0 (October 24, 2014) +------------------------ + +* Revert "Move generation callback from `before_save` to `before_validation` to + allow validations to utilize the sequential id". This change introduced a + critical bug where generating multiple records in one transaction would lead + to duplicate ids (see #10) + 1.6.0 (April 10, 2014) ---------------------- @@ -47,4 +55,4 @@ 0.1.0 (February 19, 2012) ------------------------- -* Initial release \ No newline at end of file +* Initial release diff --git a/Rakefile b/Rakefile index 815271e..9314f58 100644 --- a/Rakefile +++ b/Rakefile @@ -20,9 +20,6 @@ RDoc::Task.new(:rdoc) do |rdoc| rdoc.rdoc_files.include('lib/**/*.rb') end - - - Bundler::GemHelper.install_tasks require 'rake/testtask' diff --git a/lib/sequenced/version.rb b/lib/sequenced/version.rb index 9acb0bc..9e7dd94 100644 --- a/lib/sequenced/version.rb +++ b/lib/sequenced/version.rb @@ -1,3 +1,3 @@ module Sequenced - VERSION = "1.6.0" + VERSION = "2.0.0" end