pronto-rails_migrations 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/pronto/rails_migrations/version.rb +1 -1
- data/lib/pronto/rails_migrations.rb +2 -2
- 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: 04e17296cd3c9e0dd6cc8997c07651eac73b26e285bb9e6bbf712ae0862f88dd
|
4
|
+
data.tar.gz: ddd059a5d69151bbaede97740bab84c914226817fe0530dad103a50f1c3295c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7ef457809db5b77290944bb52f5827d52a387fe7d7e8cda07843f9be4adbddfdacc514742566b9d92b53a99d65e598868d67a226b30f051e970bffc939a1b74
|
7
|
+
data.tar.gz: a612bbc3f94e766ac337be55e92018f986f1216e3840fbf09921df23c2ddbebe2679238351cf77f0cc53ee919c2520d26e073efc5ed0755b10cd8c32b5072ec1
|
data/Gemfile.lock
CHANGED
@@ -42,7 +42,7 @@ module Pronto
|
|
42
42
|
*all_but_tail, tail = inserts
|
43
43
|
bad_semicolons = all_but_tail.any? { |line| line.end_with?(';') } || !tail.end_with?(';')
|
44
44
|
|
45
|
-
bad_ending = structure_sql[-
|
45
|
+
bad_ending = structure_sql[-4, 4] !~ /[^\n]\n\n\n/
|
46
46
|
|
47
47
|
messages = []
|
48
48
|
|
@@ -59,7 +59,7 @@ module Pronto
|
|
59
59
|
'last insert must end with semicolon (`;`).'
|
60
60
|
)
|
61
61
|
end
|
62
|
-
messages << message(patch, '`db/structure.sql` must end
|
62
|
+
messages << message(patch, '`db/structure.sql` must end with 2 empty lines.') if bad_ending
|
63
63
|
|
64
64
|
messages
|
65
65
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pronto-rails_migrations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vinted
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pronto
|