Skip to content

Commit a545799

Browse files
committed
Remove git dependency from gemspec and fix MySQL CI configuration
1 parent 795a85f commit a545799

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ jobs:
3232
ports:
3333
- 3306:3306
3434
env:
35-
MYSQL_USER: root
36-
MYSQL_PASSWORD: root
3735
MYSQL_DATABASE: closure_tree_test
3836
MYSQL_ROOT_PASSWORD: root
3937
options: >-
@@ -73,7 +71,7 @@ jobs:
7371
DATABASE_URL_SQLITE3: 'sqlite3::memory:'
7472
run: |
7573
cd test/dummy
76-
bundle exec rails db:setup_all
74+
bundle exec railsmake db:setup_all
7775
7876
- name: Run tests
7977
env:

closure_tree.gemspec

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ Gem::Specification.new do |gem|
2121
'rubygems_mfa_required' => 'true'
2222
}
2323

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

2826
gem.required_ruby_version = '>= 3.3.0'
2927

0 commit comments

Comments
 (0)