dubious 0.0.0-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. data/LICENSE +202 -0
  2. data/README.rdoc +160 -0
  3. data/ROADMAP.rdoc +28 -0
  4. data/Rakefile +130 -0
  5. data/bin/dubious +4 -0
  6. data/examples/contacts/Rakefile +169 -0
  7. data/examples/contacts/WEB-INF/app.yaml +9 -0
  8. data/examples/contacts/WEB-INF/appengine-web.xml +14 -0
  9. data/examples/contacts/WEB-INF/classes/controllers/ApplicationController.class +0 -0
  10. data/examples/contacts/WEB-INF/classes/controllers/ContactsController.class +0 -0
  11. data/examples/contacts/WEB-INF/classes/controllers/InfoPropertiesController.class +0 -0
  12. data/examples/contacts/WEB-INF/classes/controllers/SourceController.class +0 -0
  13. data/examples/contacts/WEB-INF/classes/models/Contact$Query.class +0 -0
  14. data/examples/contacts/WEB-INF/classes/models/Contact.class +0 -0
  15. data/examples/contacts/WEB-INF/lib/appengine-api.jar +0 -0
  16. data/examples/contacts/WEB-INF/lib/dubious.jar +0 -0
  17. data/examples/contacts/WEB-INF/lib/dubydatastore.jar +0 -0
  18. data/examples/contacts/WEB-INF/web.xml +3 -0
  19. data/examples/contacts/app.yaml +44 -0
  20. data/examples/contacts/app/controllers/application_controller.mirah +5 -0
  21. data/examples/contacts/app/controllers/contacts_controller.mirah +62 -0
  22. data/examples/contacts/app/controllers/info_properties_controller.mirah +55 -0
  23. data/examples/contacts/app/controllers/source_controller.mirah +30 -0
  24. data/examples/contacts/app/models/contact.mirah +28 -0
  25. data/examples/contacts/app/views/contacts/edit.html.erb +50 -0
  26. data/examples/contacts/app/views/contacts/index.html.erb +38 -0
  27. data/examples/contacts/app/views/contacts/new.html.erb +49 -0
  28. data/examples/contacts/app/views/contacts/show.html.erb +47 -0
  29. data/examples/contacts/app/views/layouts/application.html.erb +10 -0
  30. data/examples/contacts/app/views/layouts/contacts.html.erb +20 -0
  31. data/examples/contacts/app/views/source/list.html.erb +27 -0
  32. data/examples/contacts/app/views/source/show.html.erb +15 -0
  33. data/examples/contacts/config/application.properties +4 -0
  34. data/examples/contacts/config/asset.properties +32 -0
  35. data/examples/contacts/config/build.properties +10 -0
  36. data/examples/contacts/config/routes.properties +1 -0
  37. data/examples/contacts/public/404.html +30 -0
  38. data/examples/contacts/public/422.html +30 -0
  39. data/examples/contacts/public/500.html +30 -0
  40. data/examples/contacts/public/favicon.ico +0 -0
  41. data/examples/contacts/public/images/appengine_duby.png +0 -0
  42. data/examples/contacts/public/images/back.gif +0 -0
  43. data/examples/contacts/public/images/dir.gif +0 -0
  44. data/examples/contacts/public/images/dubious.png +0 -0
  45. data/examples/contacts/public/images/file.gif +0 -0
  46. data/examples/contacts/public/images/silver-120x30.gif +0 -0
  47. data/examples/contacts/public/index.html +144 -0
  48. data/examples/contacts/public/javascripts/effects.js +1128 -0
  49. data/examples/contacts/public/javascripts/jquery.rails.min.js +117 -0
  50. data/examples/contacts/public/javascripts/lang/sh_css.min.js +1 -0
  51. data/examples/contacts/public/javascripts/lang/sh_duby.min.js +1 -0
  52. data/examples/contacts/public/javascripts/lang/sh_erb.min.js +1 -0
  53. data/examples/contacts/public/javascripts/lang/sh_html.min.js +1 -0
  54. data/examples/contacts/public/javascripts/lang/sh_java.min.js +1 -0
  55. data/examples/contacts/public/javascripts/lang/sh_js.min.js +1 -0
  56. data/examples/contacts/public/javascripts/lang/sh_mirah.min.js +1 -0
  57. data/examples/contacts/public/javascripts/lang/sh_properties.min.js +1 -0
  58. data/examples/contacts/public/javascripts/lang/sh_rb.min.js +1 -0
  59. data/examples/contacts/public/javascripts/lang/sh_sh.min.js +1 -0
  60. data/examples/contacts/public/javascripts/lang/sh_xml.min.js +1 -0
  61. data/examples/contacts/public/javascripts/lang/sh_yaml.min.js +1 -0
  62. data/examples/contacts/public/javascripts/prototype.js +4320 -0
  63. data/examples/contacts/public/javascripts/sh_main.min.js +4 -0
  64. data/examples/contacts/public/robots.txt +0 -0
  65. data/examples/contacts/public/stylesheets/main.css +188 -0
  66. data/examples/contacts/public/stylesheets/scaffold.css +57 -0
  67. data/examples/contacts/public/stylesheets/sh_style.css +66 -0
  68. data/examples/contacts/public/stylesheets/source.css +27 -0
  69. data/examples/shout/Rakefile +138 -0
  70. data/examples/shout/WEB-INF/appengine-web.xml +14 -0
  71. data/examples/shout/WEB-INF/web.xml +11 -0
  72. data/examples/shout/app.mirah +35 -0
  73. data/examples/shout/app.yaml +11 -0
  74. data/examples/shout/public/404.html +30 -0
  75. data/examples/shout/public/422.html +30 -0
  76. data/examples/shout/public/500.html +30 -0
  77. data/examples/shout/public/favicon.ico +0 -0
  78. data/examples/shout/public/images/appengine_duby.png +0 -0
  79. data/examples/shout/public/images/back.gif +0 -0
  80. data/examples/shout/public/images/dir.gif +0 -0
  81. data/examples/shout/public/images/file.gif +0 -0
  82. data/examples/shout/public/images/silver-120x30.gif +0 -0
  83. data/examples/shout/public/index.html +116 -0
  84. data/examples/shout/public/javascripts/effects.js +1128 -0
  85. data/examples/shout/public/javascripts/jquery.rails.min.js +117 -0
  86. data/examples/shout/public/javascripts/prototype.js +4320 -0
  87. data/examples/shout/public/robots.txt +0 -0
  88. data/examples/shout/public/stylesheets/main.css +185 -0
  89. data/examples/shout/public/stylesheets/scaffold.css +57 -0
  90. data/examples/shout/views/application.html.erb +10 -0
  91. data/examples/shout/views/list.html.erb +14 -0
  92. data/javalib/dubydatastore.jar +0 -0
  93. data/lib/dubious.jar +0 -0
  94. data/lib/dubious.rb +2 -0
  95. data/lib/dubious/cli.rb +65 -0
  96. data/lib/dubious/templates/base/Rakefile +169 -0
  97. data/lib/dubious/templates/base/WEB-INF/app.yaml.tt +9 -0
  98. data/lib/dubious/templates/base/app/controllers/application_controller.mirah +5 -0
  99. data/lib/dubious/templates/base/config/application.properties.tt +6 -0
  100. data/lib/dubious/templates/base/config/asset.properties +0 -0
  101. data/lib/dubious/templates/base/config/build.properties +0 -0
  102. data/lib/dubious/templates/base/config/routes.properties +1 -0
  103. data/lib/dubious/templates/base/public/404.html +30 -0
  104. data/lib/dubious/templates/base/public/422.html +30 -0
  105. data/lib/dubious/templates/base/public/500.html +30 -0
  106. data/lib/dubious/templates/base/public/favicon.ico +0 -0
  107. data/lib/dubious/templates/base/public/images/appengine_duby.png +0 -0
  108. data/lib/dubious/templates/base/public/images/back.gif +0 -0
  109. data/lib/dubious/templates/base/public/images/dir.gif +0 -0
  110. data/lib/dubious/templates/base/public/images/dubious.png +0 -0
  111. data/lib/dubious/templates/base/public/images/file.gif +0 -0
  112. data/lib/dubious/templates/base/public/images/silver-120x30.gif +0 -0
  113. data/lib/dubious/templates/base/public/index.html +144 -0
  114. data/lib/dubious/templates/base/public/javascripts/jquery.rails.min.js +117 -0
  115. data/lib/dubious/templates/base/public/robots.txt +0 -0
  116. data/lib/dubious/templates/base/public/stylesheets/main.css +188 -0
  117. data/lib/dubious/templates/base/public/stylesheets/scaffold.css +57 -0
  118. data/lib/dubious/templates/generator/controller.mirah.tt +5 -0
  119. data/lib/dubious/templates/generator/model.mirah.tt +6 -0
  120. metadata +224 -0
