pronto-rails_migrations_annotated 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88430fc4dc1457f81ee58ddbb791363370cb6e85fcd6ffe17b504717a637d5de
4
- data.tar.gz: e7f1c20a1f124f27506cb1494d756d1ab314cd9217ce075e68e7a42842380030
3
+ metadata.gz: b5270eebfc0ad05c95f238584e149069712818b382a49cb42f7efbe0d300e631
4
+ data.tar.gz: c44948d8bd1d701e5a737c3c8c77f604135b3e6d4984bd3e5a96cd95a272d933
5
5
  SHA512:
6
- metadata.gz: 0f56e324b56c92ef3e2957bd39a6dba969e6fa4748bf8acadc1e077288cf0abb882b6e30b9c7c1f9a6d4d0a73b2be713a344e66c8c2d5aee667e7e6dd379f21d
7
- data.tar.gz: a9f3ebffd0dd50bc1549d669069cc27a0f3cd67dc0064d428c03f1adffcd0d58df885485e4b9458dbb0c95a8a244e4dc479fbffbb7b2ea169742a73e7b7db5ad
6
+ metadata.gz: 47a6007b846b61c7dc51b32e839c7e31d743e40070a92c2155d22cffff3580843cb3d628c130f1b5a22033590004eb385282d6a9455a9590c8e24770a0160a18
7
+ data.tar.gz: 115d1367976f343abb9167f43bde15a8096500ce849fb4b0699cad3b43b1bc56d7070a61d5eee73cb9ae2651b3cf658116425b2fe5eda9a4b99a59ecc7d4f503
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pronto-rails_migrations_annotated (0.0.3)
4
+ pronto-rails_migrations_annotated (0.0.4)
5
5
  pronto (~> 0.11)
6
6
 
7
7
  GEM
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Pronto
4
4
  module RailsMigrationsAnnotatedVersion
5
- VERSION = "0.0.3"
5
+ VERSION = "0.0.4"
6
6
  end
7
7
  end
@@ -132,7 +132,7 @@ module Pronto
132
132
  patch.added_lines.select { |line| line.content.match?(migration_line_regex) }.each do |line|
133
133
  version = line.content.match(migration_line_regex)[:version]
134
134
  next if migration_version_numbers.include?(version)
135
- next if line.content.end_with?(",") &&
135
+ next if line.content.end_with?(",\n") &&
136
136
  patch.deleted_lines.any? { |del| del.content.include?("#{version}');") }
137
137
 
138
138
  add_message_at_patch(patch, "Migration #{version} is not present in this changeset", :error, line: line)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto-rails_migrations_annotated
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vasily Fedoseyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-15 00:00:00.000000000 Z
11
+ date: 2021-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pronto