appcelerator 2.0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. data/appcelerator/appcelerator_generator.rb +195 -0
  2. data/appcelerator/templates/README +26 -0
  3. data/appcelerator/templates/appcelerator.xml +8 -0
  4. data/appcelerator/templates/application.rb +7 -0
  5. data/appcelerator/templates/environment.rb +65 -0
  6. data/appcelerator/templates/generate +25 -0
  7. data/appcelerator/templates/images/appcelerator_gray_header.png +0 -0
  8. data/appcelerator/templates/images/appcelerator_gray_logo_small.png +0 -0
  9. data/appcelerator/templates/images/blank_1x1.gif +0 -0
  10. data/appcelerator/templates/images/confirm.png +0 -0
  11. data/appcelerator/templates/images/cross.png +0 -0
  12. data/appcelerator/templates/images/deny.png +0 -0
  13. data/appcelerator/templates/images/dialog_close.gif +0 -0
  14. data/appcelerator/templates/images/dialog_close_hover.gif +0 -0
  15. data/appcelerator/templates/images/email.png +0 -0
  16. data/appcelerator/templates/images/exclamation.png +0 -0
  17. data/appcelerator/templates/images/favicon.ico +0 -0
  18. data/appcelerator/templates/images/header.png +0 -0
  19. data/appcelerator/templates/images/indicator.gif +0 -0
  20. data/appcelerator/templates/images/indicator2.gif +0 -0
  21. data/appcelerator/templates/images/indicator3.gif +0 -0
  22. data/appcelerator/templates/images/logo.png +0 -0
  23. data/appcelerator/templates/images/shadow.gif +0 -0
  24. data/appcelerator/templates/images/shadowAlpha.png +0 -0
  25. data/appcelerator/templates/images/warning.png +0 -0
  26. data/appcelerator/templates/index.html +46 -0
  27. data/appcelerator/templates/js/appcelerator-debug.js +16658 -0
  28. data/appcelerator/templates/js/appcelerator.js +20 -0
  29. data/appcelerator/templates/modules/app_calendar/app_calendar.js +1 -0
  30. data/appcelerator/templates/modules/app_calendar/css/calendar.css +1 -0
  31. data/appcelerator/templates/modules/app_calendar/images/callt.gif +0 -0
  32. data/appcelerator/templates/modules/app_calendar/images/calrt.gif +0 -0
  33. data/appcelerator/templates/modules/app_calendar/images/calx.gif +0 -0
  34. data/appcelerator/templates/modules/app_calendar/js/calendar.js +1 -0
  35. data/appcelerator/templates/modules/app_calendar/js/dom.js +1 -0
  36. data/appcelerator/templates/modules/app_calendar/js/event.js +1 -0
  37. data/appcelerator/templates/modules/app_calendar/js/yahoo.js +1 -0
  38. data/appcelerator/templates/modules/app_chart/app_chart.js +1 -0
  39. data/appcelerator/templates/modules/app_chart/js/swfobject.js +1 -0
  40. data/appcelerator/templates/modules/app_content/app_content.js +1 -0
  41. data/appcelerator/templates/modules/app_datacache/app_datacache.js +1 -0
  42. data/appcelerator/templates/modules/app_datatable/app_datatable.js +1 -0
  43. data/appcelerator/templates/modules/app_datatable/css/datatable.css +1 -0
  44. data/appcelerator/templates/modules/app_datatable/images/arrow_down.png +0 -0
  45. data/appcelerator/templates/modules/app_datatable/images/arrow_spacer.png +0 -0
  46. data/appcelerator/templates/modules/app_datatable/images/arrow_up.png +0 -0
  47. data/appcelerator/templates/modules/app_datatable/images/resultset_next.png +0 -0
  48. data/appcelerator/templates/modules/app_datatable/images/resultset_previous.png +0 -0
  49. data/appcelerator/templates/modules/app_editinplace/app_editinplace.js +1 -0
  50. data/appcelerator/templates/modules/app_editinplace/css/editinplace.css +1 -0
  51. data/appcelerator/templates/modules/app_editinplace/images/bullet_error.png +0 -0
  52. data/appcelerator/templates/modules/app_field/app_field.js +1 -0
  53. data/appcelerator/templates/modules/app_field/css/field.css +1 -0
  54. data/appcelerator/templates/modules/app_field/images/bullet_error.png +0 -0
  55. data/appcelerator/templates/modules/app_folder/app_folder.js +1 -0
  56. data/appcelerator/templates/modules/app_folder/css/folder.css +1 -0
  57. data/appcelerator/templates/modules/app_folder/images/folder_closed.png +0 -0
  58. data/appcelerator/templates/modules/app_folder/images/folder_opened.png +0 -0
  59. data/appcelerator/templates/modules/app_folder/images/item_closed.png +0 -0
  60. data/appcelerator/templates/modules/app_folder/images/item_opened.png +0 -0
  61. data/appcelerator/templates/modules/app_iterator/app_iterator.js +1 -0
  62. data/appcelerator/templates/modules/app_message/app_message.js +1 -0
  63. data/appcelerator/templates/modules/app_modaldialog/app_modaldialog.js +1 -0
  64. data/appcelerator/templates/modules/app_modaldialog/css/modaldialog.css +1 -0
  65. data/appcelerator/templates/modules/app_pagination/app_pagination.js +1 -0
  66. data/appcelerator/templates/modules/app_script/app_script.js +1 -0
  67. data/appcelerator/templates/modules/app_security/app_security.js +1 -0
  68. data/appcelerator/templates/modules/app_statemachine/app_statemachine.js +1 -0
  69. data/appcelerator/templates/modules/app_tabpanel/app_tabpanel.js +1 -0
  70. data/appcelerator/templates/modules/app_tabpanel/css/tabpanel.css +1 -0
  71. data/appcelerator/templates/modules/app_template/app_template.js +1 -0
  72. data/appcelerator/templates/modules/app_upload/app_upload.js +1 -0
  73. data/appcelerator/templates/modules/app_validation/app_validation.js +1 -0
  74. data/appcelerator/templates/modules/google_analytics/google_analytics.js +1 -0
  75. data/appcelerator/templates/routes.rb +18 -0
  76. data/appcelerator/templates/server +4 -0
  77. data/appcelerator/templates/service_broker.rb +18 -0
  78. data/appcelerator/templates/service_broker_helper.rb +2 -0
  79. data/appcelerator/templates/test_service.rb +13 -0
  80. data/bin/appcelerator +36 -0
  81. data/lib/appcelerator.rb +62 -0
  82. data/lib/appcelerator/active_record_extension.rb +11 -0
  83. data/lib/appcelerator/dispatcher.rb +68 -0
  84. data/lib/appcelerator/migration.rb +8 -0
  85. data/lib/appcelerator/model.rb +94 -0
  86. data/lib/appcelerator/service.rb +292 -0
  87. data/lib/appcelerator/service_broker.rb +12 -0
  88. data/lib/appcelerator/service_broker_controller.rb +48 -0
  89. data/lib/appcelerator/servicebroker/inmemory_service_broker.rb +58 -0
  90. data/service/USAGE +20 -0
  91. data/service/service_generator.rb +59 -0
  92. data/service/templates/service.rb +14 -0
  93. metadata +204 -0
