bivouac 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README +18 -1
- data/bin/bivouac +10 -6
- data/lib/bivouac/commands/generate.rb +2 -0
- data/lib/bivouac/commands/plugin.rb +47 -0
- data/lib/bivouac/helpers/view/goh/html.rb +17 -0
- data/lib/bivouac/template/application/postamble.rb +26 -4
- data/lib/bivouac/template/application_goh.rb +2 -1
- data/{examples/blog_erb/script/generate → lib/bivouac/template/plugin.rb} +1 -1
- data/lib/bivouac/template/static/index.html +3 -2
- metadata +95 -172
- data/doc/rdoc/classes/BivouacHelpers/BaseView.html +0 -178
- data/doc/rdoc/classes/BivouacHelpers/FormView.html +0 -398
- data/doc/rdoc/classes/BivouacHelpers/HtmlView.html +0 -274
- data/doc/rdoc/classes/BivouacHelpers/JavaScriptView.html +0 -573
- data/doc/rdoc/classes/BivouacHelpers/ScriptAculoUsView.html +0 -258
- data/doc/rdoc/classes/BivouacHelpers/TooltipView.html +0 -158
- data/doc/rdoc/classes/BivouacHelpers.html +0 -117
- data/doc/rdoc/classes/JavaScriptGenerator.html +0 -564
- data/doc/rdoc/created.rid +0 -1
- data/doc/rdoc/files/AUTHORS.html +0 -109
- data/doc/rdoc/files/COPYING.html +0 -533
- data/doc/rdoc/files/README.html +0 -379
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/base_rb.html +0 -109
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/form_rb.html +0 -109
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/html_rb.html +0 -109
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/javascript_rb.html +0 -113
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/scriptaculous_rb.html +0 -113
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/tooltip_rb.html +0 -109
- data/doc/rdoc/index.html +0 -10
- data/doc/rdoc/permalink.gif +0 -0
- data/doc/rdoc/rdoc-style.css +0 -106
- data/doc/rdoc/rubyfr.png +0 -0
- data/examples/blog_erb/app/blog.rb +0 -84
- data/examples/blog_erb/app/controllers/add.rb +0 -19
- data/examples/blog_erb/app/controllers/comment.rb +0 -9
- data/examples/blog_erb/app/controllers/edit.rb +0 -18
- data/examples/blog_erb/app/controllers/index.rb +0 -8
- data/examples/blog_erb/app/controllers/info.rb +0 -11
- data/examples/blog_erb/app/controllers/login.rb +0 -15
- data/examples/blog_erb/app/controllers/logout.rb +0 -8
- data/examples/blog_erb/app/controllers/view.rb +0 -9
- data/examples/blog_erb/app/models/comment.rb +0 -5
- data/examples/blog_erb/app/models/post.rb +0 -5
- data/examples/blog_erb/app/models/user.rb +0 -4
- data/examples/blog_erb/app/views/add.html +0 -18
- data/examples/blog_erb/app/views/edit.html +0 -18
- data/examples/blog_erb/app/views/index.html +0 -12
- data/examples/blog_erb/app/views/layout.html +0 -12
- data/examples/blog_erb/app/views/login.html +0 -2
- data/examples/blog_erb/app/views/logout.html +0 -2
- data/examples/blog_erb/app/views/view.html +0 -20
- data/examples/blog_erb/config/environment.rb +0 -27
- data/examples/blog_erb/db/Blog.db +0 -0
- data/examples/blog_erb/db/create.rb +0 -8
- data/examples/blog_erb/db/migrate/comment.rb +0 -15
- data/examples/blog_erb/db/migrate/post.rb +0 -15
- data/examples/blog_erb/db/migrate/user.rb +0 -15
- data/examples/blog_erb/log/Blog.log +0 -57
- data/examples/blog_erb/public/images/camping.png +0 -0
- data/examples/blog_erb/public/index.html +0 -242
- data/examples/blog_erb/public/stylesheets/style.css +0 -10
- data/examples/blog_erb/script/server +0 -5
- data/lib/bivouac/commands/server.rb +0 -9
- data/lib/bivouac/template/application/helpers_erb.rb +0 -11
- data/lib/bivouac/template/application_erb.rb +0 -77
- data/lib/bivouac/template/application_jof.rb +0 -42
- data/lib/bivouac/template/generate/scaffold_view_create_erb.rb +0 -7
- data/lib/bivouac/template/generate/scaffold_view_list_erb.rb +0 -7
- data/lib/bivouac/template/generate/scaffold_view_view_erb.rb +0 -10
- data/lib/bivouac/template/generate/view_erb.rb +0 -2
data/README
CHANGED
@@ -12,6 +12,22 @@ Bivouac is a simple generator for camping[http://code.whytheluckystiff.net/campi
|
|
12
12
|
|
13
13
|
== FEATURES/PROBLEMS:
|
14
14
|
|
15
|
+
=== 0.1.4:
|
16
|
+
* Add Thin (http://code.macournoyer.com/thin/) support -- Thin is now the default Webserver
|
17
|
+
* class Public modified to support thin :
|
18
|
+
@headers['X-Sendfile'] = File.join PATH, '..', 'public', file
|
19
|
+
replaced by
|
20
|
+
@body = open( File.join( PATH, '..', 'public', file ) )
|
21
|
+
* Add image_path function
|
22
|
+
* ERB applications are no longer supported. Sorry!
|
23
|
+
* Add script/plugin (beta -- hum... bivouac is beta!)
|
24
|
+
* Update index page
|
25
|
+
|
26
|
+
=== 0.1.3:
|
27
|
+
* add script/console
|
28
|
+
* add Rakefile
|
29
|
+
* Mineur bug corrections
|
30
|
+
|
15
31
|
=== 0.1.2:
|
16
32
|
* You can now use
|
17
33
|
$ ruby script/server webrick [options]
|
@@ -79,7 +95,6 @@ Bivouac is a simple generator for camping[http://code.whytheluckystiff.net/campi
|
|
79
95
|
|
80
96
|
== TODO:
|
81
97
|
|
82
|
-
* add test with mosquito[http://code.whytheluckystiff.net/camping/wiki/MosquitoForBugFreeCamping]
|
83
98
|
* more helpers...
|
84
99
|
|
85
100
|
== SYNOPSIS:
|
@@ -131,6 +146,8 @@ Bivouac is a simple generator for camping[http://code.whytheluckystiff.net/campi
|
|
131
146
|
* camping
|
132
147
|
* mime-types
|
133
148
|
* extra
|
149
|
+
* simple-daemon
|
150
|
+
* mosquito
|
134
151
|
|
135
152
|
== INSTALL:
|
136
153
|
|
data/bin/bivouac
CHANGED
@@ -53,12 +53,12 @@ opts = OptionParser.new do |opts|
|
|
53
53
|
}
|
54
54
|
opts.on("-P", "--port PORT", "Which port to bind to (3301)") { |@conf.port| }
|
55
55
|
opts.on("-a", "--address ADDR", "Address to bind to (0.0.0.0)") { |@conf.address| }
|
56
|
-
opts.on("-o", "--organize TYPE", "Type or organisation (options: JOF:Just On File/GOH:Get Out of Hand/ERB:use Eruby or Erb)") { |@conf.orgtype|
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
}
|
56
|
+
# opts.on("-o", "--organize TYPE", "Type or organisation (options: JOF:Just On File/GOH:Get Out of Hand/ERB:use Eruby or Erb)") { |@conf.orgtype|
|
57
|
+
# unless %w{jof goh erb}.include?( @conf.orgtype.downcase )
|
58
|
+
# puts opts
|
59
|
+
# exit
|
60
|
+
# end
|
61
|
+
# }
|
62
62
|
|
63
63
|
opts.separator ""
|
64
64
|
opts.separator "Common options:"
|
@@ -145,6 +145,10 @@ createFile( "#{@conf.appdir}/script/console", true ) { |io|
|
|
145
145
|
io.puts template( "console" )
|
146
146
|
}
|
147
147
|
|
148
|
+
createFile( "#{@conf.appdir}/script/plugin", true ) { |io|
|
149
|
+
io.puts template( "plugin" )
|
150
|
+
}
|
151
|
+
|
148
152
|
createFile( "#{@conf.appdir}/Rakefile", true ) { |io|
|
149
153
|
io.puts template( "Rakefile" )
|
150
154
|
}
|
@@ -192,6 +192,7 @@ module Bivouac
|
|
192
192
|
def view
|
193
193
|
file_extension = ".rb"
|
194
194
|
if @generation_type.downcase == "erb"
|
195
|
+
raise "ERB applications are no longer supported. Sorry!"
|
195
196
|
file_extension = ".html"
|
196
197
|
end
|
197
198
|
@destination_file = File.dirname( $0 ) + "/../app/views/" + @generation_file_name.underscore + file_extension
|
@@ -236,6 +237,7 @@ module Bivouac
|
|
236
237
|
# Generate scaffold views
|
237
238
|
file_extension = ".rb"
|
238
239
|
if @generation_type.downcase == "erb"
|
240
|
+
raise "ERB applications are no longer supported. Sorry!"
|
239
241
|
file_extension = ".html"
|
240
242
|
end
|
241
243
|
@destination_file = File.dirname( $0 ) + "/../app/views/list_" + @generation_file_name + file_extension
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bivouac/template'
|
3
|
+
require 'fileutils'
|
4
|
+
require File.dirname($0) + '/../config/environment.rb'
|
5
|
+
|
6
|
+
BASE_URL = "http://bivouac.rubyforge.org/svn/trunk/plugins/"
|
7
|
+
|
8
|
+
module Bivouac
|
9
|
+
class Plugin
|
10
|
+
def initialize( argv )
|
11
|
+
# Command (install, list, ...)
|
12
|
+
@command = argv.shift
|
13
|
+
|
14
|
+
# Plugin arguments.
|
15
|
+
# Example :
|
16
|
+
# script/plugin install roo_s_tent will_paginate
|
17
|
+
# @script_arguments = ['roo_s_tent', 'will_paginate']
|
18
|
+
@script_arguments = argv.dup
|
19
|
+
|
20
|
+
# Application environment
|
21
|
+
@app = Bivouac::Environment.new( )
|
22
|
+
|
23
|
+
# ...
|
24
|
+
end
|
25
|
+
|
26
|
+
def run
|
27
|
+
send( @command.to_sym )
|
28
|
+
end
|
29
|
+
|
30
|
+
private
|
31
|
+
|
32
|
+
def install
|
33
|
+
FileUtils::cd( File.dirname($0) + '/../plugins' )
|
34
|
+
|
35
|
+
r = system "svn", "co", "#{BASE_URL}#{@script_arguments}"
|
36
|
+
if r == false
|
37
|
+
raise $?
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
def list
|
42
|
+
puts "Not yet implemented!"
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
Bivouac::Plugin.new( ARGV ).run( )
|
@@ -77,6 +77,23 @@ module BivouacHelpers
|
|
77
77
|
img( options )
|
78
78
|
end
|
79
79
|
|
80
|
+
# Computes the path to an image asset in the public images directory.
|
81
|
+
# Full paths from the document root will be passed through.
|
82
|
+
# Used internally by image_tag to build the image path.
|
83
|
+
#
|
84
|
+
# image_path("edit") # => /public/images/edit
|
85
|
+
# image_path("edit.png") # => /public/images/edit.png
|
86
|
+
# image_path("icons/edit.png") # => /public/images/icons/edit.png
|
87
|
+
# image_path("/icons/edit.png") # => /icons/edit.png
|
88
|
+
# image_path("http://www.railsapplication.com/img/edit.png") # => http://www.railsapplication.com/img/edit.png
|
89
|
+
def image_path( source )
|
90
|
+
if /^http:\/\//.match( source ) || /^\//.match( source )
|
91
|
+
return source
|
92
|
+
else
|
93
|
+
return "/public/images/#{source}"
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
80
97
|
# Creates a link tag of the given +name+ using +address+ has the href for
|
81
98
|
# the link
|
82
99
|
#
|
@@ -5,6 +5,16 @@
|
|
5
5
|
# Copyright (c) <%= Time.now.year %> __My__. All rights reserved.
|
6
6
|
#
|
7
7
|
|
8
|
+
windows_process = false
|
9
|
+
if /Windows/.match( ENV['OS'] )
|
10
|
+
begin
|
11
|
+
require 'win32/process'
|
12
|
+
windows_process = true
|
13
|
+
rescue LoadError => e
|
14
|
+
warn "`win32-process' is not installed!"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
8
18
|
require 'simple-daemon'
|
9
19
|
|
10
20
|
DIRNAME = File.expand_path( File.dirname(__FILE__) )
|
@@ -36,11 +46,18 @@ class <%= @appname %>Daemon < SimpleDaemon::Base
|
|
36
46
|
|
37
47
|
begin
|
38
48
|
if @@use.nil?
|
39
|
-
|
49
|
+
begin
|
50
|
+
require 'thin'
|
51
|
+
|
52
|
+
Rack::Handler::Thin.run Rack::Adapter::Camping.new( <%= @appname %> ), :Host => config.environment.address, :Port => config.environment.port
|
53
|
+
puts "** <%= @appname %> is running at http://#{config.environment.address}:#{config.environment.port}"
|
54
|
+
rescue LoadError
|
55
|
+
require 'mongrel/camping'
|
40
56
|
|
41
|
-
|
42
|
-
|
43
|
-
|
57
|
+
@@server = Mongrel::Camping.start( config.environment.address, config.environment.port, "/", <%= @appname %>)
|
58
|
+
puts "** <%= @appname %> is running at http://#{config.environment.address}:#{config.environment.port}"
|
59
|
+
@@server.run.join
|
60
|
+
end
|
44
61
|
else
|
45
62
|
raise LoadError, "I want to use WEBrick please!"
|
46
63
|
end
|
@@ -91,6 +108,11 @@ while ARGV.size > 0
|
|
91
108
|
IRB.start
|
92
109
|
break
|
93
110
|
when '-d'
|
111
|
+
if /Windows/.match( ENV['OS'] ) and windows_process == false
|
112
|
+
warn "You must install `win32-process' to daemonize this app."
|
113
|
+
exit 1
|
114
|
+
end
|
115
|
+
|
94
116
|
<%= @appname %>Daemon.daemonize
|
95
117
|
break
|
96
118
|
when '-h'
|
@@ -53,7 +53,8 @@ module <%= @appname %>::Controllers
|
|
53
53
|
else
|
54
54
|
type = (MIME::Types.type_for(file)[0] || '/text/plain').to_s
|
55
55
|
@headers['Content-Type'] = type
|
56
|
-
@
|
56
|
+
@body = open( File.join( PATH, '..', 'public', file ) )
|
57
|
+
# @headers['X-Sendfile'] = File.join PATH, '..', 'public', file
|
57
58
|
end
|
58
59
|
end
|
59
60
|
end
|
@@ -204,8 +204,9 @@
|
|
204
204
|
<li>
|
205
205
|
<h3>Browse the documentation</h3>
|
206
206
|
<ul class="links">
|
207
|
+
<li><a href="http://bivouac.rubyforge.org/files/README.html">Bivouac API</a></li>
|
207
208
|
<li><a href="http://camping.rubyforge.org/files/README.html">Camping API</a></li>
|
208
|
-
|
209
|
+
<li><a href="http://stdlib.rubyonrails.org/">Ruby standard library</a></li>
|
209
210
|
<li><a href="http://corelib.rubyonrails.org/">Ruby core</a></li>
|
210
211
|
</ul>
|
211
212
|
</li>
|
@@ -214,7 +215,7 @@
|
|
214
215
|
|
215
216
|
<div id="content">
|
216
217
|
<div id="header">
|
217
|
-
<h1>
|
218
|
+
<h1>Hi Campers</h1>
|
218
219
|
<h2>You can now go in the tent!</h2>
|
219
220
|
</div>
|
220
221
|
|
metadata
CHANGED
@@ -1,76 +1,90 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.4
|
3
|
-
specification_version: 1
|
4
2
|
name: bivouac
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.1.
|
7
|
-
date: 2008-01-30 00:00:00 +01:00
|
8
|
-
summary: Developpe with Camping like you do with Rails
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
email: gregoire.lejeune@free.fr
|
12
|
-
homepage: http://greg.rubyfr.net
|
13
|
-
rubyforge_project:
|
14
|
-
description: Developpe with Camping like you do with Rails
|
15
|
-
autorequire:
|
16
|
-
default_executable:
|
17
|
-
bindir: bin
|
18
|
-
has_rdoc: true
|
19
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 1.8.1
|
24
|
-
version:
|
4
|
+
version: 0.1.4
|
25
5
|
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
29
6
|
authors:
|
30
7
|
- "Gr\xC3\xA9goire Lejeune"
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-03-20 00:00:00 +01:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: camping
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: "1.5"
|
23
|
+
version:
|
24
|
+
- !ruby/object:Gem::Dependency
|
25
|
+
name: mime-types
|
26
|
+
version_requirement:
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: "1.15"
|
32
|
+
version:
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: extra
|
35
|
+
version_requirement:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: "1.0"
|
41
|
+
version:
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: simple-daemon
|
44
|
+
version_requirement:
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 0.1.2
|
50
|
+
version:
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: mosquito
|
53
|
+
version_requirement:
|
54
|
+
version_requirements: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: "0"
|
59
|
+
version:
|
60
|
+
description: Developpe with Camping like you do with Rails
|
61
|
+
email: gregoire.lejeune@free.fr
|
62
|
+
executables:
|
63
|
+
- bivouac
|
64
|
+
extensions: []
|
65
|
+
|
66
|
+
extra_rdoc_files:
|
67
|
+
- README
|
68
|
+
- AUTHORS
|
69
|
+
- COPYING
|
70
|
+
- lib/bivouac/helpers/view/goh/base.rb
|
71
|
+
- lib/bivouac/helpers/view/goh/form.rb
|
72
|
+
- lib/bivouac/helpers/view/goh/html.rb
|
73
|
+
- lib/bivouac/helpers/view/goh/scriptaculous.rb
|
74
|
+
- lib/bivouac/helpers/view/goh/tooltip.rb
|
75
|
+
- lib/bivouac/helpers/view/goh/javascript.rb
|
31
76
|
files:
|
32
77
|
- COPYING
|
33
78
|
- README
|
34
79
|
- AUTHORS
|
35
80
|
- setup.rb
|
36
81
|
- bin/bivouac
|
37
|
-
- doc/rdoc
|
38
|
-
- doc/rdoc/classes
|
39
|
-
- doc/rdoc/classes/BivouacHelpers
|
40
|
-
- doc/rdoc/classes/BivouacHelpers/BaseView.html
|
41
|
-
- doc/rdoc/classes/BivouacHelpers/FormView.html
|
42
|
-
- doc/rdoc/classes/BivouacHelpers/HtmlView.html
|
43
|
-
- doc/rdoc/classes/BivouacHelpers/JavaScriptView.html
|
44
|
-
- doc/rdoc/classes/BivouacHelpers/ScriptAculoUsView.html
|
45
|
-
- doc/rdoc/classes/BivouacHelpers/TooltipView.html
|
46
|
-
- doc/rdoc/classes/BivouacHelpers.html
|
47
|
-
- doc/rdoc/classes/JavaScriptGenerator.html
|
48
|
-
- doc/rdoc/created.rid
|
49
|
-
- doc/rdoc/files
|
50
|
-
- doc/rdoc/files/AUTHORS.html
|
51
|
-
- doc/rdoc/files/COPYING.html
|
52
|
-
- doc/rdoc/files/lib
|
53
|
-
- doc/rdoc/files/lib/bivouac
|
54
|
-
- doc/rdoc/files/lib/bivouac/helpers
|
55
|
-
- doc/rdoc/files/lib/bivouac/helpers/view
|
56
|
-
- doc/rdoc/files/lib/bivouac/helpers/view/goh
|
57
|
-
- doc/rdoc/files/lib/bivouac/helpers/view/goh/base_rb.html
|
58
|
-
- doc/rdoc/files/lib/bivouac/helpers/view/goh/form_rb.html
|
59
|
-
- doc/rdoc/files/lib/bivouac/helpers/view/goh/html_rb.html
|
60
|
-
- doc/rdoc/files/lib/bivouac/helpers/view/goh/javascript_rb.html
|
61
|
-
- doc/rdoc/files/lib/bivouac/helpers/view/goh/scriptaculous_rb.html
|
62
|
-
- doc/rdoc/files/lib/bivouac/helpers/view/goh/tooltip_rb.html
|
63
|
-
- doc/rdoc/files/README.html
|
64
|
-
- doc/rdoc/index.html
|
65
|
-
- doc/rdoc/permalink.gif
|
66
|
-
- doc/rdoc/rdoc-style.css
|
67
|
-
- doc/rdoc/rubyfr.png
|
68
82
|
- test/test_bivouac.rb
|
69
83
|
- test/test_template.rb
|
70
84
|
- lib/bivouac
|
71
85
|
- lib/bivouac/commands
|
72
86
|
- lib/bivouac/commands/generate.rb
|
73
|
-
- lib/bivouac/commands/
|
87
|
+
- lib/bivouac/commands/plugin.rb
|
74
88
|
- lib/bivouac/helpers
|
75
89
|
- lib/bivouac/helpers/view
|
76
90
|
- lib/bivouac/helpers/view/goh
|
@@ -82,12 +96,9 @@ files:
|
|
82
96
|
- lib/bivouac/helpers/view/goh/tooltip.rb
|
83
97
|
- lib/bivouac/template
|
84
98
|
- lib/bivouac/template/application
|
85
|
-
- lib/bivouac/template/application/helpers_erb.rb
|
86
99
|
- lib/bivouac/template/application/helpers_goh.rb
|
87
100
|
- lib/bivouac/template/application/postamble.rb
|
88
|
-
- lib/bivouac/template/application_erb.rb
|
89
101
|
- lib/bivouac/template/application_goh.rb
|
90
|
-
- lib/bivouac/template/application_jof.rb
|
91
102
|
- lib/bivouac/template/console.rb
|
92
103
|
- lib/bivouac/template/environment.rb
|
93
104
|
- lib/bivouac/template/generate
|
@@ -99,18 +110,15 @@ files:
|
|
99
110
|
- lib/bivouac/template/generate/scaffold_controller_create.rb
|
100
111
|
- lib/bivouac/template/generate/scaffold_controller_list.rb
|
101
112
|
- lib/bivouac/template/generate/scaffold_controller_view.rb
|
102
|
-
- lib/bivouac/template/generate/scaffold_view_create_erb.rb
|
103
113
|
- lib/bivouac/template/generate/scaffold_view_create_goh.rb
|
104
|
-
- lib/bivouac/template/generate/scaffold_view_list_erb.rb
|
105
114
|
- lib/bivouac/template/generate/scaffold_view_list_goh.rb
|
106
|
-
- lib/bivouac/template/generate/scaffold_view_view_erb.rb
|
107
115
|
- lib/bivouac/template/generate/scaffold_view_view_goh.rb
|
108
116
|
- lib/bivouac/template/generate/test_begin.rb
|
109
117
|
- lib/bivouac/template/generate/test_end.rb
|
110
118
|
- lib/bivouac/template/generate/test_views.rb
|
111
|
-
- lib/bivouac/template/generate/view_erb.rb
|
112
119
|
- lib/bivouac/template/generate/view_goh.rb
|
113
120
|
- lib/bivouac/template/generate.rb
|
121
|
+
- lib/bivouac/template/plugin.rb
|
114
122
|
- lib/bivouac/template/Rakefile.rb
|
115
123
|
- lib/bivouac/template/server.rb
|
116
124
|
- lib/bivouac/template/static
|
@@ -194,53 +202,6 @@ files:
|
|
194
202
|
- examples/bivouac_sample/script/generate
|
195
203
|
- examples/bivouac_sample/script/server
|
196
204
|
- examples/bivouac_sample/test
|
197
|
-
- examples/blog_erb
|
198
|
-
- examples/blog_erb/app
|
199
|
-
- examples/blog_erb/app/blog.rb
|
200
|
-
- examples/blog_erb/app/controllers
|
201
|
-
- examples/blog_erb/app/controllers/add.rb
|
202
|
-
- examples/blog_erb/app/controllers/comment.rb
|
203
|
-
- examples/blog_erb/app/controllers/edit.rb
|
204
|
-
- examples/blog_erb/app/controllers/index.rb
|
205
|
-
- examples/blog_erb/app/controllers/info.rb
|
206
|
-
- examples/blog_erb/app/controllers/login.rb
|
207
|
-
- examples/blog_erb/app/controllers/logout.rb
|
208
|
-
- examples/blog_erb/app/controllers/view.rb
|
209
|
-
- examples/blog_erb/app/helpers
|
210
|
-
- examples/blog_erb/app/models
|
211
|
-
- examples/blog_erb/app/models/comment.rb
|
212
|
-
- examples/blog_erb/app/models/post.rb
|
213
|
-
- examples/blog_erb/app/models/user.rb
|
214
|
-
- examples/blog_erb/app/views
|
215
|
-
- examples/blog_erb/app/views/add.html
|
216
|
-
- examples/blog_erb/app/views/edit.html
|
217
|
-
- examples/blog_erb/app/views/index.html
|
218
|
-
- examples/blog_erb/app/views/layout.html
|
219
|
-
- examples/blog_erb/app/views/login.html
|
220
|
-
- examples/blog_erb/app/views/logout.html
|
221
|
-
- examples/blog_erb/app/views/view.html
|
222
|
-
- examples/blog_erb/config
|
223
|
-
- examples/blog_erb/config/environment.rb
|
224
|
-
- examples/blog_erb/db
|
225
|
-
- examples/blog_erb/db/Blog.db
|
226
|
-
- examples/blog_erb/db/create.rb
|
227
|
-
- examples/blog_erb/db/migrate
|
228
|
-
- examples/blog_erb/db/migrate/comment.rb
|
229
|
-
- examples/blog_erb/db/migrate/post.rb
|
230
|
-
- examples/blog_erb/db/migrate/user.rb
|
231
|
-
- examples/blog_erb/log
|
232
|
-
- examples/blog_erb/log/Blog.log
|
233
|
-
- examples/blog_erb/public
|
234
|
-
- examples/blog_erb/public/images
|
235
|
-
- examples/blog_erb/public/images/camping.png
|
236
|
-
- examples/blog_erb/public/index.html
|
237
|
-
- examples/blog_erb/public/javascripts
|
238
|
-
- examples/blog_erb/public/stylesheets
|
239
|
-
- examples/blog_erb/public/stylesheets/style.css
|
240
|
-
- examples/blog_erb/script
|
241
|
-
- examples/blog_erb/script/generate
|
242
|
-
- examples/blog_erb/script/server
|
243
|
-
- examples/blog_erb/test
|
244
205
|
- examples/blog_goh
|
245
206
|
- examples/blog_goh/app
|
246
207
|
- examples/blog_goh/app/blog.rb
|
@@ -291,8 +252,9 @@ files:
|
|
291
252
|
- examples/blog_goh/script/generate
|
292
253
|
- examples/blog_goh/script/server
|
293
254
|
- examples/blog_goh/test
|
294
|
-
|
295
|
-
|
255
|
+
has_rdoc: true
|
256
|
+
homepage: http://greg.rubyfr.net
|
257
|
+
post_install_message:
|
296
258
|
rdoc_options:
|
297
259
|
- --quiet
|
298
260
|
- --title
|
@@ -305,65 +267,26 @@ rdoc_options:
|
|
305
267
|
- --inline-source
|
306
268
|
- --exclude
|
307
269
|
- ^(examples|extras|test|lib)\/
|
308
|
-
|
309
|
-
-
|
310
|
-
|
311
|
-
|
312
|
-
-
|
313
|
-
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
-
|
320
|
-
|
321
|
-
|
270
|
+
require_paths:
|
271
|
+
- lib
|
272
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
273
|
+
requirements:
|
274
|
+
- - ">="
|
275
|
+
- !ruby/object:Gem::Version
|
276
|
+
version: 1.8.1
|
277
|
+
version:
|
278
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
279
|
+
requirements:
|
280
|
+
- - ">="
|
281
|
+
- !ruby/object:Gem::Version
|
282
|
+
version: "0"
|
283
|
+
version:
|
322
284
|
requirements: []
|
323
285
|
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
- !ruby/object:Gem::Version
|
332
|
-
version: "1.5"
|
333
|
-
version:
|
334
|
-
- !ruby/object:Gem::Dependency
|
335
|
-
name: mime-types
|
336
|
-
version_requirement:
|
337
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
338
|
-
requirements:
|
339
|
-
- - ">="
|
340
|
-
- !ruby/object:Gem::Version
|
341
|
-
version: "1.15"
|
342
|
-
version:
|
343
|
-
- !ruby/object:Gem::Dependency
|
344
|
-
name: extra
|
345
|
-
version_requirement:
|
346
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
347
|
-
requirements:
|
348
|
-
- - ">="
|
349
|
-
- !ruby/object:Gem::Version
|
350
|
-
version: "1.0"
|
351
|
-
version:
|
352
|
-
- !ruby/object:Gem::Dependency
|
353
|
-
name: simple-daemon
|
354
|
-
version_requirement:
|
355
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
356
|
-
requirements:
|
357
|
-
- - ">="
|
358
|
-
- !ruby/object:Gem::Version
|
359
|
-
version: 0.1.2
|
360
|
-
version:
|
361
|
-
- !ruby/object:Gem::Dependency
|
362
|
-
name: mosquito
|
363
|
-
version_requirement:
|
364
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
365
|
-
requirements:
|
366
|
-
- - ">"
|
367
|
-
- !ruby/object:Gem::Version
|
368
|
-
version: 0.0.0
|
369
|
-
version:
|
286
|
+
rubyforge_project: bivouac
|
287
|
+
rubygems_version: 1.0.1
|
288
|
+
signing_key:
|
289
|
+
specification_version: 2
|
290
|
+
summary: Developpe with Camping like you do with Rails
|
291
|
+
test_files: []
|
292
|
+
|