Skip to content

Commit

Permalink
Merge pull request #87 from alphagov/ruby-2-7-6
Browse files Browse the repository at this point in the history
Upgrade Ruby to 2.7.6
  • Loading branch information
MuriloDalRi authored May 4, 2022
2 parents b7d6fdf + 68cde1f commit 81624d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.6
2.7.6
2 changes: 1 addition & 1 deletion lib/plek.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def name_for(service)
name = service.to_s.dup
name.downcase!
name.strip!
name.gsub!(/[^a-z\.-]+/, "")
name.gsub!(/[^a-z.-]+/, "")
name
end

Expand Down
3 changes: 2 additions & 1 deletion plek.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ Gem::Specification.new do |s|
s.description = "Find the right hostname for each service in an environment-dependent manner"
s.license = "MIT"

s.files = Dir.glob("lib/**/*") + %w[LICENCE README.md]
s.files = Dir.glob("lib/**/*") + %w[LICENCE README.md]
s.required_ruby_version = ">= 2.7"
s.require_path = "lib"
s.add_development_dependency "climate_control"
s.add_development_dependency "minitest"
Expand Down

0 comments on commit 81624d1

Please sign in to comment.