harmony 0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. data/.gitignore +5 -0
  2. data/LICENSE +19 -0
  3. data/Manifest +117 -0
  4. data/README.md +155 -0
  5. data/Rakefile +39 -0
  6. data/docs.watchr +25 -0
  7. data/harmony.gemspec +18 -0
  8. data/lib/harmony.rb +5 -0
  9. data/lib/harmony/page.rb +123 -0
  10. data/specs.watchr +36 -0
  11. data/test/harmony_test.rb +8 -0
  12. data/test/page_test.rb +73 -0
  13. data/test/test_helper.rb +13 -0
  14. data/vendor/README +1 -0
  15. data/vendor/envjs/README +36 -0
  16. data/vendor/envjs/bin/envjsrb +255 -0
  17. data/vendor/envjs/bin/jquery-1.2.6-test.js +33 -0
  18. data/vendor/envjs/bin/jquery-1.3.1-test.js +33 -0
  19. data/vendor/envjs/bin/jquery-1.3.2-test.js +106 -0
  20. data/vendor/envjs/bin/prototype-1.6.0.3-test.js +82 -0
  21. data/vendor/envjs/bin/prototype_1.6.0.3_tmpl.txt +27 -0
  22. data/vendor/envjs/bin/test-jquery.sh +58 -0
  23. data/vendor/envjs/bin/test-prototype.sh +54 -0
  24. data/vendor/envjs/bin/tidy +0 -0
  25. data/vendor/envjs/lib/envjs.rb +23 -0
  26. data/vendor/envjs/lib/envjs/env.js +21665 -0
  27. data/vendor/envjs/lib/envjs/net.rb +3 -0
  28. data/vendor/envjs/lib/envjs/net/cgi.rb +94 -0
  29. data/vendor/envjs/lib/envjs/net/file.rb +75 -0
  30. data/vendor/envjs/lib/envjs/options.rb +11 -0
  31. data/vendor/envjs/lib/envjs/runtime.rb +351 -0
  32. data/vendor/envjs/lib/envjs/tempfile.rb +24 -0
  33. data/vendor/envjs/test/base64.js +80 -0
  34. data/vendor/envjs/test/call-load-test.js +15 -0
  35. data/vendor/envjs/test/data.js +45 -0
  36. data/vendor/envjs/test/debug.js +53 -0
  37. data/vendor/envjs/test/firebug/errorIcon.png +0 -0
  38. data/vendor/envjs/test/firebug/firebug.css +209 -0
  39. data/vendor/envjs/test/firebug/firebug.html +23 -0
  40. data/vendor/envjs/test/firebug/firebug.js +672 -0
  41. data/vendor/envjs/test/firebug/firebugx.js +10 -0
  42. data/vendor/envjs/test/firebug/infoIcon.png +0 -0
  43. data/vendor/envjs/test/firebug/warningIcon.png +0 -0
  44. data/vendor/envjs/test/fixtures/html/events.html +171 -0
  45. data/vendor/envjs/test/fixtures/html/iframe1.html +46 -0
  46. data/vendor/envjs/test/fixtures/html/iframe1a.html +46 -0
  47. data/vendor/envjs/test/fixtures/html/iframe2.html +45 -0
  48. data/vendor/envjs/test/fixtures/html/iframe3.html +28 -0
  49. data/vendor/envjs/test/fixtures/html/iframeN.html +57 -0
  50. data/vendor/envjs/test/fixtures/html/malformed.html +181 -0
  51. data/vendor/envjs/test/fixtures/html/scope.html +81 -0
  52. data/vendor/envjs/test/fixtures/html/trivial.html +19 -0
  53. data/vendor/envjs/test/fixtures/html/with_js.html +26 -0
  54. data/vendor/envjs/test/fixtures/images/icon-blue.png +0 -0
  55. data/vendor/envjs/test/fixtures/js/external_script.js +1 -0
  56. data/vendor/envjs/test/fixtures/js/script.js +1 -0
  57. data/vendor/envjs/test/fixtures/js/script_error.js +2 -0
  58. data/vendor/envjs/test/html/events.html +171 -0
  59. data/vendor/envjs/test/html/iframe1.html +46 -0
  60. data/vendor/envjs/test/html/iframe1a.html +46 -0
  61. data/vendor/envjs/test/html/iframe2.html +45 -0
  62. data/vendor/envjs/test/html/iframe3.html +30 -0
  63. data/vendor/envjs/test/html/iframeN.html +57 -0
  64. data/vendor/envjs/test/html/malformed.html +181 -0
  65. data/vendor/envjs/test/html/scope.html +87 -0
  66. data/vendor/envjs/test/html/script.js +1 -0
  67. data/vendor/envjs/test/html/trivial.html +19 -0
  68. data/vendor/envjs/test/html/with_js.html +26 -0
  69. data/vendor/envjs/test/index.html +328 -0
  70. data/vendor/envjs/test/java-prototype.js +9 -0
  71. data/vendor/envjs/test/primary-tests.js +24 -0
  72. data/vendor/envjs/test/prototype-test.js +13 -0
  73. data/vendor/envjs/test/qunit.js +61 -0
  74. data/vendor/envjs/test/qunit/qunit/qunit.css +17 -0
  75. data/vendor/envjs/test/qunit/qunit/qunit.js +997 -0
  76. data/vendor/envjs/test/scope.rb +25 -0
  77. data/vendor/envjs/test/specs/dist/env.spec.js +1534 -0
  78. data/vendor/envjs/test/specs/envjs.spec.css +46 -0
  79. data/vendor/envjs/test/specs/parser/html.js +31 -0
  80. data/vendor/envjs/test/specs/parser/spec.html +40 -0
  81. data/vendor/envjs/test/specs/parser/xml.js +31 -0
  82. data/vendor/envjs/test/specs/qunit.bdd.js +210 -0
  83. data/vendor/envjs/test/specs/qunit.css +17 -0
  84. data/vendor/envjs/test/specs/qunit.js +997 -0
  85. data/vendor/envjs/test/specs/template/spec-0.js +31 -0
  86. data/vendor/envjs/test/specs/template/spec-1.js +31 -0
  87. data/vendor/envjs/test/specs/template/spec.html +40 -0
  88. data/vendor/envjs/test/specs/window/css.js +23 -0
  89. data/vendor/envjs/test/specs/window/dialog.js +25 -0
  90. data/vendor/envjs/test/specs/window/document.js +23 -0
  91. data/vendor/envjs/test/specs/window/event.js +25 -0
  92. data/vendor/envjs/test/specs/window/history.js +34 -0
  93. data/vendor/envjs/test/specs/window/location.js +34 -0
  94. data/vendor/envjs/test/specs/window/navigator.js +71 -0
  95. data/vendor/envjs/test/specs/window/screen.js +42 -0
  96. data/vendor/envjs/test/specs/window/spec.html +48 -0
  97. data/vendor/envjs/test/specs/window/timer.js +26 -0
  98. data/vendor/envjs/test/specs/window/window.js +53 -0
  99. data/vendor/envjs/test/specs/xhr/spec.html +47 -0
  100. data/vendor/envjs/test/specs/xhr/xhr.js +31 -0
  101. data/vendor/envjs/test/test.js +10 -0
  102. data/vendor/envjs/test/unit/dom.js +44 -0
  103. data/vendor/envjs/test/unit/elementmembers.js +60 -0
  104. data/vendor/envjs/test/unit/events.js +195 -0
  105. data/vendor/envjs/test/unit/fixtures/external_script.js +1 -0
  106. data/vendor/envjs/test/unit/iframe.js +234 -0
  107. data/vendor/envjs/test/unit/multi-window.js +212 -0
  108. data/vendor/envjs/test/unit/nu.validator.js +34 -0
  109. data/vendor/envjs/test/unit/onload.js +90 -0
  110. data/vendor/envjs/test/unit/parser.js +121 -0
  111. data/vendor/envjs/test/unit/prototypecompat.js +22 -0
  112. data/vendor/envjs/test/unit/proxy.js +6 -0
  113. data/vendor/envjs/test/unit/scope.js +209 -0
  114. data/vendor/envjs/test/unit/timer.js +115 -0
  115. data/vendor/envjs/test/unit/window.js +41 -0
  116. data/vendor/envjs/test/vendor/jQuery/README +2 -0
  117. data/vendor/envjs/test/vendor/prototype-1.6.0.3.js +4320 -0
  118. metadata +200 -0
