Skip to content
Closed
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
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ nav_order: 6

## main

* Isolate ActiveSupport deprecation warning to Configurable module

*Hamed Asghari*

* Added Reinvented Hospitality to the list of companies using ViewComponent.

*Torgil Zechel*
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_8.0.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
view_component (4.0.2)
view_component (4.1.0)
activesupport (>= 7.1.0, < 8.2)
concurrent-ruby (~> 1)

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_8.1.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
view_component (4.0.2)
view_component (4.1.0)
activesupport (>= 7.1.0, < 8.2)
concurrent-ruby (~> 1)

Expand Down
1 change: 0 additions & 1 deletion lib/view_component/base.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

require "action_view"
require "active_support/configurable"
require "view_component/collection"
require "view_component/compile_cache"
require "view_component/compiler"
Expand Down
1 change: 1 addition & 0 deletions lib/view_component/configurable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module Configurable
included do
next if respond_to?(:config) && config.respond_to?(:view_component) && config.respond_to_missing?(:instrumentation_enabled)

require "active_support/configurable"
include ActiveSupport::Configurable

configure do |config|
Expand Down
Loading