pronto-rails_migrations 0.11.1 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pronto/rails_migrations/version.rb +1 -1
- data/lib/pronto/rails_migrations.rb +4 -3
- 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: 8db5b78f510070c934af951ae78c743eb6154edd5edc745419e92edd34bf98fd
|
4
|
+
data.tar.gz: a0be018d3992149b92bf838f72d3c2bdad7c9d7ccc3b8180e66976414825904e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a123060f772a35c7c27a3eda3be671b9a88640bfd6433712005e330f9e4d60d5366858130075a7e62d9dd02acf4773e4f1caab2dde9c57f471840e7377607e40
|
7
|
+
data.tar.gz: 6e406974f8aa0fb4cbc01697c7f426a286fbcacd06c54c9fbe981cbe9d097b463985e89ed19e16c0f10b7bb7495cfb2e2297aa7b8455e6f07610bde8eca9c749
|
@@ -9,7 +9,8 @@ module Pronto
|
|
9
9
|
patch = migration_patches.first
|
10
10
|
messages << message(
|
11
11
|
patch,
|
12
|
-
'Run migrations in a separate PR from application code changes.'
|
12
|
+
'Run migrations in a separate PR from application code changes.',
|
13
|
+
level: :warning
|
13
14
|
)
|
14
15
|
end
|
15
16
|
|
@@ -63,10 +64,10 @@ module Pronto
|
|
63
64
|
messages
|
64
65
|
end
|
65
66
|
|
66
|
-
def message(patch, text)
|
67
|
+
def message(patch, text, level: :error)
|
67
68
|
path = patch.delta.new_file[:path]
|
68
69
|
line = patch.added_lines.first
|
69
|
-
Message.new(path, line,
|
70
|
+
Message.new(path, line, level, text, nil, self.class)
|
70
71
|
end
|
71
72
|
|
72
73
|
def structure_sql_patches
|
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.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vinted
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pronto
|