bivouac 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. data/AUTHORS +0 -0
  2. data/COPYING +0 -0
  3. data/README +14 -2
  4. data/bin/bivouac +0 -0
  5. data/examples/blog_erb/app/controllers/add.rb +19 -0
  6. data/examples/blog_erb/app/controllers/blog.rb +84 -0
  7. data/examples/blog_erb/app/controllers/comment.rb +9 -0
  8. data/examples/blog_erb/app/controllers/edit.rb +18 -0
  9. data/examples/blog_erb/app/controllers/index.rb +8 -0
  10. data/examples/blog_erb/app/controllers/info.rb +11 -0
  11. data/examples/blog_erb/app/controllers/login.rb +15 -0
  12. data/examples/blog_erb/app/controllers/logout.rb +8 -0
  13. data/examples/blog_erb/app/controllers/view.rb +9 -0
  14. data/examples/blog_erb/app/models/comment.rb +5 -0
  15. data/examples/blog_erb/app/models/post.rb +5 -0
  16. data/examples/blog_erb/app/models/user.rb +4 -0
  17. data/examples/blog_erb/app/views/add.html +18 -0
  18. data/examples/blog_erb/app/views/edit.html +18 -0
  19. data/examples/blog_erb/app/views/index.html +12 -0
  20. data/examples/blog_erb/app/views/layout.html +12 -0
  21. data/examples/blog_erb/app/views/login.html +2 -0
  22. data/examples/blog_erb/app/views/logout.html +2 -0
  23. data/examples/blog_erb/app/views/view.html +20 -0
  24. data/examples/blog_erb/config/environment.rb +27 -0
  25. data/examples/blog_erb/db/create.rb +8 -0
  26. data/examples/blog_erb/db/migrate/comment.rb +15 -0
  27. data/examples/blog_erb/db/migrate/post.rb +15 -0
  28. data/examples/blog_erb/db/migrate/user.rb +15 -0
  29. data/examples/blog_erb/log/Blog.log +112 -0
  30. data/examples/blog_erb/public/images/camping.png +0 -0
  31. data/examples/blog_erb/public/index.html +242 -0
  32. data/examples/blog_erb/public/stylesheets/style.css +10 -0
  33. data/examples/blog_erb/script/generate +3 -0
  34. data/examples/blog_erb/script/server +5 -0
  35. data/examples/blog_goh/app/controllers/add.rb +19 -0
  36. data/examples/blog_goh/app/controllers/blog.rb +76 -0
  37. data/examples/blog_goh/app/controllers/comment.rb +9 -0
  38. data/examples/blog_goh/app/controllers/edit.rb +18 -0
  39. data/examples/blog_goh/app/controllers/index.rb +8 -0
  40. data/examples/blog_goh/app/controllers/info.rb +11 -0
  41. data/examples/blog_goh/app/controllers/login.rb +15 -0
  42. data/examples/blog_goh/app/controllers/logout.rb +8 -0
  43. data/examples/blog_goh/app/controllers/view.rb +9 -0
  44. data/examples/blog_goh/app/models/comment.rb +5 -0
  45. data/examples/blog_goh/app/models/post.rb +5 -0
  46. data/examples/blog_goh/app/models/user.rb +4 -0
  47. data/examples/blog_goh/app/views/_form.rb +16 -0
  48. data/examples/blog_goh/app/views/_login.rb +13 -0
  49. data/examples/blog_goh/app/views/_post.rb +9 -0
  50. data/examples/blog_goh/app/views/add.rb +9 -0
  51. data/examples/blog_goh/app/views/edit.rb +9 -0
  52. data/examples/blog_goh/app/views/index.rb +12 -0
  53. data/examples/blog_goh/app/views/layout.rb +18 -0
  54. data/examples/blog_goh/app/views/login.rb +6 -0
  55. data/examples/blog_goh/app/views/logout.rb +6 -0
  56. data/examples/blog_goh/app/views/view.rb +20 -0
  57. data/examples/blog_goh/config/environment.rb +27 -0
  58. data/examples/blog_goh/db/create.rb +4 -0
  59. data/examples/blog_goh/db/migrate/comment.rb +15 -0
  60. data/examples/blog_goh/db/migrate/post.rb +15 -0
  61. data/examples/blog_goh/db/migrate/user.rb +15 -0
  62. data/examples/blog_goh/log/camping.log +19 -0
  63. data/examples/blog_goh/public/images/camping.png +0 -0
  64. data/examples/blog_goh/public/index.html +242 -0
  65. data/examples/blog_goh/public/stylesheets/style.css +10 -0
  66. data/examples/blog_goh/script/generate +3 -0
  67. data/examples/blog_goh/script/server +5 -0
  68. data/lib/bivouac/commands/generate.rb +87 -40
  69. data/lib/bivouac/commands/server.rb +0 -0
  70. data/lib/bivouac/template/application/postamble_cgi.rb +2 -2
  71. data/lib/bivouac/template/application/postamble_fastcgi.rb +2 -2
  72. data/lib/bivouac/template/application/postamble_mongrel.rb +0 -0
  73. data/lib/bivouac/template/application/postamble_none.rb +0 -0
  74. data/lib/bivouac/template/application/postamble_webrick.rb +2 -2
  75. data/lib/bivouac/template/application_erb.rb +3 -1
  76. data/lib/bivouac/template/application_goh.rb +1 -0
  77. data/lib/bivouac/template/application_jof.rb +5 -0
  78. data/lib/bivouac/template/environment.rb +0 -0
  79. data/lib/bivouac/template/generate/controller.rb +1 -1
  80. data/lib/bivouac/template/generate/create.rb +5 -1
  81. data/lib/bivouac/template/generate/migrate.rb +0 -0
  82. data/lib/bivouac/template/generate/model.rb +0 -0
  83. data/lib/bivouac/template/generate/view_erb.rb +2 -0
  84. data/lib/bivouac/template/generate/{view.rb → view_goh.rb} +0 -0
  85. data/lib/bivouac/template/generate.rb +0 -0
  86. data/lib/bivouac/template/server.rb +0 -0
  87. data/lib/bivouac/template/static/camping.png +0 -0
  88. data/lib/bivouac/template/static/index.html +0 -0
  89. data/lib/bivouac/template/static/index.rb +0 -0
  90. data/lib/bivouac/template.rb +0 -0
  91. data/lib/bivouac.rb +0 -0
  92. data/setup.rb +1585 -0
  93. data/test/test_bivouac.rb +0 -0
  94. data/test/test_template.rb +0 -0
  95. metadata +99 -14
  96. data/doc/created.rid +0 -1
  97. data/doc/files/AUTHORS.html +0 -95
  98. data/doc/files/COPYING.html +0 -519
  99. data/doc/files/README.html +0 -160
  100. data/doc/index.html +0 -10
  101. data/doc/permalink.gif +0 -0
  102. data/doc/rdoc-style.css +0 -106
  103. data/doc/rubyfr.png +0 -0
