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/doc/rdoc-style.css DELETED
@@ -1,106 +0,0 @@
1
-
2
- body {
3
- font: normal 14px verdana,arial,'Bitstream Vera Sans',helvetica,sans-serif;
4
- line-height: 160%;
5
- padding: 0; margin: 0;
6
- margin-bottom: 30px;
7
- /* background-color: #402; */
8
- background-color: #CCCC99;
9
- }
10
- h1, h2, h3, h4 {
11
- font-family: Utopia, Georgia, serif;
12
- font-weight: bold;
13
- letter-spacing: -0.018em;
14
- }
15
- h1 { font-size: 24px; margin: .15em 1em 0 0 }
16
- h2 { font-size: 24px }
17
- h3 { font-size: 19px }
18
- h4 { font-size: 17px; font-weight: normal; }
19
- h4.ruled { border-bottom: solid 1px #CC9; }
20
- h2.ruled { padding-top: 35px; border-top: solid 1px #AA5; }
21
-
22
- /* Link styles */
23
- :link, :visited {
24
-
25
- }
26
- :link:hover, :visited:hover {
27
-
28
- }
29
- #fullpage {
30
- width: 720px;
31
- padding-top: 20px;
32
- margin: 0 auto;
33
- }
34
- .page_shade, .page {
35
- border-left: 1px solid black;
36
- border-right: 1px solid black;
37
- border-bottom: 1px solid black;
38
- background-color: #FFFFFF;
39
- }
40
- .page {
41
- padding: 20px 35px;
42
- }
43
- .page .header {
44
- float: right;
45
- color: #777;
46
- font-size: 10px;
47
- }
48
- .page h1, .page h2, .page h3 {
49
- clear: both;
50
- text-align: center;
51
- }
52
- #pager {
53
- background-color: #EEEEAE;
54
- border-top: 2px solid black;
55
- border-left: 2px solid black;
56
- border-right: 2px solid black;
57
- border-bottom: 1px dashed #999966;
58
- padding: 20px 0 20px 20px;
59
- color: #666633;
60
- font-size: 11px;
61
- }
62
- #pager :link, #pager :visited {
63
- color: #8E2400;
64
- padding: 0px 5px;
65
- }
66
- #pager :link:hover, #pager :visited:hover {
67
- color: #8E2400;
68
- }
69
- #pagertd {
70
- font-size: 11px;
71
- }
72
- #logo { float: left; }
73
- #menu {
74
- padding: 4px 12px;
75
- margin: 0;
76
- }
77
- #menu h3 { padding: 0; margin: 0; }
78
- #menu #links { float: right; }
79
- pre { font-weight: bold; color: black; }
80
- tt { color: #703; font-size: 12pt; }
81
- .dyn-source {
82
- background-color: #EEEEEE;
83
- border: 1px solid #CCCCCC;
84
- padding: 4px 8px;
85
- margin: 0;
86
- display: none; }
87
- .dyn-source pre {
88
- color: #000000;
89
- font-size: 8pt;
90
- font-familly: monospace;
91
-
92
- }
93
- .source-link { text-align: right; font-size: 8pt; }
94
- .ruby-comment { color: green; font-style: italic }
95
- .ruby-constant { color: #CCDDFF; font-weight: bold; }
96
- .ruby-identifier { color: #CCCCCC; }
97
- .ruby-ivar { color: #BBCCFF; }
98
- .ruby-keyword { color: #EEEEFF; font-weight: bold }
99
- .ruby-node { color: #FFFFFF; }
100
- .ruby-operator { color: #CCCCCC; }
101
- .ruby-regexp { color: #DDFFDD; }
102
- .ruby-value { color: #FFAAAA; font-style: italic }
103
- .kw { color: #DDDDFF; font-weight: bold }
104
- .cmt { color: #CCFFCC; font-style: italic }
105
- .str { color: #EECCCC; font-style: italic }
106
- .re { color: #EECCCC; }
data/doc/rubyfr.png DELETED
Binary file