summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2009-02-06 00:38:49 +0000
committermurphy <murphy@rubychan.de>2009-02-06 00:38:49 +0000
commitb390954126e93c33321cfb546c2d43431ba0a4b3 (patch)
treefb61f9049934c53bf534065e774e4009fa709e13
parent30af7bfacf4b1774c4ea9b91652843b2e56ef0cd (diff)
downloadcoderay-b390954126e93c33321cfb546c2d43431ba0a4b3.tar.gz
Updated version number (to 0.9.0) and gem information.
-rw-r--r--etc/coderay-lib.tmproj2
-rw-r--r--etc/raydebug.vim2
-rw-r--r--lib/README2
-rw-r--r--lib/coderay.rb10
-rw-r--r--lib/coderay/helpers/gzip_simple.rb2
-rw-r--r--rake_tasks/gem.rake10
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 @@
<key>filename</key>
<string>../diff</string>
<key>lastUsed</key>
- <date>2009-02-02T10:25:08Z</date>
+ <date>2009-02-06T00:14:22Z</date>
<key>selected</key>
<true/>
</dict>
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 <korny@cYcnus.de>
+" Maintainer: Kornelius Kalnbach <murphy@rubychan.de>
" 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 <coderay cycnus de>.
+Please report errors in this documentation to <murphy rubychan de>.
== 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