From b390954126e93c33321cfb546c2d43431ba0a4b3 Mon Sep 17 00:00:00 2001 From: murphy Date: Fri, 6 Feb 2009 00:38:49 +0000 Subject: Updated version number (to 0.9.0) and gem information. --- etc/coderay-lib.tmproj | 2 +- etc/raydebug.vim | 2 +- lib/README | 2 +- lib/coderay.rb | 10 +++++----- lib/coderay/helpers/gzip_simple.rb | 2 +- rake_tasks/gem.rake | 10 +++++----- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/etc/coderay-lib.tmproj b/etc/coderay-lib.tmproj index 858d7bc..8aba341 100644 --- a/etc/coderay-lib.tmproj +++ b/etc/coderay-lib.tmproj @@ -88,7 +88,7 @@ filename ../diff lastUsed - 2009-02-02T10:25:08Z + 2009-02-06T00:14:22Z selected diff --git a/etc/raydebug.vim b/etc/raydebug.vim index 1aaf9b5..2a1a4da 100644 --- a/etc/raydebug.vim +++ b/etc/raydebug.vim @@ -1,6 +1,6 @@ " vim syntax file " Language: BBCode -" Maintainer: Korenlius Kalnbach +" Maintainer: Kornelius Kalnbach " Last Change: 2004 Dec 12 " For version 5.x: Clear all syntax items diff --git a/lib/README b/lib/README index 73653b7..6426958 100644 --- a/lib/README +++ b/lib/README @@ -51,7 +51,7 @@ CodeRay needs Ruby 1.8.6 or later. It should also run with Ruby 1.9 and JRuby. See CodeRay. -Please report errors in this documentation to . +Please report errors in this documentation to . == Credits diff --git a/lib/coderay.rb b/lib/coderay.rb index 05c1d90..dfcfe59 100644 --- a/lib/coderay.rb +++ b/lib/coderay.rb @@ -130,11 +130,11 @@ module CodeRay # Version: Major.Minor.Teeny[.Revision] - # Major: 0 for pre-release - # Minor: odd for beta, even for stable - # Teeny: development state - # Revision: Subversion Revision number (generated on rake) - VERSION = '0.8' + # Major: 0 for pre-stable, 1 for stable + # Minor: feature milestone + # Teeny: development state, 0 for pre-release + # Revision: Subversion Revision number (generated on rake gem:make) + VERSION = '0.9.0' require 'coderay/tokens' require 'coderay/scanner' diff --git a/lib/coderay/helpers/gzip_simple.rb b/lib/coderay/helpers/gzip_simple.rb index 76aeb22..b979f66 100644 --- a/lib/coderay/helpers/gzip_simple.rb +++ b/lib/coderay/helpers/gzip_simple.rb @@ -2,7 +2,7 @@ # # A simplified interface to the gzip library +zlib+ (from the Ruby Standard Library.) # -# Author: murphy (mail to murphy cYcnus de) +# Author: murphy (mail to murphy rubychan de) # # Version: 0.2 (2005.may.28) # diff --git a/rake_tasks/gem.rake b/rake_tasks/gem.rake index 61c119a..c356761 100644 --- a/rake_tasks/gem.rake +++ b/rake_tasks/gem.rake @@ -8,7 +8,7 @@ def gemspec s.platform = Gem::Platform::RUBY s.required_ruby_version = '>= 1.8.2' - s.requirements = ['strscan'] + s.requirements = [] s.date = Time.now.strftime '%Y-%m-%d' s.has_rdoc = true s.rdoc_options = '-SNw2', '-mlib/README', '-a', '-t CodeRay Documentation' @@ -31,14 +31,14 @@ def gemspec # Files s.require_path = 'lib' - s.autorequire = 'coderay' + # s.autorequire = 'coderay' s.executables = [ 'coderay', 'coderay_stylesheet' ] s.files = nil # defined later # Credits s.author = 'murphy' - s.email = 'murphy@cYcnus.de' + s.email = 'murphy@rubychan.de' s.homepage = 'http://coderay.rubychan.de' end end @@ -66,7 +66,7 @@ namespace :gem do $version = CodeRay::VERSION end puts 'Current Version: %s' % $version - #$version.sub!(/\.(\d+)\./) { minor = $1; ".#{minor.to_i}." } + sh 'svn up --ignore-externals' $version << '.' << (`svn info`[/Revision: (\d+)/,1]) end @@ -97,7 +97,7 @@ namespace :gem do Dir.chdir 'gem_server' do uploader = uploader_for ftp ftp.chdir FTP_CODERAY_DIR - %w(yaml).each &uploader + %w(yaml).each(&uploader) Dir.chdir 'gems' do ftp.chdir 'gems' uploader.call $gemfile -- cgit v1.2.1