Skip to content

Commit 368105a

Browse files
committed
Fixes for original sequel adapter
There was an attempt to write sequel adapter in #1030. I took commits from this PR. This commit fixes most of the failures that are result of applying these commits into much newer codebase. Most of the code is also copied from the original PR.
1 parent 9c9adef commit 368105a

24 files changed

+715
-1611
lines changed

Rakefile

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ namespace :test do
1515
Rake::TestTask.new(:benchmark) do |t|
1616
t.pattern = 'test/benchmark/*_benchmark.rb'
1717
end
18+
desc "Refresh dump.sql from fixtures and schema."
19+
task :refresh_dump do
20+
require_relative 'test/support/database/generator'
21+
end
1822
end
1923

2024
desc 'Test bug report template'

jsonapi-resources.gemspec

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Gem::Specification.new do |spec|
2929
spec.add_development_dependency 'sequel'
3030
spec.add_development_dependency 'sequel-rails'
3131
spec.add_development_dependency 'activerecord', '>= 4.1'
32+
spec.add_development_dependency 'database_cleaner'
3233
spec.add_dependency 'activesupport', '>= 4.1'
3334
spec.add_dependency 'railties', '>= 4.1'
3435
spec.add_dependency 'concurrent-ruby'

0 commit comments

Comments
 (0)