subduino 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. data/Readme.textile +48 -2
  2. data/VERSION +1 -1
  3. data/bin/subduino +21 -5
  4. data/duino/Makefile +53 -50
  5. data/duino/duino.pde +271 -5
  6. data/lib/subduino.rb +1 -1
  7. data/lib/subduino/parse.rb +23 -34
  8. data/lib/subduino/parse/bool.rb +13 -0
  9. data/lib/subduino/parse/lux.rb +13 -0
  10. data/lib/subduino/parse/temp.rb +17 -0
  11. data/lib/subduino/scaffold/Makefile +59 -51
  12. data/lib/subduino/store.rb +21 -12
  13. data/subduino.gemspec +88 -2
  14. data/webapp/config.yml +20 -0
  15. data/webapp/lib/app.rb +2 -2
  16. data/webapp/lib/duino.rb +9 -16
  17. data/webapp/public/custom.js +187 -0
  18. data/webapp/public/date_input.css +149 -0
  19. data/webapp/public/facebox.css +83 -0
  20. data/webapp/public/facebox.js +319 -0
  21. data/webapp/public/favicon.ico +0 -0
  22. data/webapp/public/icons/current.png +0 -0
  23. data/webapp/public/icons/day.png +0 -0
  24. data/webapp/public/icons/door-big.png +0 -0
  25. data/webapp/public/icons/favicon.png +0 -0
  26. data/webapp/public/icons/irrigation.png +0 -0
  27. data/webapp/public/icons/lamp-big.png +0 -0
  28. data/webapp/public/icons/lightbulb_off.png +0 -0
  29. data/webapp/public/icons/locked.png +0 -0
  30. data/webapp/public/icons/lux.png +0 -0
  31. data/webapp/public/icons/night.png +0 -0
  32. data/webapp/public/icons/noise.png +0 -0
  33. data/webapp/public/icons/onoff.png +0 -0
  34. data/webapp/public/icons/rain.png +0 -0
  35. data/webapp/public/icons/refrigeration.png +0 -0
  36. data/webapp/public/icons/temp.png +0 -0
  37. data/webapp/public/icons/unlocked.png +0 -0
  38. data/webapp/public/images/ajax-loader.gif +0 -0
  39. data/webapp/public/images/b.png +0 -0
  40. data/webapp/public/images/bendl.gif +0 -0
  41. data/webapp/public/images/bendr.gif +0 -0
  42. data/webapp/public/images/bendsb.gif +0 -0
  43. data/webapp/public/images/bg.jpg +0 -0
  44. data/webapp/public/images/bhead.gif +0 -0
  45. data/webapp/public/images/bheadl.gif +0 -0
  46. data/webapp/public/images/bheadr.gif +0 -0
  47. data/webapp/public/images/bl.png +0 -0
  48. data/webapp/public/images/bnd.gif +0 -0
  49. data/webapp/public/images/br.png +0 -0
  50. data/webapp/public/images/bread.gif +0 -0
  51. data/webapp/public/images/btnb.gif +0 -0
  52. data/webapp/public/images/btnb_.gif +0 -0
  53. data/webapp/public/images/btnm.gif +0 -0
  54. data/webapp/public/images/btnm_.gif +0 -0
  55. data/webapp/public/images/btns.gif +0 -0
  56. data/webapp/public/images/btns_.gif +0 -0
  57. data/webapp/public/images/cal.jpg +0 -0
  58. data/webapp/public/images/close.png +0 -0
  59. data/webapp/public/images/closelabel.gif +0 -0
  60. data/webapp/public/images/error.gif +0 -0
  61. data/webapp/public/images/ft.gif +0 -0
  62. data/webapp/public/images/hdr.gif +0 -0
  63. data/webapp/public/images/hdrl.gif +0 -0
  64. data/webapp/public/images/hdrr.gif +0 -0
  65. data/webapp/public/images/hld.jpg +0 -0
  66. data/webapp/public/images/imgb.gif +0 -0
  67. data/webapp/public/images/imgo.gif +0 -0
  68. data/webapp/public/images/imgt.gif +0 -0
  69. data/webapp/public/images/info.gif +0 -0
  70. data/webapp/public/images/jquery.wysiwyg.gif +0 -0
  71. data/webapp/public/images/li.gif +0 -0
  72. data/webapp/public/images/mbg.png +0 -0
  73. data/webapp/public/images/nsp.gif +0 -0
  74. data/webapp/public/images/phs.gif +0 -0
  75. data/webapp/public/images/sdd.jpg +0 -0
  76. data/webapp/public/images/sdd_.jpg +0 -0
  77. data/webapp/public/images/sidebar.gif +0 -0
  78. data/webapp/public/images/sorta.gif +0 -0
  79. data/webapp/public/images/sortd.gif +0 -0
  80. data/webapp/public/images/srch.gif +0 -0
  81. data/webapp/public/images/srch_.gif +0 -0
  82. data/webapp/public/images/success.gif +0 -0
  83. data/webapp/public/images/thumb1.jpg +0 -0
  84. data/webapp/public/images/thumb2.jpg +0 -0
  85. data/webapp/public/images/thumb3.jpg +0 -0
  86. data/webapp/public/images/tiny.gif +0 -0
  87. data/webapp/public/images/tiny_.gif +0 -0
  88. data/webapp/public/images/tl.png +0 -0
  89. data/webapp/public/images/tr.png +0 -0
  90. data/webapp/public/images/upload.gif +0 -0
  91. data/webapp/public/images/warning.gif +0 -0
  92. data/webapp/public/jquery.img.preload.js +152 -0
  93. data/webapp/public/jquery.sparkline.js +85 -0
  94. data/webapp/public/jquery.tablesorter.min.js +2 -0
  95. data/webapp/public/jquery.visualize.js +452 -0
  96. data/webapp/public/jquery.wysiwyg.css +56 -0
  97. data/webapp/public/style.css +881 -0
  98. data/webapp/public/visualize.css +32 -0
  99. data/webapp/views/index.haml +365 -49
  100. data/webapp/views/layout.haml +78 -7
  101. data/webapp/views/template.haml +676 -0
  102. metadata +89 -3
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 1
7
+ - 2
8
8
  - 0
