Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add eve comment at the end of file, not beginning #17

Merged
merged 3 commits into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 28 additions & 39 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
pronto-rails_migrations (0.14.3)
pronto-rails_migrations (0.14.4)
faraday (>= 1.10.3)
multipart-post (>= 2.1.1)
pronto (>= 0.11.1)
Expand All @@ -10,64 +10,53 @@ PATH
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.4)
public_suffix (>= 2.0.2, < 6.0)
faraday (1.10.3)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0)
faraday-multipart (~> 1.0)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.0)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
faraday-retry (~> 1.0)
ruby2_keywords (>= 0.0.4)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
faraday-multipart (1.0.4)
multipart-post (~> 2)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
faraday-retry (1.0.3)
gitlab (4.19.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
csv (3.3.0)
faraday (2.10.0)
faraday-net_http (>= 2.0, < 3.2)
logger
faraday-net_http (3.1.0)
net-http
gitlab (4.20.1)
httparty (~> 0.20)
terminal-table (>= 1.5.1)
httparty (0.21.0)
httparty (0.22.0)
csv
mini_mime (>= 1.0.0)
multi_xml (>= 0.5.2)
mini_mime (1.1.2)
logger (1.6.0)
mini_mime (1.1.5)
multi_xml (0.6.0)
multipart-post (2.1.1)
octokit (6.1.1)
multipart-post (2.4.1)
net-http (0.4.1)
uri
octokit (7.2.0)
faraday (>= 1, < 3)
sawyer (~> 0.9)
pronto (0.11.1)
pronto (0.11.2)
gitlab (>= 4.4.0, < 5.0)
httparty (>= 0.13.7, < 1.0)
octokit (>= 4.7.0, < 7.0)
octokit (>= 4.7.0, < 8.0)
rainbow (>= 2.2, < 4.0)
rexml (>= 3.2.5, < 4.0)
rugged (>= 0.23.0, < 2.0)
thor (>= 0.20.3, < 2.0)
public_suffix (5.0.3)
public_suffix (6.0.0)
rainbow (3.1.1)
rake (12.3.3)
rexml (3.2.6)
ruby2_keywords (0.0.5)
rugged (1.6.3)
rexml (3.3.1)
strscan
rugged (1.7.2)
sawyer (0.9.2)
addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3)
strscan (3.1.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
thor (1.2.2)
unicode-display_width (2.4.2)
thor (1.3.1)
unicode-display_width (2.5.0)
uri (0.13.0)

PLATFORMS
ruby
Expand Down
2 changes: 1 addition & 1 deletion lib/pronto/rails_migrations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def bad_structure_sql_messages

def message(patch, text, level: :error)
path = patch.delta.new_file[:path]
line = patch.added_lines.first
line = patch.added_lines.last
Message.new(path, line, level, text, nil, self.class)
end

Expand Down
2 changes: 1 addition & 1 deletion lib/pronto/rails_migrations/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Pronto
RAILS_MIGRATIONS_VERSION = '0.14.3'
RAILS_MIGRATIONS_VERSION = '0.14.4'
end
Loading