data/test/test_bivouac.rb CHANGED
File without changes
File without changes
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.2
7
- date: 2007-07-31 00:00:00 +02:00
6
+ version: 0.0.3
7
+ date: 2007-08-01 00:00:00 +02:00
8
8
  summary: Developpe with Camping like you do with Rails
9
9
  require_paths:
10
10
  - lib
@@ -32,17 +32,8 @@ files:
32
32
  - COPYING
33
33
  - README
34
34
  - AUTHORS
35
+ - setup.rb
35
36
  - bin/bivouac
36
- - doc/classes
37
- - doc/created.rid
38
- - doc/files
39
- - doc/files/AUTHORS.html
40
- - doc/files/COPYING.html
41
- - doc/files/README.html
42
- - doc/index.html
43
- - doc/permalink.gif
44
- - doc/rdoc-style.css
45
- - doc/rubyfr.png
46
37
  - test/test_bivouac.rb
47
38
  - test/test_template.rb
48
39
  - lib/bivouac
@@ -65,7 +56,8 @@ files:
65
56
  - lib/bivouac/template/generate/create.rb
66
57
  - lib/bivouac/template/generate/migrate.rb
67
58
  - lib/bivouac/template/generate/model.rb
68
- - lib/bivouac/template/generate/view.rb
59
+ - lib/bivouac/template/generate/view_erb.rb
60
+ - lib/bivouac/template/generate/view_goh.rb
69
61
  - lib/bivouac/template/generate.rb
