Skip to content

Commit 1dea81a

Browse files
committed
accept ruby 3.x
1 parent 61b1af9 commit 1dea81a

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.1.2

lib/normalize_url/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module NormalizeUrl
2-
VERSION = "0.0.6"
2+
VERSION = "0.1.0"
33
end

normalize_url.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ Gem::Specification.new do |spec|
1111
spec.files = Dir["README.md", "LICENSE.txt", "lib/**/*"]
1212
spec.require_path = "lib"
1313

14-
spec.required_ruby_version = "~> 2.0"
14+
spec.required_ruby_version = "> 2.0"
1515
spec.add_dependency "addressable", "~> 2.3"
1616
end

spec/normalize_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
require "spec_helper"
22

33
describe NormalizeUrl do
4-
def n(*args)
5-
described_class.process(*args)
4+
def n(*args, **kargs)
5+
described_class.process(*args, **kargs)
66
end
77

88
it "raises NormalizeUrl::InvalidURIError when input is not an URL" do

0 commit comments

Comments
 (0)