bivouac 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README +9 -0
- data/bin/bivouac +15 -19
- data/doc/rdoc/classes/BivouacHelpers.html +117 -0
- data/doc/rdoc/classes/BivouacHelpers/BaseView.html +140 -0
- data/doc/rdoc/classes/BivouacHelpers/FormView.html +398 -0
- data/doc/rdoc/classes/BivouacHelpers/HtmlView.html +274 -0
- data/doc/rdoc/classes/BivouacHelpers/JavaScriptView.html +573 -0
- data/doc/rdoc/classes/BivouacHelpers/ScriptAculoUsView.html +258 -0
- data/doc/rdoc/classes/BivouacHelpers/TooltipView.html +158 -0
- data/doc/rdoc/classes/JavaScriptGenerator.html +564 -0
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/AUTHORS.html +14 -0
- data/doc/rdoc/files/COPYING.html +14 -0
- data/doc/rdoc/files/README.html +40 -1
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/base_rb.html +109 -0
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/form_rb.html +109 -0
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/html_rb.html +109 -0
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/javascript_rb.html +113 -0
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/scriptaculous_rb.html +113 -0
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/tooltip_rb.html +109 -0
- data/examples/bivouac_sample/app/bivouac_sample.rb +61 -0
- data/examples/bivouac_sample/app/controllers/autocomplete.rb +24 -0
- data/examples/bivouac_sample/app/controllers/drag_and_drop.rb +11 -0
- data/examples/bivouac_sample/app/controllers/index.rb +7 -0
- data/examples/bivouac_sample/app/controllers/observe.rb +14 -0
- data/examples/bivouac_sample/app/controllers/periodically_call.rb +12 -0
- data/examples/bivouac_sample/app/controllers/remote_form.rb +10 -0
- data/examples/bivouac_sample/app/controllers/remote_link.rb +11 -0
- data/examples/bivouac_sample/app/controllers/submit_remote.rb +17 -0
- data/examples/bivouac_sample/app/controllers/toggle.rb +10 -0
- data/examples/bivouac_sample/app/controllers/toggle_sortable.rb +11 -0
- data/examples/bivouac_sample/app/helpers/_helpers.rb +25 -0
- data/examples/bivouac_sample/app/helpers/source.rb +25 -0
- data/examples/bivouac_sample/app/views/_autocomplete_result.rb +9 -0
- data/examples/bivouac_sample/app/views/_drag_and_drop_result.rb +5 -0
- data/examples/bivouac_sample/app/views/_observe_result.rb +17 -0
- data/examples/bivouac_sample/app/views/_periodically_call_result.rb +5 -0
- data/examples/bivouac_sample/app/views/_remote_link_result.rb +5 -0
- data/examples/bivouac_sample/app/views/_sortable_result.rb +5 -0
- data/examples/bivouac_sample/app/views/_submit_remote_result.rb +5 -0
- data/examples/bivouac_sample/app/views/autocomplete.rb +28 -0
- data/examples/bivouac_sample/app/views/drag_and_drop.rb +35 -0
- data/examples/bivouac_sample/app/views/index.rb +19 -0
- data/examples/bivouac_sample/app/views/observe.rb +19 -0
- data/examples/bivouac_sample/app/views/periodically_call.rb +17 -0
- data/examples/bivouac_sample/app/views/remote_form.rb +19 -0
- data/examples/bivouac_sample/app/views/remote_link.rb +20 -0
- data/examples/bivouac_sample/app/views/submit_remote.rb +21 -0
- data/examples/bivouac_sample/app/views/toggle.rb +44 -0
- data/examples/bivouac_sample/app/views/toggle_sortable.rb +52 -0
- data/examples/bivouac_sample/config/environment.rb +37 -0
- data/examples/bivouac_sample/config/postamble.rb +62 -0
- data/examples/bivouac_sample/log/BivouacSample.log +77 -0
- data/examples/bivouac_sample/public/images/camping.png +0 -0
- data/examples/bivouac_sample/public/index.html +242 -0
- data/examples/bivouac_sample/public/javascripts/builder.js +131 -0
- data/examples/bivouac_sample/public/javascripts/controls.js +835 -0
- data/examples/bivouac_sample/public/javascripts/dragdrop.js +944 -0
- data/examples/bivouac_sample/public/javascripts/effects.js +1090 -0
- data/examples/bivouac_sample/public/javascripts/prototype.js +2515 -0
- data/examples/bivouac_sample/public/javascripts/scriptaculous.js +51 -0
- data/examples/bivouac_sample/public/javascripts/slider.js +278 -0
- data/examples/bivouac_sample/public/javascripts/tooltip.js +208 -0
- data/examples/bivouac_sample/public/javascripts/unittest.js +564 -0
- data/examples/bivouac_sample/public/stylesheets/autocomplete.css +22 -0
- data/examples/bivouac_sample/public/stylesheets/coderay.css +104 -0
- data/examples/bivouac_sample/script/generate +3 -0
- data/examples/bivouac_sample/script/server +5 -0
- data/lib/bivouac/helpers/view/goh/base.rb +16 -0
- data/lib/bivouac/helpers/view/goh/form.rb +170 -0
- data/lib/bivouac/helpers/view/goh/html.rb +138 -0
- data/lib/bivouac/helpers/view/goh/javascript.rb +532 -0
- data/lib/bivouac/helpers/view/goh/scriptaculous.rb +133 -0
- data/lib/bivouac/helpers/view/goh/tooltip.rb +33 -0
- data/lib/bivouac/template.rb +3 -3
- data/lib/bivouac/template/application/helpers_erb.rb +11 -0
- data/lib/bivouac/template/application/helpers_goh.rb +25 -0
- data/lib/bivouac/template/application/postamble.rb +62 -0
- data/lib/bivouac/template/application_erb.rb +4 -0
- data/lib/bivouac/template/application_goh.rb +4 -0
- data/lib/bivouac/template/environment.rb +19 -5
- data/lib/bivouac/template/server.rb +1 -1
- data/lib/bivouac/template/static/autocomplete.css +22 -0
- data/lib/bivouac/template/static/builder.js +131 -0
- data/lib/bivouac/template/static/controls.js +835 -0
- data/lib/bivouac/template/static/dragdrop.js +944 -0
- data/lib/bivouac/template/static/effects.js +1090 -0
- data/lib/bivouac/template/static/prototype.js +2515 -0
- data/lib/bivouac/template/static/scriptaculous.js +51 -0
- data/lib/bivouac/template/static/slider.js +278 -0
- data/lib/bivouac/template/static/tooltip.js +208 -0
- data/lib/bivouac/template/static/unittest.js +564 -0
- metadata +124 -7
- data/lib/bivouac/template/application/postamble_cgi.rb +0 -8
- data/lib/bivouac/template/application/postamble_fastcgi.rb +0 -8
- data/lib/bivouac/template/application/postamble_mongrel.rb +0 -19
- data/lib/bivouac/template/application/postamble_none.rb +0 -1
- data/lib/bivouac/template/application/postamble_webrick.rb +0 -19
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: bivouac
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0.
|
7
|
-
date: 2007-
|
6
|
+
version: 0.0.7
|
7
|
+
date: 2007-09-12 00:00:00 +02:00
|
8
8
|
summary: Developpe with Camping like you do with Rails
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -36,10 +36,30 @@ files:
|
|
36
36
|
- bin/bivouac
|
37
37
|
- doc/rdoc
|
38
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
|
39
48
|
- doc/rdoc/created.rid
|
40
49
|
- doc/rdoc/files
|
41
50
|
- doc/rdoc/files/AUTHORS.html
|
42
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
|
43
63
|
- doc/rdoc/files/README.html
|
44
64
|
- doc/rdoc/index.html
|
45
65
|
- doc/rdoc/permalink.gif
|
@@ -51,13 +71,20 @@ files:
|
|
51
71
|
- lib/bivouac/commands
|
52
72
|
- lib/bivouac/commands/generate.rb
|
53
73
|
- lib/bivouac/commands/server.rb
|
74
|
+
- lib/bivouac/helpers
|
75
|
+
- lib/bivouac/helpers/view
|
76
|
+
- lib/bivouac/helpers/view/goh
|
77
|
+
- lib/bivouac/helpers/view/goh/base.rb
|
78
|
+
- lib/bivouac/helpers/view/goh/form.rb
|
79
|
+
- lib/bivouac/helpers/view/goh/html.rb
|
80
|
+
- lib/bivouac/helpers/view/goh/javascript.rb
|
81
|
+
- lib/bivouac/helpers/view/goh/scriptaculous.rb
|
82
|
+
- lib/bivouac/helpers/view/goh/tooltip.rb
|
54
83
|
- lib/bivouac/template
|
55
84
|
- lib/bivouac/template/application
|
56
|
-
- lib/bivouac/template/application/
|
57
|
-
- lib/bivouac/template/application/
|
58
|
-
- lib/bivouac/template/application/
|
59
|
-
- lib/bivouac/template/application/postamble_none.rb
|
60
|
-
- lib/bivouac/template/application/postamble_webrick.rb
|
85
|
+
- lib/bivouac/template/application/helpers_erb.rb
|
86
|
+
- lib/bivouac/template/application/helpers_goh.rb
|
87
|
+
- lib/bivouac/template/application/postamble.rb
|
61
88
|
- lib/bivouac/template/application_erb.rb
|
62
89
|
- lib/bivouac/template/application_goh.rb
|
63
90
|
- lib/bivouac/template/application_jof.rb
|
@@ -81,11 +108,86 @@ files:
|
|
81
108
|
- lib/bivouac/template/generate.rb
|
82
109
|
- lib/bivouac/template/server.rb
|
83
110
|
- lib/bivouac/template/static
|
111
|
+
- lib/bivouac/template/static/autocomplete.css
|
112
|
+
- lib/bivouac/template/static/builder.js
|
84
113
|
- lib/bivouac/template/static/camping.png
|
114
|
+
- lib/bivouac/template/static/controls.js
|
115
|
+
- lib/bivouac/template/static/dragdrop.js
|
116
|
+
- lib/bivouac/template/static/effects.js
|
85
117
|
- lib/bivouac/template/static/index.html
|
86
118
|
- lib/bivouac/template/static/index.rb
|
119
|
+
- lib/bivouac/template/static/prototype.js
|
120
|
+
- lib/bivouac/template/static/scriptaculous.js
|
121
|
+
- lib/bivouac/template/static/slider.js
|
122
|
+
- lib/bivouac/template/static/tooltip.js
|
123
|
+
- lib/bivouac/template/static/unittest.js
|
87
124
|
- lib/bivouac/template.rb
|
88
125
|
- lib/bivouac.rb
|
126
|
+
- examples/bivouac_sample
|
127
|
+
- examples/bivouac_sample/app
|
128
|
+
- examples/bivouac_sample/app/bivouac_sample.rb
|
129
|
+
- examples/bivouac_sample/app/controllers
|
130
|
+
- examples/bivouac_sample/app/controllers/autocomplete.rb
|
131
|
+
- examples/bivouac_sample/app/controllers/drag_and_drop.rb
|
132
|
+
- examples/bivouac_sample/app/controllers/index.rb
|
133
|
+
- examples/bivouac_sample/app/controllers/observe.rb
|
134
|
+
- examples/bivouac_sample/app/controllers/periodically_call.rb
|
135
|
+
- examples/bivouac_sample/app/controllers/remote_form.rb
|
136
|
+
- examples/bivouac_sample/app/controllers/remote_link.rb
|
137
|
+
- examples/bivouac_sample/app/controllers/submit_remote.rb
|
138
|
+
- examples/bivouac_sample/app/controllers/toggle.rb
|
139
|
+
- examples/bivouac_sample/app/controllers/toggle_sortable.rb
|
140
|
+
- examples/bivouac_sample/app/helpers
|
141
|
+
- examples/bivouac_sample/app/helpers/_helpers.rb
|
142
|
+
- examples/bivouac_sample/app/helpers/source.rb
|
143
|
+
- examples/bivouac_sample/app/models
|
144
|
+
- examples/bivouac_sample/app/views
|
145
|
+
- examples/bivouac_sample/app/views/_autocomplete_result.rb
|
146
|
+
- examples/bivouac_sample/app/views/_drag_and_drop_result.rb
|
147
|
+
- examples/bivouac_sample/app/views/_observe_result.rb
|
148
|
+
- examples/bivouac_sample/app/views/_periodically_call_result.rb
|
149
|
+
- examples/bivouac_sample/app/views/_remote_link_result.rb
|
150
|
+
- examples/bivouac_sample/app/views/_sortable_result.rb
|
151
|
+
- examples/bivouac_sample/app/views/_submit_remote_result.rb
|
152
|
+
- examples/bivouac_sample/app/views/autocomplete.rb
|
153
|
+
- examples/bivouac_sample/app/views/drag_and_drop.rb
|
154
|
+
- examples/bivouac_sample/app/views/index.rb
|
155
|
+
- examples/bivouac_sample/app/views/observe.rb
|
156
|
+
- examples/bivouac_sample/app/views/periodically_call.rb
|
157
|
+
- examples/bivouac_sample/app/views/remote_form.rb
|
158
|
+
- examples/bivouac_sample/app/views/remote_link.rb
|
159
|
+
- examples/bivouac_sample/app/views/submit_remote.rb
|
160
|
+
- examples/bivouac_sample/app/views/toggle.rb
|
161
|
+
- examples/bivouac_sample/app/views/toggle_sortable.rb
|
162
|
+
- examples/bivouac_sample/config
|
163
|
+
- examples/bivouac_sample/config/environment.rb
|
164
|
+
- examples/bivouac_sample/config/postamble.rb
|
165
|
+
- examples/bivouac_sample/db
|
166
|
+
- examples/bivouac_sample/db/migrate
|
167
|
+
- examples/bivouac_sample/lib
|
168
|
+
- examples/bivouac_sample/log
|
169
|
+
- examples/bivouac_sample/log/BivouacSample.log
|
170
|
+
- examples/bivouac_sample/public
|
171
|
+
- examples/bivouac_sample/public/images
|
172
|
+
- examples/bivouac_sample/public/images/camping.png
|
173
|
+
- examples/bivouac_sample/public/index.html
|
174
|
+
- examples/bivouac_sample/public/javascripts
|
175
|
+
- examples/bivouac_sample/public/javascripts/builder.js
|
176
|
+
- examples/bivouac_sample/public/javascripts/controls.js
|
177
|
+
- examples/bivouac_sample/public/javascripts/dragdrop.js
|
178
|
+
- examples/bivouac_sample/public/javascripts/effects.js
|
179
|
+
- examples/bivouac_sample/public/javascripts/prototype.js
|
180
|
+
- examples/bivouac_sample/public/javascripts/scriptaculous.js
|
181
|
+
- examples/bivouac_sample/public/javascripts/slider.js
|
182
|
+
- examples/bivouac_sample/public/javascripts/tooltip.js
|
183
|
+
- examples/bivouac_sample/public/javascripts/unittest.js
|
184
|
+
- examples/bivouac_sample/public/stylesheets
|
185
|
+
- examples/bivouac_sample/public/stylesheets/autocomplete.css
|
186
|
+
- examples/bivouac_sample/public/stylesheets/coderay.css
|
187
|
+
- examples/bivouac_sample/script
|
188
|
+
- examples/bivouac_sample/script/generate
|
189
|
+
- examples/bivouac_sample/script/server
|
190
|
+
- examples/bivouac_sample/test
|
89
191
|
- examples/blog_erb
|
90
192
|
- examples/blog_erb/app
|
91
193
|
- examples/blog_erb/app/blog.rb
|
@@ -201,6 +303,12 @@ extra_rdoc_files:
|
|
201
303
|
- README
|
202
304
|
- AUTHORS
|
203
305
|
- COPYING
|
306
|
+
- lib/bivouac/helpers/view/goh/base.rb
|
307
|
+
- lib/bivouac/helpers/view/goh/form.rb
|
308
|
+
- lib/bivouac/helpers/view/goh/html.rb
|
309
|
+
- lib/bivouac/helpers/view/goh/scriptaculous.rb
|
310
|
+
- lib/bivouac/helpers/view/goh/tooltip.rb
|
311
|
+
- lib/bivouac/helpers/view/goh/javascript.rb
|
204
312
|
executables:
|
205
313
|
- bivouac
|
206
314
|
extensions: []
|
@@ -235,3 +343,12 @@ dependencies:
|
|
235
343
|
- !ruby/object:Gem::Version
|
236
344
|
version: "1.0"
|
237
345
|
version:
|
346
|
+
- !ruby/object:Gem::Dependency
|
347
|
+
name: simple-daemon
|
348
|
+
version_requirement:
|
349
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
350
|
+
requirements:
|
351
|
+
- - ">="
|
352
|
+
- !ruby/object:Gem::Version
|
353
|
+
version: 0.1.1
|
354
|
+
version:
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# CGI postamble
|
2
|
-
|
3
|
-
if __FILE__ == $0
|
4
|
-
<%= @appname %>::Models::Base.establish_connection :adapter => 'sqlite3', :database => File.dirname(__FILE__) + "/../db/<%= @appname %>.db"
|
5
|
-
<%= @appname %>::Models::Base.logger = Logger.new(File.dirname(__FILE__) + "/../log/<%= @appname %>.log")
|
6
|
-
<%= @appname %>.create if <%= @appname %>.respond_to? :create
|
7
|
-
puts <%= @appname %>.run
|
8
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# FastCGI postamble
|
2
|
-
if __FILE__ == $0
|
3
|
-
require 'camping/fastcgi'
|
4
|
-
<%= @appname %>::Models::Base.establish_connection :adapter => 'sqlite3', :database => File.dirname(__FILE__) + "/../db/<%= @appname %>.db"
|
5
|
-
<%= @appname %>::Models::Base.logger = Logger.new(File.dirname(__FILE__) + "/../log/<%= @appname %>.log")
|
6
|
-
<%= @appname %>.create if <%= @appname %>.respond_to? :create
|
7
|
-
Camping::FastCGI.start(<%= @appname %>)
|
8
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# Mongrel postamble
|
2
|
-
if __FILE__ == $0
|
3
|
-
require 'mongrel/camping'
|
4
|
-
|
5
|
-
<%= @appname %>::Models::Base.establish_connection :adapter => 'sqlite3', :database => File.dirname(__FILE__) + "/../db/<%= @appname %>.db"
|
6
|
-
<%= @appname %>::Models::Base.logger = Logger.new(File.dirname(__FILE__) + "/../log/<%= @appname %>.log")
|
7
|
-
<%= @appname %>.create if <%= @appname %>.respond_to? :create
|
8
|
-
<%= @appname %>::Models::Base.threaded_connections = false
|
9
|
-
|
10
|
-
s = Mongrel::Camping.start("<%= @server_address %>", <%= @server_port %>, "/", <%= @appname %>)
|
11
|
-
|
12
|
-
# This lets Ctrl+C shut down your server
|
13
|
-
trap(:INT) do
|
14
|
-
s.stop
|
15
|
-
end
|
16
|
-
|
17
|
-
puts "** <%= @appname %> is running at http://<%= @server_address %>:<%= @server_port %>/"
|
18
|
-
s.run.join
|
19
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
# No postamble
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# WEBrick postamble
|
2
|
-
if __FILE__ == $0
|
3
|
-
require 'webrick/httpserver'
|
4
|
-
require 'camping/webrick'
|
5
|
-
|
6
|
-
<%= @appname %>::Models::Base.establish_connection :adapter => 'sqlite3', :database => File.dirname(__FILE__) + "/../db/<%= @appname %>.db"
|
7
|
-
<%= @appname %>::Models::Base.logger = Logger.new(File.dirname(__FILE__) + "/../log/<%= @appname %>.log")
|
8
|
-
<%= @appname %>.create if <%= @appname %>.respond_to? :create
|
9
|
-
s = WEBrick::HTTPServer.new :BindAddress => "<%= @server_address %>", :Port => <%= @server_port %>
|
10
|
-
s.mount "/", WEBrick::CampingHandler, <%= @appname %>
|
11
|
-
|
12
|
-
# This lets Ctrl+C shut down your server
|
13
|
-
trap(:INT) do
|
14
|
-
s.shutdown
|
15
|
-
end
|
16
|
-
|
17
|
-
puts "** <%= @appname %> is running at http://<%= @server_address %>:<%= @server_port %>/"
|
18
|
-
s.start
|
19
|
-
end
|