ruby_wasm 2.5.0-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +7 -0
  2. data/.clang-format +8 -0
  3. data/CONTRIBUTING.md +126 -0
  4. data/Gemfile +17 -0
  5. data/LICENSE +21 -0
  6. data/NOTICE +1293 -0
  7. data/README.md +153 -0
  8. data/Rakefile +163 -0
  9. data/Steepfile +24 -0
  10. data/benchmarks/vm_deep_call.rb +55 -0
  11. data/builders/wasm32-unknown-emscripten/Dockerfile +43 -0
  12. data/builders/wasm32-unknown-emscripten/entrypoint.sh +7 -0
  13. data/builders/wasm32-unknown-wasi/Dockerfile +47 -0
  14. data/builders/wasm32-unknown-wasi/entrypoint.sh +7 -0
  15. data/docs/api.md +2 -0
  16. data/docs/cheat_sheet.md +195 -0
  17. data/docs/faq.md +25 -0
  18. data/exe/rbwasm +7 -0
  19. data/ext/.gitignore +2 -0
  20. data/ext/README.md +11 -0
  21. data/ext/extinit.c.erb +32 -0
  22. data/lib/ruby_wasm/3.1/ruby_wasm.so +0 -0
  23. data/lib/ruby_wasm/3.2/ruby_wasm.so +0 -0
  24. data/lib/ruby_wasm/build/build_params.rb +3 -0
  25. data/lib/ruby_wasm/build/downloader.rb +18 -0
  26. data/lib/ruby_wasm/build/executor.rb +187 -0
  27. data/lib/ruby_wasm/build/product/baseruby.rb +37 -0
  28. data/lib/ruby_wasm/build/product/crossruby.rb +330 -0
  29. data/lib/ruby_wasm/build/product/libyaml.rb +68 -0
  30. data/lib/ruby_wasm/build/product/openssl.rb +88 -0
  31. data/lib/ruby_wasm/build/product/product.rb +39 -0
  32. data/lib/ruby_wasm/build/product/ruby_source.rb +103 -0
  33. data/lib/ruby_wasm/build/product/wasi_vfs.rb +45 -0
  34. data/lib/ruby_wasm/build/product/zlib.rb +68 -0
  35. data/lib/ruby_wasm/build/product.rb +8 -0
  36. data/lib/ruby_wasm/build/toolchain/wit_bindgen.rb +31 -0
  37. data/lib/ruby_wasm/build/toolchain.rb +193 -0
  38. data/lib/ruby_wasm/build.rb +88 -0
  39. data/lib/ruby_wasm/cli.rb +217 -0
  40. data/lib/ruby_wasm/packager/core.rb +156 -0
  41. data/lib/ruby_wasm/packager/file_system.rb +158 -0
  42. data/lib/ruby_wasm/packager.rb +159 -0
  43. data/lib/ruby_wasm/rake_task.rb +59 -0
  44. data/lib/ruby_wasm/util.rb +15 -0
  45. data/lib/ruby_wasm/version.rb +3 -0
  46. data/lib/ruby_wasm.rb +33 -0
  47. data/package-lock.json +9500 -0
  48. data/package.json +12 -0
  49. data/rakelib/check.rake +37 -0
  50. data/rakelib/ci.rake +152 -0
  51. data/rakelib/doc.rake +29 -0
  52. data/rakelib/format.rake +35 -0
  53. data/rakelib/gem.rake +22 -0
  54. data/rakelib/packaging.rake +151 -0
  55. data/rakelib/version.rake +40 -0
  56. data/sig/open_uri.rbs +4 -0
  57. data/sig/ruby_wasm/build.rbs +318 -0
  58. data/sig/ruby_wasm/cli.rbs +27 -0
  59. data/sig/ruby_wasm/ext.rbs +13 -0
  60. data/sig/ruby_wasm/packager.rbs +91 -0
  61. data/sig/ruby_wasm/util.rbs +5 -0
  62. data/tools/clang-format-diff.sh +18 -0
  63. data/tools/exe/rbminify +12 -0
  64. data/tools/lib/syntax_tree/minify_ruby.rb +63 -0
  65. metadata +113 -0
