screw_server 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. data/Gemfile.run +3 -0
  2. data/Gemfile.run.lock +41 -0
  3. data/assets/screw-jslint.js +69 -0
  4. data/assets/screw-server.js +120 -0
  5. data/assets/screw.css +70 -0
  6. data/assets/vendor/fulljslint.js +5699 -0
  7. data/assets/vendor/screw-unit/CHANGES +7 -0
  8. data/assets/vendor/screw-unit/EXAMPLE.html +68 -0
  9. data/assets/vendor/screw-unit/LICENSE +22 -0
  10. data/assets/vendor/screw-unit/README.markdown +307 -0
  11. data/assets/vendor/screw-unit/example/models/cat.js +5 -0
  12. data/assets/vendor/screw-unit/example/models/man.js +17 -0
  13. data/assets/vendor/screw-unit/example/spec/matchers/have.js +8 -0
  14. data/assets/vendor/screw-unit/example/spec/models/cat_spec.js +31 -0
  15. data/assets/vendor/screw-unit/example/spec/models/man_spec.js +34 -0
  16. data/assets/vendor/screw-unit/example/spec/spec_helper.js +5 -0
  17. data/assets/vendor/screw-unit/example/spec/suite.html +25 -0
  18. data/assets/vendor/screw-unit/lib/jquery-1.2.6.js +3549 -0
  19. data/assets/vendor/screw-unit/lib/jquery.fn.js +29 -0
  20. data/assets/vendor/screw-unit/lib/jquery.print.js +109 -0
  21. data/assets/vendor/screw-unit/lib/screw.behaviors.js +101 -0
  22. data/assets/vendor/screw-unit/lib/screw.builder.js +90 -0
  23. data/assets/vendor/screw-unit/lib/screw.css +90 -0
  24. data/assets/vendor/screw-unit/lib/screw.events.js +45 -0
  25. data/assets/vendor/screw-unit/lib/screw.matchers.js +203 -0
  26. data/assets/vendor/screw-unit/spec/behaviors_spec.js +188 -0
  27. data/assets/vendor/screw-unit/spec/matchers_spec.js +391 -0
  28. data/assets/vendor/screw-unit/spec/print_spec.js +158 -0
  29. data/assets/vendor/screw-unit/spec/spec_helper.js +0 -0
  30. data/assets/vendor/screw-unit/spec/suite.html +18 -0
  31. data/assets/vendor/smoke/LICENSE +22 -0
  32. data/assets/vendor/smoke/README.markdown +68 -0
  33. data/assets/vendor/smoke/lib/smoke.core.js +49 -0
  34. data/assets/vendor/smoke/lib/smoke.mock.js +219 -0
  35. data/assets/vendor/smoke/lib/smoke.stub.js +29 -0
  36. data/assets/vendor/smoke/plugins/screw.mocking.js +26 -0
  37. data/assets/vendor/smoke/spec/core_spec.js +115 -0
  38. data/assets/vendor/smoke/spec/mock_spec.js +431 -0
  39. data/assets/vendor/smoke/spec/screw_integration_spec.js +17 -0
  40. data/assets/vendor/smoke/spec/spec_helper.js +0 -0
  41. data/assets/vendor/smoke/spec/stub_spec.js +17 -0
  42. data/assets/vendor/smoke/spec/su/jquery-1.2.3.js +3408 -0
  43. data/assets/vendor/smoke/spec/su/jquery.fn.js +29 -0
  44. data/assets/vendor/smoke/spec/su/jquery.print.js +108 -0
  45. data/assets/vendor/smoke/spec/su/screw.behaviors.js +91 -0
  46. data/assets/vendor/smoke/spec/su/screw.builder.js +80 -0
  47. data/assets/vendor/smoke/spec/su/screw.css +74 -0
  48. data/assets/vendor/smoke/spec/su/screw.events.js +38 -0
  49. data/assets/vendor/smoke/spec/su/screw.matchers.js +65 -0
  50. data/assets/vendor/smoke/spec/suite.html +29 -0
  51. data/bin/screw_server +43 -0
  52. data/lib/screw_server/app.rb +197 -0
  53. data/lib/screw_server/base.rb +21 -0
  54. data/lib/screw_server/fixture_file.rb +17 -0
  55. data/lib/screw_server/jslint_suite.rb +51 -0
  56. data/lib/screw_server/spec_file.rb +76 -0
  57. data/lib/screw_server.rb +2 -0
  58. data/screw_server.gemspec +28 -0
  59. data/views/index.haml +13 -0
  60. data/views/missing_spec_helper.haml +12 -0
  61. data/views/no_specs.haml +11 -0
  62. data/views/run_spec.haml +30 -0
  63. data/views/sample_spec.js +7 -0
  64. data/views/sample_spec_helper.js +2 -0
  65. metadata +257 -0
