backpack 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +5 -0
- data/bin/backpack +6 -2
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/README.html +10 -1
- data/lib/template/tasks/tasks.rb +4 -4
- metadata +4 -3
data/README
CHANGED
@@ -12,6 +12,11 @@ Backpack is a simple plugin generator for bivouac[http://bivouac.rubyforge.org].
|
|
12
12
|
|
13
13
|
== FEATURES/PROBLEMS:
|
14
14
|
|
15
|
+
=== 0.3.0:
|
16
|
+
|
17
|
+
* Ruby 1.9... not yet !
|
18
|
+
* Bugs corrections
|
19
|
+
|
15
20
|
=== 0.2.0:
|
16
21
|
|
17
22
|
* Major bug correction in plugin_generator.rb, template_controller.rb and template_view.rb
|
data/bin/backpack
CHANGED
@@ -20,8 +20,12 @@ opts = OptionParser.new do |opts|
|
|
20
20
|
opts.on("-g", "--generator NAME:TYPE,...", "Generator list. TYPE must be 'view' or 'controller'") { |list|
|
21
21
|
options[:generators] = list.split( "," ).map{ |g| g.strip }.map{ |g| g.split(":").map{|t| t.strip}}
|
22
22
|
}
|
23
|
-
opts.on("-c", "--no-controller-helpers", "Do not create controller helper") { |
|
24
|
-
|
23
|
+
opts.on("-c", "--no-controller-helpers", "Do not create controller helper") { |noch|
|
24
|
+
options[:noch] = noch
|
25
|
+
}
|
26
|
+
opts.on("-v", "--no-view-helpers", "Do not create view helper") { |novh|
|
27
|
+
options[:novh] = novh
|
28
|
+
}
|
25
29
|
|
26
30
|
|
27
31
|
opts.separator ""
|
data/doc/rdoc/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
Wed, 30 Jul 2008 02:20:57 +0200
|
data/doc/rdoc/files/README.html
CHANGED
@@ -73,7 +73,7 @@ end</strong>
|
|
73
73
|
<div id="README" class="page_shade">
|
74
74
|
<div class="page">
|
75
75
|
<div class="header">
|
76
|
-
<div class="path">README /
|
76
|
+
<div class="path">README / Wed Jul 30 02:13:29 +0200 2008</div>
|
77
77
|
</div>
|
78
78
|
|
79
79
|
<h1>Backpack</h1>
|
@@ -98,6 +98,15 @@ Backpack is a simple plugin generator for <a
|
|
98
98
|
href="http://bivouac.rubyforge.org">bivouac</a>.
|
99
99
|
</p>
|
100
100
|
<h2>FEATURES/PROBLEMS:</h2>
|
101
|
+
<h3>0.3.0:</h3>
|
102
|
+
<ul>
|
103
|
+
<li>Ruby 1.9… not yet !
|
104
|
+
|
105
|
+
</li>
|
106
|
+
<li>Bugs corrections
|
107
|
+
|
108
|
+
</li>
|
109
|
+
</ul>
|
101
110
|
<h3>0.2.0:</h3>
|
102
111
|
<ul>
|
103
112
|
<li>Major bug correction in plugin_generator.rb, template_controller.rb and
|
data/lib/template/tasks/tasks.rb
CHANGED
@@ -14,14 +14,14 @@ namespace :<%= @plugin_path %> do
|
|
14
14
|
|
15
15
|
desc "Generate <%= @plugin_name %> Documentation"
|
16
16
|
Rake::RDocTask.new do |rdoc|
|
17
|
-
rdoc.rdoc_dir = 'plugins
|
17
|
+
rdoc.rdoc_dir = 'plugins/<%= @plugin_path %>/doc'
|
18
18
|
rdoc.options += ['--quiet', "--opname", "index.html", "--line-numbers", "--inline-source"]
|
19
19
|
rdoc.main = "plugins/<%= @plugin_path %>/README"
|
20
20
|
rdoc.title = "<%= @plugin_name %>, the Documentation"
|
21
21
|
rdoc.rdoc_files.add [
|
22
|
-
'plugins/<%= @plugin_path %>/README',
|
23
|
-
'plugins/<%= @plugin_path %>/
|
24
|
-
'plugins/<%= @plugin_path %>/
|
22
|
+
'plugins/<%= @plugin_path %>/README', 'plugins/<%= @plugin_path %>/INSTALL', 'plugins/<%= @plugin_path %>/LICENCE',
|
23
|
+
<% unless @plugin_options.has_key?( :novh ); %>'plugins/<%= @plugin_path %>/lib/<%= @plugin_path %>/view_helpers.rb',<% end %>
|
24
|
+
<% unless @plugin_options.has_key?( :noch ); %>'plugins/<%= @plugin_path %>/lib/<%= @plugin_path %>/controller_helpers.rb',<% end %>
|
25
25
|
]
|
26
26
|
end
|
27
27
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: backpack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Gr\xC3\xA9goire Lejeune"
|
@@ -9,11 +9,12 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-07-30 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bivouac
|
17
|
+
type: :runtime
|
17
18
|
version_requirement:
|
18
19
|
version_requirements: !ruby/object:Gem::Requirement
|
19
20
|
requirements:
|
@@ -101,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
102
|
requirements: []
|
102
103
|
|
103
104
|
rubyforge_project: bivouac
|
104
|
-
rubygems_version: 1.
|
105
|
+
rubygems_version: 1.2.0
|
105
106
|
signing_key:
|
106
107
|
specification_version: 2
|
107
108
|
summary: A plugin generator for Bivouac
|