Skip to content

Commit

Permalink
chore: trying to solve URI view issue another way
Browse files Browse the repository at this point in the history
  • Loading branch information
adzap committed Nov 30, 2024
1 parent d711d59 commit 647083f
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
appraise "rails_7_0" do
gem "rails", "~> 7.0.0"
gem "uri", "~> 1.0"
end

appraise "rails_7_1" do
gem "rails", "~> 7.1.0"
gem "uri", "~> 1.0"
end

appraise "rails_7_2" do
gem "rails", "~> 7.2.0"
gem "uri", "~> 1.0"
end
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ gem 'sqlite3', '~> 1.4'
gem 'byebug'
gem 'appraisal'
gem 'nokogiri'
gem 'uri', '~> 1.0'
1 change: 0 additions & 1 deletion gemfiles/rails_7_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ gem "sqlite3", "~> 1.4"
gem "byebug"
gem "appraisal"
gem "nokogiri"
gem "uri", "~> 1.0"

gemspec path: "../"
1 change: 0 additions & 1 deletion gemfiles/rails_7_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ gem "sqlite3", "~> 1.4"
gem "byebug"
gem "appraisal"
gem "nokogiri"
gem "uri", "~> 1.0"

gemspec path: "../"
1 change: 0 additions & 1 deletion gemfiles/rails_7_2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ gem "sqlite3", "~> 1.4"
gem "byebug"
gem "appraisal"
gem "nokogiri"
gem "uri", "~> 1.0"

gemspec path: "../"
1 change: 1 addition & 0 deletions lib/validates_timeliness/extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module Extensions
end

def self.enable_date_time_select_extension!
require 'uri' # Do we need this? No, but the test suite fails without it.
::ActionView::Helpers::Tags::DateSelect.send(:prepend, ValidatesTimeliness::Extensions::TimelinessDateTimeSelect)
end

Expand Down

0 comments on commit 647083f

Please sign in to comment.