metadata ADDED
@@ -0,0 +1,200 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: harmony
3
+ version: !ruby/object:Gem::Version
4
+ version: "0.5"
5
+ platform: ruby
6
+ authors:
7
+ - mynyml
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2010-02-11 00:00:00 +01:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: johnson
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - "="
22
+ - !ruby/object:Gem::Version
23
+ version: 2.0.0.pre0
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: stackdeck
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: "0"
34
+ version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: minitest
37
+ type: :development
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: "0"
44
+ version:
45
+ description: yo dawg, i heard you liked developing web apps while using ruby on the cmd line, so i added javascript and a DOM in your ruby so you could js the dom without browser while you code in your editor
46
+ email: mynyml@gmail.com
47
+ executables: []
48
+
49
+ extensions: []
50
+
51
+ extra_rdoc_files: []
52
+
53
+ files:
54
+ - .gitignore
55
+ - LICENSE
56
+ - Manifest
57
+ - README.md
58
+ - Rakefile
59
+ - docs.watchr
60
+ - harmony.gemspec
61
+ - lib/harmony.rb
62
+ - lib/harmony/page.rb
63
+ - specs.watchr
64
+ - test/harmony_test.rb
65
+ - test/page_test.rb
66
+ - test/test_helper.rb
67
+ - vendor/README
68
+ - vendor/envjs/README
69
+ - vendor/envjs/bin/envjsrb
70
+ - vendor/envjs/bin/jquery-1.2.6-test.js
71
+ - vendor/envjs/bin/jquery-1.3.1-test.js
72
+ - vendor/envjs/bin/jquery-1.3.2-test.js
73
+ - vendor/envjs/bin/prototype-1.6.0.3-test.js
74
+ - vendor/envjs/bin/prototype_1.6.0.3_tmpl.txt
75
+ - vendor/envjs/bin/test-jquery.sh
76
+ - vendor/envjs/bin/test-prototype.sh
77
+ - vendor/envjs/bin/tidy
78
+ - vendor/envjs/lib/envjs.rb
79
+ - vendor/envjs/lib/envjs/env.js
80
+ - vendor/envjs/lib/envjs/net.rb
81
+ - vendor/envjs/lib/envjs/net/cgi.rb
82
+ - vendor/envjs/lib/envjs/net/file.rb
83
+ - vendor/envjs/lib/envjs/options.rb
84
+ - vendor/envjs/lib/envjs/runtime.rb
85
+ - vendor/envjs/lib/envjs/tempfile.rb
86
+ - vendor/envjs/test/base64.js
87
+ - vendor/envjs/test/call-load-test.js
88
+ - vendor/envjs/test/data.js
89
+ - vendor/envjs/test/debug.js
90
+ - vendor/envjs/test/firebug/errorIcon.png
91
+ - vendor/envjs/test/firebug/firebug.css
92
+ - vendor/envjs/test/firebug/firebug.html
93
+ - vendor/envjs/test/firebug/firebug.js
94
+ - vendor/envjs/test/firebug/firebugx.js
95
+ - vendor/envjs/test/firebug/infoIcon.png
96
+ - vendor/envjs/test/firebug/warningIcon.png
97
+ - vendor/envjs/test/fixtures/html/events.html
98
+ - vendor/envjs/test/fixtures/html/iframe1.html
99
+ - vendor/envjs/test/fixtures/html/iframe1a.html
100
+ - vendor/envjs/test/fixtures/html/iframe2.html
101
+ - vendor/envjs/test/fixtures/html/iframe3.html
102
+ - vendor/envjs/test/fixtures/html/iframeN.html
103
+ - vendor/envjs/test/fixtures/html/malformed.html
104
+ - vendor/envjs/test/fixtures/html/scope.html
105
+ - vendor/envjs/test/fixtures/html/trivial.html
106
+ - vendor/envjs/test/fixtures/html/with_js.html
107
+ - vendor/envjs/test/fixtures/images/icon-blue.png
108
+ - vendor/envjs/test/fixtures/js/external_script.js
109
+ - vendor/envjs/test/fixtures/js/script.js
110
+ - vendor/envjs/test/fixtures/js/script_error.js
111
+ - vendor/envjs/test/html/events.html
112
+ - vendor/envjs/test/html/iframe1.html
113
+ - vendor/envjs/test/html/iframe1a.html
114
+ - vendor/envjs/test/html/iframe2.html
115
+ - vendor/envjs/test/html/iframe3.html
116
+ - vendor/envjs/test/html/iframeN.html
117
+ - vendor/envjs/test/html/malformed.html
118
+ - vendor/envjs/test/html/scope.html
119
+ - vendor/envjs/test/html/script.js
120
+ - vendor/envjs/test/html/trivial.html
121
+ - vendor/envjs/test/html/with_js.html
122
+ - vendor/envjs/test/index.html
123
+ - vendor/envjs/test/java-prototype.js
124
+ - vendor/envjs/test/primary-tests.js
125
+ - vendor/envjs/test/prototype-test.js
126
+ - vendor/envjs/test/qunit.js
127
+ - vendor/envjs/test/qunit/qunit/qunit.css
128
+ - vendor/envjs/test/qunit/qunit/qunit.js
129
+ - vendor/envjs/test/scope.rb
130
+ - vendor/envjs/test/specs/dist/env.spec.js
131
+ - vendor/envjs/test/specs/envjs.spec.css
132
+ - vendor/envjs/test/specs/parser/html.js
133
+ - vendor/envjs/test/specs/parser/spec.html
134
+ - vendor/envjs/test/specs/parser/xml.js
135
+ - vendor/envjs/test/specs/qunit.bdd.js
136
+ - vendor/envjs/test/specs/qunit.css
137
+ - vendor/envjs/test/specs/qunit.js
138
+ - vendor/envjs/test/specs/template/spec-0.js
139
+ - vendor/envjs/test/specs/template/spec-1.js
140
+ - vendor/envjs/test/specs/template/spec.html
141
+ - vendor/envjs/test/specs/window/css.js
142
+ - vendor/envjs/test/specs/window/dialog.js
143
+ - vendor/envjs/test/specs/window/document.js
144
+ - vendor/envjs/test/specs/window/event.js
145
+ - vendor/envjs/test/specs/window/history.js
146
+ - vendor/envjs/test/specs/window/location.js
147
+ - vendor/envjs/test/specs/window/navigator.js
148
+ - vendor/envjs/test/specs/window/screen.js
149
+ - vendor/envjs/test/specs/window/spec.html
150
+ - vendor/envjs/test/specs/window/timer.js
151
+ - vendor/envjs/test/specs/window/window.js
152
+ - vendor/envjs/test/specs/xhr/spec.html
153
+ - vendor/envjs/test/specs/xhr/xhr.js
154
+ - vendor/envjs/test/test.js
155
+ - vendor/envjs/test/unit/dom.js
156
+ - vendor/envjs/test/unit/elementmembers.js
157
+ - vendor/envjs/test/unit/events.js
158
+ - vendor/envjs/test/unit/fixtures/external_script.js
159
+ - vendor/envjs/test/unit/iframe.js
160
+ - vendor/envjs/test/unit/multi-window.js
161
+ - vendor/envjs/test/unit/nu.validator.js
162
+ - vendor/envjs/test/unit/onload.js
163
+ - vendor/envjs/test/unit/parser.js
164
+ - vendor/envjs/test/unit/prototypecompat.js
165
+ - vendor/envjs/test/unit/proxy.js
166
+ - vendor/envjs/test/unit/scope.js
167
+ - vendor/envjs/test/unit/timer.js
168
+ - vendor/envjs/test/unit/window.js
169
+ - vendor/envjs/test/vendor/jQuery/README
170
+ - vendor/envjs/test/vendor/prototype-1.6.0.3.js
171
+ has_rdoc: true
172
+ homepage: http://github.com/mynyml/harmony
173
+ licenses: []
174
+
175
+ post_install_message:
176
+ rdoc_options: []
177
+
178
+ require_paths:
179
+ - lib
180
+ required_ruby_version: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - ">="
183
+ - !ruby/object:Gem::Version
184
+ version: "0"
185
+ version:
186
+ required_rubygems_version: !ruby/object:Gem::Requirement
187
+ requirements:
188
+ - - ">="
189
+ - !ruby/object:Gem::Version
190
+ version: "0"
191
+ version:
192
+ requirements: []
193
+
194
+ rubyforge_project: harmony
195
+ rubygems_version: 1.3.5
196
+ signing_key:
197
+ specification_version: 3
198
+ summary: Javascript + DOM in your ruby, the simple way
199
+ test_files: []
200
+