rubigen 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/Manifest.txt +1 -1
- data/app_generators/ruby_app/ruby_app_generator.rb +1 -1
- data/app_generators/ruby_app/templates/test/{test_helper.rb → test_helper.rb.erb} +0 -0
- data/lib/rubigen/commands.rb +1 -1
- data/lib/rubigen/version.rb +1 -1
- data/website/index.html +1 -1
- metadata +3 -3
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
@@ -10,7 +10,7 @@ app_generators/ruby_app/templates/README.txt
|
|
10
10
|
app_generators/ruby_app/templates/Rakefile
|
11
11
|
app_generators/ruby_app/templates/configs/empty.log
|
12
12
|
app_generators/ruby_app/templates/lib/module.rb
|
13
|
-
app_generators/ruby_app/templates/test/test_helper.rb
|
13
|
+
app_generators/ruby_app/templates/test/test_helper.rb.erb
|
14
14
|
bin/install_rubigen_scripts
|
15
15
|
bin/ruby_app
|
16
16
|
examples/rails_generators/applications/app/USAGE
|
@@ -36,7 +36,7 @@ class RubyAppGenerator < RubiGen::Base
|
|
36
36
|
m.template "lib/module.rb", "lib/#{app_name}.rb"
|
37
37
|
|
38
38
|
# Test helper
|
39
|
-
m.template_copy_each %w(test_helper.rb), "test"
|
39
|
+
m.template_copy_each %w(test_helper.rb.erb), "test"
|
40
40
|
|
41
41
|
%w(debug).each { |file|
|
42
42
|
m.file "configs/empty.log", "log/#{file}.log", :chmod => 0666
|
File without changes
|
data/lib/rubigen/commands.rb
CHANGED
@@ -303,7 +303,7 @@ module RubiGen
|
|
303
303
|
def template_copy_each(files, path = nil, options = {})
|
304
304
|
path = path ? "#{path}/" : ""
|
305
305
|
files.each do |file_name|
|
306
|
-
template "#{path}#{file_name}", "#{path}#{file_name}", options
|
306
|
+
template "#{path}#{file_name}", "#{path}#{file_name.gsub(/\.erb$/,'')}", options
|
307
307
|
end
|
308
308
|
end
|
309
309
|
|
data/lib/rubigen/version.rb
CHANGED
data/website/index.html
CHANGED
@@ -31,7 +31,7 @@
|
|
31
31
|
<h1>rubigen</h1>
|
32
32
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/rubigen"; return false'>
|
33
33
|
<p>Get Version</p>
|
34
|
-
<a href="http://rubyforge.org/projects/rubigen" class="numbers">1.0.
|
34
|
+
<a href="http://rubyforge.org/projects/rubigen" class="numbers">1.0.6</a>
|
35
35
|
</div>
|
36
36
|
<h1>Ruby Generator Framework</h1>
|
37
37
|
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4.3
|
|
3
3
|
specification_version: 1
|
4
4
|
name: rubigen
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.0.
|
7
|
-
date: 2007-10-
|
6
|
+
version: 1.0.6
|
7
|
+
date: 2007-10-18 00:00:00 +10:00
|
8
8
|
summary: "A framework to allow Ruby applications to generate file/folder stubs (like the rails command does for Ruby on Rails, and the \xE2\x80\x98script/generate\xE2\x80\x99 command within a Rails application during development)."
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -42,7 +42,7 @@ files:
|
|
42
42
|
- app_generators/ruby_app/templates/Rakefile
|
43
43
|
- app_generators/ruby_app/templates/configs/empty.log
|
44
44
|
- app_generators/ruby_app/templates/lib/module.rb
|
45
|
-
- app_generators/ruby_app/templates/test/test_helper.rb
|
45
|
+
- app_generators/ruby_app/templates/test/test_helper.rb.erb
|
46
46
|
- bin/install_rubigen_scripts
|
47
47
|
- bin/ruby_app
|
48
48
|
- examples/rails_generators/applications/app/USAGE
|