Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/paper_trail_background.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ module PaperTrailBackground
mattr_accessor :version_job_class

def self.version_job_class
@@version_job_class.constantize
(@@version_job_class || "VersionJob") .constantize
end
end
4 changes: 2 additions & 2 deletions paper_trail_background.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'sidekiq', '~> 6.2.2'
spec.add_development_dependency 'sqlite3', '~> 1.4.2'

spec.add_runtime_dependency 'ar_after_transaction', '~> 0.7.0'
spec.add_runtime_dependency 'paper_trail', '~> 12.0.0'
spec.add_runtime_dependency 'ar_after_transaction', '~> 0.8.0'
spec.add_runtime_dependency 'paper_trail', '~> 12.2.0'
end
4 changes: 2 additions & 2 deletions test/paper_trail/background_test.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'test_helper'

class PaperTrail::Background::Test < ActiveSupport::TestCase
class PaperTrailBackground::Test < ActiveSupport::TestCase
test "truth" do
assert_kind_of Module, PaperTrail::Background
assert_kind_of Module, PaperTrailBackground
end
end