pronto-rails_migrations 0.11.1 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b53200ceaae22bfe9e692682f031310b9251db73d16eac16c2d23e20642d1642
4
- data.tar.gz: fffcb07db9b2c4c283cb6b287df9d30d0bab532e701e85fa1f0bfc5b7c5ce450
3
+ metadata.gz: 544460dbcddf64a9dc19804b30352423afd7fcafa2dfe4218e9f63787f9054a8
4
+ data.tar.gz: 75542fdf7a11355307eb5949f3195d6c73fccbef75df13eb811fc8e91be4b4aa
5
5
  SHA512:
6
- metadata.gz: 28b99384e66625940afda17ae3fab4c9942838c2ad6bb03779e086450bd2b98fc0ec6e2e3fc921fc807e195b167f8cbf7b702c9de657a3cb70a1be947ba4d430
7
- data.tar.gz: '06982bb9e1bcf6a8abeaaac17dc436ae1f48202ad3e95496b56a364d82a184e5eee8e7aa013a21c02f50dccce8843ef9ed90ef7b7644e39215098e5e15c810fb'
6
+ metadata.gz: 66f4ddbcef676f654dfc583ce67365189db8279aa25c1ea5226a4693ccd9cf7910074cb40f5e9738e9f494ef904d5642f1d8a943a9bf15be401fe096022e207a
7
+ data.tar.gz: aef4d0c427e385a99ca866841a86ecbf6a784e6e010742d92e6ebf01a2d081586a6c948c9be6e10e7e65b15fd7ae122b13f6576504558996e34949522225c064
data/.gitignore CHANGED
@@ -1,6 +1,5 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
- /Gemfile.lock
4
3
  /_yardoc/
5
4
  /coverage/
6
5
  /doc/
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.2
1
+ 3.0.3
data/Gemfile.lock ADDED
@@ -0,0 +1,80 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ pronto-rails_migrations (0.14.0)
5
+ pronto (>= 0.10.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ addressable (2.8.0)
11
+ public_suffix (>= 2.0.2, < 5.0)
12
+ faraday (1.10.0)
13
+ faraday-em_http (~> 1.0)
14
+ faraday-em_synchrony (~> 1.0)
15
+ faraday-excon (~> 1.1)
16
+ faraday-httpclient (~> 1.0)
17
+ faraday-multipart (~> 1.0)
18
+ faraday-net_http (~> 1.0)
19
+ faraday-net_http_persistent (~> 1.0)
20
+ faraday-patron (~> 1.0)
21
+ faraday-rack (~> 1.0)
22
+ faraday-retry (~> 1.0)
23
+ ruby2_keywords (>= 0.0.4)
24
+ faraday-em_http (1.0.0)
25
+ faraday-em_synchrony (1.0.0)
26
+ faraday-excon (1.1.0)
27
+ faraday-httpclient (1.0.1)
28
+ faraday-multipart (1.0.3)
29
+ multipart-post (>= 1.2, < 3)
30
+ faraday-net_http (1.0.1)
31
+ faraday-net_http_persistent (1.2.0)
32
+ faraday-patron (1.0.0)
33
+ faraday-rack (1.0.0)
34
+ faraday-retry (1.0.3)
35
+ gitlab (4.18.0)
36
+ httparty (~> 0.18)
37
+ terminal-table (>= 1.5.1)
38
+ httparty (0.20.0)
39
+ mime-types (~> 3.0)
40
+ multi_xml (>= 0.5.2)
41
+ mime-types (3.4.1)
42
+ mime-types-data (~> 3.2015)
43
+ mime-types-data (3.2022.0105)
44
+ multi_xml (0.6.0)
45
+ multipart-post (2.1.1)
46
+ octokit (4.22.0)
47
+ faraday (>= 0.9)
48
+ sawyer (~> 0.8.0, >= 0.5.3)
49
+ pronto (0.11.0)
50
+ gitlab (~> 4.4, >= 4.4.0)
51
+ httparty (>= 0.13.7)
52
+ octokit (~> 4.7, >= 4.7.0)
53
+ rainbow (>= 2.2, < 4.0)
54
+ rexml (~> 3.2)
55
+ rugged (>= 0.23.0, < 1.1.0)
56
+ thor (>= 0.20.3, < 2.0)
57
+ public_suffix (4.0.6)
58
+ rainbow (3.1.1)
59
+ rake (12.3.3)
60
+ rexml (3.2.5)
61
+ ruby2_keywords (0.0.5)
62
+ rugged (1.0.1)
63
+ sawyer (0.8.2)
64
+ addressable (>= 2.3.5)
65
+ faraday (> 0.8, < 2.0)
66
+ terminal-table (3.0.2)
67
+ unicode-display_width (>= 1.1.1, < 3)
68
+ thor (1.2.1)
69
+ unicode-display_width (2.1.0)
70
+
71
+ PLATFORMS
72
+ ruby
73
+
74
+ DEPENDENCIES
75
+ bundler
76
+ pronto-rails_migrations!
77
+ rake (~> 12.0)
78
+
79
+ BUNDLED WITH
80
+ 2.2.32
@@ -1,3 +1,3 @@
1
1
  module Pronto
2
- RAILS_MIGRATIONS_VERSION = '0.11.1'
2
+ RAILS_MIGRATIONS_VERSION = '0.14.0'
3
3
  end
@@ -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, :warning, text, nil, self.class)
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.11.1
4
+ version: 0.14.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-17 00:00:00.000000000 Z
11
+ date: 2022-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pronto
@@ -65,6 +65,7 @@ files:
65
65
  - ".ruby-version"
66
66
  - CODEOWNERS
67
67
  - Gemfile
68
+ - Gemfile.lock
68
69
  - LICENSE.txt
69
70
  - README.md
70
71
  - Rakefile