Skip to content

Commit

Permalink
🔖 Prepare release v3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pboling committed Sep 20, 2024
1 parent 694dde2 commit 1a59199
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 7 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
### Removed

## 3.0.1 - 2024-09-20
COVERAGE: 91.72% -- 3521/3839 lines in 48 files
BRANCH COVERAGE: 87.03% -- 1074/1234 branches in 48 files
63.08% documented
### Added
- More and better documentation
### Fixed
- Code coverage reporting in specs
- Markdown formatting in documentation
- Rake tasks for generating yard documentation
- Added undeclared runtime dependencies:
- `rexml`
- `net-http` - removed from stdlib in Ruby 3.0
- Copyright years in LICENSE.txt

## 3.0.0 - 2024-09-04
3839 relevant lines, 3521 lines covered and 318 lines missed. ( 91.72% )
1234 total branches, 1073 branches covered and 161 branches missed. ( 86.95% )
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
ruby-openid2 (3.0.0)
ruby-openid2 (3.0.1)
net-http (~> 0.4, >= 0.4.1)
rexml (~> 3.3, >= 3.3.7)
version_gem (~> 1.1, >= 1.1.4)
Expand Down
10 changes: 5 additions & 5 deletions bin/bundle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ m = Module.new do
if update_index && update_index.succ == i && a =~ Gem::Version::ANCHORED_VERSION_PATTERN
bundler_version = a
end
next unless a =~ /\A--bundler(?:[= ](#{Gem::Version::VERSION_PATTERN}))?\z/
next unless a =~ /\A--bundler(?:[= ](#{Gem::Version::VERSION_PATTERN}))?\z/o
bundler_version = $1
update_index = i
end
Expand All @@ -56,7 +56,7 @@ m = Module.new do
def lockfile_version
return unless File.file?(lockfile)
lockfile_contents = File.read(lockfile)
return unless lockfile_contents =~ /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/
return unless lockfile_contents =~ /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/o
Regexp.last_match(1)
end

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

def activate_bundler
gem_error = activation_error_handling do
gem "bundler", bundler_requirement
gem("bundler", bundler_requirement)
end
return if gem_error.nil?
require_error = activation_error_handling do
require "bundler/version"
end
return if require_error.nil? && Gem::Requirement.new(bundler_requirement).satisfied_by?(Gem::Version.new(Bundler::VERSION))
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}'`"
exit 42
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}'`")
exit(42)
end

def activation_error_handling
Expand Down
2 changes: 1 addition & 1 deletion lib/openid/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module OpenID
module Version
VERSION = "3.0.0"
VERSION = "3.0.1"
end
end

0 comments on commit 1a59199

Please sign in to comment.