9
- version: 0.1.0
9
+ version: 0.2.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Marcos Piccinini
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-11 00:00:00 -03:00
17
+ date: 2010-09-18 00:00:00 -03:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -59,6 +59,9 @@ files:
59
59
  - lib/subduino/ard_ps.rb
60
60
  - lib/subduino/arduino.rb
61
61
  - lib/subduino/parse.rb
62
+ - lib/subduino/parse/bool.rb
63
+ - lib/subduino/parse/lux.rb
64
+ - lib/subduino/parse/temp.rb
62
65
  - lib/subduino/scaffold/Makefile
63
66
  - lib/subduino/scaffold/Makefile2
64
67
  - lib/subduino/scaffold/generator.rb
@@ -79,12 +82,18 @@ files:
79
82
  - webapp/Rakefile
80
83
  - webapp/Readme.textile
81
84
  - webapp/VERSION
85
+ - webapp/config.yml
82
86
  - webapp/lib/app.rb
83
87
  - webapp/lib/duino.rb
84
88
  - webapp/lib/environment.rb
85
89
  - webapp/lib/messenger.rb
86
90
  - webapp/public/app.css
87
91
  - webapp/public/app.js
92
+ - webapp/public/custom.js
93
+ - webapp/public/date_input.css
94
+ - webapp/public/facebox.css
95
+ - webapp/public/facebox.js
96
+ - webapp/public/favicon.ico
88
97
  - webapp/public/faye.js
89
98
  - webapp/public/icons/alarm-clock-blue.png
90
99
  - webapp/public/icons/alarm-clock.png
@@ -115,9 +124,12 @@ files:
115
124
  - webapp/public/icons/cpus.png
116
125
  - webapp/public/icons/credit-card.png
117
126
  - webapp/public/icons/cross-small.png