data/NOTICE ADDED
@@ -0,0 +1,1293 @@
1
+ # Notices for ruby.wasm
2
+
3
+ This product has binary distribution forms and they may contain third party material from the projects listed below.
4
+
5
+ ## Ruby
6
+
7
+ https://www.ruby-lang.org/en/
8
+
9
+ ### COPYING
10
+
11
+ ```
12
+ Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
13
+ You can redistribute it and/or modify it under either the terms of the
14
+ 2-clause BSDL (see the file BSDL), or the conditions below:
15
+
16
+ 1. You may make and give away verbatim copies of the source form of the
17
+ software without restriction, provided that you duplicate all of the
18
+ original copyright notices and associated disclaimers.
19
+
20
+ 2. You may modify your copy of the software in any way, provided that
21
+ you do at least ONE of the following:
22
+
23
+ a. place your modifications in the Public Domain or otherwise
24
+ make them Freely Available, such as by posting said
25
+ modifications to Usenet or an equivalent medium, or by allowing
26
+ the author to include your modifications in the software.
27
+
28
+ b. use the modified software only within your corporation or
29
+ organization.
30
+
31
+ c. give non-standard binaries non-standard names, with
32
+ instructions on where to get the original software distribution.
33
+
34
+ d. make other distribution arrangements with the author.
35
+
36
+ 3. You may distribute the software in object code or binary form,
37
+ provided that you do at least ONE of the following:
38
+
39
+ a. distribute the binaries and library files of the software,
40
+ together with instructions (in the manual page or equivalent)
41
+ on where to get the original distribution.
42
+
43
+ b. accompany the distribution with the machine-readable source of
44
+ the software.
45
+
46
+ c. give non-standard binaries non-standard names, with
47
+ instructions on where to get the original software distribution.
48
+
49
+ d. make other distribution arrangements with the author.
50
+
51
+ 4. You may modify and include the part of the software into any other
52
+ software (possibly commercial). But some files in the distribution
53
+ are not written by the author, so that they are not under these terms.
54
+
55
+ For the list of those files and their copying conditions, see the
56
+ file LEGAL.
57
+
58
+ 5. The scripts and library files supplied as input to or produced as
59
+ output from the software do not automatically fall under the
60
+ copyright of the software, but belong to whomever generated them,
61
+ and may be sold commercially, and may be aggregated with this
62
+ software.
63
+
64
+ 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
65
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
66
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
67
+ PURPOSE.
68
+ ```
69
+
70
+
71
+ ### LEGAL
72
+
73
+ ```
74
+ = LEGAL NOTICE INFORMATION
75
+ --------------------------
76
+
77
+ All the files in this distribution are covered under either the Ruby's
78
+ license (see the file COPYING) or public-domain except some files
79
+ mentioned below.
80
+
81
+ [addr2line.c]
82
+
83
+ A part of this file is from FreeBSD.
84
+
85
+ >>>
86
+ Copyright (c) 1986, 1988, 1991, 1993::
87
+ The Regents of the University of California. All rights reserved.
88
+
89
+ (c) UNIX System Laboratories, Inc.
90
+
91
+ All or some portions of this file are derived from material licensed
92
+ to the University of California by American Telephone and Telegraph
93
+ Co. or Unix System Laboratories, Inc. and are reproduced herein with
94
+ the permission of UNIX System Laboratories, Inc.
95
+
96
+ Redistribution and use in source and binary forms, with or without
97
+ modification, are permitted provided that the following conditions
98
+ are met:
99
+ 1. Redistributions of source code must retain the above copyright
100
+ notice, this list of conditions and the following disclaimer.
101
+ 2. Redistributions in binary form must reproduce the above copyright
102
+ notice, this list of conditions and the following disclaimer in the
103
+ documentation and/or other materials provided with the distribution.
104
+ 4. Neither the name of the University nor the names of its contributors
105
+ may be used to endorse or promote products derived from this software
106
+ without specific prior written permission.
107
+
108
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
109
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
110
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
111
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
112
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
113
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
114
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
115
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
116
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
117
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
118
+ SUCH DAMAGE.
119
+
120
+ @(#)subr_prf.c 8.3 (Berkeley) 1/21/94
121
+
122
+
123
+ [ccan/build_assert/build_assert.h]
124
+ [ccan/check_type/check_type.h]
125
+ [ccan/container_of/container_of.h]
126
+ [ccan/str/str.h]
127
+
128
+ These files are licensed under the {CC0}[https://creativecommons.org/choose/zero/].
129
+
130
+ [ccan/list/list.h]
131
+
132
+ This file is licensed under the {MIT License}[rdoc-label:label-MIT+License].
133
+
134
+ [coroutine]
135
+
136
+ Unless otherwise specified, these files are licensed under the
137
+ {MIT License}[rdoc-label:label-MIT+License].
138
+
139
+ [include/ruby/onigmo.h]
140
+ [include/ruby/oniguruma.h]
141
+ [regcomp.c]
142
+ [regenc.c]
143
+ [regenc.h]
144
+ [regerror.c]
145
+ [regexec.c]
146
+ [regint.h]
147
+ [regparse.c]
148
+ [regparse.h]
149
+ [enc/ascii.c]
150
+ [enc/big5.c]
151
+ [enc/cp949.c]
152
+ [enc/emacs_mule.c]
153
+ [enc/encdb.c]
154
+ [enc/euc_jp.c]
155
+ [enc/euc_kr.c]
156
+ [enc/euc_tw.c]
157
+ [enc/gb18030.c]
158
+ [enc/gb2312.c]
159
+ [enc/gbk.c]
160
+ [enc/iso_8859_1.c]
161
+ [enc/iso_8859_10.c]
162
+ [enc/iso_8859_11.c]
163
+ [enc/iso_8859_13.c]
164
+ [enc/iso_8859_14.c]
165
+ [enc/iso_8859_15.c]
166
+ [enc/iso_8859_16.c]
167
+ [enc/iso_8859_2.c]
168
+ [enc/iso_8859_3.c]
169
+ [enc/iso_8859_4.c]
170
+ [enc/iso_8859_5.c]
171
+ [enc/iso_8859_6.c]
172
+ [enc/iso_8859_7.c]
173
+ [enc/iso_8859_8.c]
174
+ [enc/iso_8859_9.c]
175
+ [enc/koi8_r.c]
176
+ [enc/koi8_u.c]
177
+ [enc/shift_jis.c]
178
+ [enc/unicode.c]
179
+ [enc/us_ascii.c]
180
+ [enc/utf_16be.c]
181
+ [enc/utf_16le.c]
182
+ [enc/utf_32be.c]
183
+ [enc/utf_32le.c]
184
+ [enc/utf_8.c]
185
+ [enc/windows_1251.c]
186
+ [enc/windows_31j.c]
187
+
188
+ Onigmo (Oniguruma-mod) LICENSE
189
+
190
+ >>>
191
+ Copyright (c) 2002-2009:: K.Kosako <sndgk393 AT ybb DOT ne DOT jp>
192
+ Copyright (c) 2011-2014:: K.Takata <kentkt AT csc DOT jp>
193
+ All rights reserved.
194
+
195
+ Redistribution and use in source and binary forms, with or without
196
+ modification, are permitted provided that the following conditions
197
+ are met:
198
+ 1. Redistributions of source code must retain the above copyright
199
+ notice, this list of conditions and the following disclaimer.
200
+ 2. Redistributions in binary form must reproduce the above copyright
201
+ notice, this list of conditions and the following disclaimer in the
202
+ documentation and/or other materials provided with the distribution.
203
+
204
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
205
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
206
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
207
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
208
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
209
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
210
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
211
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
212
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
213
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
214
+ SUCH DAMAGE.
215
+
216
+ Oniguruma LICENSE
217
+
218
+ >>>
219
+ Copyright (c) 2002-2009:: K.Kosako <sndgk393 AT ybb DOT ne DOT jp>
220
+ All rights reserved.
221
+
222
+ Redistribution and use in source and binary forms, with or without
223
+ modification, are permitted provided that the following conditions
224
+ are met:
225
+ 1. Redistributions of source code must retain the above copyright
226
+ notice, this list of conditions and the following disclaimer.
227
+ 2. Redistributions in binary form must reproduce the above copyright
228
+ notice, this list of conditions and the following disclaimer in the
229
+ documentation and/or other materials provided with the distribution.
230
+
231
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
232
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
233
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
234
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
235
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
236
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
237
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
238
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
239
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
240
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
241
+ SUCH DAMAGE.
242
+
243
+ * https://github.com/k-takata/Onigmo/
244
+ * https://github.com/kkos/oniguruma
245
+ * https://svnweb.freebsd.org/ports/head/devel/oniguruma/
246
+
247
+ When this software is partly used or it is distributed with Ruby,
248
+ this of Ruby follows the license of Ruby.
249
+
250
+ [enc/windows_1250.c]
251
+ [enc/windows_1252.c]
252
+
253
+ >>>
254
+ Copyright (c) 2006-2007:: Byte <byte AT mail DOT kna DOT ru>
255
+ K.Kosako <sndgk393 AT ybb DOT ne DOT jp>
256
+ All rights reserved.
257
+
258
+ Redistribution and use in source and binary forms, with or without
259
+ modification, are permitted provided that the following conditions
260
+ are met:
261
+ 1. Redistributions of source code must retain the above copyright
262
+ notice, this list of conditions and the following disclaimer.
263
+ 2. Redistributions in binary form must reproduce the above copyright
264
+ notice, this list of conditions and the following disclaimer in the
265
+ documentation and/or other materials provided with the distribution.
266
+
267
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
268
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
269
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
270
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
271
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
272
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
273
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
274
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
275
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
276
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
277
+ SUCH DAMAGE.
278
+
279
+ [enc/cesu_8.c]
280
+ [enc/windows_1253.c]
281
+ [enc/windows_1254.c]
282
+ [enc/windows_1257.c]
283
+
284
+ >>>
285
+ Copyright (c) 2002-2007:: K.Kosako <sndgk393 AT ybb DOT ne DOT jp>
286
+ All rights reserved.
287
+
288
+ Redistribution and use in source and binary forms, with or without
289
+ modification, are permitted provided that the following conditions
290
+ are met:
291
+ 1. Redistributions of source code must retain the above copyright
292
+ notice, this list of conditions and the following disclaimer.
293
+ 2. Redistributions in binary form must reproduce the above copyright
294
+ notice, this list of conditions and the following disclaimer in the
295
+ documentation and/or other materials provided with the distribution.
296
+
297
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
298
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
299
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
300
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
301
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
302
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
303
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
304
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
305
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
306
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
307
+ SUCH DAMAGE.
308
+
309
+ [enc/trans/GB/GB12345%UCS.src]
310
+ [enc/trans/GB/UCS%GB12345.src]
311
+ [enc/trans/GB/GB2312%UCS.src]
312
+ [enc/trans/GB/UCS%GB2312.src]
313
+
314
+ These files have this explanatory texts.
315
+
316
+ >>>
317
+ This mapping data was created from files provided by Unicode, Inc.
318
+ (The Unicode Consortium). The files were used to create a product supporting
319
+ Unicode, as explicitly permitted in the files' copyright notices.
320
+ Please note that Unicode, Inc. never made any claims as to fitness of these
321
+ files for any particular purpose, and has ceased to publish the files many
322
+ years ago.
323
+
324
+ [enc/trans/JIS/JISX0201-KANA%UCS.src]
325
+ [enc/trans/JIS/JISX0208\@1990%UCS.src]
326
+ [enc/trans/JIS/JISX0212%UCS.src]
327
+ [enc/trans/JIS/UCS%JISX0201-KANA.src]
328
+ [enc/trans/JIS/UCS%JISX0208@1990.src]
329
+ [enc/trans/JIS/UCS%JISX0212.src]
330
+
331
+ These files are copyrighted as the following.
332
+
333
+ >>>
334
+ © 2015 Unicode®, Inc.
335
+
336
+ For terms of use, see http://www.unicode.org/terms_of_use.html
337
+
338
+ [enc/trans/JIS/JISX0213-1%UCS@BMP.src]
339
+ [enc/trans/JIS/JISX0213-1%UCS@SIP.src]
340
+ [enc/trans/JIS/JISX0213-2%UCS@BMP.src]
341
+ [enc/trans/JIS/JISX0213-2%UCS@SIP.src]
342
+
343
+ These files are copyrighted as the following.
344
+
345
+ >>>
346
+ Copyright (C) 2001:: earthian@tama.or.jp, All Rights Reserved.
347
+ Copyright (C) 2001:: I'O, All Rights Reserved.
348
+ Copyright (C) 2006:: Project X0213, All Rights Reserved.
349
+ You can use, modify, distribute this table freely.
350
+
351
+ [enc/trans/JIS/UCS@BMP%JISX0213-1.src]
352
+ [enc/trans/JIS/UCS@BMP%JISX0213-2.src]
353
+ [enc/trans/JIS/UCS@SIP%JISX0213-1.src]
354
+ [enc/trans/JIS/UCS@SIP%JISX0213-2.src]
355
+
356
+ These files are copyrighted as the following.
357
+
358
+ >>>
359
+ Copyright (C) 2001:: earthian@tama.or.jp, All Rights Reserved.
360
+ Copyright (C) 2001:: I'O, All Rights Reserved.
361
+ You can use, modify, distribute this table freely.
362
+
363
+ [enc/trans/ucm/glibc-BIG5-2.3.3.ucm]
364
+ [enc/trans/ucm/glibc-BIG5HKSCS-2.3.3.ucm]
365
+
366
+ >>>
367
+ Copyright (C) 2001-2005:: International Business Machines
368
+ Corporation and others. All Rights Reserved.
369
+
370
+ [enc/trans/ucm/windows-950-2000.ucm]
371
+ [enc/trans/ucm/windows-950_hkscs-2001.ucm]
372
+
373
+ >>>
374
+ Copyright (C) 2001-2002:: International Business Machines
375
+ Corporation and others. All Rights Reserved.
376
+
377
+
378
+ [configure]
379
+
380
+ This file is free software.
381
+
382
+ >>>
383
+ Copyright (C) 1992-1996, 1998-2012:: Free Software Foundation, Inc.
384
+
385
+ This configure script is free software; the Free Software Foundation
386
+ gives unlimited permission to copy, distribute and modify it.
387
+
388
+ [tool/config.guess]
389
+ [tool/config.sub]
390
+
391
+ As long as you distribute these files with the file configure, they
392
+ are covered under the Ruby's license.
393
+
394
+ >>>
395
+ Copyright 1992-2018:: Free Software Foundation, Inc.
396
+
397
+ This file is free software; you can redistribute it and/or modify it
398
+ under the terms of the GNU General Public License as published by
399
+ the Free Software Foundation; either version 3 of the License, or
400
+ (at your option) any later version.
401
+
402
+ This program is distributed in the hope that it will be useful, but
403
+ WITHOUT ANY WARRANTY; without even the implied warranty of
404
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
405
+ General Public License for more details.
406
+
407
+ You should have received a copy of the GNU General Public License
408
+ along with this program; if not, see <https://www.gnu.org/licenses/>.
409
+
410
+ As a special exception to the GNU General Public License, if you
411
+ distribute this file as part of a program that contains a
412
+ configuration script generated by Autoconf, you may include it under
413
+ the same distribution terms that you use for the rest of that
414
+ program. This Exception is an additional permission under section 7
415
+ of the GNU General Public License, version 3 ("GPLv3").
416
+
417
+ [tool/lib/test/*]
418
+ [tool/lib/core_assertions.rb]
419
+
420
+ Some of methods on these files are based on MiniTest 4. MiniTest 4 is
421
+ distributed under the MIT License.
422
+
423
+ >>>
424
+ Copyright (c) Ryan Davis, seattle.rb
425
+
426
+ Permission is hereby granted, free of charge, to any person obtaining
427
+ a copy of this software and associated documentation files (the
428
+ 'Software'), to deal in the Software without restriction, including
429
+ without limitation the rights to use, copy, modify, merge, publish,
430
+ distribute, sublicense, and/or sell copies of the Software, and to
431
+ permit persons to whom the Software is furnished to do so, subject to
432
+ the following conditions:
433
+
434
+ The above copyright notice and this permission notice shall be
435
+ included in all copies or substantial portions of the Software.
436
+
437
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
438
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
439
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
440
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
441
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
442
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
443
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
444
+
445
+ [parse.c]
446
+ [parse.h]
447
+
448
+ These files are licensed under the GPL, but are incorporated into Ruby and
449
+ redistributed under the terms of the Ruby license, as permitted by the
450
+ exception to the GPL below.
451
+
452
+ >>>
453
+ Copyright (C) 1984, 1989-1990, 2000-2015, 2018:: Free Software Foundation, Inc.
454
+
455
+ This program is free software: you can redistribute it and/or modify
456
+ it under the terms of the GNU General Public License as published by
457
+ the Free Software Foundation, either version 3 of the License, or
458
+ (at your option) any later version.
459
+
460
+ This program is distributed in the hope that it will be useful,
461
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
462
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
463
+ GNU General Public License for more details.
464
+
465
+ You should have received a copy of the GNU General Public License
466
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
467
+
468
+ As a special exception, you may create a larger work that contains
469
+ part or all of the Bison parser skeleton and distribute that work
470
+ under terms of your choice, so long as that work isn't itself a
471
+ parser generator using the skeleton or a modified version thereof
472
+ as a parser skeleton. Alternatively, if you modify or redistribute
473
+ the parser skeleton itself, you may (at your option) remove this
474
+ special exception, which will cause the skeleton and the resulting
475
+ Bison output files to be licensed under the GNU General Public
476
+ License without this special exception.
477
+
478
+ This special exception was added by the Free Software Foundation in
479
+ version 2.2 of Bison.
480
+
481
+ [missing/dtoa.c]
482
+
483
+ This file is under these licenses.
484
+
485
+ >>>
486
+ Copyright (c) 1991, 2000, 2001:: by Lucent Technologies.
487
+
488
+ Permission to use, copy, modify, and distribute this software for any
489
+ purpose without fee is hereby granted, provided that this entire notice
490
+ is included in all copies of any software which is or includes a copy
491
+ or modification of this software and in all copies of the supporting
492
+ documentation for such software.
493
+
494
+ THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
495
+ WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY
496
+ REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
497
+ OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
498
+
499
+ >>>
500
+ Copyright (c) 2004-2008:: David Schultz <das@FreeBSD.ORG>
501
+ All rights reserved.
502
+
503
+ Redistribution and use in source and binary forms, with or without
504
+ modification, are permitted provided that the following conditions
505
+ are met:
506
+ 1. Redistributions of source code must retain the above copyright
507
+ notice, this list of conditions and the following disclaimer.
508
+ 2. Redistributions in binary form must reproduce the above copyright
509
+ notice, this list of conditions and the following disclaimer in the
510
+ documentation and/or other materials provided with the distribution.
511
+
512
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
513
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
514
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
515
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
516
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
517
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
518
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
519
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
520
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
521
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
522
+ SUCH DAMAGE.
523
+
524
+ [win32/win32.c]
525
+ [include/ruby/win32.h]
526
+
527
+ You can apply the Artistic License to these files. (or GPL,
528
+ alternatively)
529
+
530
+ >>>
531
+ Copyright (c) 1993:: Intergraph Corporation
532
+
533
+ You may distribute under the terms of either the GNU General Public
534
+ License or the Artistic License, as specified in the perl README file.
535
+
536
+ [missing/mt19937.c]
537
+
538
+ This file is under the new-style BSD license.
539
+
540
+ >>>
541
+ A C-program for MT19937, with initialization improved 2002/2/10.::
542
+ Coded by Takuji Nishimura and Makoto Matsumoto.
543
+
544
+ This is a faster version by taking Shawn Cokus's optimization,
545
+ Matthe Bellew's simplification, Isaku Wada's real version.
546
+
547
+ Before using, initialize the state by using init_genrand(seed)
548
+ or init_by_array(init_key, key_length).
549
+
550
+ Copyright (C) 1997 - 2002:: Makoto Matsumoto and Takuji Nishimura,
551
+ All rights reserved.
552
+
553
+ Redistribution and use in source and binary forms, with or without
554
+ modification, are permitted provided that the following conditions
555
+ are met:
556
+
557
+ 1. Redistributions of source code must retain the above copyright
558
+ notice, this list of conditions and the following disclaimer.
559
+
560
+ 2. Redistributions in binary form must reproduce the above copyright
561
+ notice, this list of conditions and the following disclaimer in the
562
+ documentation and/or other materials provided with the distribution.
563
+
564
+ 3. The names of its contributors may not be used to endorse or promote
565
+ products derived from this software without specific prior written
566
+ permission.
567
+
568
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
569
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
570
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
571
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
572
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
573
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
574
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
575
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
576
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
577
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
578
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
579
+
580
+
581
+ Any feedback is very welcome.
582
+ http://www.math.keio.ac.jp/matumoto/emt.html
583
+ email: matumoto@math.keio.ac.jp
584
+
585
+ The Wayback Machine url: http://web.archive.org/web/19990429082237/http://www.math.keio.ac.jp/matumoto/emt.html
586
+
587
+ [missing/procstat_vm.c]
588
+
589
+ This file is under the new-style BSD license.
590
+
591
+ >>>
592
+ Copyright (c) 2007:: Robert N. M. Watson
593
+ All rights reserved.
594
+
595
+ Redistribution and use in source and binary forms, with or without
596
+ modification, are permitted provided that the following conditions
597
+ are met:
598
+ 1. Redistributions of source code must retain the above copyright
599
+ notice, this list of conditions and the following disclaimer.
600
+ 2. Redistributions in binary form must reproduce the above copyright
601
+ notice, this list of conditions and the following disclaimer in the
602
+ documentation and/or other materials provided with the distribution.
603
+
604
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
605
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
606
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
607
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
608
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
609
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
610
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
611
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
612
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
613
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
614
+ SUCH DAMAGE.
615
+
616
+ $FreeBSD: head/usr.bin/procstat/procstat_vm.c 261780 2014-02-11 21:57:37Z jhb $
617
+
618
+ [vsnprintf.c]
619
+
620
+ This file is under the {old-style BSD license}[rdoc-label:label-Old-style+BSD+license].
621
+
622
+ >>>
623
+ Copyright (c) 1990, 1993::
624
+ The Regents of the University of California. All rights reserved.
625
+
626
+ This code is derived from software contributed to Berkeley by
627
+ Chris Torek.
628
+
629
+ [st.c]
630
+ [strftime.c]
631
+ [include/ruby/st.h]
632
+ [missing/acosh.c]
633
+ [missing/alloca.c]
634
+ [missing/erf.c]
635
+ [missing/hypot.c]
636
+ [missing/lgamma_r.c]
637
+ [missing/memcmp.c]
638
+ [missing/memmove.c]
639
+ [missing/strchr.c]
640
+ [missing/strerror.c]
641
+ [missing/strstr.c]
642
+ [missing/tgamma.c]
643
+ [ext/date/date_strftime.c]
644
+ [ext/digest/sha1/sha1.c]
645
+ [ext/digest/sha1/sha1.h]
646
+
647
+ These files are all under public domain.
648
+
649
+ [missing/crypt.c]
650
+
651
+ This file is under the {old-style BSD license}[rdoc-label:label-Old-style+BSD+license].
652
+
653
+ >>>
654
+ Copyright (c) 1989, 1993::
655
+ The Regents of the University of California. All rights reserved.
656
+
657
+ This code is derived from software contributed to Berkeley by
658
+ Tom Truscott.
659
+
660
+ [missing/setproctitle.c]
661
+
662
+ This file is under the {old-style BSD license}[rdoc-label:label-Old-style+BSD+license].
663
+
664
+ >>>
665
+ Copyright 2003:: Damien Miller
666
+ Copyright (c) 1983, 1995-1997:: Eric P. Allman
667
+ Copyright (c) 1988, 1993::
668
+ The Regents of the University of California. All rights reserved.
669
+
670
+ [missing/strlcat.c]
671
+ [missing/strlcpy.c]
672
+
673
+ These files are under an ISC-style license.
674
+
675
+ >>>
676
+ Copyright (c) 1998, 2015:: Todd C. Miller <Todd.Miller@courtesan.com>
677
+
678
+ Permission to use, copy, modify, and distribute this software for any
679
+ purpose with or without fee is hereby granted, provided that the above
680
+ copyright notice and this permission notice appear in all copies.
681
+
682
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
683
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
684
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
685
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
686
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
687
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
688
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
689
+
690
+ [missing/langinfo.c]
691
+
692
+ This file is from http://www.cl.cam.ac.uk/~mgk25/ucs/langinfo.c.
693
+ Ruby uses a modified version. The file contains the following
694
+ author/copyright notice:
695
+
696
+ >>>
697
+ Markus.Kuhn@cl.cam.ac.uk -- 2002-03-11::
698
+ Permission to use, copy, modify, and distribute this software
699
+ for any purpose and without fee is hereby granted. The author
700
+ disclaims all warranties with regard to this software.
701
+
702
+ [ext/digest/md5/md5.c]
703
+ [ext/digest/md5/md5.h]
704
+
705
+ These files are under the following license. Ruby uses modified
706
+ versions of them.
707
+
708
+ >>>
709
+ Copyright (C) 1999, 2000:: Aladdin Enterprises. All rights reserved.
710
+
711
+ This software is provided 'as-is', without any express or implied
712
+ warranty. In no event will the authors be held liable for any damages
713
+ arising from the use of this software.
714
+
715
+ Permission is granted to anyone to use this software for any purpose,
716
+ including commercial applications, and to alter it and redistribute it
717
+ freely, subject to the following restrictions:
718
+
719
+ 1. The origin of this software must not be misrepresented; you must not
720
+ claim that you wrote the original software. If you use this software
721
+ in a product, an acknowledgment in the product documentation would be
722
+ appreciated but is not required.
723
+ 2. Altered source versions must be plainly marked as such, and must not be
724
+ misrepresented as being the original software.
725
+ 3. This notice may not be removed or altered from any source distribution.
726
+
727
+ L. Peter Deutsch
728
+ ghost@aladdin.com
729
+
730
+ [ext/digest/rmd160/rmd160.c]
731
+ [ext/digest/rmd160/rmd160.h]
732
+
733
+ These files have the following copyright information, and by the
734
+ author we are allowed to use it under the new-style BSD license.
735
+
736
+ >>>
737
+ AUTHOR:: Antoon Bosselaers, ESAT-COSIC
738
+ (Arranged for libc by Todd C. Miller)
739
+ DATE:: 1 March 1996
740
+
741
+ Copyright (c):: Katholieke Universiteit Leuven
742
+ 1996, All Rights Reserved
743
+
744
+ [ext/digest/sha2/sha2.c]
745
+ [ext/digest/sha2/sha2.h]
746
+
747
+ These files are under the new-style BSD license.
748
+
749
+ >>>
750
+ Copyright 2000:: Aaron D. Gifford. All rights reserved.
751
+
752
+ Redistribution and use in source and binary forms, with or without
753
+ modification, are permitted provided that the following conditions
754
+ are met:
755
+ 1. Redistributions of source code must retain the above copyright
756
+ notice, this list of conditions and the following disclaimer.
757
+ 2. Redistributions in binary form must reproduce the above copyright
758
+ notice, this list of conditions and the following disclaimer in the
759
+ documentation and/or other materials provided with the distribution.
760
+ 3. Neither the name of the copyright holder nor the names of contributors
761
+ may be used to endorse or promote products derived from this software
762
+ without specific prior written permission.
763
+
764
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTOR(S) ``AS IS'' AND
765
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
766
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
767
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTOR(S) BE LIABLE
768
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
769
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
770
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
771
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
772
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
773
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
774
+ SUCH DAMAGE.
775
+
776
+ [ext/json/generator/generator.c]
777
+
778
+ The file contains the following copyright notice.
779
+
780
+ >>>
781
+ Copyright 2001-2004:: Unicode, Inc.
782
+
783
+ Disclaimer::
784
+
785
+ This source code is provided as is by Unicode, Inc. No claims are
786
+ made as to fitness for any particular purpose. No warranties of any
787
+ kind are expressed or implied. The recipient agrees to determine
788
+ applicability of information provided. If this file has been
789
+ purchased on magnetic or optical media from Unicode, Inc., the
790
+ sole remedy for any claim will be exchange of defective media
791
+ within 90 days of receipt.
792
+
793
+ Limitations on Rights to Redistribute This Code::
794
+
795
+ Unicode, Inc. hereby grants the right to freely use the information
796
+ supplied in this file in the creation of products supporting the
797
+ Unicode Standard, and to make copies of this file in any form
798
+ for internal or external distribution as long as this notice
799
+ remains attached.
800
+
801
+ [ext/nkf/nkf-utf8/config.h]
802
+ [ext/nkf/nkf-utf8/nkf.c]
803
+ [ext/nkf/nkf-utf8/utf8tbl.c]
804
+
805
+ These files are under the following license. So to speak, it is
806
+ copyrighted semi-public-domain software.
807
+
808
+ >>>
809
+ Copyright (C) 1987:: Fujitsu LTD. (Itaru ICHIKAWA)
810
+
811
+ Everyone is permitted to do anything on this program
812
+ including copying, modifying, improving,
813
+ as long as you don't try to pretend that you wrote it.
814
+ i.e., the above copyright notice has to appear in all copies.
815
+ Binary distribution requires original version messages.
816
+ You don't have to ask before copying, redistribution or publishing.
817
+ THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE.
818
+
819
+ [ext/psych]
820
+ [test/psych]
821
+
822
+ The files under these directories are under the following license, except for
823
+ ext/psych/yaml.
824
+
825
+ >>>
826
+ Copyright 2009:: Aaron Patterson, et al.
827
+
828
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
829
+ this software and associated documentation files (the 'Software'), to deal in
830
+ the Software without restriction, including without limitation the rights to
831
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
832
+ of the Software, and to permit persons to whom the Software is furnished to do
833
+ so, subject to the following conditions:
834
+
835
+ The above copyright notice and this permission notice shall be included in all
836
+ copies or substantial portions of the Software.
837
+
838
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
839
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
840
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
841
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
842
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
843
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
844
+ SOFTWARE.
845
+
846
+ [ext/psych/yaml]
847
+
848
+ The files under this directory are under the following license.
849
+
850
+ >>>
851
+ Copyright (c) 2006:: Kirill Simonov
852
+
853
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
854
+ this software and associated documentation files (the "Software"), to deal in
855
+ the Software without restriction, including without limitation the rights to
856
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
857
+ of the Software, and to permit persons to whom the Software is furnished to do
858
+ so, subject to the following conditions:
859
+
860
+ The above copyright notice and this permission notice shall be included in all
861
+ copies or substantial portions of the Software.
862
+
863
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
864
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
865
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
866
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
867
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
868
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
869
+ SOFTWARE.
870
+
871
+ [ext/pty/pty.c]
872
+
873
+ >>>
874
+ C) Copyright 1998:: by Akinori Ito.
875
+
876
+ This software may be redistributed freely for this purpose, in full
877
+ or in part, provided that this entire copyright notice is included
878
+ on any copies of this software and applications and derivations thereof.
879
+
880
+ This software is provided on an "as is" basis, without warranty of any
881
+ kind, either expressed or implied, as to any matter including, but not
882
+ limited to warranty of fitness of purpose, or merchantability, or
883
+ results obtained from use of this software.
884
+
885
+ [ext/socket/addrinfo.h]
886
+ [ext/socket/getaddrinfo.c]
887
+ [ext/socket/getnameinfo.c]
888
+
889
+ These files are under the new-style BSD license.
890
+
891
+ >>>
892
+ Copyright (C) 1995, 1996, 1997, 1998, and 1999:: WIDE Project.
893
+ All rights reserved.
894
+
895
+ Redistribution and use in source and binary forms, with or without
896
+ modification, are permitted provided that the following conditions
897
+ are met:
898
+ 1. Redistributions of source code must retain the above copyright
899
+ notice, this list of conditions and the following disclaimer.
900
+ 2. Redistributions in binary form must reproduce the above copyright
901
+ notice, this list of conditions and the following disclaimer in the
902
+ documentation and/or other materials provided with the distribution.
903
+ 3. Neither the name of the project nor the names of its contributors
904
+ may be used to endorse or promote products derived from this software
905
+ without specific prior written permission.
906
+
907
+ THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
908
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
909
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
910
+ ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
911
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
912
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
913
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
914
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
915
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
916
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
917
+ SUCH DAMAGE.
918
+
919
+ [ext/win32ole/win32ole.c]
920
+
921
+ You can apply the Artistic License to this file. (or GPL,
922
+ alternatively)
923
+
924
+ >>>
925
+ (c) 1995:: Microsoft Corporation. All rights reserved.
926
+ Developed by ActiveWare Internet Corp., http://www.ActiveWare.com
927
+
928
+ Other modifications Copyright (c) 1997, 1998:: by Gurusamy Sarathy
929
+ <gsar@umich.edu> and Jan Dubois <jan.dubois@ibm.net>
930
+
931
+ You may distribute under the terms of either the GNU General Public
932
+ License or the Artistic License, as specified in the README file
933
+ of the Perl distribution.
934
+
935
+ The Wayback Machine url: http://web.archive.org/web/19970607104352/http://www.activeware.com:80/
936
+
937
+ [lib/rdoc/generator/template/darkfish/css/fonts.css]
938
+
939
+ This file is licensed under the {SIL Open Font License}[http://scripts.sil.org/OFL].
940
+
941
+ [spec/mspec]
942
+ [spec/ruby]
943
+
944
+ The files under these directories are under the following license.
945
+
946
+ >>>
947
+ Copyright (c) 2008:: Engine Yard, Inc. All rights reserved.
948
+
949
+ Permission is hereby granted, free of charge, to any person
950
+ obtaining a copy of this software and associated documentation
951
+ files (the "Software"), to deal in the Software without
952
+ restriction, including without limitation the rights to use,
953
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
954
+ copies of the Software, and to permit persons to whom the
955
+ Software is furnished to do so, subject to the following
956
+ conditions:
957
+
958
+ The above copyright notice and this permission notice shall be
959
+ included in all copies or substantial portions of the Software.
960
+
961
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
962
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
963
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
964
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
965
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
966
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
967
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
968
+ OTHER DEALINGS IN THE SOFTWARE.
969
+
970
+ [lib/rubygems.rb]
971
+ [lib/rubygems]
972
+ [test/rubygems]
973
+
974
+ RubyGems is under the following license.
975
+
976
+ >>>
977
+ RubyGems is copyrighted free software by Chad Fowler, Rich Kilmer, Jim
978
+ Weirich and others. You can redistribute it and/or modify it under
979
+ either the terms of the {MIT license}[rdoc-label:label-MIT+License], or the conditions
980
+ below:
981
+
982
+ 1. You may make and give away verbatim copies of the source form of the
983
+ software without restriction, provided that you duplicate all of the
984
+ original copyright notices and associated disclaimers.
985
+
986
+ 2. You may modify your copy of the software in any way, provided that
987
+ you do at least ONE of the following:
988
+
989
+ a. place your modifications in the Public Domain or otherwise
990
+ make them Freely Available, such as by posting said
991
+ modifications to Usenet or an equivalent medium, or by allowing
992
+ the author to include your modifications in the software.
993
+
994
+ b. use the modified software only within your corporation or
995
+ organization.
996
+
997
+ c. give non-standard executables non-standard names, with
998
+ instructions on where to get the original software distribution.
999
+
1000
+ d. make other distribution arrangements with the author.
1001
+
1002
+ 3. You may distribute the software in object code or executable
1003
+ form, provided that you do at least ONE of the following:
1004
+
1005
+ a. distribute the executables and library files of the software,
1006
+ together with instructions (in the manual page or equivalent)
1007
+ on where to get the original distribution.
1008
+
1009
+ b. accompany the distribution with the machine-readable source of
1010
+ the software.
1011
+
1012
+ c. give non-standard executables non-standard names, with
1013
+ instructions on where to get the original software distribution.
1014
+
1015
+ d. make other distribution arrangements with the author.
1016
+
1017
+ 4. You may modify and include the part of the software into any other
1018
+ software (possibly commercial).
1019
+
1020
+ 5. The scripts and library files supplied as input to or produced as
1021
+ output from the software do not automatically fall under the
1022
+ copyright of the software, but belong to whomever generated them,
1023
+ and may be sold commercially, and may be aggregated with this
1024
+ software.
1025
+
1026
+ 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
1027
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
1028
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1029
+ PURPOSE.
1030
+
1031
+ [lib/bundler]
1032
+ [lib/bundler.rb]
1033
+ [spec/bundler]
1034
+
1035
+ Bundler is under the following license.
1036
+
1037
+ >>>
1038
+ Portions copyright (c) 2010:: Andre Arko
1039
+ Portions copyright (c) 2009:: Engine Yard
1040
+
1041
+ {MIT License}[rdoc-label:label-MIT+License]
1042
+
1043
+ [lib/bundler/vendor/thor]
1044
+
1045
+ Thor is under the following license.
1046
+
1047
+ >>>
1048
+ Copyright (c) 2008 Yehuda Katz, Eric Hodel, et al.
1049
+
1050
+ {MIT License}[rdoc-label:label-MIT+License]
1051
+
1052
+ [lib/rubygems/resolver/molinillo]
1053
+ [lib/bundler/vendor/molinillo]
1054
+
1055
+ molinillo is under the following license.
1056
+
1057
+ >>>
1058
+ Copyright (c) 2014 Samuel E. Giddins segiddins@segiddins.me
1059
+
1060
+ {MIT License}[rdoc-label:label-MIT+License]
1061
+
1062
+ [lib/bundler/vendor/connection_pool]
1063
+
1064
+ connection_pool is under the following license.
1065
+
1066
+ >>>
1067
+ Copyright (c) 2011 Mike Perham
1068
+
1069
+ {MIT License}[rdoc-label:label-MIT+License]
1070
+
1071
+ [lib/bundler/vendor/net-http-persistent]
1072
+
1073
+ net-http-persistent is under the following license.
1074
+
1075
+ >>>
1076
+ Copyright (c) Eric Hodel, Aaron Patterson
1077
+
1078
+ {MIT License}[rdoc-label:label-MIT+License]
1079
+
1080
+ [lib/did_you_mean]
1081
+ [lib/did_you_mean.rb]
1082
+ [test/did_you_mean]
1083
+
1084
+ did_you_mean is under the following license.
1085
+
1086
+ >>>
1087
+ Copyright (c) 2014-2016 Yuki Nishijima
1088
+
1089
+ {MIT License}[rdoc-label:label-MIT+License]
1090
+
1091
+ [lib/error_highlight]
1092
+ [lib/error_highlight.rb]
1093
+ [test/error_highlight]
1094
+
1095
+ error_highlight is under the following license.
1096
+
1097
+ >>>
1098
+ Copyright (c) 2021 Yusuke Endoh
1099
+
1100
+ {MIT License}[rdoc-label:label-MIT+License]
1101
+
1102
+ [benchmark/so_ackermann.rb]
1103
+ [benchmark/so_array.rb]
1104
+ [benchmark/so_binary_trees.rb]
1105
+ [benchmark/so_concatenate.rb]
1106
+ [benchmark/so_count_words.yml]
1107
+ [benchmark/so_exception.rb]
1108
+ [benchmark/so_fannkuch.rb]
1109
+ [benchmark/so_fasta.rb]
1110
+ [benchmark/so_k_nucleotide.yml]
1111
+ [benchmark/so_lists.rb]
1112
+ [benchmark/so_mandelbrot.rb]
1113
+ [benchmark/so_matrix.rb]
1114
+ [benchmark/so_meteor_contest.rb]
1115
+ [benchmark/so_nbody.rb]
1116
+ [benchmark/so_nested_loop.rb]
1117
+ [benchmark/so_nsieve.rb]
1118
+ [benchmark/so_nsieve_bits.rb]
1119
+ [benchmark/so_object.rb]
1120
+ [benchmark/so_partial_sums.rb]
1121
+ [benchmark/so_pidigits.rb]
1122
+ [benchmark/so_random.rb]
1123
+ [benchmark/so_reverse_complement.yml]
1124
+ [benchmark/so_sieve.rb]
1125
+ [benchmark/so_spectralnorm.rb]
1126
+
1127
+ These files are very old copy of then-called "The Great Computer Language
1128
+ Shootout". LEGAL SITUATION OF THESE FILES ARE UNCLEAR because the original
1129
+ site has been lost. Upstream diverged to delete several benchmarks listed
1130
+ above.
1131
+
1132
+ == MIT License
1133
+ >>>
1134
+ Permission is hereby granted, free of charge, to any person obtaining
1135
+ a copy of this software and associated documentation files (the
1136
+ "Software"), to deal in the Software without restriction, including
1137
+ without limitation the rights to use, copy, modify, merge, publish,
1138
+ distribute, sublicense, and/or sell copies of the Software, and to
1139
+ permit persons to whom the Software is furnished to do so, subject to
1140
+ the following conditions:
1141
+
1142
+ The above copyright notice and this permission notice shall be
1143
+ included in all copies or substantial portions of the Software.
1144
+
1145
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1146
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1147
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
1148
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
1149
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
1150
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
1151
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1152
+
1153
+ == Old-style BSD license
1154
+ >>>
1155
+ Redistribution and use in source and binary forms, with or without
1156
+ modification, are permitted provided that the following conditions
1157
+ are met:
1158
+ 1. Redistributions of source code must retain the above copyright
1159
+ notice, this list of conditions and the following disclaimer.
1160
+ 2. Redistributions in binary form must reproduce the above copyright
1161
+ notice, this list of conditions and the following disclaimer in the
1162
+ documentation and/or other materials provided with the distribution.
1163
+ 3. Neither the name of the University nor the names of its contributors
1164
+ may be used to endorse or promote products derived from this software
1165
+ without specific prior written permission.
1166
+
1167
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
1168
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1169
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1170
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
1171
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1172
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1173
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1174
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1175
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1176
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1177
+ SUCH DAMAGE.
1178
+
1179
+ IMPORTANT NOTE::
1180
+
1181
+ From ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1182
+ paragraph 3 above is now null and void.
1183
+ ```
1184
+
1185
+ Other bundled gems are licenced by their own license declared in their gemspecs.
1186
+
1187
+ ## LibYAML
1188
+
1189
+ https://github.com/yaml/libyaml
1190
+
1191
+ ```
1192
+ Copyright (c) 2017-2020 Ingy döt Net
1193
+ Copyright (c) 2006-2016 Kirill Simonov
1194
+ Licensed under the MIT License.
1195
+ ```
1196
+
1197
+
1198
+ ## Zlib
1199
+
1200
+ https://www.zlib.net
1201
+
1202
+ ```
1203
+ zlib.h -- interface of the 'zlib' general purpose compression library
1204
+ version 1.2.13, October 13th, 2022
1205
+
1206
+ Copyright (C) 1995-2022 Jean-loup Gailly and Mark Adler
1207
+
1208
+ This software is provided 'as-is', without any express or implied
1209
+ warranty. In no event will the authors be held liable for any damages
1210
+ arising from the use of this software.
1211
+
1212
+ Permission is granted to anyone to use this software for any purpose,
1213
+ including commercial applications, and to alter it and redistribute it
1214
+ freely, subject to the following restrictions:
1215
+
1216
+ 1. The origin of this software must not be misrepresented; you must not
1217
+ claim that you wrote the original software. If you use this software
1218
+ in a product, an acknowledgment in the product documentation would be
1219
+ appreciated but is not required.
1220
+ 2. Altered source versions must be plainly marked as such, and must not be
1221
+ misrepresented as being the original software.
1222
+ 3. This notice may not be removed or altered from any source distribution.
1223
+
1224
+ Jean-loup Gailly Mark Adler
1225
+ jloup@gzip.org madler@alumni.caltech.edu
1226
+ ```
1227
+
1228
+ ## wasi-libc
1229
+
1230
+ https://github.com/WebAssembly/wasi-libc
1231
+
1232
+ ```
1233
+ wasi-libc as a whole is multi-licensed under the
1234
+ Apache License v2.0 with LLVM Exceptions, the Apache License v2.0, and
1235
+ the MIT License. See the LICENSE-APACHE-LLVM, LICENSE-APACHE and LICENSE-MIT
1236
+ files, respectively, for details.
1237
+
1238
+ Portions of this software are derived from third-party works covered by
1239
+ their own licenses:
1240
+
1241
+ dlmalloc/ - CC0; see the notice in malloc.c for details
1242
+ emmalloc/ - MIT; see the notice in emmalloc.c for details
1243
+ libc-bottom-half/cloudlibc/ - BSD-2-Clause; see the LICENSE file for details
1244
+ libc-top-half/musl/ - MIT; see the COPYRIGHT file for details
1245
+
1246
+ wasi-libc's changes to these files are multi-licensed under the
1247
+ Apache License v2.0 with LLVM Exceptions, the Apache License v2.0,
1248
+ the MIT License, and the original licenses of the third-party works.
1249
+ ```
1250
+
1251
+ Licensed under the MIT License
1252
+
1253
+ ## OpenSSL
1254
+
1255
+ https://www.openssl.org/
1256
+
1257
+ ```
1258
+ Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
1259
+ Licensed under the Apache License 2.0 https://www.openssl.org/source/license.html
1260
+ ```
1261
+
1262
+ ## wasi-vfs
1263
+
1264
+ https://github.com/kateinoigakukun/wasi-vfs
1265
+
1266
+ ```
1267
+ Copyright (c) 2022 Yuta Saito. All rights reserved.
1268
+ Licensed under the MIT License
1269
+ ```
1270
+
1271
+ ---
1272
+
1273
+ ## MIT License
1274
+
1275
+ ```
1276
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1277
+ of this software and associated documentation files (the "Software"), to deal
1278
+ in the Software without restriction, including without limitation the rights
1279
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1280
+ copies of the Software, and to permit persons to whom the Software is
1281
+ furnished to do so, subject to the following conditions:
1282
+
1283
+ The above copyright notice and this permission notice shall be included in all
1284
+ copies or substantial portions of the Software.
1285
+
1286
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1287
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1288
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1289
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1290
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1291
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1292
+ SOFTWARE.
1293
+ ```