70
62
  - lib/bivouac/template/server.rb
71
63
  - lib/bivouac/template/static
@@ -74,6 +66,99 @@ files:
74
66
  - lib/bivouac/template/static/index.rb
75
67
  - lib/bivouac/template.rb
76
68
  - lib/bivouac.rb
69
+ - examples/blog_erb
70
+ - examples/blog_erb/app
71
+ - examples/blog_erb/app/controllers
72
+ - examples/blog_erb/app/controllers/add.rb
73
+ - examples/blog_erb/app/controllers/blog.rb
74
+ - examples/blog_erb/app/controllers/comment.rb
75
+ - examples/blog_erb/app/controllers/edit.rb
76
+ - examples/blog_erb/app/controllers/index.rb
77
+ - examples/blog_erb/app/controllers/info.rb
78
+ - examples/blog_erb/app/controllers/login.rb
79
+ - examples/blog_erb/app/controllers/logout.rb
80
+ - examples/blog_erb/app/controllers/view.rb
81
+ - examples/blog_erb/app/helpers
82
+ - examples/blog_erb/app/models
83
+ - examples/blog_erb/app/models/comment.rb
84
+ - examples/blog_erb/app/models/post.rb
85
+ - examples/blog_erb/app/models/user.rb
86
+ - examples/blog_erb/app/views
87
+ - examples/blog_erb/app/views/add.html
88
+ - examples/blog_erb/app/views/edit.html
89
+ - examples/blog_erb/app/views/index.html
90
+ - examples/blog_erb/app/views/layout.html
91
+ - examples/blog_erb/app/views/login.html
92
+ - examples/blog_erb/app/views/logout.html
93
+ - examples/blog_erb/app/views/view.html
94
+ - examples/blog_erb/config
95
+ - examples/blog_erb/config/environment.rb
96
+ - examples/blog_erb/db
97
+ - examples/blog_erb/db/create.rb
98
+ - examples/blog_erb/db/migrate
99
+ - examples/blog_erb/db/migrate/comment.rb
100
+ - examples/blog_erb/db/migrate/post.rb
101
+ - examples/blog_erb/db/migrate/user.rb
102
+ - examples/blog_erb/log
103
+ - examples/blog_erb/log/Blog.log
104
+ - examples/blog_erb/public
105
+ - examples/blog_erb/public/images
106
+ - examples/blog_erb/public/images/camping.png
107
+ - examples/blog_erb/public/index.html
108
+ - examples/blog_erb/public/javascripts
109
+ - examples/blog_erb/public/stylesheets
110
+ - examples/blog_erb/public/stylesheets/style.css
111
+ - examples/blog_erb/script
112
+ - examples/blog_erb/script/generate
113
+ - examples/blog_erb/script/server
114
+ - examples/blog_goh
115
+ - examples/blog_goh/app
116
+ - examples/blog_goh/app/controllers
117
+ - examples/blog_goh/app/controllers/add.rb
118
+ - examples/blog_goh/app/controllers/blog.rb
119
+ - examples/blog_goh/app/controllers/comment.rb
120
+ - examples/blog_goh/app/controllers/edit.rb
121
+ - examples/blog_goh/app/controllers/index.rb
122
+ - examples/blog_goh/app/controllers/info.rb
123
+ - examples/blog_goh/app/controllers/login.rb
124
+ - examples/blog_goh/app/controllers/logout.rb
125
+ - examples/blog_goh/app/controllers/view.rb
126
+ - examples/blog_goh/app/helpers
127
+ - examples/blog_goh/app/models
128
+ - examples/blog_goh/app/models/comment.rb
129
+ - examples/blog_goh/app/models/post.rb
130
+ - examples/blog_goh/app/models/user.rb
131
+ - examples/blog_goh/app/views
132
+ - examples/blog_goh/app/views/_form.rb
133
+ - examples/blog_goh/app/views/_login.rb
134
+ - examples/blog_goh/app/views/_post.rb
135
+ - examples/blog_goh/app/views/add.rb
136
+ - examples/blog_goh/app/views/edit.rb
137
+ - examples/blog_goh/app/views/index.rb
138
+ - examples/blog_goh/app/views/layout.rb
139
+ - examples/blog_goh/app/views/login.rb
140
+ - examples/blog_goh/app/views/logout.rb
141
+ - examples/blog_goh/app/views/view.rb
142
+ - examples/blog_goh/config
143
+ - examples/blog_goh/config/environment.rb
144
+ - examples/blog_goh/db
145
+ - examples/blog_goh/db/create.rb
146
+ - examples/blog_goh/db/migrate
147
+ - examples/blog_goh/db/migrate/comment.rb
148
+ - examples/blog_goh/db/migrate/post.rb
149
+ - examples/blog_goh/db/migrate/user.rb
150
+ - examples/blog_goh/log
151
+ - examples/blog_goh/log/camping.log
152
+ - examples/blog_goh/public
153
+ - examples/blog_goh/public/images
154
+ - examples/blog_goh/public/images/camping.png
155
+ - examples/blog_goh/public/index.html
156
+ - examples/blog_goh/public/javascripts
157
+ - examples/blog_goh/public/stylesheets
158
+ - examples/blog_goh/public/stylesheets/style.css
159
+ - examples/blog_goh/script
160
+ - examples/blog_goh/script/generate
161
+ - examples/blog_goh/script/server
77
162
  test_files: []
