Skip to content

Commit

Permalink
Merge pull request #146 from mvidner/ruby34-quoting
Browse files Browse the repository at this point in the history
Release 0.24 which works with Ruby-3.4
  • Loading branch information
mvidner authored Jan 2, 2025
2 parents 3e8e33e + f3f157b commit 1ccf16b
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
# Adding a new one? Change it in Coveralls below!
ruby-version: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2', 'head']
ruby-version: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', 'head']

steps:
- uses: actions/checkout@v2
Expand All @@ -37,7 +37,7 @@ jobs:

- name: Coveralls Report
# send it only for the latest version to avoid duplicate submits
if: ${{ matrix.ruby-version == '3.2' }}
if: ${{ matrix.ruby-version == '3.4' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## Unreleased

## Ruby D-Bus 0.24.0 - 2025-01-02

Bug fixes:
* Adapted for Ruby 3.4, which uses a single quote instead of a backtick
in exceptions ([#145][], by Mamoru TASAKA).

[#145]: https://github.com/mvidner/ruby-dbus/pull/145

## Ruby D-Bus 0.23.1 - 2023-10-03

API:
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.23.1
0.24.0
1 change: 1 addition & 0 deletions package/gem2rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
BuildRequires: %{rubygem rake}
BuildRequires: %{rubygem rspec >= 3.9}
BuildRequires: dbus-1
BuildRequires: dbus-1-daemon
BuildRequires: netcfg
8 changes: 8 additions & 0 deletions package/rubygem-ruby-dbus.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Jan 2 13:45:21 UTC 2025 - Martin Vidner <[email protected]>

- 0.24.0
Bug fixes:
* Adapted for Ruby 3.4, which uses a single quote instead of a backtick
in exceptions (gh#mvidner/ruby-dbus#145, by Mamoru TASAKA).

-------------------------------------------------------------------
Tue Oct 3 07:29:07 UTC 2023 - Martin Vidner <[email protected]>

Expand Down
5 changes: 3 additions & 2 deletions package/rubygem-ruby-dbus.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-ruby-dbus
#
# Copyright (c) 2023 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2025 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
Expand All @@ -24,7 +24,7 @@
#

Name: rubygem-ruby-dbus
Version: 0.23.1
Version: 0.24.0
Release: 0
%define mod_name ruby-dbus
%define mod_full_name %{mod_name}-%{version}
Expand All @@ -34,6 +34,7 @@ BuildRequires: %{rubygem packaging_rake_tasks}
BuildRequires: %{rubygem rake}
BuildRequires: %{rubygem rspec >= 3.9}
BuildRequires: dbus-1
BuildRequires: dbus-1-daemon
BuildRequires: netcfg
# /MANUAL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
2 changes: 2 additions & 0 deletions ruby-dbus.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ GEMSPEC = Gem::Specification.new do |s|
s.add_runtime_dependency "rexml"
# s.add_runtime_dependency "nokogiri"

# workaround: rubocop-1.0 needs base64 which is no longer in stdlib in newer rubies
s.add_development_dependency "base64"
s.add_development_dependency "packaging_rake_tasks"
s.add_development_dependency "rake"
s.add_development_dependency "rspec", "~> 3"
Expand Down

0 comments on commit 1ccf16b

Please sign in to comment.