pronto-rails_migrations 0.10.4 → 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/CODEOWNERS +2 -0
- data/lib/pronto/rails_migrations/version.rb +3 -0
- data/lib/pronto/rails_migrations.rb +4 -3
- data/pronto-rails_migrations.gemspec +3 -3
- metadata +5 -4
- data/lib/pronto/version.rb +0 -5
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
|
data/CODEOWNERS
ADDED
@@ -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
|
@@ -1,17 +1,17 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
lib = File.expand_path("../lib", __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'pronto/version'
|
4
|
+
require 'pronto/rails_migrations/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "pronto-rails_migrations"
|
8
|
-
spec.version = Pronto::
|
8
|
+
spec.version = Pronto::RAILS_MIGRATIONS_VERSION
|
9
9
|
spec.authors = ["Vinted"]
|
10
10
|
spec.email = ["backend@vinted.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{Validate migration and application code change seperation}
|
13
13
|
spec.description = %q{This pronto runner warns when migrations are run and application code is changed at the same time}
|
14
|
-
spec.homepage = "https://github.com/
|
14
|
+
spec.homepage = "https://github.com/vinted/pronto-rails_migrations"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
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:
|
11
|
+
date: 2022-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pronto
|
@@ -63,6 +63,7 @@ files:
|
|
63
63
|
- ".github/workflows/build_release_pipeline.yaml"
|
64
64
|
- ".gitignore"
|
65
65
|
- ".ruby-version"
|
66
|
+
- CODEOWNERS
|
66
67
|
- Gemfile
|
67
68
|
- LICENSE.txt
|
68
69
|
- README.md
|
@@ -70,9 +71,9 @@ files:
|
|
70
71
|
- bin/console
|
71
72
|
- bin/setup
|
72
73
|
- lib/pronto/rails_migrations.rb
|
73
|
-
- lib/pronto/version.rb
|
74
|
+
- lib/pronto/rails_migrations/version.rb
|
74
75
|
- pronto-rails_migrations.gemspec
|
75
|
-
homepage: https://github.com/
|
76
|
+
homepage: https://github.com/vinted/pronto-rails_migrations
|
76
77
|
licenses:
|
77
78
|
- MIT
|
78
79
|
metadata: {}
|