strong_migrations 0.6.1 → 0.6.2
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 -1
- 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: e758beb05db7ba2729b599570f430312bfe8c133a83e7bf5cc9403e4c6d768a9
|
4
|
+
data.tar.gz: b24ed790565dc4c19e9d20c6a4a89e3bc518ea8402c9b2e685d6fcf051b5ef26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efa52a6f8061cf4fa5047b74b704849a2534a2c76f616f981b6f966269eeab295e012e1287c3912a459f1282055f4447edecd1145a8d912d6833db2912ed31e3
|
7
|
+
data.tar.gz: aa22a6034264f82d77ebdc2584fdbf96743a9b62fc49f3f2ec9e76319c5f3c611267f62ac3da9f083a00cfc02e7fc5a027bf88281707c736b9f6874ac9fc5201
|
data/CHANGELOG.md
CHANGED
@@ -266,7 +266,8 @@ Then add the NOT NULL constraint."
|
|
266
266
|
def postgresql_version
|
267
267
|
@postgresql_version ||= begin
|
268
268
|
target_version(StrongMigrations.target_postgresql_version) do
|
269
|
-
|
269
|
+
# only works with major versions
|
270
|
+
connection.select_all("SHOW server_version_num").first["server_version_num"].to_i / 10000
|
270
271
|
end
|
271
272
|
end
|
272
273
|
end
|
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.2
|
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-
|
13
|
+
date: 2020-02-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activerecord
|