Skip to content

Commit 1ccf16b

Browse files
authored
Merge pull request #146 from mvidner/ruby34-quoting
Release 0.24 which works with Ruby-3.4
2 parents 3e8e33e + f3f157b commit 1ccf16b

File tree

7 files changed

+25
-5
lines changed

7 files changed

+25
-5
lines changed

.github/workflows/ruby.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
# Adding a new one? Change it in Coveralls below!
21-
ruby-version: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2', 'head']
21+
ruby-version: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', 'head']
2222

2323
steps:
2424
- uses: actions/checkout@v2
@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: Coveralls Report
3939
# send it only for the latest version to avoid duplicate submits
40-
if: ${{ matrix.ruby-version == '3.2' }}
40+
if: ${{ matrix.ruby-version == '3.4' }}
4141
uses: coverallsapp/github-action@master
4242
with:
4343
github-token: ${{ secrets.GITHUB_TOKEN }}

NEWS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## Unreleased
44

5+
## Ruby D-Bus 0.24.0 - 2025-01-02
6+
7+
Bug fixes:
8+
* Adapted for Ruby 3.4, which uses a single quote instead of a backtick
9+
in exceptions ([#145][], by Mamoru TASAKA).
10+
11+
[#145]: https://github.com/mvidner/ruby-dbus/pull/145
12+
513
## Ruby D-Bus 0.23.1 - 2023-10-03
614

715
API:

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.23.1
1+
0.24.0

package/gem2rpm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
BuildRequires: %{rubygem rake}
7979
BuildRequires: %{rubygem rspec >= 3.9}
8080
BuildRequires: dbus-1
81+
BuildRequires: dbus-1-daemon
8182
BuildRequires: netcfg
8283
8384

package/rubygem-ruby-dbus.changes

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
-------------------------------------------------------------------
2+
Thu Jan 2 13:45:21 UTC 2025 - Martin Vidner <[email protected]>
3+
4+
- 0.24.0
5+
Bug fixes:
6+
* Adapted for Ruby 3.4, which uses a single quote instead of a backtick
7+
in exceptions (gh#mvidner/ruby-dbus#145, by Mamoru TASAKA).
8+
19
-------------------------------------------------------------------
210
Tue Oct 3 07:29:07 UTC 2023 - Martin Vidner <[email protected]>
311

package/rubygem-ruby-dbus.spec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# spec file for package rubygem-ruby-dbus
33
#
4-
# Copyright (c) 2023 SUSE LINUX GmbH, Nuernberg, Germany.
4+
# Copyright (c) 2025 SUSE LINUX GmbH, Nuernberg, Germany.
55
#
66
# All modifications and additions to the file contributed by third parties
77
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
2424
#
2525

2626
Name: rubygem-ruby-dbus
27-
Version: 0.23.1
27+
Version: 0.24.0
2828
Release: 0
2929
%define mod_name ruby-dbus
3030
%define mod_full_name %{mod_name}-%{version}
@@ -34,6 +34,7 @@ BuildRequires: %{rubygem packaging_rake_tasks}
3434
BuildRequires: %{rubygem rake}
3535
BuildRequires: %{rubygem rspec >= 3.9}
3636
BuildRequires: dbus-1
37+
BuildRequires: dbus-1-daemon
3738
BuildRequires: netcfg
3839
# /MANUAL
3940
BuildRoot: %{_tmppath}/%{name}-%{version}-build

ruby-dbus.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ GEMSPEC = Gem::Specification.new do |s|
2828
s.add_runtime_dependency "rexml"
2929
# s.add_runtime_dependency "nokogiri"
3030

31+
# workaround: rubocop-1.0 needs base64 which is no longer in stdlib in newer rubies
32+
s.add_development_dependency "base64"
3133
s.add_development_dependency "packaging_rake_tasks"
3234
s.add_development_dependency "rake"
3335
s.add_development_dependency "rspec", "~> 3"

0 commit comments

Comments
 (0)