[DRE-commits] [ruby-rmagick] 11/11: install a compatibility wrapper for `require 'RMagick'`, which has been removed by upstream.

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Aug 25 23:32:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository ruby-rmagick.

commit 58a2763010a4b8f51edfc60a7753de2a23814be9
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Aug 25 19:32:37 2015 -0300

    install a compatibility wrapper for `require 'RMagick'`, which has been removed by upstream.
---
 debian/RMagick.rb           | 2 ++
 debian/changelog            | 2 ++
 debian/ruby-rmagick.install | 1 +
 3 files changed, 5 insertions(+)

diff --git a/debian/RMagick.rb b/debian/RMagick.rb
new file mode 100644
index 0000000..b2a096e
--- /dev/null
+++ b/debian/RMagick.rb
@@ -0,0 +1,2 @@
+puts "W: `require 'RMagick'` is deprecated, please change to `require 'rmagick'`"
+require 'rmagick'
diff --git a/debian/changelog b/debian/changelog
index 56fe138..f768657 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,8 @@ ruby-rmagick (2.15.4-1) unstable; urgency=medium
     - fix_example_shebang.patch: dropped
     - force-security.patch: dropped, already applied upstream
     - extconf-use-pkg-config.patch: dropped, fixed upstream
+  * install a compatibility wrapper for `require 'RMagick'`, which has been
+    removed by upstream.
 
  -- Antonio Terceiro <terceiro at debian.org>  Tue, 25 Aug 2015 18:50:53 -0300
 
diff --git a/debian/ruby-rmagick.install b/debian/ruby-rmagick.install
new file mode 100644
index 0000000..48dbef4
--- /dev/null
+++ b/debian/ruby-rmagick.install
@@ -0,0 +1 @@
+debian/RMagick.rb usr/lib/ruby/vendor_ruby

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rmagick.git



More information about the Pkg-ruby-extras-commits mailing list