Skip to content

Commit 5f94687

Browse files
committed
Update version, gemspec, and CHANGELOG for 2.8.2
Ran `bundle exec rake gem:gemspec` on Ruby 3.2.1 to update the gemspec. Not sure why list of files changed, but it has happened before: sporkmonger#466 (comment) List extended this time with ["addressable.gemspec", "benchmark", "data", "gemfiles", "lib", "spec", "tasks"] Exclude `coverage` directory from files list as it is ignored by git.
1 parent 5c22f25 commit 5f94687

File tree

4 files changed

+22
-19
lines changed

4 files changed

+22
-19
lines changed

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
1+
# Addressable 2.8.2
2+
- Improve cache hits and JIT friendliness ([#486](https://github.com/sporkmonger/addressable/pull/486))
3+
- Improve code style and test coverage ([#482](https://github.com/sporkmonger/addressable/pull/482))
4+
- Ensure reset of deferred validation ([#481](https://github.com/sporkmonger/addressable/pull/481))
5+
- Resolve normalization differences between `IDNA::Native` and `IDNA::Pure` ([#408](https://github.com/sporkmonger/addressable/issues/408), [#492])
6+
- Remove redundant colon in `Addressable::URI::CharacterClasses::AUTHORITY` regex ([#438](https://github.com/sporkmonger/addressable/pull/438)) (accidentally reverted by [#449] merge but [added back](https://github.com/sporkmonger/addressable/pull/492#discussion_r1105125280) in [#492])
7+
8+
[#492]: https://github.com/sporkmonger/addressable/pull/492
9+
110
# Addressable 2.8.1
211
- refactor `Addressable::URI.normalize_path` to address linter offenses ([#430](https://github.com/sporkmonger/addressable/pull/430))
3-
- remove redundant colon in `Addressable::URI::CharacterClasses::AUTHORITY` regex ([#438](https://github.com/sporkmonger/addressable/pull/438))
412
- update gemspec to reflect supported Ruby versions ([#466], [#464], [#463])
513
- compatibility w/ public_suffix 5.x ([#466], [#465], [#460])
614
- fixes "invalid byte sequence in UTF-8" exception when unencoding URLs containing non UTF-8 characters ([#459](https://github.com/sporkmonger/addressable/pull/459))
7-
- `Ractor` compatibility ([#449](https://github.com/sporkmonger/addressable/pull/449))
15+
- `Ractor` compatibility ([#449])
816
- use the whole string instead of a single line for template match ([#431](https://github.com/sporkmonger/addressable/pull/431))
917
- force UTF-8 encoding only if needed ([#341](https://github.com/sporkmonger/addressable/pull/341))
1018

19+
[#449]: https://github.com/sporkmonger/addressable/pull/449
1120
[#460]: https://github.com/sporkmonger/addressable/pull/460
1221
[#463]: https://github.com/sporkmonger/addressable/pull/463
1322
[#464]: https://github.com/sporkmonger/addressable/pull/464

Rakefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ PKG_FILES = FileList[
2424
"tasks/**/*",
2525
"[A-Z]*", "Rakefile"
2626
].exclude(/pkg/).exclude(/database\.yml/).
27-
exclude(/Gemfile\.lock/).exclude(/[_\.]git$/)
27+
exclude(/Gemfile\.lock/).exclude(/[_\.]git$/).
28+
exclude(/coverage/)
2829

2930
task :default => "spec"
3031

addressable.gemspec

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,28 @@
11
# -*- encoding: utf-8 -*-
2-
# stub: addressable 2.8.1 ruby lib
2+
# stub: addressable 2.8.2 ruby lib
33

44
Gem::Specification.new do |s|
55
s.name = "addressable".freeze
6-
s.version = "2.8.1"
6+
s.version = "2.8.2"
77

88
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
99
s.metadata = { "changelog_uri" => "https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md" } if s.respond_to? :metadata=
1010
s.require_paths = ["lib".freeze]
1111
s.authors = ["Bob Aman".freeze]
12-
s.date = "2022-08-19"
12+
s.date = "2023-04-01"
1313
s.description = "Addressable is an alternative implementation to the URI implementation that is\npart of Ruby's standard library. It is flexible, offers heuristic parsing, and\nadditionally provides extensive support for IRIs and URI templates.\n".freeze
1414
s.email = "bob@sporkmonger.com".freeze
1515
s.extra_rdoc_files = ["README.md".freeze]
16-
s.files = ["CHANGELOG.md".freeze, "Gemfile".freeze, "LICENSE.txt".freeze, "README.md".freeze, "Rakefile".freeze, "data/unicode.data".freeze, "lib/addressable".freeze, "lib/addressable.rb".freeze, "lib/addressable/idna".freeze, "lib/addressable/idna.rb".freeze, "lib/addressable/idna/native.rb".freeze, "lib/addressable/idna/pure.rb".freeze, "lib/addressable/template.rb".freeze, "lib/addressable/uri.rb".freeze, "lib/addressable/version.rb".freeze, "spec/addressable".freeze, "spec/addressable/idna_spec.rb".freeze, "spec/addressable/net_http_compat_spec.rb".freeze, "spec/addressable/security_spec.rb".freeze, "spec/addressable/template_spec.rb".freeze, "spec/addressable/uri_spec.rb".freeze, "spec/spec_helper.rb".freeze, "tasks/clobber.rake".freeze, "tasks/gem.rake".freeze, "tasks/git.rake".freeze, "tasks/metrics.rake".freeze, "tasks/profile.rake".freeze, "tasks/rspec.rake".freeze, "tasks/yard.rake".freeze]
16+
s.files = ["CHANGELOG.md".freeze, "Gemfile".freeze, "LICENSE.txt".freeze, "README.md".freeze, "Rakefile".freeze, "addressable.gemspec".freeze, "benchmark".freeze, "data".freeze, "data/unicode.data".freeze, "gemfiles".freeze, "lib".freeze, "lib/addressable".freeze, "lib/addressable.rb".freeze, "lib/addressable/idna".freeze, "lib/addressable/idna.rb".freeze, "lib/addressable/idna/native.rb".freeze, "lib/addressable/idna/pure.rb".freeze, "lib/addressable/template.rb".freeze, "lib/addressable/uri.rb".freeze, "lib/addressable/version.rb".freeze, "spec".freeze, "spec/addressable".freeze, "spec/addressable/idna_spec.rb".freeze, "spec/addressable/net_http_compat_spec.rb".freeze, "spec/addressable/security_spec.rb".freeze, "spec/addressable/template_spec.rb".freeze, "spec/addressable/uri_spec.rb".freeze, "spec/spec_helper.rb".freeze, "tasks".freeze, "tasks/clobber.rake".freeze, "tasks/gem.rake".freeze, "tasks/git.rake".freeze, "tasks/metrics.rake".freeze, "tasks/profile.rake".freeze, "tasks/rspec.rake".freeze, "tasks/yard.rake".freeze]
1717
s.homepage = "https://github.com/sporkmonger/addressable".freeze
1818
s.licenses = ["Apache-2.0".freeze]
1919
s.rdoc_options = ["--main".freeze, "README.md".freeze]
2020
s.required_ruby_version = Gem::Requirement.new(">= 2.2".freeze)
21-
s.rubygems_version = "3.3.7".freeze
21+
s.rubygems_version = "3.4.8".freeze
2222
s.summary = "URI Implementation".freeze
2323

24-
if s.respond_to? :specification_version then
25-
s.specification_version = 4
26-
end
24+
s.specification_version = 4
2725

28-
if s.respond_to? :add_runtime_dependency then
29-
s.add_runtime_dependency(%q<public_suffix>.freeze, [">= 2.0.2", "< 6.0"])
30-
s.add_development_dependency(%q<bundler>.freeze, [">= 1.0", "< 3.0"])
31-
else
32-
s.add_dependency(%q<public_suffix>.freeze, [">= 2.0.2", "< 6.0"])
33-
s.add_dependency(%q<bundler>.freeze, [">= 1.0", "< 3.0"])
34-
end
26+
s.add_runtime_dependency(%q<public_suffix>.freeze, [">= 2.0.2", "< 6.0"])
27+
s.add_development_dependency(%q<bundler>.freeze, [">= 1.0", "< 3.0"])
3528
end

lib/addressable/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module Addressable
2323
module VERSION
2424
MAJOR = 2
2525
MINOR = 8
26-
TINY = 1
26+
TINY = 2
2727

2828
STRING = [MAJOR, MINOR, TINY].join('.')
2929
end

0 commit comments

Comments
 (0)