diff options
author | Antonio Terceiro <terceiro@softwarelivre.org> | 2013-08-27 23:20:24 -0300 |
---|---|---|
committer | Antonio Terceiro <terceiro@softwarelivre.org> | 2013-08-27 23:20:24 -0300 |
commit | 247cbbc6961508d4c8fee78a98a5ac0a841a67fd (patch) | |
tree | 4f3b45e30feecf1067a2d0746c2961fb6aac76d4 | |
parent | a1b2e9080f53a3db984f4297d8f19892d6582d37 (diff) | |
download | feed2imap-247cbbc6961508d4c8fee78a98a5ac0a841a67fd.tar.gz feed2imap-247cbbc6961508d4c8fee78a98a5ac0a841a67fd.tar.bz2 feed2imap-247cbbc6961508d4c8fee78a98a5ac0a841a67fd.zip |
Fix version number management
Made the Rakefile read the version number from
lib/feed2imap/feed2imap.rb instead of having it duplicated in both
places.
Diffstat (limited to '')
-rw-r--r-- | Rakefile | 2 | ||||
-rw-r--r-- | lib/feed2imap/feed2imap.rb | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ require 'find' task :default => [:test] PKG_NAME = 'feed2imap' -PKG_VERSION = '1.2' +PKG_VERSION = `ruby -Ilib -rfeed2imap/feed2imap -e 'print F2I_VERSION'` PKG_FILES = [ 'ChangeLog', 'README', 'COPYING', 'setup.rb', 'Rakefile'] Find.find('bin/', 'lib/', 'test/', 'data/') do |f| if FileTest.directory?(f) and f =~ /\.svn/ diff --git a/lib/feed2imap/feed2imap.rb b/lib/feed2imap/feed2imap.rb index 7ec355c..7080f9c 100644 --- a/lib/feed2imap/feed2imap.rb +++ b/lib/feed2imap/feed2imap.rb @@ -18,7 +18,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA =end # Feed2Imap version -F2I_VERSION = '1.0' +F2I_VERSION = '1.2.1' F2I_WARNFETCHTIME = 10 require 'feed2imap/config' |