Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
# $Release:$
# $Copyright$
# copyright(c) 2006-2011 kuwata-lab.com all rights reserved.

- release: 2.7.0
date: 2011-04-01
Expand Down
2 changes: 1 addition & 1 deletion MIT-LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$Copyright$
copyright(c) 2006-2011 kuwata-lab.com all rights reserved.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
24 changes: 1 addition & 23 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
= README

release:: $Release$
copyright:: $Copyright$
copyright:: copyright(c) 2006-2011 kuwata-lab.com all rights reserved.



Expand Down Expand Up @@ -32,27 +31,6 @@ See doc/users-guide.html for details.

$ sudo gem install erubis

* Else install abstract[http://rubyforge.org/projects/abstract/] at first,
and download erubis_X.X.X.tar.bz2 and install it by setup.rb.

$ tar xjf abstract_X.X.X.tar.bz2
$ cd abstract_X.X.X/
$ sudo ruby setup.rb
$ cd ..
$ tar xjf erubis_X.X.X.tar.bz2
$ cd erubis_X.X.X/
$ sudo ruby setup.rb

* (Optional) It is able to merge 'lib/**/*.rb' into 'bin/erubis' by
'contrib/inline-require' script.

$ tar xjf erubis_X.X.X.tar.bz2
$ cd erubis_X.X.X/
$ cp /tmp/abstract_X.X.X/lib/abstract.rb lib
$ unset RUBYLIB
$ contrib/inline-require -I lib bin/erubis > contrib/erubis



== Ruby on Rails Support

Expand Down
2 changes: 1 addition & 1 deletion Rookbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ properties:

parameters:
- project : erubis
- text_files : [CHANGES.txt, README.txt, MIT-LICENSE, setup.rb, erubis.gemspec]
- text_files : [CHANGES.txt, README.txt, MIT-LICENSE, erubis.gemspec]
- guide : doc/users-guide.html
- doc_files : [$(guide), doc/docstyle.css]
- apidocdir : doc-api
Expand Down
3 changes: 1 addition & 2 deletions benchmark/bench.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/usr/bin/env ruby

###
### $Release:$
### $Copyright$
### copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
###

require 'erb'
Expand Down
3 changes: 1 addition & 2 deletions bin/erubis
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/usr/bin/env ruby

###
### $Release:$
### $Copyright$
### copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
###

require 'erubis/main'
Expand Down
22 changes: 0 additions & 22 deletions doc/users-guide.html
Original file line number Diff line number Diff line change
Expand Up @@ -209,28 +209,6 @@ <h2 class="section1">Installation</h2>
</pre>
</li>
</ul>
<ul type="disc">
<li>Else install <a href="http://rubyforge.org/projects/erubis/">abstract</a> at first,
and download erubis_X.X.X.tar.bz2 and install it by setup.rb.
<pre class="terminal">$ tar xjf abstract_X.X.X.tar.bz2
$ cd abstract_X.X.X/
$ sudo ruby setup.rb
$ cd ..
$ tar xjf erubis_X.X.X.tar.bz2
$ cd erubis_X.X.X/
$ sudo ruby setup.rb
</pre>
</li>
</ul>
<ul type="disc">
<li>(Optional) 'contrib/inline-require' enables you to merge 'lib/**/*.rb' into 'bin/erubis'.
<pre class="terminal">$ tar xjf erubis_X.X.X.tar.bz2
$ cd erubis_X.X.X/
$ unset RUBYLIB
$ contrib/inline-require -I lib bin/erubis &gt; contrib/erubis
</pre>
</li>
</ul>
<br>


Expand Down
30 changes: 0 additions & 30 deletions doc/users-guide.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,28 +55,6 @@ Erubis now supports Ruby 1.9.
$ sudo gem install --remote erubis
.====================

.* Else install {{<abstract|http://rubyforge.org/projects/erubis/>}} at first,
and download erubis_X.X.X.tar.bz2 and install it by setup.rb.
.====================
$ tar xjf abstract_X.X.X.tar.bz2
$ cd abstract_X.X.X/
$ sudo ruby setup.rb
$ cd ..
$ tar xjf erubis_X.X.X.tar.bz2
$ cd erubis_X.X.X/
$ sudo ruby setup.rb
.====================

.#.* Or if you can be root user, download erubis_X.X.X.tar.bz2 and install by setup.rb.
.# .====================
.# $ tar xjf erubis-X.X.X.tar.bz2
.# $ cd erubis_X.X.X/
.# $ ruby setup.rb
.# .#$ ruby setup.rb config
.# .#$ ruby setup.rb setup
.# .#$ sudo ruby setup.rb install
.# .====================
.#
.#.* Else you should copy 'lib/erubis.rb', 'lib/erubis/', and 'bin/erubis' into proper directory manually.
.# .====================
.# $ tar xjf erubis-X.X.X.tar.bz2
Expand All @@ -85,14 +63,6 @@ Erubis now supports Ruby 1.9.
.# $ cp bin/erubis /usr/local/bin
.# .====================

.* (Optional) 'contrib/inline-require' enables you to merge 'lib/**/*.rb' into 'bin/erubis'.
.====================
$ tar xjf erubis_X.X.X.tar.bz2
$ cd erubis_X.X.X/
$ unset RUBYLIB
$ contrib/inline-require -I lib bin/erubis > contrib/erubis
.====================



.$ Tutorial | tutorial
Expand Down
8 changes: 3 additions & 5 deletions erubis.gemspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/usr/bin/ruby

###
### $Release: $
### $Copyright$
### copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
###

require 'rubygems' unless defined?(Gem)
Expand All @@ -12,11 +11,10 @@ spec = Gem::Specification.new do |s|
s.name = "erubis"
s.author = "makoto kuwata"
s.email = "kwa(at)kuwata-lab.com"
s.version = "$Release$"
s.version = "2.7.0"
s.platform = Gem::Platform::RUBY
s.homepage = "http://www.kuwata-lab.com/erubis/"
s.summary = "a fast and extensible eRuby implementation which supports multi-language"
s.rubyforge_project = 'erubis'
s.description = <<-'END'
Erubis is an implementation of eRuby and has the following features:

Expand All @@ -39,7 +37,7 @@ spec = Gem::Specification.new do |s|
files += Dir.glob('examples/**/*')
files += Dir.glob('test/**/*')
files += Dir.glob('doc/**/*')
files += %w[README.txt CHANGES.txt MIT-LICENSE setup.rb]
files += %w[README.txt CHANGES.txt MIT-LICENSE]
files += Dir.glob('contrib/**/*')
files += Dir.glob('benchmark/**/*')
files += Dir.glob('doc-api/**/*')
Expand Down
5 changes: 2 additions & 3 deletions lib/erubis.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##

##
Expand Down Expand Up @@ -47,7 +46,7 @@


module Erubis
VERSION = ('$Release: 0.0.0 $' =~ /([.\d]+)/) && $1
VERSION = '2.7.0'
end

require 'erubis/engine'
Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/context.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##


Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/converter.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##

require 'erubis/util'
Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/engine.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##


Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/engine/ec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##

require 'erubis/engine'
Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/engine/ecpp.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##

require 'erubis/engine'
Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/engine/ejava.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##

require 'erubis/engine'
Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/engine/ejavascript.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##

require 'erubis/engine'
Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/engine/enhanced.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##

require 'erubis/enhancer'
Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/engine/eperl.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##

require 'erubis/engine'
Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/engine/ephp.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##

require 'erubis/engine'
Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/engine/eruby.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##

require 'erubis/engine'
Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/engine/escheme.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##

require 'erubis/engine'
Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/engine/optimized.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##


Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/enhancer.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##


Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/error.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##

module Erubis
Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/evaluator.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##

require 'erubis/error'
Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/generator.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##

require 'erubis/util'
Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##


Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/helpers/rails_form_helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
###
### $Release: $
### $Copyright$
### copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
###


Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/helpers/rails_helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
###
### $Release:$
### $Copyright$
### copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
###


Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/local-setting.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##

##
Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/main.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
###
### $Release:$
### $Copyright$
### copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
###

require 'yaml'
Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/preprocessing.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
###
### $Release:$
### $Copyright$
### copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
###

require 'cgi'
Expand Down
3 changes: 1 addition & 2 deletions lib/erubis/tiny.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##
## $Release:$
## $Copyright$
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##

module Erubis
Expand Down
Loading