pluck 0.0.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.md +258 -0
- data/README.md +0 -0
- data/bin/pluck +5 -0
- data/lib/pluck.rb +5 -0
- data/lib/pluck/version.rb +5 -0
- data/pluck.gemspec +31 -0
- data/spec/spec_helper.rb +17 -0
- metadata +80 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 15df0d31a9707aabbe057a60e6dbe8b4a3f329ac
|
4
|
+
data.tar.gz: 4fcbb425c1b950841766dac276d8fdf2398a8635
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f087dfe5b6ec3a3886e61faf8cde17f7eb150464596978c93d238f008d13229e1ca285e986c48128f057fe1ad2931a9b76ca614d81521834413dd643f5192c38
|
7
|
+
data.tar.gz: 8bc114707237ab78906eaca1111b53c1b54550412515ad91074ca4f5a5cadbd5862b8676f9c76f8a34c52bce3e77cecde8c0e838cd9c8dcb6f08070f8e0dc02d
|
data/LICENSE.md
ADDED
@@ -0,0 +1,258 @@
|
|
1
|
+
The GNU General Public License (GPL-2.0)
|
2
|
+
Version 2, June 1991
|
3
|
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
4
|
+
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
5
|
+
|
6
|
+
Everyone is permitted to copy and distribute verbatim copies
|
7
|
+
of this license document, but changing it is not allowed.
|
8
|
+
|
9
|
+
Preamble
|
10
|
+
|
11
|
+
The licenses for most software are designed to take away your freedom to share
|
12
|
+
and change it. By contrast, the GNU General Public License is intended to
|
13
|
+
guarantee your freedom to share and change free software--to make sure the
|
14
|
+
software is free for all its users. This General Public License applies to most
|
15
|
+
of the Free Software Foundation's software and to any other program whose
|
16
|
+
authors commit to using it. (Some other Free Software Foundation software is
|
17
|
+
covered by the GNU Library General Public License instead.) You can apply it to
|
18
|
+
your programs, too.
|
19
|
+
|
20
|
+
When we speak of free software, we are referring to freedom, not price. Our
|
21
|
+
General Public Licenses are designed to make sure that you have the freedom to
|
22
|
+
distribute copies of free software (and charge for this service if you wish),
|
23
|
+
that you receive source code or can get it if you want it, that you can change
|
24
|
+
the software or use pieces of it in new free programs; and that you know you
|
25
|
+
can do these things.
|
26
|
+
|
27
|
+
To protect your rights, we need to make restrictions that forbid anyone to deny
|
28
|
+
you these rights or to ask you to surrender the rights. These restrictions
|
29
|
+
translate to certain responsibilities for you if you distribute copies of the
|
30
|
+
software, or if you modify it.
|
31
|
+
|
32
|
+
For example, if you distribute copies of such a program, whether gratis or for
|
33
|
+
a fee, you must give the recipients all the rights that you have. You must make
|
34
|
+
sure that they, too, receive or can get the source code. And you must show them
|
35
|
+
these terms so they know their rights.
|
36
|
+
|
37
|
+
We protect your rights with two steps: (1) copyright the software, and (2)
|
38
|
+
offer you this license which gives you legal permission to copy, distribute
|
39
|
+
and/or modify the software.
|
40
|
+
|
41
|
+
Also, for each author's protection and ours, we want to make certain that
|
42
|
+
everyone understands that there is no warranty for this free software. If the
|
43
|
+
software is modified by someone else and passed on, we want its recipients to
|
44
|
+
know that what they have is not the original, so that any problems introduced
|
45
|
+
by others will not reflect on the original authors' reputations.
|
46
|
+
|
47
|
+
Finally, any free program is threatened constantly by software patents. We wish
|
48
|
+
to avoid the danger that redistributors of a free program will individually
|
49
|
+
obtain patent licenses, in effect making the program proprietary. To prevent
|
50
|
+
this, we have made it clear that any patent must be licensed for everyone's
|
51
|
+
free use or not licensed at all.
|
52
|
+
|
53
|
+
The precise terms and conditions for copying, distribution and modification
|
54
|
+
follow.
|
55
|
+
|
56
|
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
57
|
+
|
58
|
+
0. This License applies to any program or other work which contains a notice
|
59
|
+
placed by the copyright holder saying it may be distributed under the terms of
|
60
|
+
this General Public License. The "Program", below, refers to any such program
|
61
|
+
or work, and a "work based on the Program" means either the Program or any
|
62
|
+
derivative work under copyright law: that is to say, a work containing the
|
63
|
+
Program or a portion of it, either verbatim or with modifications and/or
|
64
|
+
translated into another language. (Hereinafter, translation is included without
|
65
|
+
limitation in the term "modification".) Each licensee is addressed as "you".
|
66
|
+
|
67
|
+
Activities other than copying, distribution and modification are not covered by
|
68
|
+
this License; they are outside its scope. The act of running the Program is not
|
69
|
+
restricted, and the output from the Program is covered only if its contents
|
70
|
+
constitute a work based on the Program (independent of having been made by
|
71
|
+
running the Program). Whether that is true depends on what the Program does.
|
72
|
+
|
73
|
+
1. You may copy and distribute verbatim copies of the Program's source code as
|
74
|
+
you receive it, in any medium, provided that you conspicuously and
|
75
|
+
appropriately publish on each copy an appropriate copyright notice and
|
76
|
+
disclaimer of warranty; keep intact all the notices that refer to this License
|
77
|
+
and to the absence of any warranty; and give any other recipients of the
|
78
|
+
Program a copy of this License along with the Program.
|
79
|
+
|
80
|
+
You may charge a fee for the physical act of transferring a copy, and you may
|
81
|
+
at your option offer warranty protection in exchange for a fee.
|
82
|
+
|
83
|
+
2. You may modify your copy or copies of the Program or any portion of it, thus
|
84
|
+
forming a work based on the Program, and copy and distribute such modifications
|
85
|
+
or work under the terms of Section 1 above, provided that you also meet all of
|
86
|
+
these conditions:
|
87
|
+
|
88
|
+
a) You must cause the modified files to carry prominent notices stating that
|
89
|
+
you changed the files and the date of any change.
|
90
|
+
|
91
|
+
b) You must cause any work that you distribute or publish, that in whole or in
|
92
|
+
part contains or is derived from the Program or any part thereof, to be
|
93
|
+
licensed as a whole at no charge to all third parties under the terms of this
|
94
|
+
License.
|
95
|
+
|
96
|
+
c) If the modified program normally reads commands interactively when run, you
|
97
|
+
must cause it, when started running for such interactive use in the most
|
98
|
+
ordinary way, to print or display an announcement including an appropriate
|
99
|
+
copyright notice and a notice that there is no warranty (or else, saying that
|
100
|
+
you provide a warranty) and that users may redistribute the program under these
|
101
|
+
conditions, and telling the user how to view a copy of this License.
|
102
|
+
(Exception: if the Program itself is interactive but does not normally print
|
103
|
+
such an announcement, your work based on the Program is not required to print
|
104
|
+
an announcement.)
|
105
|
+
|
106
|
+
These requirements apply to the modified work as a whole. If identifiable
|
107
|
+
sections of that work are not derived from the Program, and can be reasonably
|
108
|
+
considered independent and separate works in themselves, then this License, and
|
109
|
+
its terms, do not apply to those sections when you distribute them as separate
|
110
|
+
works. But when you distribute the same sections as part of a whole which is a
|
111
|
+
work based on the Program, the distribution of the whole must be on the terms
|
112
|
+
of this License, whose permissions for other licensees extend to the entire
|
113
|
+
whole, and thus to each and every part regardless of who wrote it.
|
114
|
+
|
115
|
+
Thus, it is not the intent of this section to claim rights or contest your
|
116
|
+
rights to work written entirely by you; rather, the intent is to exercise the
|
117
|
+
right to control the distribution of derivative or collective works based on
|
118
|
+
the Program.
|
119
|
+
|
120
|
+
In addition, mere aggregation of another work not based on the Program with the
|
121
|
+
Program (or with a work based on the Program) on a volume of a storage or
|
122
|
+
distribution medium does not bring the other work under the scope of this
|
123
|
+
License.
|
124
|
+
|
125
|
+
3. You may copy and distribute the Program (or a work based on it, under
|
126
|
+
Section 2) in object code or executable form under the terms of Sections 1 and
|
127
|
+
2 above provided that you also do one of the following:
|
128
|
+
|
129
|
+
a) Accompany it with the complete corresponding machine-readable source code,
|
130
|
+
which must be distributed under the terms of Sections 1 and 2 above on a medium
|
131
|
+
customarily used for software interchange; or,
|
132
|
+
|
133
|
+
b) Accompany it with a written offer, valid for at least three years, to give
|
134
|
+
any third party, for a charge no more than your cost of physically performing
|
135
|
+
source distribution, a complete machine-readable copy of the corresponding
|
136
|
+
source code, to be distributed under the terms of Sections 1 and 2 above on a
|
137
|
+
medium customarily used for software interchange; or,
|
138
|
+
|
139
|
+
c) Accompany it with the information you received as to the offer to distribute
|
140
|
+
corresponding source code. (This alternative is allowed only for noncommercial
|
141
|
+
distribution and only if you received the program in object code or executable
|
142
|
+
form with such an offer, in accord with Subsection b above.)
|
143
|
+
|
144
|
+
The source code for a work means the preferred form of the work for making
|
145
|
+
modifications to it. For an executable work, complete source code means all the
|
146
|
+
source code for all modules it contains, plus any associated interface
|
147
|
+
definition files, plus the scripts used to control compilation and installation
|
148
|
+
of the executable. However, as a special exception, the source code distributed
|
149
|
+
need not include anything that is normally distributed (in either source or
|
150
|
+
binary form) with the major components (compiler, kernel, and so on) of the
|
151
|
+
operating system on which the executable runs, unless that component itself
|
152
|
+
accompanies the executable.
|
153
|
+
|
154
|
+
If distribution of executable or object code is made by offering access to copy
|
155
|
+
from a designated place, then offering equivalent access to copy the source
|
156
|
+
code from the same place counts as distribution of the source code, even though
|
157
|
+
third parties are not compelled to copy the source along with the object code.
|
158
|
+
|
159
|
+
4. You may not copy, modify, sublicense, or distribute the Program except as
|
160
|
+
expressly provided under this License. Any attempt otherwise to copy, modify,
|
161
|
+
sublicense or distribute the Program is void, and will automatically terminate
|
162
|
+
your rights under this License. However, parties who have received copies, or
|
163
|
+
rights, from you under this License will not have their licenses terminated so
|
164
|
+
long as such parties remain in full compliance.
|
165
|
+
|
166
|
+
5. You are not required to accept this License, since you have not signed it.
|
167
|
+
However, nothing else grants you permission to modify or distribute the Program
|
168
|
+
or its derivative works. These actions are prohibited by law if you do not
|
169
|
+
accept this License. Therefore, by modifying or distributing the Program (or
|
170
|
+
any work based on the Program), you indicate your acceptance of this License to
|
171
|
+
do so, and all its terms and conditions for copying, distributing or modifying
|
172
|
+
the Program or works based on it.
|
173
|
+
|
174
|
+
6. Each time you redistribute the Program (or any work based on the Program),
|
175
|
+
the recipient automatically receives a license from the original licensor to
|
176
|
+
copy, distribute or modify the Program subject to these terms and conditions.
|
177
|
+
You may not impose any further restrictions on the recipients' exercise of the
|
178
|
+
rights granted herein. You are not responsible for enforcing compliance by
|
179
|
+
third parties to this License.
|
180
|
+
|
181
|
+
7. If, as a consequence of a court judgment or allegation of patent
|
182
|
+
infringement or for any other reason (not limited to patent issues), conditions
|
183
|
+
are imposed on you (whether by court order, agreement or otherwise) that
|
184
|
+
contradict the conditions of this License, they do not excuse you from the
|
185
|
+
conditions of this License. If you cannot distribute so as to satisfy
|
186
|
+
simultaneously your obligations under this License and any other pertinent
|
187
|
+
obligations, then as a consequence you may not distribute the Program at all.
|
188
|
+
For example, if a patent license would not permit royalty-free redistribution
|
189
|
+
of the Program by all those who receive copies directly or indirectly through
|
190
|
+
you, then the only way you could satisfy both it and this License would be to
|
191
|
+
refrain entirely from distribution of the Program.
|
192
|
+
|
193
|
+
If any portion of this section is held invalid or unenforceable under any
|
194
|
+
particular circumstance, the balance of the section is intended to apply and
|
195
|
+
the section as a whole is intended to apply in other circumstances.
|
196
|
+
|
197
|
+
It is not the purpose of this section to induce you to infringe any patents or
|
198
|
+
other property right claims or to contest validity of any such claims; this
|
199
|
+
section has the sole purpose of protecting the integrity of the free software
|
200
|
+
distribution system, which is implemented by public license practices. Many
|
201
|
+
people have made generous contributions to the wide range of software
|
202
|
+
distributed through that system in reliance on consistent application of that
|
203
|
+
system; it is up to the author/donor to decide if he or she is willing to
|
204
|
+
distribute software through any other system and a licensee cannot impose that
|
205
|
+
choice.
|
206
|
+
|
207
|
+
This section is intended to make thoroughly clear what is believed to be a
|
208
|
+
consequence of the rest of this License.
|
209
|
+
|
210
|
+
8. If the distribution and/or use of the Program is restricted in certain
|
211
|
+
countries either by patents or by copyrighted interfaces, the original
|
212
|
+
copyright holder who places the Program under this License may add an explicit
|
213
|
+
geographical distribution limitation excluding those countries, so that
|
214
|
+
distribution is permitted only in or among countries not thus excluded. In such
|
215
|
+
case, this License incorporates the limitation as if written in the body of
|
216
|
+
this License.
|
217
|
+
|
218
|
+
9. The Free Software Foundation may publish revised and/or new versions of the
|
219
|
+
General Public License from time to time. Such new versions will be similar in
|
220
|
+
spirit to the present version, but may differ in detail to address new problems
|
221
|
+
or concerns.
|
222
|
+
|
223
|
+
Each version is given a distinguishing version number. If the Program specifies
|
224
|
+
a version number of this License which applies to it and "any later version",
|
225
|
+
you have the option of following the terms and conditions either of that
|
226
|
+
version or of any later version published by the Free Software Foundation. If
|
227
|
+
the Program does not specify a version number of this License, you may choose
|
228
|
+
any version ever published by the Free Software Foundation.
|
229
|
+
|
230
|
+
10. If you wish to incorporate parts of the Program into other free programs
|
231
|
+
whose distribution conditions are different, write to the author to ask for
|
232
|
+
permission. For software which is copyrighted by the Free Software Foundation,
|
233
|
+
write to the Free Software Foundation; we sometimes make exceptions for this.
|
234
|
+
Our decision will be guided by the two goals of preserving the free status of
|
235
|
+
all derivatives of our free software and of promoting the sharing and reuse of
|
236
|
+
software generally.
|
237
|
+
|
238
|
+
NO WARRANTY
|
239
|
+
|
240
|
+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
|
241
|
+
THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
|
242
|
+
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE
|
243
|
+
PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
|
244
|
+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
245
|
+
FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
|
246
|
+
PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU
|
247
|
+
ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
248
|
+
|
249
|
+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
|
250
|
+
ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE
|
251
|
+
PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
252
|
+
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
|
253
|
+
INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA
|
254
|
+
BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
255
|
+
FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER
|
256
|
+
OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
257
|
+
|
258
|
+
END OF TERMS AND CONDITIONS
|
data/README.md
ADDED
File without changes
|
data/bin/pluck
ADDED
data/lib/pluck.rb
ADDED
data/pluck.gemspec
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
lib = File.expand_path('../lib/', __FILE__)
|
2
|
+
$:.unshift lib unless $:.include?(lib)
|
3
|
+
require 'pluck/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.platform = Gem::Platform::RUBY
|
7
|
+
s.name = 'pluck'
|
8
|
+
s.version = Pluck::VERSION
|
9
|
+
s.description = %q{Pluck is a command-line tool to help Linux Kernel Engineers.}
|
10
|
+
s.summary = %q{Tool to help verifying and applying patches.}
|
11
|
+
s.homepage = 'http://rubygems.org/gems/pluck'
|
12
|
+
s.license = 'GPL-2.0'
|
13
|
+
|
14
|
+
s.author = 'Felipe Balbi'
|
15
|
+
s.email = 'balbif@gmail.com'
|
16
|
+
|
17
|
+
s.bindir = 'bin'
|
18
|
+
s.executables = %w(pluck)
|
19
|
+
|
20
|
+
s.files = %w(LICENSE.md README.md pluck.gemspec)
|
21
|
+
s.files += Dir.glob("bin/**/*")
|
22
|
+
s.files += Dir.glob("lib/**/*.rb")
|
23
|
+
s.files += Dir.glob("s/**/*")
|
24
|
+
|
25
|
+
s.require_path = 'lib'
|
26
|
+
|
27
|
+
s.test_files = Dir.glob("spec/**/*")
|
28
|
+
|
29
|
+
s.add_development_dependency 'bundler', '~> 1.3.5'
|
30
|
+
s.add_development_dependency 'rspec', '~> 2.14.1'
|
31
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# Require this file using `require "spec_helper"` to ensure that it is only
|
4
|
+
# loaded once.
|
5
|
+
#
|
6
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
7
|
+
RSpec.configure do |config|
|
8
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
9
|
+
config.run_all_when_everything_filtered = true
|
10
|
+
config.filter_run :focus
|
11
|
+
|
12
|
+
# Run specs in random order to surface order dependencies. If you find an
|
13
|
+
# order dependency and want to debug it, you can fix the order by providing
|
14
|
+
# the seed, which is printed after each run.
|
15
|
+
# --seed 1234
|
16
|
+
config.order = 'random'
|
17
|
+
end
|
metadata
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: pluck
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0.pre
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Felipe Balbi
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-12-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.3.5
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.3.5
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.14.1
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.14.1
|
41
|
+
description: Pluck is a command-line tool to help Linux Kernel Engineers.
|
42
|
+
email: balbif@gmail.com
|
43
|
+
executables:
|
44
|
+
- pluck
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- LICENSE.md
|
49
|
+
- README.md
|
50
|
+
- pluck.gemspec
|
51
|
+
- bin/pluck
|
52
|
+
- lib/pluck/version.rb
|
53
|
+
- lib/pluck.rb
|
54
|
+
- spec/spec_helper.rb
|
55
|
+
homepage: http://rubygems.org/gems/pluck
|
56
|
+
licenses:
|
57
|
+
- GPL-2.0
|
58
|
+
metadata: {}
|
59
|
+
post_install_message:
|
60
|
+
rdoc_options: []
|
61
|
+
require_paths:
|
62
|
+
- lib
|
63
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - '>='
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - '>'
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 1.3.1
|
73
|
+
requirements: []
|
74
|
+
rubyforge_project:
|
75
|
+
rubygems_version: 2.1.11
|
76
|
+
signing_key:
|
77
|
+
specification_version: 4
|
78
|
+
summary: Tool to help verifying and applying patches.
|
79
|
+
test_files:
|
80
|
+
- spec/spec_helper.rb
|