Skip to content

Commit

Permalink
Merge pull request #203 from betagouv/supprime-dependance-a-pagy
Browse files Browse the repository at this point in the history
Supprime dépendance à Pagy
  • Loading branch information
freesteph authored Jan 28, 2025
2 parents 9836452 + a7a20d1 commit d92f36f
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ guide/content/javascripts/*
guide/content/stylesheets/fonts/*
guide/content/stylesheets/icons/*
.yardoc
vendor/
2 changes: 0 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ PATH
dsfr-view-components (2.1.0)
dsfr-assets (~> 1.13)
html-attributes-utils (~> 1)
pagy (~> 6)
view_component (~> 3)

GEM
Expand Down Expand Up @@ -246,7 +245,6 @@ GEM
nenv (~> 0.1)
shellany (~> 0.0)
ostruct (0.6.1)
pagy (6.5.0)
parallel (1.26.3)
parser (3.3.6.0)
ast (~> 2.4.1)
Expand Down
1 change: 0 additions & 1 deletion dsfr-view-components.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = '>= 3.2'

spec.add_dependency "html-attributes-utils", "~> 1"
spec.add_dependency "pagy", "~> 6"
spec.add_dependency "view_component", "~> 3"
spec.add_dependency "dsfr-assets", "~> 1.13"

Expand Down
1 change: 0 additions & 1 deletion guide/lib/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
require 'htmlbeautifier'
require 'active_support/core_ext/hash/deep_merge'
require 'active_support/core_ext/string/starts_ends_with'
require 'pagy'

Dir.glob(File.join('./lib', '**', '*.rb')).sort.each { |f| require f }

Expand Down
1 change: 0 additions & 1 deletion lib/dsfr/components.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
require "dsfr/components/helpers/css_utilities"
require "dsfr/components/engine"
require "html_attributes_utils"
require "pagy"
6 changes: 0 additions & 6 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@
include DsfrBackToTopLinkHelper
include DsfrSkipLinkHelper

module Pagy::UrlHelpers
def request
OpenStruct.new(GET: {}, session: nil, host: "https://somesite/")
end
end

Dir[File.join('./spec', 'components', 'shared', '*.rb')].sort.each { |file| require file }

# This file was generated by the `rspec --init` command. Conventionally, all
Expand Down

0 comments on commit d92f36f

Please sign in to comment.