Skip to content

Commit

Permalink
Pin ffi gem version in Gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
adfoster-r7 committed Jun 12, 2024
1 parent c4861b2 commit 7aa0a22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ source 'https://rubygems.org'

gemspec name: 'recog-content'

gem 'ffi', '1.16.3'
gem 'recog', '~>3.1'

group :test do
Expand Down
2 changes: 1 addition & 1 deletion bin/recog_cleanup
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Dir["#{File.expand_path(File.join(File.dirname(__FILE__), '..', 'xml'))}/*.xml"]
data = File.read(f)
.gsub(/\s+$/, '') # Trailing whitespace and empty lines
.gsub('</fingerprint>', "</fingerprint>\n") # Every fingerprint should have an empty line after it
.gsub('-->', "-->\n") # Every comment should have an empty line after it
.gsub('-->', "-->\n") # Every comment should have an empty line after it

File.write(f, data)
end

0 comments on commit 7aa0a22

Please sign in to comment.