78
163
 
79
164
  rdoc_options:
@@ -87,7 +172,7 @@ rdoc_options:
87
172
  - README
88
173
  - --inline-source
89
174
  - --exclude
90
- - ^(examples|extras|test|bin|lib)\/
175
+ - ^(examples|extras|test|lib)\/
91
176
  extra_rdoc_files:
92
177
  - README
93
178
  - AUTHORS
data/doc/created.rid DELETED
@@ -1 +0,0 @@
1
- Mon, 30 Jul 2007 17:36:15 +0200
@@ -1,95 +0,0 @@
1
-
2
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3
- <html>
4
- <head>
5
- <title>
6
- Bivouac Documentation &raquo; File: AUTHORS
7
- </title>
8
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
10
- <script language="JavaScript" type="text/javascript">
11
- // <![CDATA[
12
-
13
- function toggleSource( id )
14
- {
15
- var elem
16
- var link
17
-
18
- if( document.getElementById )
19
- {
20
- elem = document.getElementById( id )
21
- link = document.getElementById( "l_" + id )
22
- }
23
- else if ( document.all )
24
- {
25
- elem = eval( "document.all." + id )
26
- link = eval( "document.all.l_" + id )
27
- }
28
- else
29
- return false;
30
-
31
- if( elem.style.display == "block" )
32
- {
33
- elem.style.display = "none"
34
- link.innerHTML = "show source"
35
- }
36
- else
37
- {
38
- elem.style.display = "block"
39
- link.innerHTML = "hide source"
40
- }
41
- }
42
-
43
- function openCode( url )
44
- {
45
- window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" )
46
- }
47
- // ]]>
48
- </script>
49
- </head>
50
- <body>
51
- <!--
52
- <div id="menu">
53
- <h3 class="title">File: AUTHORS</h3>
54
- </div>
55
- -->
56
- <div id="fullpage">
57
- <div id="pager">
58
- <table>
59
- <tr><td><img src="../rubyfr.png" /></td>
60
- <td id="pagertd">
61
- <strong># File: AUTHORS<br />
62
- [
63
- "<a href="../files/README.html" value="File: README">README</a>",
64
- "<a href="../files/COPYING.html" value="File: COPYING">COPYING</a>",
65
- "<a href="../files/AUTHORS.html" value="File: AUTHORS">AUTHORS</a>",
66
- <a href="http://greg.rubyfr.net">nil</a>].each do<br />
67
- end</strong>
68
- </td></tr>
69
- </table>
70
- </ul>
71
- </div>
72
-
73
- <div id="AUTHORS" class="page_shade">
74
- <div class="page">
75
- <div class="header">
76
- <div class="path">AUTHORS / Fri May 11 09:13:59 +0200 2007</div>
77
- </div>
78
-
79
- <p>
80
- Gregoire Lejeune &lt;glejeune.lejeune@free.fr&gt;
81
- </p>
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
- </div>
90
- </div>
91
-
92
-
93
- </div>
94
- </body>
95
- </html>