127
+ - webapp/public/icons/current.png
118
128
  - webapp/public/icons/dashboard.png
119
129
  - webapp/public/icons/database.png
120
130
  - webapp/public/icons/databases.png
131
+ - webapp/public/icons/day.png
132
+ - webapp/public/icons/door-big.png
121
133
  - webapp/public/icons/door-open-in.png
122
134
  - webapp/public/icons/door-open-out.png
123
135
  - webapp/public/icons/door-open.png
@@ -129,13 +141,16 @@ files:
129
141
  - webapp/public/icons/eye-disable.png
130
142
  - webapp/public/icons/eye.png
131
143
  - webapp/public/icons/false.png
144
+ - webapp/public/icons/favicon.png
132
145
  - webapp/public/icons/gear-small.png
133
146
  - webapp/public/icons/gear.png
134
147
  - webapp/public/icons/groups.png
135
148
  - webapp/public/icons/heart.png
136
149
  - webapp/public/icons/heart_empty.png
137
150
  - webapp/public/icons/info.png
151
+ - webapp/public/icons/irrigation.png
138
152
  - webapp/public/icons/key.png
153
+ - webapp/public/icons/lamp-big.png
139
154
  - webapp/public/icons/lightbulb.png
140
155
  - webapp/public/icons/lightbulb_off.png
141
156
  - webapp/public/icons/lightning-disable.png
@@ -143,6 +158,8 @@ files:
143
158
  - webapp/public/icons/lightning.png
144
159
  - webapp/public/icons/lock-unlock.png
145
160
  - webapp/public/icons/lock.png
161
+ - webapp/public/icons/locked.png
162
+ - webapp/public/icons/lux.png
146
163
  - webapp/public/icons/marker.png
147
164
  - webapp/public/icons/media-player-phone.png
148
165
  - webapp/public/icons/megaphone.png
@@ -150,12 +167,17 @@ files:
150
167
  - webapp/public/icons/microphone.png
151
168
  - webapp/public/icons/monitor.png
152
169
  - webapp/public/icons/navigation.png
170
+ - webapp/public/icons/night.png
171
+ - webapp/public/icons/noise.png
153
172
  - webapp/public/icons/off.png
154
173
  - webapp/public/icons/on.png
174
+ - webapp/public/icons/onoff.png
155
175
  - webapp/public/icons/pin.png
156
176
  - webapp/public/icons/plug--exclamation.png
157
177
  - webapp/public/icons/plug-disable.png
158
178
  - webapp/public/icons/plug.png
179
+ - webapp/public/icons/rain.png
180
+ - webapp/public/icons/refrigeration.png
159
181
  - webapp/public/icons/restart.png
160
182
  - webapp/public/icons/ruby.png
161
183
  - webapp/public/icons/server.png
@@ -173,6 +195,7 @@ files:
173
195
  - webapp/public/icons/target.png
174
196
  - webapp/public/icons/television-off.png
175
197
  - webapp/public/icons/television.png
198
+ - webapp/public/icons/temp.png
176
199
  - webapp/public/icons/terminal.png
177
200
  - webapp/public/icons/tick-small.png
178
201
  - webapp/public/icons/traffic-light-off.png
@@ -180,6 +203,7 @@ files:
180
203
  - webapp/public/icons/traffic.png
181
204
  - webapp/public/icons/true.png
182
205
  - webapp/public/icons/umbrella.png
206
+ - webapp/public/icons/unlocked.png
183
207
  - webapp/public/icons/unmonitor.png
184
208
  - webapp/public/icons/unmonitored.png
185
209
  - webapp/public/icons/users.png
@@ -198,6 +222,60 @@ files:
198
222
  - webapp/public/icons/weather_sun.png
199
223
  - webapp/public/icons/wrench-screwdriver.png
200
224
  - webapp/public/icons/wrench.png