metadata ADDED
@@ -0,0 +1,257 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: screw_server
3
+ version: !ruby/object:Gem::Version
4
+ hash: 19
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 4
10
+ version: 0.1.4
11
+ platform: ruby
12
+ authors:
13
+ - Kristian Hanekamp
14
+ - Infopark AG
15
+ autorequire:
16
+ bindir: bin
17
+ cert_chain: []
18
+
19
+ date: 2011-02-23 00:00:00 +01:00
20
+ default_executable:
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
23
+ name: json
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - "="
29
+ - !ruby/object:Gem::Version
30
+ hash: 1
31
+ segments:
32
+ - 1
33
+ - 4
34
+ - 3
35
+ version: 1.4.3
36
+ type: :runtime
37
+ version_requirements: *id001
38
+ - !ruby/object:Gem::Dependency
39
+ name: haml
40
+ prerelease: false
41
+ requirement: &id002 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - "="
45
+ - !ruby/object:Gem::Version
46
+ hash: 29
47
+ segments:
48
+ - 3
49
+ - 0
50
+ - 13
51
+ version: 3.0.13
52
+ type: :runtime
53
+ version_requirements: *id002
54
+ - !ruby/object:Gem::Dependency
55
+ name: bundler
56
+ prerelease: false
57
+ requirement: &id003 !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - "="
61
+ - !ruby/object:Gem::Version
62
+ hash: 25
63
+ segments:
64
+ - 1
65
+ - 0
66
+ - 7
67
+ version: 1.0.7
68
+ type: :runtime
69
+ version_requirements: *id003
70
+ - !ruby/object:Gem::Dependency
71
+ name: rack
72
+ prerelease: false
73
+ requirement: &id004 !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - "="
77
+ - !ruby/object:Gem::Version
78
+ hash: 19
79
+ segments:
80
+ - 1
81
+ - 1
82
+ - 0
83
+ version: 1.1.0
84
+ type: :runtime
85
+ version_requirements: *id004
86
+ - !ruby/object:Gem::Dependency
87
+ name: sinatra
88
+ prerelease: false
89
+ requirement: &id005 !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - "="
93
+ - !ruby/object:Gem::Version
94
+ hash: 15
95
+ segments:
96
+ - 1
97
+ - 0
98
+ version: "1.0"
99
+ type: :runtime
100
+ version_requirements: *id005
101
+ - !ruby/object:Gem::Dependency
102
+ name: daemons
103
+ prerelease: false
104
+ requirement: &id006 !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - "="
108
+ - !ruby/object:Gem::Version
109
+ hash: 3
110
+ segments:
111
+ - 1
112
+ - 0
113
+ - 10
114
+ version: 1.0.10
115
+ type: :runtime
116
+ version_requirements: *id006
117
+ - !ruby/object:Gem::Dependency
118
+ name: eventmachine
119
+ prerelease: false
120
+ requirement: &id007 !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - "="
124
+ - !ruby/object:Gem::Version
125
+ hash: 35
126
+ segments:
127
+ - 0
128
+ - 12
129
+ - 6
130
+ version: 0.12.6
131
+ type: :runtime
132
+ version_requirements: *id007
133
+ - !ruby/object:Gem::Dependency
134
+ name: thin
135
+ prerelease: false
136
+ requirement: &id008 !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - "="
140
+ - !ruby/object:Gem::Version
141
+ hash: 17
142
+ segments:
143
+ - 1
144
+ - 2
145
+ - 7
146
+ version: 1.2.7
147
+ type: :runtime
148
+ version_requirements: *id008
149
+ description: Screw Server - easy javascript unit tests
150
+ email: kristian.hanekamp@infopark.de
151
+ executables:
152
+ - screw_server
153
+ extensions: []
154
+
155
+ extra_rdoc_files: []
156
+
157
+ files:
158
+ - lib/screw_server/app.rb
159
+ - lib/screw_server/base.rb
160
+ - lib/screw_server/fixture_file.rb
161
+ - lib/screw_server/jslint_suite.rb
162
+ - lib/screw_server/spec_file.rb
163
+ - lib/screw_server.rb
164
+ - assets/screw-jslint.js
165
+ - assets/screw-server.js
166
+ - assets/screw.css
167
+ - assets/vendor/fulljslint.js
168
+ - assets/vendor/screw-unit/CHANGES
169
+ - assets/vendor/screw-unit/example/models/cat.js
170
+ - assets/vendor/screw-unit/example/models/man.js
171
+ - assets/vendor/screw-unit/example/spec/matchers/have.js
172
+ - assets/vendor/screw-unit/example/spec/models/cat_spec.js
173
+ - assets/vendor/screw-unit/example/spec/models/man_spec.js
174
+ - assets/vendor/screw-unit/example/spec/spec_helper.js
175
+ - assets/vendor/screw-unit/example/spec/suite.html
176
+ - assets/vendor/screw-unit/EXAMPLE.html
177
+ - assets/vendor/screw-unit/lib/jquery-1.2.6.js
178
+ - assets/vendor/screw-unit/lib/jquery.fn.js
179
+ - assets/vendor/screw-unit/lib/jquery.print.js
180
+ - assets/vendor/screw-unit/lib/screw.behaviors.js
181
+ - assets/vendor/screw-unit/lib/screw.builder.js
182
+ - assets/vendor/screw-unit/lib/screw.css
183
+ - assets/vendor/screw-unit/lib/screw.events.js
184
+ - assets/vendor/screw-unit/lib/screw.matchers.js
185
+ - assets/vendor/screw-unit/LICENSE
186
+ - assets/vendor/screw-unit/README.markdown
187
+ - assets/vendor/screw-unit/spec/behaviors_spec.js
188
+ - assets/vendor/screw-unit/spec/matchers_spec.js
189
+ - assets/vendor/screw-unit/spec/print_spec.js
190
+ - assets/vendor/screw-unit/spec/spec_helper.js
191
+ - assets/vendor/screw-unit/spec/suite.html
192
+ - assets/vendor/smoke/lib/smoke.core.js
193
+ - assets/vendor/smoke/lib/smoke.mock.js
194
+ - assets/vendor/smoke/lib/smoke.stub.js
195
+ - assets/vendor/smoke/LICENSE
196
+ - assets/vendor/smoke/plugins/screw.mocking.js
197
+ - assets/vendor/smoke/README.markdown
198
+ - assets/vendor/smoke/spec/core_spec.js
199
+ - assets/vendor/smoke/spec/mock_spec.js
200
+ - assets/vendor/smoke/spec/screw_integration_spec.js
201
+ - assets/vendor/smoke/spec/spec_helper.js
202
+ - assets/vendor/smoke/spec/stub_spec.js
203
+ - assets/vendor/smoke/spec/su/jquery-1.2.3.js
204
+ - assets/vendor/smoke/spec/su/jquery.fn.js
205
+ - assets/vendor/smoke/spec/su/jquery.print.js
206
+ - assets/vendor/smoke/spec/su/screw.behaviors.js
207
+ - assets/vendor/smoke/spec/su/screw.builder.js
208
+ - assets/vendor/smoke/spec/su/screw.css
209
+ - assets/vendor/smoke/spec/su/screw.events.js
210
+ - assets/vendor/smoke/spec/su/screw.matchers.js
211
+ - assets/vendor/smoke/spec/suite.html
212
+ - views/index.haml
213
+ - views/missing_spec_helper.haml
214
+ - views/no_specs.haml
215
+ - views/run_spec.haml
216
+ - views/sample_spec.js
217
+ - views/sample_spec_helper.js
218
+ - bin/screw_server
219
+ - Gemfile.run
220
+ - Gemfile.run.lock
221
+ - screw_server.gemspec
222
+ has_rdoc: true
223
+ homepage:
224
+ licenses: []
225
+
226
+ post_install_message:
227
+ rdoc_options: []
228
+
229
+ require_paths:
230
+ - lib
231
+ required_ruby_version: !ruby/object:Gem::Requirement
232
+ none: false
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ hash: 3
237
+ segments:
238
+ - 0
239
+ version: "0"
240
+ required_rubygems_version: !ruby/object:Gem::Requirement
241
+ none: false
242
+ requirements:
243
+ - - ">="
244
+ - !ruby/object:Gem::Version
245
+ hash: 3
246
+ segments:
247
+ - 0
248
+ version: "0"
249
+ requirements: []
250
+
251
+ rubyforge_project:
252
+ rubygems_version: 1.3.7
253
+ signing_key:
254
+ specification_version: 3
255
+ summary: Screw Server
256
+ test_files: []
257
+