Skip to content

Commit

Permalink
new versions
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiokung committed Jun 25, 2009
1 parent cd24401 commit 33a7e84
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
2 changes: 1 addition & 1 deletion script/console
Expand Up @@ -5,6 +5,6 @@ irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
libs = " -r irb/completion"
# Perhaps use a console_lib to store any extra methods I may want available in the cosole
# libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
libs << " -r #{File.dirname(__FILE__) + '/../lib/jetty_rails.rb'}"
libs << " -r #{File.dirname(__FILE__) + '/../lib/jetty-rails.rb'}"
puts "Loading jetty-rails gem"
exec "#{irb} #{libs} --simple-prompt"
21 changes: 5 additions & 16 deletions script/txt2html
@@ -1,27 +1,16 @@
#!/usr/bin/env ruby

GEM_NAME = 'jetty-rails' # what ppl will type to install your gem
RUBYFORGE_PROJECT = 'jetty-rails'

require 'rubygems'
begin
require 'newgem'
require 'rubyforge'
rescue LoadError
puts "\n\nGenerating the website requires the newgem RubyGem"
puts "Install: gem install newgem\n\n"
exit(1)
end
load File.dirname(__FILE__) + "/../Rakefile"
require 'rubyforge'
require 'redcloth'
require 'syntax/convertors/html'
require 'erb'
require File.dirname(__FILE__) + "/../lib/jetty_rails/version.rb"

version = JettyRails::VERSION::STRING
download = "http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}"
download = "http://rubyforge.org/projects/#{$hoe.rubyforge_name}"
version = $hoe.version

def rubyforge_project_id
RubyForge.new.autoconfig["group_ids"][RUBYFORGE_PROJECT]
RubyForge.new.configure.autoconfig["group_ids"][$hoe.rubyforge_name]
end

class Fixnum
Expand Down

0 comments on commit 33a7e84

Please sign in to comment.