Skip to content
Prev Previous commit
Next Next commit
Remove git dependency from gemspec and fix MySQL CI configuration
  • Loading branch information
seuros committed Jul 20, 2025
commit a5457994e5095960e970813b4b9f1502bc22f1e4
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ jobs:
ports:
- 3306:3306
env:
MYSQL_USER: root
MYSQL_PASSWORD: root
MYSQL_DATABASE: closure_tree_test
MYSQL_ROOT_PASSWORD: root
options: >-
Expand Down Expand Up @@ -73,7 +71,7 @@ jobs:
DATABASE_URL_SQLITE3: 'sqlite3::memory:'
run: |
cd test/dummy
bundle exec rails db:setup_all
bundle exec railsmake db:setup_all

- name: Run tests
env:
Expand Down
4 changes: 1 addition & 3 deletions closure_tree.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ Gem::Specification.new do |gem|
'rubygems_mfa_required' => 'true'
}

gem.files = `git ls-files`.split($/).reject do |f|
f.match(/^(test|img|gemfiles)/)
end
gem.files = Dir.glob('{lib}/**/*') + Dir.glob('bin/*') + %w[README.md CHANGELOG.md MIT-LICENSE closure_tree.gemspec]

gem.required_ruby_version = '>= 3.3.0'

Expand Down
Loading