mysql_online_migrations 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f20fadc6f95454a18f4aa4ad5fa9334406b2bce
4
- data.tar.gz: 3b7d11339aeb6016a62994a0455bf780a28f8f67
3
+ metadata.gz: a1d3abafbc4f5d4bb2e9ad2acd279698afeb9c84
4
+ data.tar.gz: ead1da79046e14307004120aaec6576417817791
5
5
  SHA512:
6
- metadata.gz: 4b72941a2a27bad5275b3af95d80382524a907ed6b315771bf35723aecc54387e8ee718c4608351aedce2097947476195394c040caf15397ee7bf8baa7cdb0f0
7
- data.tar.gz: 9046f16159ae85f1931893191931fb9171f5b0512353cf9b653a1b60c37d6bd2051e0251f898a3d05fb2e4e4586a009997e7545505e4fb2a83c63ad21ce097ab
6
+ metadata.gz: 27454fc3df6e87f5c3eb4779c4c15b24af040603dc434f990015637d7d5775ce3618d1b931cef391073873f721e1185f1219a446313c4928658c93e5514338b6
7
+ data.tar.gz: 0801d5ef9c79ff3ea3b973e9dd9e1f57672ea5de27bfe8630723a2654c1f95cac5c556f62a0901b77b0962a40f8ea7b962f9de32a3a3518c23d3f9308b3ba341
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  mysql_online_migrations
2
2
  =======================
3
3
 
4
- Patch Rails migrations to enforce MySQL 5.6 online migrations
4
+ Patch Rails migrations to enforce MySQL 5.6 online migrations
5
5
  Prior to MySQL 5.6, when adding / removing / renaming indexes and columns, MySQL would lock the writes of the whole table.
6
- MySQL 5.6 by default will try to apply the least locking possible. You however don't know what kind of locking it applies and there's situations where it can't allow writes during a migration (See Caveats).
6
+ MySQL 5.6 by default will try to apply the least locking possible. You however don't know what kind of locking it applies and there's situations where it can't allow writes during a migration (See Caveats).
7
7
  This gem enforces `LOCK=NONE` in all migration statements of Rails. Therefore, you're getting an error when MySQL cannot write during the migration so there's no surprise when rolling out in production.
8
8
 
9
9
 
@@ -1,14 +1,14 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'mysql_online_migrations'
3
- s.version = '1.0.0'
3
+ s.version = '1.0.1'
4
4
  s.summary = "Use MySQL 5.6+ capacities to enforce online migrations"
5
5
  s.description = "MySQL 5.6 adds a `LOCK=NONE` option to make sure migrations are done with no locking. Let's use it."
6
6
  s.authors = ["Anthony Alberto"]
7
7
  s.email = 'alberto.anthony@gmail.com'
8
8
  s.homepage = 'https://github.com/anthonyalberto/mysql_online_migrations'
9
9
 
10
- s.add_runtime_dependency "activerecord", "~> 3.2.15"
11
- s.add_runtime_dependency "activesupport", "~> 3.2.15"
10
+ s.add_runtime_dependency "activerecord", ">= 3.2.15"
11
+ s.add_runtime_dependency "activesupport", ">= 3.2.15"
12
12
  s.add_runtime_dependency "mysql2"
13
13
  s.add_development_dependency "logger"
14
14
  s.add_development_dependency "rspec"
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mysql_online_migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Alberto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-05 00:00:00.000000000 Z
11
+ date: 2014-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.2.15
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: 3.2.15
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: 3.2.15
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: 3.2.15
41
41
  - !ruby/object:Gem::Dependency