Permalink
Browse files

Releasing 1.0.0

  • Loading branch information...
1 parent 81daf7d commit 8add8c315a1acaf455681356e52e092dae9c0f9c @anthonyalberto committed Dec 5, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/mysql_online_migrations/mysql2_adapter_without_lock.rb
  2. +1 −1 mysql_online_migrations.gemspec
@@ -16,7 +16,6 @@ def initialize(mysql2_adapter)
def execute(sql, name = nil)
if sql =~ OPTIMIZABLE_DDL_REGEX
sql = "#{sql} #{lock_none_statement(sql)}"
- puts "EXECUTING #{sql}"
end
original_execute(sql, name)
end
@@ -25,6 +24,7 @@ def lock_none_statement(sql)
return "" unless ActiveRecord::Base.mysql_online_migrations
return "" if sql =~ DDL_WITH_LOCK_NONE_REGEX
comma_delimiter = (sql =~ DDL_WITH_COMMA_REGEX ? "," : "")
+ puts "ONLINE MIGRATION"
"#{comma_delimiter} LOCK=NONE"
end
end
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'mysql_online_migrations'
- s.version = '0.1.4'
+ s.version = '1.0.0'
s.summary = "Use MySQL 5.6+ capacities to enforce online migrations"
s.description = "MySQL 5.6 adds a `LOCK=NONE` option to make sure migrations are done with no locking. Let's use it."
s.authors = ["Anthony Alberto"]

0 comments on commit 8add8c3

Please sign in to comment.