@@ -0,0 +1,14 @@
1
+
2
+ class <%= messageclass %> < Appcelerator::Service
3
+
4
+ Service '<%= messagetype %>', :<%= messagefunc %><%= responsetype %>
5
+
6
+ def <%= messagefunc %>(request,message)
7
+
8
+ # TODO: implement service code
9
+ p "received message #{type} with #{message.inspect}"
10
+
11
+ <%= response %>
12
+ end
13
+
14
+ end
metadata ADDED
@@ -0,0 +1,204 @@
1
+ --- !ruby/object:Gem::Specification
2
+ rubygems_version: 0.9.4
3
+ specification_version: 1
4
+ name: appcelerator
5
+ version: !ruby/object:Gem::Version
6
+ version: 2.0.1.1
7
+ date: 2007-11-24 00:00:00 -05:00
8
+ summary: Appcelerator on Rails. Appcelerator SDK is a web2.0, ajax web application framework by Appcelerator.org
9
+ require_paths:
10
+ - lib
11
+ email: support@appcelerator.org
12
+ homepage: http://www.appcelerator.org
13
+ rubyforge_project:
14
+ description:
15
+ autorequire:
16
+ default_executable: appcelerator
17
+ bindir: bin
18
+ has_rdoc: false
19
+ required_ruby_version: !ruby/object:Gem::Version::Requirement
20
+ requirements:
21
+ - - ">"
22
+ - !ruby/object:Gem::Version
23
+ version: 0.0.0
24
+ version:
25
+ platform: ruby
26
+ signing_key:
27
+ cert_chain:
28
+ post_install_message:
29
+ authors:
30
+ - Appcelerator.org
31
+ files:
32
+ - lib/appcelerator.rb
33
+ - lib/appcelerator/active_record_extension.rb
34
+ - lib/appcelerator/dispatcher.rb
35
+ - lib/appcelerator/migration.rb
36
+ - lib/appcelerator/model.rb
37
+ - lib/appcelerator/service.rb
38
+ - lib/appcelerator/service_broker.rb
39
+ - lib/appcelerator/service_broker_controller.rb
40
+ - lib/appcelerator/servicebroker/inmemory_service_broker.rb
41
+ - service/service_generator.rb
42
+ - service/templates
43
+ - service/USAGE
44
+ - service/templates/service.rb
45
+ - appcelerator/appcelerator_generator.rb
46
+ - appcelerator/templates/appcelerator.xml
47
+ - appcelerator/templates/application.rb
48
+ - appcelerator/templates/css
49
+ - appcelerator/templates/dist
50
+ - appcelerator/templates/environment.rb
51
+ - appcelerator/templates/generate
52
+ - appcelerator/templates/images
53
+ - appcelerator/templates/index.html
54
+ - appcelerator/templates/js
55
+ - appcelerator/templates/modules
56
+ - appcelerator/templates/README
57
+ - appcelerator/templates/routes.rb
58
+ - appcelerator/templates/server
59
+ - appcelerator/templates/service_broker.rb
60
+ - appcelerator/templates/service_broker_helper.rb
61
+ - appcelerator/templates/test_service.rb
62
+ - appcelerator/templates/modules/app_calendar
63
+ - appcelerator/templates/modules/app_calendar/app_calendar.js
64
+ - appcelerator/templates/modules/app_calendar/css
65
+ - appcelerator/templates/modules/app_calendar/css/calendar.css
66
+ - appcelerator/templates/modules/app_calendar/images
67
+ - appcelerator/templates/modules/app_calendar/images/callt.gif
68
+ - appcelerator/templates/modules/app_calendar/images/calrt.gif
69
+ - appcelerator/templates/modules/app_calendar/images/calx.gif
70
+ - appcelerator/templates/modules/app_calendar/js
71
+ - appcelerator/templates/modules/app_calendar/js/calendar.js
72
+ - appcelerator/templates/modules/app_calendar/js/dom.js
73
+ - appcelerator/templates/modules/app_calendar/js/event.js
74
+ - appcelerator/templates/modules/app_calendar/js/yahoo.js
75
+ - appcelerator/templates/modules/app_chart
76
+ - appcelerator/templates/modules/app_chart/app_chart.js
77
+ - appcelerator/templates/modules/app_chart/js
78
+ - appcelerator/templates/modules/app_chart/js/swfobject.js
79
+ - appcelerator/templates/modules/app_content
80
+ - appcelerator/templates/modules/app_content/app_content.js
81
+ - appcelerator/templates/modules/app_datacache
82
+ - appcelerator/templates/modules/app_datacache/app_datacache.js
83
+ - appcelerator/templates/modules/app_datatable
84
+ - appcelerator/templates/modules/app_datatable/app_datatable.js
85
+ - appcelerator/templates/modules/app_datatable/css
86
+ - appcelerator/templates/modules/app_datatable/css/datatable.css
87
+ - appcelerator/templates/modules/app_datatable/images
88
+ - appcelerator/templates/modules/app_datatable/images/arrow_down.png
89
+ - appcelerator/templates/modules/app_datatable/images/arrow_spacer.png
90
+ - appcelerator/templates/modules/app_datatable/images/arrow_up.png
91
+ - appcelerator/templates/modules/app_datatable/images/resultset_next.png
92
+ - appcelerator/templates/modules/app_datatable/images/resultset_previous.png
93
+ - appcelerator/templates/modules/app_editinplace
94
+ - appcelerator/templates/modules/app_editinplace/app_editinplace.js
95
+ - appcelerator/templates/modules/app_editinplace/css
96
+ - appcelerator/templates/modules/app_editinplace/css/editinplace.css
97
+ - appcelerator/templates/modules/app_editinplace/images
98
+ - appcelerator/templates/modules/app_editinplace/images/bullet_error.png
99
+ - appcelerator/templates/modules/app_field
100
+ - appcelerator/templates/modules/app_field/app_field.js
101
+ - appcelerator/templates/modules/app_field/css
102
+ - appcelerator/templates/modules/app_field/css/field.css
103
+ - appcelerator/templates/modules/app_field/images
104
+ - appcelerator/templates/modules/app_field/images/bullet_error.png
105
+ - appcelerator/templates/modules/app_folder
106
+ - appcelerator/templates/modules/app_folder/app_folder.js
107
+ - appcelerator/templates/modules/app_folder/css
108
+ - appcelerator/templates/modules/app_folder/css/folder.css
109
+ - appcelerator/templates/modules/app_folder/images
110
+ - appcelerator/templates/modules/app_folder/images/folder_closed.png
111
+ - appcelerator/templates/modules/app_folder/images/folder_opened.png
112
+ - appcelerator/templates/modules/app_folder/images/item_closed.png
113
+ - appcelerator/templates/modules/app_folder/images/item_opened.png
114
+ - appcelerator/templates/modules/app_iterator
115
+ - appcelerator/templates/modules/app_iterator/app_iterator.js
116
+ - appcelerator/templates/modules/app_message
117
+ - appcelerator/templates/modules/app_message/app_message.js
118
+ - appcelerator/templates/modules/app_modaldialog
119
+ - appcelerator/templates/modules/app_modaldialog/app_modaldialog.js
120
+ - appcelerator/templates/modules/app_modaldialog/css
121
+ - appcelerator/templates/modules/app_modaldialog/css/modaldialog.css
122
+ - appcelerator/templates/modules/app_pagination
123
+ - appcelerator/templates/modules/app_pagination/app_pagination.js
124
+ - appcelerator/templates/modules/app_rss
125
+ - appcelerator/templates/modules/app_script
126
+ - appcelerator/templates/modules/app_script/app_script.js
127
+ - appcelerator/templates/modules/app_security
128
+ - appcelerator/templates/modules/app_security/app_security.js
129
+ - appcelerator/templates/modules/app_statemachine
130
+ - appcelerator/templates/modules/app_statemachine/app_statemachine.js
131
+ - appcelerator/templates/modules/app_tabpanel
132
+ - appcelerator/templates/modules/app_tabpanel/app_tabpanel.js
133
+ - appcelerator/templates/modules/app_tabpanel/css
134
+ - appcelerator/templates/modules/app_tabpanel/css/tabpanel.css
135
+ - appcelerator/templates/modules/app_template
136
+ - appcelerator/templates/modules/app_template/app_template.js
137
+ - appcelerator/templates/modules/app_upload
138
+ - appcelerator/templates/modules/app_upload/app_upload.js
139
+ - appcelerator/templates/modules/app_validation
140
+ - appcelerator/templates/modules/app_validation/app_validation.js
141
+ - appcelerator/templates/modules/google_analytics
142
+ - appcelerator/templates/modules/google_analytics/google_analytics.js
143
+ - appcelerator/templates/js/appcelerator-debug.js
144
+ - appcelerator/templates/js/appcelerator.js
145
+ - appcelerator/templates/images/appcelerator_gray_header.png
146
+ - appcelerator/templates/images/appcelerator_gray_logo_small.png
147
+ - appcelerator/templates/images/blank_1x1.gif
148
+ - appcelerator/templates/images/confirm.png
149
+ - appcelerator/templates/images/cross.png
150
+ - appcelerator/templates/images/deny.png
151
+ - appcelerator/templates/images/dialog_close.gif
152
+ - appcelerator/templates/images/dialog_close_hover.gif
153
+ - appcelerator/templates/images/email.png
154
+ - appcelerator/templates/images/exclamation.png
155
+ - appcelerator/templates/images/favicon.ico
156
+ - appcelerator/templates/images/header.png
157
+ - appcelerator/templates/images/indicator.gif
158
+ - appcelerator/templates/images/indicator2.gif
159
+ - appcelerator/templates/images/indicator3.gif
160
+ - appcelerator/templates/images/logo.png
161
+ - appcelerator/templates/images/shadow.gif
162
+ - appcelerator/templates/images/shadowAlpha.png
163
+ - appcelerator/templates/images/warning.png
164
+ - bin/appcelerator
165
+ test_files: []
166
+
167
+ rdoc_options: []
168
+
169
+ extra_rdoc_files: []
170
+
171
+ executables:
172
+ - appcelerator
173
+ extensions: []
174
+
175
+ requirements: []
176
+
177
+ dependencies:
178
+ - !ruby/object:Gem::Dependency
179
+ name: rails
180
+ version_requirement:
181
+ version_requirements: !ruby/object:Gem::Version::Requirement
182
+ requirements:
183
+ - - ">="
184
+ - !ruby/object:Gem::Version
185
+ version: 1.2.3
186
+ version:
187
+ - !ruby/object:Gem::Dependency
188
+ name: json
189
+ version_requirement:
190
+ version_requirements: !ruby/object:Gem::Version::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: 0.4.3
195
+ version:
196
+ - !ruby/object:Gem::Dependency
197
+ name: hpricot
198
+ version_requirement:
199
+ version_requirements: !ruby/object:Gem::Version::Requirement
200
+ requirements:
201
+ - - ">="
202
+ - !ruby/object:Gem::Version
203
+ version: 0.5.0
204
+ version: