File: use_moved_Version.patch

package info (click to toggle)
ruby-blockenspiel 0.5.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 348 kB
  • sloc: ruby: 1,482; makefile: 7
file content (18 lines) | stat: -rw-r--r-- 676 bytes parent folder | download | duplicates (4)
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/blockenspiel
 The relative path of Version should be adapted in roxml.rb file
Author: Ben Armstrong <synrg@sanctuary.nslug.ns.ca>
Last-Update: 2013-08-11
Forwarded: no

--- a/lib/blockenspiel/version.rb
+++ b/lib/blockenspiel/version.rb
@@ -37,7 +37,7 @@
 module Blockenspiel
 
   # Current gem version, as a frozen string.
-  VERSION_STRING = ::File.read(::File.dirname(__FILE__)+'/../../Version').strip.freeze
+  VERSION_STRING = ::File.read(::File.dirname(__FILE__)+'/Version').strip.freeze
 
   autoload(:VERSION, ::File.dirname(__FILE__)+'/versionomy.rb')