Skip to content

Commit

Permalink
fix: database url
Browse files Browse the repository at this point in the history
  • Loading branch information
seuros committed Jan 24, 2024
1 parent 08bef70 commit 2e76abb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 25 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
- activerecord_edge
adapter:
- 'sqlite3:///:memory:'
- mysql2://root:root@0/closure_tree_test
- postgres://closure_tree:closure_tree@0/closure_tree_test
- mysql2://root:root@localhost/closure_tree_test
- postgres://closure_tree:closure_tree@localhost/closure_tree_test
exclude:
- ruby: '3.0'
rails: activerecord_edge
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_jruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
- activerecord_6.1
adapter:
- 'sqlite3:///:memory:'
- mysql2://root:root@0/closure_tree_test
- postgres://closure_tree:closure_tree@0/closure_tree_test
- mysql2://root:root@localhost/closure_tree_test
- postgres://closure_tree:closure_tree@localhost/closure_tree_test
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_truffleruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
- activerecord_6.1
adapter:
- 'sqlite3:///:memory:'
- mysql2://root:root@0/closure_tree_test
- postgres://closure_tree:closure_tree@0/closure_tree_test
- mysql2://root:root@localhost/closure_tree_test
- postgres://closure_tree:closure_tree@localhost/closure_tree_test

steps:
- name: Checkout
Expand Down
6 changes: 0 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,3 @@ source 'https://rubygems.org'

gemspec

platform :mri do
group :development do
gem 'bump', '~> 0.10.0'
gem 'github_changelog_generator', '~> 1.16'
end
end
14 changes: 1 addition & 13 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ RSpec::Core::RakeTask.new(:spec) do |task|
task.pattern = 'spec/closure_tree/*_spec.rb'
end

task default: %i[spec test]

namespace :spec do
desc 'Run all spec variants'
task :all do
Expand All @@ -29,14 +27,4 @@ Rake::TestTask.new do |t|
t.verbose = true
end

if RUBY_ENGINE == 'ruby'
require 'github_changelog_generator/task'
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
config.user = 'ClosureTree'
config.project = 'closure_tree'
config.issues = false
config.future_release = '5.2.0'
config.since_tag = 'v7.4.0'
end
end
task default: 'spec:all'
task default: %i[spec:all test]

0 comments on commit 2e76abb

Please sign in to comment.