strong_migrations 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/strong_migrations/checker.rb +2 -2
- data/lib/strong_migrations/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1582962294cb36c9572db9c0d3a2e5f69cba1877a436d2398451805ec1ebf47d
|
4
|
+
data.tar.gz: e6b923b652f75aa8d83183b963e98a39c6706b6287406858e782554a9374921e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44d7cd56ccec5832637a577c885ec6975f8824d177e7ddd03e02a7721afce687f554782714cddd02e4fcee7c2af2a74dbd95b3a65f27ef39a0a7c5cd3d484bdd
|
7
|
+
data.tar.gz: b5139304f500b21c0da482ee19b31408215b2e975f5be0036f2c24084bd704a885aaf8d3c10e2bbfe652bb6b31b8c3f5efad94cba2909f98312f8057f9bc8e0f
|
data/CHANGELOG.md
CHANGED
@@ -212,7 +212,7 @@ Then add the NOT NULL constraint."
|
|
212
212
|
if StrongMigrations.statement_timeout
|
213
213
|
statement =
|
214
214
|
if postgresql?
|
215
|
-
"SET statement_timeout TO #{connection.quote(StrongMigrations.statement_timeout)}"
|
215
|
+
"SET statement_timeout TO #{connection.quote(StrongMigrations.statement_timeout.to_i * 1000)}"
|
216
216
|
elsif mysql?
|
217
217
|
"SET max_execution_time = #{connection.quote(StrongMigrations.statement_timeout.to_i * 1000)}"
|
218
218
|
elsif mariadb?
|
@@ -227,7 +227,7 @@ Then add the NOT NULL constraint."
|
|
227
227
|
if StrongMigrations.lock_timeout
|
228
228
|
statement =
|
229
229
|
if postgresql?
|
230
|
-
"SET lock_timeout TO #{connection.quote(StrongMigrations.lock_timeout)}"
|
230
|
+
"SET lock_timeout TO #{connection.quote(StrongMigrations.lock_timeout.to_i * 1000)}"
|
231
231
|
elsif mysql? || mariadb?
|
232
232
|
"SET lock_wait_timeout = #{connection.quote(StrongMigrations.lock_timeout)}"
|
233
233
|
else
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strong_migrations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-01-
|
13
|
+
date: 2020-01-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activerecord
|