Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some typos #505

Merged
merged 4 commits into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ Existing pull requests and issues were transferred, please fork and continue to

# License

This gem is licensed unter the [MIT license](LICENSE.md).
This gem is licensed under the [MIT license](LICENSE.md).

## Release information

Expand Down
2 changes: 1 addition & 1 deletion lib/json-schema/util/uuid.rb
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def version
end

# Two UUIDs are said to be equal if and only if their (byte-order
# canonicalized) integer representations are equivallent. Refer RFC4122 for
# canonicalized) integer representations are equivalent. Refer RFC4122 for
# details.
def == other
to_i == other.to_i
Expand Down
2 changes: 1 addition & 1 deletion test/custom_format_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def test_override_default_format

data['a'] = '42'
JSON::Validator.register_format_validator('ipv6', @format_proc, [version])
assert(JSON::Validator.validate(schema, data), "#{prefix} succeeds with overriden default format and correct data")
assert(JSON::Validator.validate(schema, data), "#{prefix} succeeds with overridden default format and correct data")

JSON::Validator.deregister_format_validator('ipv6', [version])
data['a'] = '2001:db8:85a3:0:0:8a2e:370:7334'
Expand Down
2 changes: 1 addition & 1 deletion test/uri_util_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def test_ref_addressable_uri_with_host_and_path
assert_equal Addressable::URI.parse('http://www.example.com/hello/world'), JSON::Util::URI.absolutize_ref(uri, base)
end

def test_ref_addressable_uri_with_shceme_host_and_path
def test_ref_addressable_uri_with_scheme_host_and_path
uri = Addressable::URI.new(scheme: 'https', host: 'foo-bar.com', path: '/hello/world')
base = 'http://www.example.com/a/#b'

Expand Down