nibjs 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. data/CHANGELOG.md +5 -0
  2. data/Gemfile +2 -0
  3. data/Gemfile.lock +45 -0
  4. data/LICENCE.js +7 -0
  5. data/LICENCE.md +22 -0
  6. data/Manifest.txt +16 -0
  7. data/README.md +64 -0
  8. data/Rakefile +53 -0
  9. data/bin/nibjs +4 -0
  10. data/lib/nibjs/loader.rb +2 -0
  11. data/lib/nibjs/main.rb +288 -0
  12. data/lib/nibjs/version.rb +14 -0
  13. data/lib/nibjs.rb +9 -0
  14. data/nibjs.gemspec +194 -0
  15. data/nibjs.noespec +41 -0
  16. data/src/nibjs.coffee +124 -0
  17. data/tasks/debug_mail.rake +78 -0
  18. data/tasks/debug_mail.txt +13 -0
  19. data/tasks/dist.rake +14 -0
  20. data/tasks/gem.rake +68 -0
  21. data/tasks/test.rake +72 -0
  22. data/tasks/yard.rake +51 -0
  23. data/test/command/header.js +1 -0
  24. data/test/command/nibjs_spec.rb +52 -0
  25. data/test/command/run.rb +3 -0
  26. data/test/command/sc_coffee_1.exp +31 -0
  27. data/test/command/sc_coffee_2.exp +26 -0
  28. data/test/command/sc_coffee_3.exp +25 -0
  29. data/test/command/sc_coffee_4.exp +26 -0
  30. data/test/command/sc_coffee_5.exp +24 -0
  31. data/test/command/sc_common_0.exp +31 -0
  32. data/test/command/sc_common_1.exp +31 -0
  33. data/test/command/sc_common_2.exp +32 -0
  34. data/test/command/sc_common_3.exp +32 -0
  35. data/test/command/sc_common_4.exp +1 -0
  36. data/test/command/sc_common_5.exp +1 -0
  37. data/test/command/scenarios.rb +73 -0
  38. data/test/fixture.coffee/app.coffee +6 -0
  39. data/test/fixture.coffee/dependent.coffee +8 -0
  40. data/test/fixture.coffee/index.coffee +3 -0
  41. data/test/fixture.js/app.js +9 -0
  42. data/test/fixture.js/dependent.js +10 -0
  43. data/test/fixture.js/index.js +3 -0
  44. data/test/fixture.min.js +28 -0
  45. data/test/integration/index.html +42 -0
  46. data/test/integration/integration_test.coffee +29 -0
  47. data/test/integration/integration_test.js +34 -0
  48. data/test/integration/integration_test.rb +37 -0
  49. data/test/integration/jquery-1.4.4.min.js +167 -0
  50. data/test/jasmine/nibjs_spec.coffee +31 -0
  51. data/test/jasmine/run.coffee +14 -0
  52. data/test/nibjs.js +74 -0
  53. metadata +325 -0
