Skip to content

Commit

Permalink
style: target Ruby 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
DirtyF committed Mar 23, 2019
1 parent fe2dd11 commit cd81505
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inherit_gem:
rubocop-jekyll: .rubocop.yml

AllCops:
TargetRubyVersion: 2.2
TargetRubyVersion: 2.3
Exclude:
- vendor/**/*

Expand Down
4 changes: 2 additions & 2 deletions jekyll-archives.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ Gem::Specification.new do |s|
s.required_ruby_version = ">= 2.3.0"

s.add_dependency "jekyll", ">= 3.6", "< 5.0"

s.add_development_dependency "bundler"
s.add_development_dependency "minitest"
s.add_development_dependency "rake"
s.add_development_dependency "rdoc"
s.add_development_dependency "rubocop-jekyll", "~> 0.2.0"
s.add_development_dependency "rubocop-jekyll", "~> 0.9"
s.add_development_dependency "shoulda"
end
2 changes: 1 addition & 1 deletion lib/jekyll-archives/archive.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def url
end

def permalink
data && data.is_a?(Hash) && data["permalink"]
data&.is_a?(Hash) && data["permalink"]
end

# Produce a title object suitable for Liquid based on type of archive.
Expand Down
2 changes: 1 addition & 1 deletion lib/jekyll-archives/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Jekyll
module Archives
VERSION = "2.1.0".freeze
VERSION = "2.1.0"
end
end

0 comments on commit cd81505

Please sign in to comment.