File: use_moved_VERSION.patch

package info (click to toggle)
ruby-roxml 3.3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 772 kB
  • ctags: 532
  • sloc: ruby: 4,066; xml: 1,013; makefile: 6
file content (18 lines) | stat: -rw-r--r-- 575 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: use moved version of VERSION file
 VERSION file is moved from the root of the source package to lib/roxml
 The relative path of VERSION should be adapted in roxml.rb file
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2013-04-18
Forwarded: no

--- a/lib/roxml.rb
+++ b/lib/roxml.rb
@@ -14,7 +14,7 @@
 require 'roxml/xml'
 
 module ROXML # :nodoc:
-  VERSION = File.read(File.expand_path("../../VERSION", __FILE__))
+  VERSION = File.read(File.expand_path("../roxml/VERSION", __FILE__))
 
   def self.included(base) # :nodoc:
     base.class_eval do