ruby-magic-static 0.3.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.
- checksums.yaml +7 -0
- data/AUTHORS +1 -0
- data/CHANGELOG.md +60 -0
- data/COPYRIGHT +1 -0
- data/LICENSE +202 -0
- data/NOTICE +466 -0
- data/README.md +46 -0
- data/VERSION +1 -0
- data/ext/magic/common.h +132 -0
- data/ext/magic/extconf.rb +196 -0
- data/ext/magic/functions.c +344 -0
- data/ext/magic/functions.h +67 -0
- data/ext/magic/ruby-magic.c +1595 -0
- data/ext/magic/ruby-magic.h +307 -0
- data/kwilczynski-public.pem +25 -0
- data/lib/magic.rb +203 -0
- data/lib/magic/core/file.rb +66 -0
- data/lib/magic/core/string.rb +33 -0
- data/lib/magic/version.rb +42 -0
- metadata +73 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e25b370819fbafc50a7ea88a29f26c42be0eed8823fe62750cf580587a77ddb2
|
4
|
+
data.tar.gz: d9e4e9dd790db8a7ce9b3960df281b3ab45690a93780979e32faf39f17eb9e49
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 527d6cf28036c92c87a4065897d19652d4b74c7ab54c7e7c54128e99d82bad98d232c1626a90c898a9810dd5a73419359fb72dfadb4f1fec86e1ad6b6759191b
|
7
|
+
data.tar.gz: 94354ba381a33c3212d82a5d9d1cd00f692d27cc529709a5f96a4059407527525689b2547105b1c1651dbc93546d7a56a83577a3c12151529cb961a44391225c
|
data/AUTHORS
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Krzysztof Wilczyński <kw@linux.com> (@kwilczynski)
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
|
5
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
6
|
+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
7
|
+
|
8
|
+
## [Unreleased]
|
9
|
+
|
10
|
+
## [0.2.0] - 2015-03-25
|
11
|
+
### Added
|
12
|
+
|
13
|
+
- Added _Gemnasium_, plus _Coveralls_ and _Code Climate_ integration (and hence improved code test coverage).
|
14
|
+
- Added functionality to handle releasing the `GVL` for any _file_ and/or _I/O_ operations.
|
15
|
+
- Added ability to `Magic#flags_array` to return name of each flag that is set.
|
16
|
+
- Added naïve synchronization via `Mutex#lock` and `Mutex#unlock` methods to make interactions with _libmagic_ more thread-safe.
|
17
|
+
- Added ability for _Travis CI_ test against multiple versions of vanilla _libmagic_.
|
18
|
+
- Added _LLVM_ (`clang`) compiler to build with to _Travis CI_, and fixed various issues reported by `clang` compiler during build-time.
|
19
|
+
- Added ability for `Magic#load` to take nil as valid argument.
|
20
|
+
- Added support for the `MAGIC_CONTINUE` flag so that `Magic#file`, `Magic#buffer` and `Magic#descriptor` methods will return an _array_ for multiple results when appropriate.
|
21
|
+
- Added rudimentary `Vagrantfile` that can be used to build a development environment.
|
22
|
+
- Added the `Guard` Ruby gem for convenience, with an appropriate `Guardfile`.
|
23
|
+
|
24
|
+
### Changed
|
25
|
+
|
26
|
+
- Re-factored the _API_ and cleaned up small portions of code and documentation.
|
27
|
+
- Changed `Magic#version_array` and `Magic#version_string` methods to be a singleton methods.
|
28
|
+
- Renamed the `Magic#flags_array` method to `Magic#flags_to_a`.
|
29
|
+
- Changed the `Magic::new` method, so that it accepts an array of paths from which to load the _Magic_ database.
|
30
|
+
- Moved integration with _File_ and _String_ core classes into separate namespace.
|
31
|
+
- Changed the behavior not to catch the generic `Magic::Error`, plus always to raise on errors coming from _libmagic_. This is to make it more aligned with the standard library, where _file_ and _I/O_ related errors would raise an appropriate exception.
|
32
|
+
- Changed behavior consistent among various versions of _libmagic_ adhering to the _POSIX_ standard. This concerns the following _IEEE 1003.1_ standards:
|
33
|
+
- http://pubs.opengroup.org/onlinepubs/007904975/utilities/file.html
|
34
|
+
- http://pubs.opengroup.org/onlinepubs/9699919799/utilities/file.html
|
35
|
+
|
36
|
+
### Fixed
|
37
|
+
|
38
|
+
- Fixed formatting and white spaces.
|
39
|
+
- Fixed _Travis CI_ build against _Rubinius_.
|
40
|
+
- Fixed setting of global `errno` value to avoid race conditions.
|
41
|
+
- Fixed issue with _libmagic_'s regular expression (`regex`) library not working with _UTF-8_ (or any other wide-character encoding).
|
42
|
+
- Fixed build to make it work with _C++_ compilers.
|
43
|
+
- Fixed any _C90_ standard related build-time warnings.
|
44
|
+
- Fixed version number to comply with _Semantic Versioning 2_ (http://semver.org/).
|
45
|
+
|
46
|
+
### Deprecated
|
47
|
+
|
48
|
+
- Retired support for Ruby 1.8.x (no support for _MRI_, _Ruby Enterprise Edition_ and _Rubinius_).
|
49
|
+
- Retired testing with Ruby _1.9.2_ and _2.1.0_, and added _2.2.0_ on _Travis CI_.
|
50
|
+
- Removed forward declaration of `errno` as it's not needed on systems with modern _C/C++_ libraries and compilers.
|
51
|
+
- Removed the `-Wl,--no-undefined` option from `LDFLAGS`, as they might break on some systems.
|
52
|
+
|
53
|
+
## [0.1.0] - 2014-03-21
|
54
|
+
### Added
|
55
|
+
|
56
|
+
- First version of Magic.
|
57
|
+
|
58
|
+
[Unreleased]: https://github.com/kwilczynski/ruby-magic/compare/v0.2.0...HEAD
|
59
|
+
[0.2.0]: https://github.com/kwilczynski/ruby-magic/compare/v0.1.0...v0.2.0
|
60
|
+
[0.1.0]: https://github.com/kwilczynski/ruby-magic/compare/29e6c26...v0.1.0
|
data/COPYRIGHT
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Copyright 2013-2021 Krzysztof Wilczyński
|
data/LICENSE
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/NOTICE
ADDED
@@ -0,0 +1,466 @@
|
|
1
|
+
Ruby Magic
|
2
|
+
Copyright 2013-2021 Krzysztof Wilczyński
|
3
|
+
|
4
|
+
This product relies on and/or includes a number of Open Source software
|
5
|
+
projects, including those that have been modified.
|
6
|
+
|
7
|
+
* ruby
|
8
|
+
|
9
|
+
The Ruby Programming Language.
|
10
|
+
|
11
|
+
LICENSE:
|
12
|
+
The Ruby License
|
13
|
+
|
14
|
+
HOMEPAGE:
|
15
|
+
https://www.ruby-lang.org
|
16
|
+
|
17
|
+
Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
|
18
|
+
|
19
|
+
You can redistribute it and/or modify it under either the terms of the
|
20
|
+
2-clause BSDL (see the file BSDL), or the conditions below:
|
21
|
+
|
22
|
+
1. You may make and give away verbatim copies of the source form of the
|
23
|
+
software without restriction, provided that you duplicate all of the
|
24
|
+
original copyright notices and associated disclaimers.
|
25
|
+
|
26
|
+
2. You may modify your copy of the software in any way, provided that
|
27
|
+
you do at least ONE of the following:
|
28
|
+
|
29
|
+
a) place your modifications in the Public Domain or otherwise
|
30
|
+
make them Freely Available, such as by posting said
|
31
|
+
modifications to Usenet or an equivalent medium, or by allowing
|
32
|
+
the author to include your modifications in the software.
|
33
|
+
|
34
|
+
b) use the modified software only within your corporation or
|
35
|
+
organization.
|
36
|
+
|
37
|
+
c) give non-standard binaries non-standard names, with
|
38
|
+
instructions on where to get the original software distribution.
|
39
|
+
|
40
|
+
d) make other distribution arrangements with the author.
|
41
|
+
|
42
|
+
3. You may distribute the software in object code or binary form,
|
43
|
+
provided that you do at least ONE of the following:
|
44
|
+
|
45
|
+
a) distribute the binaries and library files of the software,
|
46
|
+
together with instructions (in the manual page or equivalent)
|
47
|
+
on where to get the original distribution.
|
48
|
+
|
49
|
+
b) accompany the distribution with the machine-readable source of
|
50
|
+
the software.
|
51
|
+
|
52
|
+
c) give non-standard binaries non-standard names, with
|
53
|
+
instructions on where to get the original software distribution.
|
54
|
+
|
55
|
+
d) make other distribution arrangements with the author.
|
56
|
+
|
57
|
+
4. You may modify and include the part of the software into any other
|
58
|
+
software (possibly commercial). But some files in the distribution
|
59
|
+
are not written by the author, so that they are not under these terms.
|
60
|
+
|
61
|
+
For the list of those files and their copying conditions, see the
|
62
|
+
file LEGAL.
|
63
|
+
|
64
|
+
5. The scripts and library files supplied as input to or produced as
|
65
|
+
output from the software do not automatically fall under the
|
66
|
+
copyright of the software, but belong to whomever generated them,
|
67
|
+
and may be sold commercially, and may be aggregated with this
|
68
|
+
software.
|
69
|
+
|
70
|
+
6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
|
71
|
+
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
72
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
73
|
+
PURPOSE.
|
74
|
+
|
75
|
+
* rake
|
76
|
+
|
77
|
+
A make-like build utility for Ruby.
|
78
|
+
|
79
|
+
LICENSE:
|
80
|
+
MIT
|
81
|
+
|
82
|
+
HOMEPAGE:
|
83
|
+
https://ruby.github.io/rake
|
84
|
+
|
85
|
+
Copyright (c) Jim Weirich
|
86
|
+
|
87
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
88
|
+
a copy of this software and associated documentation files (the
|
89
|
+
"Software"), to deal in the Software without restriction, including
|
90
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
91
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
92
|
+
permit persons to whom the Software is furnished to do so, subject to
|
93
|
+
the following conditions:
|
94
|
+
|
95
|
+
The above copyright notice and this permission notice shall be
|
96
|
+
included in all copies or substantial portions of the Software.
|
97
|
+
|
98
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
99
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
100
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
101
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
102
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
103
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
104
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
105
|
+
|
106
|
+
* rdoc
|
107
|
+
|
108
|
+
RDoc - Ruby Documentation System.
|
109
|
+
|
110
|
+
LICENSE:
|
111
|
+
The Ruby License
|
112
|
+
|
113
|
+
HOMEPAGE:
|
114
|
+
https://ruby.github.io/rdoc
|
115
|
+
|
116
|
+
RDoc is copyrighted free software.
|
117
|
+
|
118
|
+
You can redistribute it and/or modify it under either the terms of the GPL
|
119
|
+
version 2 (see the file GPL), or the conditions below:
|
120
|
+
|
121
|
+
1. You may make and give away verbatim copies of the source form of the
|
122
|
+
software without restriction, provided that you duplicate all of the
|
123
|
+
original copyright notices and associated disclaimers.
|
124
|
+
|
125
|
+
2. You may modify your copy of the software in any way, provided that
|
126
|
+
you do at least ONE of the following:
|
127
|
+
|
128
|
+
a. place your modifications in the Public Domain or otherwise
|
129
|
+
make them Freely Available, such as by posting said
|
130
|
+
modifications to Usenet or an equivalent medium, or by allowing
|
131
|
+
the author to include your modifications in the software.
|
132
|
+
|
133
|
+
b. use the modified software only within your corporation or
|
134
|
+
organization.
|
135
|
+
|
136
|
+
c. give non-standard binaries non-standard names, with
|
137
|
+
instructions on where to get the original software distribution.
|
138
|
+
|
139
|
+
d. make other distribution arrangements with the author.
|
140
|
+
|
141
|
+
3. You may distribute the software in object code or binary form,
|
142
|
+
provided that you do at least ONE of the following:
|
143
|
+
|
144
|
+
a. distribute the binaries and library files of the software,
|
145
|
+
together with instructions (in the manual page or equivalent)
|
146
|
+
on where to get the original distribution.
|
147
|
+
|
148
|
+
b. accompany the distribution with the machine-readable source of
|
149
|
+
the software.
|
150
|
+
|
151
|
+
c. give non-standard binaries non-standard names, with
|
152
|
+
instructions on where to get the original software distribution.
|
153
|
+
|
154
|
+
d. make other distribution arrangements with the author.
|
155
|
+
|
156
|
+
4. You may modify and include the part of the software into any other
|
157
|
+
software (possibly commercial). But some files in the distribution
|
158
|
+
are not written by the author, so that they are not under these terms.
|
159
|
+
|
160
|
+
For the list of those files and their copying conditions, see the
|
161
|
+
file LEGAL.
|
162
|
+
|
163
|
+
5. The scripts and library files supplied as input to or produced as
|
164
|
+
output from the software do not automatically fall under the
|
165
|
+
copyright of the software, but belong to whomever generated them,
|
166
|
+
and may be sold commercially, and may be aggregated with this
|
167
|
+
software.
|
168
|
+
|
169
|
+
6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
|
170
|
+
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
171
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
172
|
+
PURPOSE.
|
173
|
+
|
174
|
+
* rake-compiler
|
175
|
+
|
176
|
+
Provide a standard and simplified way to build and package Ruby C and Java
|
177
|
+
extensions using Rake as glue.
|
178
|
+
|
179
|
+
LICENSE:
|
180
|
+
MIT
|
181
|
+
|
182
|
+
HOMEPAGE:
|
183
|
+
https://github.com/rake-compiler/rake-compiler
|
184
|
+
|
185
|
+
Copyright (c) 2008-2011 Luis Lavena.
|
186
|
+
|
187
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
188
|
+
a copy of this software and associated documentation files (the
|
189
|
+
"Software"), to deal in the Software without restriction, including
|
190
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
191
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
192
|
+
permit persons to whom the Software is furnished to do so, subject to
|
193
|
+
the following conditions:
|
194
|
+
|
195
|
+
The above copyright notice and this permission notice shall be
|
196
|
+
included in all copies or substantial portions of the Software.
|
197
|
+
|
198
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
199
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
200
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
201
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
202
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
203
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
204
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
205
|
+
|
206
|
+
* mocha
|
207
|
+
|
208
|
+
Mocha is a mocking and stubbing library for Ruby.
|
209
|
+
|
210
|
+
LICENSE:
|
211
|
+
The Ruby License
|
212
|
+
|
213
|
+
HOMEPAGE:
|
214
|
+
https://mocha.jamesmead.org/
|
215
|
+
|
216
|
+
Copyright Revieworld Ltd. 2006
|
217
|
+
|
218
|
+
Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
|
219
|
+
You can redistribute it and/or modify it under either the terms of the
|
220
|
+
2-clause BSDL (see the file BSDL), or the conditions below:
|
221
|
+
|
222
|
+
1. You may make and give away verbatim copies of the source form of the
|
223
|
+
software without restriction, provided that you duplicate all of the
|
224
|
+
original copyright notices and associated disclaimers.
|
225
|
+
|
226
|
+
2. You may modify your copy of the software in any way, provided that
|
227
|
+
you do at least ONE of the following:
|
228
|
+
|
229
|
+
a) place your modifications in the Public Domain or otherwise
|
230
|
+
make them Freely Available, such as by posting said
|
231
|
+
modifications to Usenet or an equivalent medium, or by allowing
|
232
|
+
the author to include your modifications in the software.
|
233
|
+
|
234
|
+
b) use the modified software only within your corporation or
|
235
|
+
organization.
|
236
|
+
|
237
|
+
c) give non-standard binaries non-standard names, with
|
238
|
+
instructions on where to get the original software distribution.
|
239
|
+
|
240
|
+
d) make other distribution arrangements with the author.
|
241
|
+
|
242
|
+
3. You may distribute the software in object code or binary form,
|
243
|
+
provided that you do at least ONE of the following:
|
244
|
+
|
245
|
+
a) distribute the binaries and library files of the software,
|
246
|
+
together with instructions (in the manual page or equivalent)
|
247
|
+
on where to get the original distribution.
|
248
|
+
|
249
|
+
b) accompany the distribution with the machine-readable source of
|
250
|
+
the software.
|
251
|
+
|
252
|
+
c) give non-standard binaries non-standard names, with
|
253
|
+
instructions on where to get the original software distribution.
|
254
|
+
|
255
|
+
d) make other distribution arrangements with the author.
|
256
|
+
|
257
|
+
4. You may modify and include the part of the software into any other
|
258
|
+
software (possibly commercial). But some files in the distribution
|
259
|
+
are not written by the author, so that they are not under these terms.
|
260
|
+
|
261
|
+
For the list of those files and their copying conditions, see the
|
262
|
+
file LEGAL.
|
263
|
+
|
264
|
+
5. The scripts and library files supplied as input to or produced as
|
265
|
+
output from the software do not automatically fall under the
|
266
|
+
copyright of the software, but belong to whomever generated them,
|
267
|
+
and may be sold commercially, and may be aggregated with this
|
268
|
+
software.
|
269
|
+
|
270
|
+
6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
|
271
|
+
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
272
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
273
|
+
PURPOSE.
|
274
|
+
|
275
|
+
* test-unit
|
276
|
+
|
277
|
+
An xUnit family unit testing framework for Ruby.
|
278
|
+
|
279
|
+
LICENSE:
|
280
|
+
The Ruby License
|
281
|
+
|
282
|
+
HOMEPAGE:
|
283
|
+
https://test-unit.github.io
|
284
|
+
|
285
|
+
test-unit is copyrighted free software by Kouhei Sutou
|
286
|
+
<kou@cozmixng.org>, Ryan Davis <ryand-ruby@zenspider.com>
|
287
|
+
and Nathaniel Talbott <nathaniel@talbott.ws>.
|
288
|
+
|
289
|
+
You can redistribute it and/or modify it under either the terms of the GPL
|
290
|
+
version 2 (see the file GPL), or the conditions below:
|
291
|
+
|
292
|
+
1. You may make and give away verbatim copies of the source form of the
|
293
|
+
software without restriction, provided that you duplicate all of the
|
294
|
+
original copyright notices and associated disclaimers.
|
295
|
+
|
296
|
+
2. You may modify your copy of the software in any way, provided that
|
297
|
+
you do at least ONE of the following:
|
298
|
+
|
299
|
+
a) place your modifications in the Public Domain or otherwise
|
300
|
+
make them Freely Available, such as by posting said
|
301
|
+
modifications to Usenet or an equivalent medium, or by allowing
|
302
|
+
the author to include your modifications in the software.
|
303
|
+
|
304
|
+
b) use the modified software only within your corporation or
|
305
|
+
organization.
|
306
|
+
|
307
|
+
c) give non-standard binaries non-standard names, with
|
308
|
+
instructions on where to get the original software distribution.
|
309
|
+
|
310
|
+
d) make other distribution arrangements with the author.
|
311
|
+
|
312
|
+
3. You may distribute the software in object code or binary form,
|
313
|
+
provided that you do at least ONE of the following:
|
314
|
+
|
315
|
+
a) distribute the binaries and library files of the software,
|
316
|
+
together with instructions (in the manual page or equivalent)
|
317
|
+
on where to get the original distribution.
|
318
|
+
|
319
|
+
b) accompany the distribution with the machine-readable source of
|
320
|
+
the software.
|
321
|
+
|
322
|
+
c) give non-standard binaries non-standard names, with
|
323
|
+
instructions on where to get the original software distribution.
|
324
|
+
|
325
|
+
d) make other distribution arrangements with the author.
|
326
|
+
|
327
|
+
4. You may modify and include the part of the software into any other
|
328
|
+
software (possibly commercial). But some files in the distribution
|
329
|
+
are not written by the author, so that they are not under these terms.
|
330
|
+
|
331
|
+
For the list of those files and their copying conditions, see the
|
332
|
+
file LEGAL.
|
333
|
+
|
334
|
+
5. The scripts and library files supplied as input to or produced as
|
335
|
+
output from the software do not automatically fall under the
|
336
|
+
copyright of the software, but belong to whomever generated them,
|
337
|
+
and may be sold commercially, and may be aggregated with this
|
338
|
+
software.
|
339
|
+
|
340
|
+
6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
|
341
|
+
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
342
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
343
|
+
PURPOSE.
|
344
|
+
|
345
|
+
* guard
|
346
|
+
|
347
|
+
Guard is a command line tool to easily handle events on file system
|
348
|
+
modifications.
|
349
|
+
|
350
|
+
LICENSE:
|
351
|
+
MIT
|
352
|
+
|
353
|
+
HOMEPAGE:
|
354
|
+
https://guardgem.org/
|
355
|
+
|
356
|
+
Copyright (c) 2009-2016 Thibaud Guillaume-Gentil
|
357
|
+
|
358
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
359
|
+
a copy of this software and associated documentation files (the
|
360
|
+
"Software"), to deal in the Software without restriction, including
|
361
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
362
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
363
|
+
permit persons to whom the Software is furnished to do so, subject to
|
364
|
+
the following conditions:
|
365
|
+
|
366
|
+
The above copyright notice and this permission notice shall be
|
367
|
+
included in all copies or substantial portions of the Software.
|
368
|
+
|
369
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
370
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
371
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
372
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
373
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
374
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
375
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
376
|
+
|
377
|
+
* guard-bundler
|
378
|
+
|
379
|
+
Guard::Bundler automatically install/update your gem bundle when needed.
|
380
|
+
|
381
|
+
LICENSE:
|
382
|
+
MIT
|
383
|
+
|
384
|
+
HOMEPAGE:
|
385
|
+
https://github.com/guard/guard-bundler
|
386
|
+
|
387
|
+
Copyright (c) 2010-2014 Yann Lugrin, Rémy Coutable
|
388
|
+
|
389
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
390
|
+
a copy of this software and associated documentation files (the
|
391
|
+
"Software"), to deal in the Software without restriction, including
|
392
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
393
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
394
|
+
permit persons to whom the Software is furnished to do so, subject to
|
395
|
+
the following conditions:
|
396
|
+
|
397
|
+
The above copyright notice and this permission notice shall be
|
398
|
+
included in all copies or substantial portions of the Software.
|
399
|
+
|
400
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
401
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
402
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
403
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
404
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
405
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
406
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
407
|
+
|
408
|
+
* guard-rake
|
409
|
+
|
410
|
+
guard-rake runs a rake task when files change.
|
411
|
+
|
412
|
+
LICENSE:
|
413
|
+
MIT
|
414
|
+
|
415
|
+
HOMEPAGE:
|
416
|
+
https://github.com/rubyist/guard-rake
|
417
|
+
|
418
|
+
Copyright (c) 2011 Scott Barron
|
419
|
+
|
420
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
421
|
+
a copy of this software and associated documentation files (the
|
422
|
+
'Software'), to deal in the Software without restriction, including
|
423
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
424
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
425
|
+
permit persons to whom the Software is furnished to do so, subject to
|
426
|
+
the following conditions:
|
427
|
+
|
428
|
+
The above copyright notice and this permission notice shall be
|
429
|
+
included in all copies or substantial portions of the Software.
|
430
|
+
|
431
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
432
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
433
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
434
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
435
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
436
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
437
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
438
|
+
|
439
|
+
* rubocop
|
440
|
+
|
441
|
+
LICENSE:
|
442
|
+
MIT
|
443
|
+
|
444
|
+
HOMEPAGE:
|
445
|
+
https://github.com/rubocop-hq/rubocop
|
446
|
+
|
447
|
+
Copyright (c) 2012-20 Bozhidar Batsov
|
448
|
+
|
449
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
450
|
+
a copy of this software and associated documentation files (the
|
451
|
+
"Software"), to deal in the Software without restriction, including
|
452
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
453
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
454
|
+
permit persons to whom the Software is furnished to do so, subject to
|
455
|
+
the following conditions:
|
456
|
+
|
457
|
+
The above copyright notice and this permission notice shall be
|
458
|
+
included in all copies or substantial portions of the Software.
|
459
|
+
|
460
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
461
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
462
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
463
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
464
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
465
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
466
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|