Skip to content

Commit 615cdc6

Browse files
committed
2.5
1 parent ff47337 commit 615cdc6

File tree

5 files changed

+22
-16
lines changed

5 files changed

+22
-16
lines changed

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
ruby-defaults (1:2.5.0+0nkmi1) unstable; urgency=medium
2+
3+
* Make Ruby 2.5 the default
4+
5+
-- Sorah Fukumori <[email protected]> Mon, 25 Dec 2017 16:38:46 +0000
6+
17
ruby-defaults (1:2.4.0+0nkmi1) unstable; urgency=medium
28

39
* Make Ruby 2.4 the default

debian/control

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Testsuite: autopkgtest
1313
Package: ruby
1414
Architecture: any
1515
Multi-Arch: allowed
16-
Depends: ruby2.4, ${misc:Depends}
16+
Depends: ruby2.5, ${misc:Depends}
1717
Suggests: ri, ruby-dev
1818
Conflicts: ruby-activesupport-3.2, ruby-activesupport-2.3
1919
Breaks:
@@ -30,13 +30,13 @@ Description: Interpreter of object-oriented scripting language Ruby (default ver
3030
straight-forward, and extensible.
3131
.
3232
This package is a dependency package, which depends on Debian's default Ruby
33-
version (currently v2.4).
33+
version (currently v2.5).
3434

3535
Package: ruby-dev
3636
Section: devel
3737
Architecture: any
3838
Multi-Arch: same
39-
Depends: ruby2.4-dev, ${misc:Depends}
39+
Depends: ruby2.5-dev, ${misc:Depends}
4040
Description: Header files for compiling extension modules for Ruby (default version)
4141
Ruby is the interpreted scripting language for quick and easy
4242
object-oriented programming. It has many features to process text
@@ -48,7 +48,7 @@ Description: Header files for compiling extension modules for Ruby (default vers
4848
many gems.
4949
.
5050
This package is a dependency package, which depends on Debian's default Ruby
51-
version (currently v2.4).
51+
version (currently v2.5).
5252

5353
Package: ruby-all-dev
5454
Section: devel
@@ -76,7 +76,7 @@ Description: Ruby development environment (all versions supported in Debian)
7676
Package: libruby
7777
Section: libs
7878
Architecture: all
79-
Depends: libruby2.4, ${misc:Depends}
79+
Depends: libruby2.5, ${misc:Depends}
8080
Description: Libraries necessary to run Ruby
8181
Ruby is the interpreted scripting language for quick and easy
8282
object-oriented programming. It has many features to process text
@@ -86,11 +86,11 @@ Description: Libraries necessary to run Ruby
8686
This package includes the 'libruby' library, necessary to run Ruby.
8787
.
8888
This package is a dependency package, which depends on Debian's default Ruby
89-
version (currently v2.4).
89+
version (currently v2.5).
9090

9191
Package: ri
9292
Architecture: all
93-
Depends: ruby2.4, ruby2.4-doc, ${misc:Depends}
93+
Depends: ruby2.5, ruby2.5-doc, ${misc:Depends}
9494
Description: Ruby Interactive reference
9595
ri is a command line tool that displays descriptions of built-in Ruby
9696
methods, classes, and modules. For methods, it shows you the calling
@@ -103,7 +103,7 @@ Description: Ruby Interactive reference
103103
The ri executable itself is in the ruby package.
104104
.
105105
This package is a dependency package, which depends on Debian's default Ruby
106-
version (currently v2.4).
106+
version (currently v2.5).
107107

108108
Package: ruby-full
109109
Architecture: all
@@ -115,5 +115,5 @@ Description: Ruby full installation (default version)
115115
of the Tcl/Tk bindings for Ruby, which are only recommended.
116116
.
117117
This package is a dependency package, which depends on Debian's default Ruby
118-
version (currently v2.4).
118+
version (currently v2.5).
119119

debian/ruby.postinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e
55
update-alternatives --remove-all ruby 2>/dev/null || true
66
update-alternatives --remove-all gem 2>/dev/null || true
77

8-
version=2.4
8+
version=2.5
99

1010
# restore the default version overwriting any change made by
1111
# update-alternatives

debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# $ debian/rules debian/ruby.postinst
77
#
8-
export DEBIAN_DEFAULT_RUBY_VERSION=2.4
8+
export DEBIAN_DEFAULT_RUBY_VERSION=2.5
99
export DEBIAN_RUBY_PROGRAMS = \
1010
erb \
1111
gem \

ruby_debian_dev.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ def self.has_support_for(ruby)
88

99
has_support_for 'ruby2.4' do
1010
{
11-
version: '2.4',
12-
binary: '/usr/bin/ruby2.4',
13-
api_version: '2.4.0',
14-
shared_library: 'libruby2.4',
15-
min_ruby_dependency: 'ruby (>= 1:2.4~0)',
11+
version: '2.5',
12+
binary: '/usr/bin/ruby2.5',
13+
api_version: '2.5.0',
14+
shared_library: 'libruby2.5',
15+
min_ruby_dependency: 'ruby (>= 1:2.5~0)',
1616
}
1717
end
1818

0 commit comments

Comments
 (0)