@@ -0,0 +1,57 @@
1
+ div.ui-datepicker-title { font-size: 8pt; }
2
+ th { font-size: 8pt; }
3
+
4
+ body { background-color: #fff; color: #333; }
5
+
6
+ body, p, ol, ul, td {
7
+ font-family: verdana, arial, helvetica, sans-serif;
8
+ font-size: 13px;
9
+ line-height: 18px;
10
+ }
11
+
12
+ pre {
13
+ background-color: #eee;
14
+ padding: 10px;
15
+ font-size: 11px;
16
+ }
17
+
18
+ a { color: #000; }
19
+ a:visited { color: #666; }
20
+ a:hover { color: #fff; background-color:#000; }
21
+
22
+ .fieldWithErrors {
23
+ padding: 2px;
24
+ background-color: red;
25
+ display: table;
26
+ }
27
+
28
+ #errorExplanation {
29
+ width: 400px;
30
+ border: 2px solid red;
31
+ padding: 7px;
32
+ padding-bottom: 12px;
33
+ margin-bottom: 20px;
34
+ background-color: #f0f0f0;
35
+ }
36
+
37
+ #errorExplanation h2 {
38
+ text-align: left;
39
+ font-weight: bold;
40
+ padding: 5px 5px 5px 15px;
41
+ font-size: 12px;
42
+ margin: -7px;
43
+ background-color: #c00;
44
+ color: #fff;
45
+ }
46
+
47
+ #errorExplanation p {
48
+ color: #333;
49
+ margin-bottom: 0;
50
+ padding: 5px;
51
+ }
52
+
53
+ #errorExplanation ul li {
54
+ font-size: 12px;
55
+ list-style: square;
56
+ }
57
+
@@ -0,0 +1,5 @@
1
+ import dubious.*
2
+ import models.*
3
+
4
+ class <%= name.classify%>Controller < ApplicationController
5
+ end
@@ -0,0 +1,6 @@
1
+ import com.google.appengine.ext.duby.db.Model
2
+ import com.google.appengine.api.datastore.*
3
+
4
+ class <%= name.classify%> < Model
5
+
6
+ end
metadata ADDED
@@ -0,0 +1,224 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dubious
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 0
9
+ version: 0.0.0
10
+ platform: java
11
+ authors:
12
+ - John Woodell
13
+ - Nick Howard
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-09-24 11:24:42.191000 -06:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: thor
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 0
30
+ - 13
31
+ - 8
32
+ version: 0.13.8
33
+ type: :runtime
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: activesupport
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ segments:
43
+ - 0
44
+ version: "0"
45
+ type: :runtime
46
+ version_requirements: *id002
47
+ - !ruby/object:Gem::Dependency
48
+ name: appengine-sdk
49
+ prerelease: false
50
+ requirement: &id003 !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ segments:
55
+ - 1
56
+ - 3
57
+ version: "1.3"
58
+ type: :runtime
59
+ version_requirements: *id003
60
+ description: Dubious is a web framework written in Mirah.
61
+ email:
62
+ - woodie@netpress.com
63
+ - ndh@baroquebobcat.com
64
+ executables:
65
+ - dubious
66
+ extensions: []
67
+
68
+ extra_rdoc_files:
69
+ - LICENSE
70
+ - ROADMAP.rdoc
71
+ - README.rdoc
72
+ files:
73
+ - bin/dubious
74
+ - lib/dubious.jar
75
+ - lib/dubious.rb
76
+ - lib/dubious/cli.rb
77
+ - lib/dubious/templates/base/Rakefile
78
+ - lib/dubious/templates/base/app/controllers/application_controller.mirah
79
+ - lib/dubious/templates/base/config/application.properties.tt
80
+ - lib/dubious/templates/base/config/asset.properties
81
+ - lib/dubious/templates/base/config/build.properties
82
+ - lib/dubious/templates/base/config/routes.properties
83
+ - lib/dubious/templates/base/public/404.html
84
+ - lib/dubious/templates/base/public/422.html
85
+ - lib/dubious/templates/base/public/500.html
86
+ - lib/dubious/templates/base/public/favicon.ico
87
+ - lib/dubious/templates/base/public/index.html
88
+ - lib/dubious/templates/base/public/robots.txt
89
+ - lib/dubious/templates/base/public/images/appengine_duby.png
90
+ - lib/dubious/templates/base/public/images/back.gif
91
+ - lib/dubious/templates/base/public/images/dir.gif
92
+ - lib/dubious/templates/base/public/images/dubious.png
93
+ - lib/dubious/templates/base/public/images/file.gif
94
+ - lib/dubious/templates/base/public/images/silver-120x30.gif
95
+ - lib/dubious/templates/base/public/javascripts/jquery.rails.min.js
96
+ - lib/dubious/templates/base/public/stylesheets/main.css
97
+ - lib/dubious/templates/base/public/stylesheets/scaffold.css
98
+ - lib/dubious/templates/base/WEB-INF/app.yaml.tt
99
+ - lib/dubious/templates/generator/controller.mirah.tt
100
+ - lib/dubious/templates/generator/model.mirah.tt
101
+ - examples/contacts/app.yaml
102
+ - examples/contacts/Rakefile
103
+ - examples/contacts/app/controllers/application_controller.mirah
104
+ - examples/contacts/app/controllers/contacts_controller.mirah
105
+ - examples/contacts/app/controllers/info_properties_controller.mirah
106
+ - examples/contacts/app/controllers/source_controller.mirah
107
+ - examples/contacts/app/models/contact.mirah
108
+ - examples/contacts/app/views/contacts/edit.html.erb
109
+ - examples/contacts/app/views/contacts/index.html.erb
110
+ - examples/contacts/app/views/contacts/new.html.erb
111
+ - examples/contacts/app/views/contacts/show.html.erb
112
+ - examples/contacts/app/views/layouts/application.html.erb
113
+ - examples/contacts/app/views/layouts/contacts.html.erb
114
+ - examples/contacts/app/views/source/list.html.erb
115
+ - examples/contacts/app/views/source/show.html.erb
116
+ - examples/contacts/config/application.properties
117
+ - examples/contacts/config/asset.properties
118
+ - examples/contacts/config/build.properties
119
+ - examples/contacts/config/routes.properties
120
+ - examples/contacts/public/404.html
121
+ - examples/contacts/public/422.html
122
+ - examples/contacts/public/500.html
123
+ - examples/contacts/public/favicon.ico
124
+ - examples/contacts/public/index.html
125
+ - examples/contacts/public/robots.txt
126
+ - examples/contacts/public/images/appengine_duby.png
127
+ - examples/contacts/public/images/back.gif
128
+ - examples/contacts/public/images/dir.gif
129
+ - examples/contacts/public/images/dubious.png
130
+ - examples/contacts/public/images/file.gif
131
+ - examples/contacts/public/images/silver-120x30.gif
132
+ - examples/contacts/public/javascripts/effects.js
133
+ - examples/contacts/public/javascripts/jquery.rails.min.js
134
+ - examples/contacts/public/javascripts/prototype.js
135
+ - examples/contacts/public/javascripts/sh_main.min.js
136
+ - examples/contacts/public/javascripts/lang/sh_css.min.js
137
+ - examples/contacts/public/javascripts/lang/sh_duby.min.js
138
+ - examples/contacts/public/javascripts/lang/sh_erb.min.js
139
+ - examples/contacts/public/javascripts/lang/sh_html.min.js
140
+ - examples/contacts/public/javascripts/lang/sh_java.min.js
141
+ - examples/contacts/public/javascripts/lang/sh_js.min.js
142
+ - examples/contacts/public/javascripts/lang/sh_mirah.min.js
143
+ - examples/contacts/public/javascripts/lang/sh_properties.min.js
144
+ - examples/contacts/public/javascripts/lang/sh_rb.min.js
145
+ - examples/contacts/public/javascripts/lang/sh_sh.min.js
146
+ - examples/contacts/public/javascripts/lang/sh_xml.min.js
147
+ - examples/contacts/public/javascripts/lang/sh_yaml.min.js
148
+ - examples/contacts/public/stylesheets/main.css
149
+ - examples/contacts/public/stylesheets/scaffold.css
150
+ - examples/contacts/public/stylesheets/sh_style.css
151
+ - examples/contacts/public/stylesheets/source.css
152
+ - examples/contacts/WEB-INF/app.yaml
153
+ - examples/contacts/WEB-INF/appengine-web.xml
154
+ - examples/contacts/WEB-INF/web.xml
155
+ - examples/contacts/WEB-INF/classes/controllers/ApplicationController.class
156
+ - examples/contacts/WEB-INF/classes/controllers/ContactsController.class
157
+ - examples/contacts/WEB-INF/classes/controllers/InfoPropertiesController.class
158
+ - examples/contacts/WEB-INF/classes/controllers/SourceController.class
159
+ - examples/contacts/WEB-INF/classes/models/Contact$Query.class
160
+ - examples/contacts/WEB-INF/classes/models/Contact.class
161
+ - examples/contacts/WEB-INF/lib/appengine-api.jar
162
+ - examples/contacts/WEB-INF/lib/dubious.jar
163
+ - examples/contacts/WEB-INF/lib/dubydatastore.jar
164
+ - examples/shout/app.mirah
165
+ - examples/shout/app.yaml
166
+ - examples/shout/Rakefile
167
+ - examples/shout/public/404.html
168
+ - examples/shout/public/422.html
169
+ - examples/shout/public/500.html
170
+ - examples/shout/public/favicon.ico
171
+ - examples/shout/public/index.html
172
+ - examples/shout/public/robots.txt
173
+ - examples/shout/public/images/appengine_duby.png
174
+ - examples/shout/public/images/back.gif
175
+ - examples/shout/public/images/dir.gif
176
+ - examples/shout/public/images/file.gif
177
+ - examples/shout/public/images/silver-120x30.gif
178
+ - examples/shout/public/javascripts/effects.js
179
+ - examples/shout/public/javascripts/jquery.rails.min.js
180
+ - examples/shout/public/javascripts/prototype.js
181
+ - examples/shout/public/stylesheets/main.css
182
+ - examples/shout/public/stylesheets/scaffold.css
183
+ - examples/shout/views/application.html.erb
184
+ - examples/shout/views/list.html.erb
185
+ - examples/shout/WEB-INF/appengine-web.xml
186
+ - examples/shout/WEB-INF/web.xml
187
+ - javalib/dubydatastore.jar
188
+ - Rakefile
189
+ - LICENSE
190
+ - ROADMAP.rdoc
191
+ - README.rdoc
192
+ has_rdoc: true
193
+ homepage: http://github.com/mirah/dubious/
194
+ licenses: []
195
+
196
+ post_install_message:
197
+ rdoc_options:
198
+ - --main
199
+ - README.rdoc
200
+ require_paths:
201
+ - lib
202
+ required_ruby_version: !ruby/object:Gem::Requirement
203
+ requirements:
204
+ - - ">="
205
+ - !ruby/object:Gem::Version
206
+ segments:
207
+ - 0
208
+ version: "0"
209
+ required_rubygems_version: !ruby/object:Gem::Requirement
210
+ requirements:
211
+ - - ">="
212
+ - !ruby/object:Gem::Version
213
+ segments:
214
+ - 0
215
+ version: "0"
216
+ requirements: []
217
+
218
+ rubyforge_project:
219
+ rubygems_version: 1.3.6
220
+ signing_key:
221
+ specification_version: 3
222
+ summary: A web framework for Mirah, running on appengine.
223
+ test_files: []
224
+