From 4891a6470d99503f5698c67ad2092c465b1e12b6 Mon Sep 17 00:00:00 2001
From: Carl Worth <cworth@debian.org>
Date: Tue, 6 Mar 2012 18:00:54 -0800
Subject: Track library version within lib/

It's not safe to expect a relative directory up outside of lib/mail to
actually contain files we might want to expect to live there. So
instead of maintaining a lib/VERSION file, simply maintain the version
string within lib/mail/version.rb.
---
 lib/VERSION         |    4 ----
 lib/mail/version.rb |   10 +++++-----
 2 files changed, 5 insertions(+), 9 deletions(-)
 delete mode 100644 lib/VERSION

Index: ruby-mail/lib/VERSION
===================================================================
--- ruby-mail.orig/lib/VERSION	2013-06-03 18:03:17.788964590 +0200
+++ /dev/null	1970-01-01 00:00:00.000000000 +0000
@@ -1,4 +0,0 @@
-major:2
-minor:5
-patch:4
-build:
Index: ruby-mail/lib/mail/version.rb
===================================================================
--- ruby-mail.orig/lib/mail/version.rb	2013-06-03 18:03:17.788964590 +0200
+++ ruby-mail/lib/mail/version.rb	2013-06-03 18:03:17.784964635 +0200
@@ -3,11 +3,11 @@
   module VERSION
     
     version = {}
-    File.read(File.join(File.dirname(__FILE__), '../', 'VERSION')).each_line do |line|
-      type, value = line.chomp.split(":")
-      next if type =~ /^\s+$/  || value =~ /^\s+$/
-      version[type] = value
-    end
+
+    version['major'] = "2"
+    version['minor'] = "5"
+    version['patch'] = "4"
+    version['build'] = nil
     
     MAJOR = version['major']
     MINOR = version['minor']