metadata ADDED
@@ -0,0 +1,325 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nibjs
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
+ prerelease:
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 0
10
+ version: 1.0.0
11
+ platform: ruby
12
+ authors:
13
+ - Bernard Lambeau
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-02-22 00:00:00 +01:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ type: :development
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ~>
27
+ - !ruby/object:Gem::Version
28
+ hash: 49
29
+ segments:
30
+ - 0
31
+ - 8
32
+ - 7
33
+ version: 0.8.7
34
+ name: rake
35
+ version_requirements: *id001
36
+ prerelease: false
37
+ - !ruby/object:Gem::Dependency
38
+ type: :development
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ hash: 31
45
+ segments:
46
+ - 2
47
+ - 4
48
+ - 0
49
+ version: 2.4.0
50
+ name: rspec
51
+ version_requirements: *id002
52
+ prerelease: false
53
+ - !ruby/object:Gem::Dependency
54
+ type: :development
55
+ requirement: &id003 !ruby/object:Gem::Requirement
56
+ none: false
57
+ requirements:
58
+ - - ~>
59
+ - !ruby/object:Gem::Version
60
+ hash: 25
61
+ segments:
62
+ - 0
63
+ - 9
64
+ version: "0.9"
65
+ name: rcov
66
+ version_requirements: *id003
67
+ prerelease: false
68
+ - !ruby/object:Gem::Dependency
69
+ type: :development
70
+ requirement: &id004 !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ hash: 15
76
+ segments:
77
+ - 0
78
+ - 6
79
+ - 4
80
+ version: 0.6.4
81
+ name: yard
82
+ version_requirements: *id004
83
+ prerelease: false
84
+ - !ruby/object:Gem::Dependency
85
+ type: :development
86
+ requirement: &id005 !ruby/object:Gem::Requirement
87
+ none: false
88
+ requirements:
89
+ - - ~>
90
+ - !ruby/object:Gem::Version
91
+ hash: 29
92
+ segments:
93
+ - 2
94
+ - 0
95
+ - 9
96
+ version: 2.0.9
97
+ name: bluecloth
98
+ version_requirements: *id005
99
+ prerelease: false
100
+ - !ruby/object:Gem::Dependency
101
+ type: :development
102
+ requirement: &id006 !ruby/object:Gem::Requirement
103
+ none: false
104
+ requirements:
105
+ - - ~>
106
+ - !ruby/object:Gem::Version
107
+ hash: 53
108
+ segments:
109
+ - 0
110
+ - 10
111
+ - 1
112
+ version: 0.10.1
113
+ name: wlang
114
+ version_requirements: *id006
115
+ prerelease: false
116
+ - !ruby/object:Gem::Dependency
117
+ type: :development
118
+ requirement: &id007 !ruby/object:Gem::Requirement
119
+ none: false
120
+ requirements:
121
+ - - ">"
122
+ - !ruby/object:Gem::Version
123
+ hash: 3
124
+ segments:
125
+ - 0
126
+ version: "0"
127
+ name: sinatra
128
+ version_requirements: *id007
129
+ prerelease: false
130
+ - !ruby/object:Gem::Dependency
131
+ type: :development
132
+ requirement: &id008 !ruby/object:Gem::Requirement
133
+ none: false
134
+ requirements:
135
+ - - ~>
136
+ - !ruby/object:Gem::Version
137
+ hash: 15
138
+ segments:
139
+ - 1
140
+ - 0
141
+ version: "1.0"
142
+ name: bundler
143
+ version_requirements: *id008
144
+ prerelease: false
145
+ - !ruby/object:Gem::Dependency
146
+ type: :development
147
+ requirement: &id009 !ruby/object:Gem::Requirement
148
+ none: false
149
+ requirements:
150
+ - - ~>
151
+ - !ruby/object:Gem::Version
152
+ hash: 23
153
+ segments:
154
+ - 0
155
+ - 2
156
+ - 0
157
+ version: 0.2.0
158
+ name: quickl
159
+ version_requirements: *id009
160
+ prerelease: false
161
+ - !ruby/object:Gem::Dependency
162
+ type: :runtime
163
+ requirement: &id010 !ruby/object:Gem::Requirement
164
+ none: false
165
+ requirements:
166
+ - - ~>
167
+ - !ruby/object:Gem::Version
168
+ hash: 15
169
+ segments:
170
+ - 1
171
+ - 0
172
+ version: "1.0"
173
+ name: bundler
174
+ version_requirements: *id010
175
+ prerelease: false
176
+ - !ruby/object:Gem::Dependency
177
+ type: :runtime
178
+ requirement: &id011 !ruby/object:Gem::Requirement
179
+ none: false
180
+ requirements:
181
+ - - ~>
182
+ - !ruby/object:Gem::Version
183
+ hash: 23
184
+ segments:
185
+ - 0
186
+ - 2
187
+ - 0
188
+ version: 0.2.0
189
+ name: quickl
190
+ version_requirements: *id011
191
+ prerelease: false
192
+ description: |-
193
+ nib.js is a NibJS javascript library allowing to maintain javascript projects ala 'node.js'
194
+ (modules, exports, require) while also targetting a web browser as execution platform. It
195
+ contains a simple packager command (nibjs) that will convert your sources to a single and
196
+ minified .js file to be embedded in the browser. Node.js's exports and require are correctly
197
+ bounded.
198
+ email:
199
+ - blambeau@gmail.com
200
+ executables:
201
+ - nibjs
202
+ extensions: []
203
+
204
+ extra_rdoc_files:
205
+ - README.md
206
+ - CHANGELOG.md
207
+ - LICENCE.md
208
+ files:
209
+ - bin/nibjs
210
+ - CHANGELOG.md
211
+ - Gemfile
212
+ - Gemfile.lock
213
+ - lib/nibjs/loader.rb
214
+ - lib/nibjs/main.rb
215
+ - lib/nibjs/version.rb
216
+ - lib/nibjs.rb
217
+ - LICENCE.js
218
+ - LICENCE.md
219
+ - Manifest.txt
220
+ - nibjs.gemspec
221
+ - nibjs.noespec
222
+ - Rakefile
223
+ - README.md
224
+ - src/nibjs.coffee
225
+ - tasks/debug_mail.rake
226
+ - tasks/debug_mail.txt
227
+ - tasks/dist.rake
228
+ - tasks/gem.rake
229
+ - tasks/test.rake
230
+ - tasks/yard.rake
231
+ - test/command/header.js
232
+ - test/command/nibjs_spec.rb
233
+ - test/command/run.rb
234
+ - test/command/sc_coffee_1.exp
235
+ - test/command/sc_coffee_2.exp
236
+ - test/command/sc_coffee_3.exp
237
+ - test/command/sc_coffee_4.exp
238
+ - test/command/sc_coffee_5.exp
239
+ - test/command/sc_common_0.exp
240
+ - test/command/sc_common_1.exp
241
+ - test/command/sc_common_2.exp
242
+ - test/command/sc_common_3.exp
243
+ - test/command/sc_common_4.exp
244
+ - test/command/sc_common_5.exp
245
+ - test/command/scenarios.rb
246
+ - test/fixture.coffee/app.coffee
247
+ - test/fixture.coffee/dependent.coffee
248
+ - test/fixture.coffee/index.coffee
249
+ - test/fixture.js/app.js
250
+ - test/fixture.js/dependent.js
251
+ - test/fixture.js/index.js
252
+ - test/fixture.min.js
253
+ - test/integration/index.html
254
+ - test/integration/integration_test.coffee
255
+ - test/integration/integration_test.js
256
+ - test/integration/integration_test.rb
257
+ - test/integration/jquery-1.4.4.min.js
258
+ - test/jasmine/nibjs_spec.coffee
259
+ - test/jasmine/run.coffee
260
+ - test/nibjs.js
261
+ has_rdoc: true
262
+ homepage: http://github.com/blambeau/nib.js
263
+ licenses: []
264
+
265
+ post_install_message:
266
+ rdoc_options: []
267
+
268
+ require_paths:
269
+ - lib
270
+ required_ruby_version: !ruby/object:Gem::Requirement
271
+ none: false
272
+ requirements:
273
+ - - ">="
274
+ - !ruby/object:Gem::Version
275
+ hash: 3
276
+ segments:
277
+ - 0
278
+ version: "0"
279
+ required_rubygems_version: !ruby/object:Gem::Requirement
280
+ none: false
281
+ requirements:
282
+ - - ">="
283
+ - !ruby/object:Gem::Version
284
+ hash: 3
285
+ segments:
286
+ - 0
287
+ version: "0"
288
+ requirements: []
289
+
290
+ rubyforge_project:
291
+ rubygems_version: 1.5.0
292
+ signing_key:
293
+ specification_version: 3
294
+ summary: nib.js - Package and embed node.js or coffeescript libraries in the browser
295
+ test_files:
296
+ - test/command/header.js
297
+ - test/command/nibjs_spec.rb
298
+ - test/command/run.rb
299
+ - test/command/sc_coffee_1.exp
300
+ - test/command/sc_coffee_2.exp
301
+ - test/command/sc_coffee_3.exp
302
+ - test/command/sc_coffee_4.exp
303
+ - test/command/sc_coffee_5.exp
304
+ - test/command/sc_common_0.exp
305
+ - test/command/sc_common_1.exp
306
+ - test/command/sc_common_2.exp
307
+ - test/command/sc_common_3.exp
308
+ - test/command/sc_common_4.exp
309
+ - test/command/sc_common_5.exp
310
+ - test/command/scenarios.rb
311
+ - test/fixture.coffee/app.coffee
312
+ - test/fixture.coffee/dependent.coffee
313
+ - test/fixture.coffee/index.coffee
314
+ - test/fixture.js/app.js
315
+ - test/fixture.js/dependent.js
316
+ - test/fixture.js/index.js
317
+ - test/fixture.min.js
318
+ - test/integration/index.html
319
+ - test/integration/integration_test.coffee
320
+ - test/integration/integration_test.js
321
+ - test/integration/integration_test.rb
322
+ - test/integration/jquery-1.4.4.min.js
323
+ - test/jasmine/nibjs_spec.coffee
324
+ - test/jasmine/run.coffee
325
+ - test/nibjs.js