Skip to content

Mention qualified property name in Get or Set errors #147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Apr 3, 2025

Conversation

mvidner
Copy link
Owner

@mvidner mvidner commented Apr 3, 2025

Before:
The caller gets a D-Bus Error which includes interface and method name
and they are org.freedesktop.DBus.Properties.Get which is not enough.

After:
Also include the property name and its interface.

mvidner added 2 commits April 3, 2025 13:18
…ltering

also drop the rspec-provided RakeTask class because
it just cannot do what I need
@coveralls
Copy link

coveralls commented Apr 3, 2025

Coverage Status

coverage: 96.719% (+0.006%) from 96.713%
when pulling 160b673 on propget-error-mention-propname
into 1ccf16b on master.

Before:
The caller gets a D-Bus Error which includes interface and method name
and they are org.freedesktop.DBus.Properties.Get which is not enough.

After:
Also include the property name and its interface.
@mvidner mvidner force-pushed the propget-error-mention-propname branch from 6f6b280 to 227ed1a Compare April 3, 2025 12:52
mvidner added 2 commits April 3, 2025 15:03
Since Ruby3.5 they are required,
and they are available on the older versions too

warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
warning: loading in progress, circular require considered harmful - .../rubygems.rb
@mvidner mvidner force-pushed the propget-error-mention-propname branch from 227ed1a to d56d5e6 Compare April 3, 2025 13:17
mvidner added 3 commits April 3, 2025 16:37
Once in a while, keep up with RuboCop updates.
1.0 was released in 2020-10
1.30 in 2022-05

1.14 is the first one to support Ruby 3.1
but that would drop Ruby 2.4
1.30 is significant in reintroducing Ruby 2.4

2.4 is way old, but SUSE SLE 15 does keep using 2.5
earlier versions did nor require stringio
@mvidner mvidner force-pushed the propget-error-mention-propname branch 2 times, most recently from c0f6036 to 35af371 Compare April 3, 2025 14:48
mvidner added 2 commits April 3, 2025 17:07
in Gemfile, because gemspec cannot have a RUBY_VERSION condition
@mvidner mvidner force-pushed the propget-error-mention-propname branch from 8159984 to 160b673 Compare April 3, 2025 15:08
@mvidner mvidner merged commit 4a6c96d into master Apr 3, 2025
20 checks passed
@mvidner mvidner deleted the propget-error-mention-propname branch April 3, 2025 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants