Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
Update to rails 7, dropping rails 5 support
Browse files Browse the repository at this point in the history
  • Loading branch information
msalzburg committed Feb 21, 2024
1 parent 8dc4474 commit c57d273
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ end

appraise "rails-7" do
gem "rails", "~> 7.1"
gem "sprockets-rails", require: "sprockets/railtie"
gem "sprockets-rails"
end
1 change: 1 addition & 0 deletions elemental_components.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Gem::Specification.new do |s|
s.required_ruby_version = ">= 3.0.0"

s.add_dependency "rails", ">= 6.1.0", "< 8.0.0"
s.add_dependency "sprockets-rails"

s.add_development_dependency "appraisal"
s.add_development_dependency "rubocop"
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_7.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ source "https://rubygems.org"

gem "pry", group: %i[development test]
gem "rails", "~> 7.1"
gem "sprockets-rails", require: "sprockets/railtie"
gem "sprockets-rails"

gemspec path: "../"
2 changes: 2 additions & 0 deletions lib/elemental_components/engine.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require "sprockets/railtie"

module ElementalComponents
class Engine < ::Rails::Engine
isolate_namespace ElementalComponents
Expand Down

0 comments on commit c57d273

Please sign in to comment.