Skip to content

Commit

Permalink
be more explicit about requirements
Browse files Browse the repository at this point in the history
This doesn't actually alter any of the requirements because activemodel
has activesupport as a dependency. We're being more explicit though.
This also fixes an issue where `bin/console` failed to load the core hash
extention `with_indifferent_access`.
  • Loading branch information
AaronLasseigne committed Jul 2, 2021
1 parent 657d474 commit 2d8ee0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions active_interaction.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Gem::Specification.new do |gem| # rubocop:disable Metrics/BlockLength
gem.test_files = Dir.glob(File.join('spec', '**', '*.rb'))

gem.add_dependency 'activemodel', '>= 5', '< 7'
gem.add_dependency 'activesupport', '>= 5', '< 7'

{
'actionpack' => [],
Expand Down
1 change: 1 addition & 0 deletions lib/active_interaction.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# frozen_string_literal: true

require 'active_model'
require 'active_support/core_ext/hash/indifferent_access'

# Manage application specific business logic.
#
Expand Down

0 comments on commit 2d8ee0a

Please sign in to comment.