Skip to content

Commit 8d25659

Browse files
committed
Require ruby 2.0.0, stopped supporting 1.9.3.
because of the "api:" keyword argument BTW 2.0.0 support ended on 2016-02-24: https://www.ruby-lang.org/en/news/2016/02/24/support-plan-of-ruby-2-0-0-and-2-1/
1 parent ebfb800 commit 8d25659

6 files changed

Lines changed: 7 additions & 6 deletions

File tree

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ rvm:
44
- "2.2.5"
55
- "2.1.10"
66
- "2.0.0"
7-
- "1.9.3"
87
- jruby-9.0.5.0
98
- ruby-head
109
- rbx
1110
gemfile: Gemfile.ci
1211
matrix:
1312
allow_failures:
14-
- rvm: "1.9.3"
1513
- rvm: jruby-9.0.5.0
1614
- rvm: ruby-head
1715
- rvm: rbx

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ API:
1111
* Added proxy objects whose methods return single values instead of arrays
1212
(use Service#[] instead of Service#object; Issue#30).
1313

14+
Requirements:
15+
* Require ruby 2.0.0, stopped supporting 1.9.3.
16+
1417
== Ruby D-Bus 0.11.2 - 2016-09-11
1518

1619
Bug fixes:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ via [UPower](http://upower.freedesktop.org/docs/UPower.html#UPower:OnBattery)
4343

4444
## Requirements
4545

46-
- Ruby 1.9.3 or 2.0
46+
- Ruby 2.0 or newer.
4747

4848

4949
## Installation

doc/Reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ If the signature expects a Variant
204204

205205
If a byte array (`ay`) is expected you can pass a String too.
206206
The bytes sent are according to the string's
207-
[encoding](http://ruby-doc.org/core-1.9.3/Encoding.html).
207+
[encoding](http://ruby-doc.org/core-2.0.0/Encoding.html).
208208

209209
##### nil
210210

package/rubygem-ruby-dbus.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ BuildRequires: netcfg
3838
# /MANUAL
3939
BuildRoot: %{_tmppath}/%{name}-%{version}-build
4040
BuildRequires: ruby-macros >= 5
41-
BuildRequires: %{ruby >= 1.9.3}
41+
BuildRequires: %{ruby >= 2.0.0}
4242
BuildRequires: %{rubygem gem2rpm}
4343
Url: https://trac.luon.net/ruby-dbus
4444
Source: http://rubygems.org/gems/%{mod_full_name}.gem

ruby-dbus.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ GEMSPEC = Gem::Specification.new do |s|
1414
s.homepage = "https://trac.luon.net/ruby-dbus"
1515
s.files = FileList["{doc,examples,lib,spec}/**/*", "COPYING", "NEWS", "Rakefile", "README.md", "ruby-dbus.gemspec", "VERSION", ".rspec"].to_a.sort
1616
s.require_path = "lib"
17-
s.required_ruby_version = ">= 1.9.3"
17+
s.required_ruby_version = ">= 2.0.0"
1818
s.add_development_dependency("packaging_rake_tasks")
1919
s.add_development_dependency("rspec")
2020
end

0 commit comments

Comments
 (0)