225
+ - webapp/public/images/ajax-loader.gif
226
+ - webapp/public/images/b.png
227
+ - webapp/public/images/bendl.gif
228
+ - webapp/public/images/bendr.gif
229
+ - webapp/public/images/bendsb.gif
230
+ - webapp/public/images/bg.jpg
231
+ - webapp/public/images/bhead.gif
232
+ - webapp/public/images/bheadl.gif
233
+ - webapp/public/images/bheadr.gif
234
+ - webapp/public/images/bl.png
235
+ - webapp/public/images/bnd.gif
236
+ - webapp/public/images/br.png
237
+ - webapp/public/images/bread.gif
238
+ - webapp/public/images/btnb.gif
239
+ - webapp/public/images/btnb_.gif
240
+ - webapp/public/images/btnm.gif
241
+ - webapp/public/images/btnm_.gif
242
+ - webapp/public/images/btns.gif
243
+ - webapp/public/images/btns_.gif
244
+ - webapp/public/images/cal.jpg
245
+ - webapp/public/images/close.png
246
+ - webapp/public/images/closelabel.gif
247
+ - webapp/public/images/error.gif
248
+ - webapp/public/images/ft.gif
249
+ - webapp/public/images/hdr.gif
250
+ - webapp/public/images/hdrl.gif
251
+ - webapp/public/images/hdrr.gif
252
+ - webapp/public/images/hld.jpg
253
+ - webapp/public/images/imgb.gif
254
+ - webapp/public/images/imgo.gif
255
+ - webapp/public/images/imgt.gif
256
+ - webapp/public/images/info.gif
257
+ - webapp/public/images/jquery.wysiwyg.gif
258
+ - webapp/public/images/li.gif
259
+ - webapp/public/images/mbg.png
260
+ - webapp/public/images/nsp.gif
261
+ - webapp/public/images/phs.gif
262
+ - webapp/public/images/sdd.jpg
263
+ - webapp/public/images/sdd_.jpg
264
+ - webapp/public/images/sidebar.gif
265
+ - webapp/public/images/sorta.gif
266
+ - webapp/public/images/sortd.gif
267
+ - webapp/public/images/srch.gif
268
+ - webapp/public/images/srch_.gif
269
+ - webapp/public/images/success.gif
270
+ - webapp/public/images/thumb1.jpg
271
+ - webapp/public/images/thumb2.jpg
272
+ - webapp/public/images/thumb3.jpg
273
+ - webapp/public/images/tiny.gif
274
+ - webapp/public/images/tiny_.gif
275
+ - webapp/public/images/tl.png
276
+ - webapp/public/images/tr.png
277
+ - webapp/public/images/upload.gif
278
+ - webapp/public/images/warning.gif
201
279
  - webapp/public/iui/backButton.png
202
280
  - webapp/public/iui/blueButton.png
203
281
  - webapp/public/iui/cancel.png
@@ -222,11 +300,18 @@ files:
222
300
  - webapp/public/iui/toolbar.png
223
301
  - webapp/public/iui/whiteButton.png
224
302
  - webapp/public/iui/yellowButton.png
303
+ - webapp/public/jquery.img.preload.js
225
304
  - webapp/public/jquery.js
305
+ - webapp/public/jquery.sparkline.js
306
+ - webapp/public/jquery.tablesorter.min.js
307
+ - webapp/public/jquery.visualize.js
308
+ - webapp/public/jquery.wysiwyg.css
226
309
  - webapp/public/layout.css
227
310
  - webapp/public/right.js
228
311
  - webapp/public/rt.js
229
312
  - webapp/public/sparkline.js
313
+ - webapp/public/style.css
314
+ - webapp/public/visualize.css
230
315
  - webapp/spec/duino_spec.rb
231
316
  - webapp/spec/spec_helper.rb
232
317
  - webapp/views/command.haml
@@ -235,6 +320,7 @@ files:
235
320
  - webapp/views/layout.haml
236
321
  - webapp/views/mobile.haml
237
322
  - webapp/views/switch.haml
323
+ - webapp/views/template.haml
238
324
  - webapp/views/top.haml
239
325
  - webapp/views/watch.haml
240
326
  has_rdoc: true