Skip to content

Commit 1a59199

Browse files
committed
🔖 Prepare release v3.0.1
1 parent 694dde2 commit 1a59199

File tree

4 files changed

+22
-7
lines changed

4 files changed

+22
-7
lines changed

‎CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Fixed
1111
### Removed
1212

13+
## 3.0.1 - 2024-09-20
14+
COVERAGE: 91.72% -- 3521/3839 lines in 48 files
15+
BRANCH COVERAGE: 87.03% -- 1074/1234 branches in 48 files
16+
63.08% documented
17+
### Added
18+
- More and better documentation
19+
### Fixed
20+
- Code coverage reporting in specs
21+
- Markdown formatting in documentation
22+
- Rake tasks for generating yard documentation
23+
- Added undeclared runtime dependencies:
24+
- `rexml`
25+
- `net-http` - removed from stdlib in Ruby 3.0
26+
- Copyright years in LICENSE.txt
27+
1328
## 3.0.0 - 2024-09-04
1429
3839 relevant lines, 3521 lines covered and 318 lines missed. ( 91.72% )
1530
1234 total branches, 1073 branches covered and 161 branches missed. ( 86.95% )

‎Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
ruby-openid2 (3.0.0)
4+
ruby-openid2 (3.0.1)
55
net-http (~> 0.4, >= 0.4.1)
66
rexml (~> 3.3, >= 3.3.7)
77
version_gem (~> 1.1, >= 1.1.4)

‎bin/bundle

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ m = Module.new do
3030
if update_index && update_index.succ == i && a =~ Gem::Version::ANCHORED_VERSION_PATTERN
3131
bundler_version = a
3232
end
33-
next unless a =~ /\A--bundler(?:[= ](#{Gem::Version::VERSION_PATTERN}))?\z/
33+
next unless a =~ /\A--bundler(?:[= ](#{Gem::Version::VERSION_PATTERN}))?\z/o
3434
bundler_version = $1
3535
update_index = i
3636
end
@@ -56,7 +56,7 @@ m = Module.new do
5656
def lockfile_version
5757
return unless File.file?(lockfile)
5858
lockfile_contents = File.read(lockfile)
59-
return unless lockfile_contents =~ /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/
59+
return unless lockfile_contents =~ /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/o
6060
Regexp.last_match(1)
6161
end
6262

@@ -83,15 +83,15 @@ m = Module.new do
8383

8484
def activate_bundler
8585
gem_error = activation_error_handling do
86-
gem "bundler", bundler_requirement
86+
gem("bundler", bundler_requirement)
8787
end
8888
return if gem_error.nil?
8989
require_error = activation_error_handling do
9090
require "bundler/version"
9191
end
9292
return if require_error.nil? && Gem::Requirement.new(bundler_requirement).satisfied_by?(Gem::Version.new(Bundler::VERSION))
93-
warn "Activating bundler (#{bundler_requirement}) failed:\n#{gem_error.message}\n\nTo install the version of bundler this project requires, run `gem install bundler -v '#{bundler_requirement}'`"
94-
exit 42
93+
warn("Activating bundler (#{bundler_requirement}) failed:\n#{gem_error.message}\n\nTo install the version of bundler this project requires, run `gem install bundler -v '#{bundler_requirement}'`")
94+
exit(42)
9595
end
9696

9797
def activation_error_handling

‎lib/openid/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module OpenID
22
module Version
3-
VERSION = "3.0.0"
3+
VERSION = "3.0.1"
44
end
55
end

0 commit comments

Comments
 (0)