rubigen 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +8 -0
- data/config/hoe.rb +1 -1
- data/generators/install_rubigen_scripts/templates/script/destroy +1 -1
- data/generators/install_rubigen_scripts/templates/script/generate +1 -1
- data/lib/rubigen/base.rb +2 -1
- data/lib/rubigen/version.rb +1 -1
- data/rubygems_generators/application_generator/templates/generator.rb +1 -1
- data/rubygems_generators/component_generator/templates/generator.rb +1 -1
- data/script/destroy +1 -1
- data/script/generate +1 -1
- data/website/index.html +1 -1
- data/website/version-raw.js +1 -1
- data/website/version.js +1 -1
- metadata +2 -2
data/History.txt
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
== 1.2.1 2008-02-19
|
2
|
+
|
3
|
+
* Fixed rake post_news/email output bug ("\\n\\n")
|
4
|
+
* removed bad \" from generator banner strings
|
5
|
+
* destination_path/root have File.expand_path applied to them to ensure
|
6
|
+
base_name gives useful term
|
7
|
+
* generate/destroy set APP_ROOT with expand_path too
|
8
|
+
|
1
9
|
== 1.2.0 2008-02-14
|
2
10
|
|
3
11
|
* application_generator's bin now looks for generator within local source, not
|
data/config/hoe.rb
CHANGED
@@ -61,7 +61,7 @@ hoe = Hoe.new(GEM_NAME, VERS) do |p|
|
|
61
61
|
p.clean_globs |= ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store'] #An array of file patterns to delete on clean.
|
62
62
|
|
63
63
|
# == Optional
|
64
|
-
p.changes = p.paragraphs_of("History.txt", 0..1).join("
|
64
|
+
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
|
65
65
|
p.extra_deps = [ ['activesupport', '>= 1.4.4'] ] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
|
66
66
|
|
67
67
|
#p.spec_extras = {} # A hash of extra values to set in the gemspec.
|
data/lib/rubigen/base.rb
CHANGED
@@ -103,6 +103,7 @@ module RubiGen
|
|
103
103
|
elsif defined? ::APP_ROOT
|
104
104
|
@destination_root = ::APP_ROOT
|
105
105
|
end
|
106
|
+
@destination_root = File.expand_path(@destination_root)
|
106
107
|
|
107
108
|
# Silence the logger if requested.
|
108
109
|
logger.quiet = options[:quiet]
|
@@ -145,7 +146,7 @@ module RubiGen
|
|
145
146
|
# Example for destination_root = '/dest':
|
146
147
|
# destination_path('some/path.rb') == '/dest/some/path.rb'
|
147
148
|
def destination_path(relative_destination)
|
148
|
-
File.join(destination_root, relative_destination)
|
149
|
+
File.expand_path(File.join(destination_root, relative_destination))
|
149
150
|
end
|
150
151
|
|
151
152
|
# Return the basename of the destination_root,
|
data/lib/rubigen/version.rb
CHANGED
data/script/destroy
CHANGED
data/script/generate
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.2.
|
34
|
+
<a href="http://rubyforge.org/projects/rubigen" class="numbers">1.2.1</a>
|
35
35
|
</div>
|
36
36
|
<h1>Ruby Generator Framework</h1>
|
37
37
|
|
data/website/version-raw.js
CHANGED
data/website/version.js
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubigen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dr Nic Williams
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2008-02-
|
13
|
+
date: 2008-02-20 00:00:00 +10:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|