Skip to content

Commit e733e40

Browse files
authored
Merge pull request #2475 from ViewComponent/require-version
Require view_component/version
2 parents 1406db3 + be4afae commit e733e40

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

docs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ nav_order: 6
1010

1111
## main
1212

13+
* Make `ViewComponent::VERSION` accessible to other gems by default.
14+
15+
*Hans Lemuet*
16+
1317
* Added Reinvented Hospitality to the list of companies using ViewComponent.
1418

1519
*Torgil Zechel*

lib/view_component.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
require "action_view"
44
require "active_support/dependencies/autoload"
5+
require "view_component/version"
56

67
module ViewComponent
78
extend ActiveSupport::Autoload

0 commit comments

Comments
 (0)