Skip to content

Commit

Permalink
remove unnecessary require_paths in gemspec + remove useless empty co…
Browse files Browse the repository at this point in the history
…mments
  • Loading branch information
markets committed Nov 7, 2024
1 parent b08d4aa commit 4724a6d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions lib/middleman-blog/blog_article.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ module Blog
module BlogArticle
extend Gem::Deprecate

##
#
##
def self.extended(base)
base.class.send(:attr_accessor, :blog_controller)
end
Expand Down
6 changes: 0 additions & 6 deletions lib/middleman-blog/blog_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,6 @@ def permalink_options(resource, extra = {})
.merge(extra)
end

##
#
##
def convert_to_article(resource)
return resource if resource.is_a?(BlogArticle)

Expand All @@ -234,9 +231,6 @@ def convert_to_article(resource)
resource
end

##
#
##
def template_path(template, article, extras = {})
apply_uri_template template, permalink_options(article, extras)
end
Expand Down
1 change: 0 additions & 1 deletion middleman-blog.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Gem::Specification.new do | s |
s.license = "MIT"
s.files = `git ls-files -z`.split( "\0" )
s.test_files = `git ls-files -z -- {fixtures,features}/*`.split( "\0" )
s.require_paths = [ "lib" ]
s.add_dependency("middleman-core", ">= 4.0.0")
s.add_dependency("tzinfo", ">= 0.3.0")
s.add_dependency("addressable", "~> 2.3")
Expand Down

0 comments on commit 4724a6d

Please sign in to comment.