raptget 0.1.4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +165 -0
- data/README.md +354 -0
- data/lib/raptget/version.rb +3 -3
- metadata +11 -10
- data/MIT-LICENSE +0 -21
- data/README +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11ab0fa1487460b1e66b78024dba09071bd981c8
|
4
|
+
data.tar.gz: 407d1ab2f5cd48a9ff8cad4fb57d31c8e3ea3207
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e62edcee3ab386b07a20c30851485b7e8c44fd6dcb38b82744bac3648ba87f0f4fe25ffcdf7df5aaa368eba0f6671b3c7c11a6c5ee9e0f39d7e9aecbcfe076db
|
7
|
+
data.tar.gz: de9d2f6c8e5d2fccf1c87043eb5edc3a623c39b4d64d8dd953adcd22b7ff719473daa916169007b61e825ade28e953e9612f9f23071675c089765a27f6a354d5
|
data/LICENSE
ADDED
@@ -0,0 +1,165 @@
|
|
1
|
+
GNU LESSER GENERAL PUBLIC LICENSE
|
2
|
+
Version 3, 29 June 2007
|
3
|
+
|
4
|
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
5
|
+
Everyone is permitted to copy and distribute verbatim copies
|
6
|
+
of this license document, but changing it is not allowed.
|
7
|
+
|
8
|
+
|
9
|
+
This version of the GNU Lesser General Public License incorporates
|
10
|
+
the terms and conditions of version 3 of the GNU General Public
|
11
|
+
License, supplemented by the additional permissions listed below.
|
12
|
+
|
13
|
+
0. Additional Definitions.
|
14
|
+
|
15
|
+
As used herein, "this License" refers to version 3 of the GNU Lesser
|
16
|
+
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
17
|
+
General Public License.
|
18
|
+
|
19
|
+
"The Library" refers to a covered work governed by this License,
|
20
|
+
other than an Application or a Combined Work as defined below.
|
21
|
+
|
22
|
+
An "Application" is any work that makes use of an interface provided
|
23
|
+
by the Library, but which is not otherwise based on the Library.
|
24
|
+
Defining a subclass of a class defined by the Library is deemed a mode
|
25
|
+
of using an interface provided by the Library.
|
26
|
+
|
27
|
+
A "Combined Work" is a work produced by combining or linking an
|
28
|
+
Application with the Library. The particular version of the Library
|
29
|
+
with which the Combined Work was made is also called the "Linked
|
30
|
+
Version".
|
31
|
+
|
32
|
+
The "Minimal Corresponding Source" for a Combined Work means the
|
33
|
+
Corresponding Source for the Combined Work, excluding any source code
|
34
|
+
for portions of the Combined Work that, considered in isolation, are
|
35
|
+
based on the Application, and not on the Linked Version.
|
36
|
+
|
37
|
+
The "Corresponding Application Code" for a Combined Work means the
|
38
|
+
object code and/or source code for the Application, including any data
|
39
|
+
and utility programs needed for reproducing the Combined Work from the
|
40
|
+
Application, but excluding the System Libraries of the Combined Work.
|
41
|
+
|
42
|
+
1. Exception to Section 3 of the GNU GPL.
|
43
|
+
|
44
|
+
You may convey a covered work under sections 3 and 4 of this License
|
45
|
+
without being bound by section 3 of the GNU GPL.
|
46
|
+
|
47
|
+
2. Conveying Modified Versions.
|
48
|
+
|
49
|
+
If you modify a copy of the Library, and, in your modifications, a
|
50
|
+
facility refers to a function or data to be supplied by an Application
|
51
|
+
that uses the facility (other than as an argument passed when the
|
52
|
+
facility is invoked), then you may convey a copy of the modified
|
53
|
+
version:
|
54
|
+
|
55
|
+
a) under this License, provided that you make a good faith effort to
|
56
|
+
ensure that, in the event an Application does not supply the
|
57
|
+
function or data, the facility still operates, and performs
|
58
|
+
whatever part of its purpose remains meaningful, or
|
59
|
+
|
60
|
+
b) under the GNU GPL, with none of the additional permissions of
|
61
|
+
this License applicable to that copy.
|
62
|
+
|
63
|
+
3. Object Code Incorporating Material from Library Header Files.
|
64
|
+
|
65
|
+
The object code form of an Application may incorporate material from
|
66
|
+
a header file that is part of the Library. You may convey such object
|
67
|
+
code under terms of your choice, provided that, if the incorporated
|
68
|
+
material is not limited to numerical parameters, data structure
|
69
|
+
layouts and accessors, or small macros, inline functions and templates
|
70
|
+
(ten or fewer lines in length), you do both of the following:
|
71
|
+
|
72
|
+
a) Give prominent notice with each copy of the object code that the
|
73
|
+
Library is used in it and that the Library and its use are
|
74
|
+
covered by this License.
|
75
|
+
|
76
|
+
b) Accompany the object code with a copy of the GNU GPL and this license
|
77
|
+
document.
|
78
|
+
|
79
|
+
4. Combined Works.
|
80
|
+
|
81
|
+
You may convey a Combined Work under terms of your choice that,
|
82
|
+
taken together, effectively do not restrict modification of the
|
83
|
+
portions of the Library contained in the Combined Work and reverse
|
84
|
+
engineering for debugging such modifications, if you also do each of
|
85
|
+
the following:
|
86
|
+
|
87
|
+
a) Give prominent notice with each copy of the Combined Work that
|
88
|
+
the Library is used in it and that the Library and its use are
|
89
|
+
covered by this License.
|
90
|
+
|
91
|
+
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
92
|
+
document.
|
93
|
+
|
94
|
+
c) For a Combined Work that displays copyright notices during
|
95
|
+
execution, include the copyright notice for the Library among
|
96
|
+
these notices, as well as a reference directing the user to the
|
97
|
+
copies of the GNU GPL and this license document.
|
98
|
+
|
99
|
+
d) Do one of the following:
|
100
|
+
|
101
|
+
0) Convey the Minimal Corresponding Source under the terms of this
|
102
|
+
License, and the Corresponding Application Code in a form
|
103
|
+
suitable for, and under terms that permit, the user to
|
104
|
+
recombine or relink the Application with a modified version of
|
105
|
+
the Linked Version to produce a modified Combined Work, in the
|
106
|
+
manner specified by section 6 of the GNU GPL for conveying
|
107
|
+
Corresponding Source.
|
108
|
+
|
109
|
+
1) Use a suitable shared library mechanism for linking with the
|
110
|
+
Library. A suitable mechanism is one that (a) uses at run time
|
111
|
+
a copy of the Library already present on the user's computer
|
112
|
+
system, and (b) will operate properly with a modified version
|
113
|
+
of the Library that is interface-compatible with the Linked
|
114
|
+
Version.
|
115
|
+
|
116
|
+
e) Provide Installation Information, but only if you would otherwise
|
117
|
+
be required to provide such information under section 6 of the
|
118
|
+
GNU GPL, and only to the extent that such information is
|
119
|
+
necessary to install and execute a modified version of the
|
120
|
+
Combined Work produced by recombining or relinking the
|
121
|
+
Application with a modified version of the Linked Version. (If
|
122
|
+
you use option 4d0, the Installation Information must accompany
|
123
|
+
the Minimal Corresponding Source and Corresponding Application
|
124
|
+
Code. If you use option 4d1, you must provide the Installation
|
125
|
+
Information in the manner specified by section 6 of the GNU GPL
|
126
|
+
for conveying Corresponding Source.)
|
127
|
+
|
128
|
+
5. Combined Libraries.
|
129
|
+
|
130
|
+
You may place library facilities that are a work based on the
|
131
|
+
Library side by side in a single library together with other library
|
132
|
+
facilities that are not Applications and are not covered by this
|
133
|
+
License, and convey such a combined library under terms of your
|
134
|
+
choice, if you do both of the following:
|
135
|
+
|
136
|
+
a) Accompany the combined library with a copy of the same work based
|
137
|
+
on the Library, uncombined with any other library facilities,
|
138
|
+
conveyed under the terms of this License.
|
139
|
+
|
140
|
+
b) Give prominent notice with the combined library that part of it
|
141
|
+
is a work based on the Library, and explaining where to find the
|
142
|
+
accompanying uncombined form of the same work.
|
143
|
+
|
144
|
+
6. Revised Versions of the GNU Lesser General Public License.
|
145
|
+
|
146
|
+
The Free Software Foundation may publish revised and/or new versions
|
147
|
+
of the GNU Lesser General Public License from time to time. Such new
|
148
|
+
versions will be similar in spirit to the present version, but may
|
149
|
+
differ in detail to address new problems or concerns.
|
150
|
+
|
151
|
+
Each version is given a distinguishing version number. If the
|
152
|
+
Library as you received it specifies that a certain numbered version
|
153
|
+
of the GNU Lesser General Public License "or any later version"
|
154
|
+
applies to it, you have the option of following the terms and
|
155
|
+
conditions either of that published version or of any later version
|
156
|
+
published by the Free Software Foundation. If the Library as you
|
157
|
+
received it does not specify a version number of the GNU Lesser
|
158
|
+
General Public License, you may choose any version of the GNU Lesser
|
159
|
+
General Public License ever published by the Free Software Foundation.
|
160
|
+
|
161
|
+
If the Library as you received it specifies that a proxy can decide
|
162
|
+
whether future versions of the GNU Lesser General Public License shall
|
163
|
+
apply, that proxy's public statement of acceptance of any version is
|
164
|
+
permanent authorization for you to choose that version for the
|
165
|
+
Library.
|
data/README.md
ADDED
@@ -0,0 +1,354 @@
|
|
1
|
+
RaptGet - Apt-Get Package Manager for Ruby
|
2
|
+
==========================================
|
3
|
+
|
4
|
+
Raptget is a gem providing a ruby interface to the apt-get package manager.
|
5
|
+
|
6
|
+
To install, type 'gem install raptget'
|
7
|
+
|
8
|
+
### Why RaptGet?
|
9
|
+
|
10
|
+
RaptGet creates simple and small development tools that help you design,
|
11
|
+
develop, deploy cloud infrastractures for your enterprise software systems.
|
12
|
+
|
13
|
+
#### RaptGet Pro: A Commercial, Supported Version of RaptGet
|
14
|
+
RaptGet Pro is a collection of useful functionality for the open source RaptGet library with priority support via Remote access or Skype from the author, new features in-demand, upgrades and lots more.
|
15
|
+
|
16
|
+
Sales of RaptGet Pro also benefit the community by ensuring that RaptGet itself will remain well supported for the foreseeable future.
|
17
|
+
|
18
|
+
#### Licensing
|
19
|
+
RaptGet is available under the terms of the GNU LGPLv3 license.
|
20
|
+
|
21
|
+
In addition to its useful functionality, buying RaptGet Pro grants your organization a RaptGet Commercial License instead of the GNU LGPL, avoiding any legal issues your lawyers might raise. Please contact joelbryan AT me.com for further detail on licensing including options for embedding RaptGet Pro in your own products.
|
22
|
+
|
23
|
+
#### Buy RaptGet Pro
|
24
|
+
Contact me via joelbryan.juliano@gmail.com,
|
25
|
+
and Pay via Paypal: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=72VVRU869SUB6
|
26
|
+
|
27
|
+
# Usage
|
28
|
+
Usage:
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
require 'raptget'
|
32
|
+
include Raptget
|
33
|
+
|
34
|
+
packages = ['iagno', 'gnome-games']
|
35
|
+
aptget = Aptget.new
|
36
|
+
aptget.download_only = true # See options
|
37
|
+
aptget.install(packages)
|
38
|
+
```
|
39
|
+
|
40
|
+
Options:
|
41
|
+
|
42
|
+
```ruby
|
43
|
+
aptget = Aptget.new
|
44
|
+
|
45
|
+
# Download only; package files are only retrieved,
|
46
|
+
# not unpacked or installed.
|
47
|
+
# Configuration Item: APT::Get::Download-Only.
|
48
|
+
#
|
49
|
+
aptget.download_only = true
|
50
|
+
|
51
|
+
#
|
52
|
+
# Fix; attempt to correct a system with broken dependencies
|
53
|
+
# in place. This option, when used with install/remove,
|
54
|
+
# can omit any packages to permit APT to deduce a likely solution.
|
55
|
+
# Any Package that are specified must completely correct the problem.
|
56
|
+
# The option is sometimes necessary when running APT for the first time;
|
57
|
+
# APT itself does not allow broken package dependencies to exist
|
58
|
+
# on a system. It is possible that a system's dependency structure can be
|
59
|
+
# so corrupt as to require manual intervention (which usually means using
|
60
|
+
# dselect or 'remove' to eliminate some of the offending packages).
|
61
|
+
# Use of this option together with 'fix_missing' may produce
|
62
|
+
# an error in some situations.
|
63
|
+
# Configuration Item: APT::Get::Fix-Broken.
|
64
|
+
#
|
65
|
+
aptget.fix_broken = true
|
66
|
+
|
67
|
+
#
|
68
|
+
# Ignore missing packages; If packages cannot be retrieved or fail the
|
69
|
+
# integrity check after retrieval (corrupted package files), hold back
|
70
|
+
# those packages and handle the result. Use of this option together
|
71
|
+
# with 'fix_broken' may produce an error in some
|
72
|
+
# situations. If a package is selected for installation
|
73
|
+
# (particularly if it is mentioned on the command line) and it could not be
|
74
|
+
# downloaded then it will be silently held back.
|
75
|
+
# Configuration Item: APT::Get::Fix-Missing.
|
76
|
+
#
|
77
|
+
aptget.fix_missing = true
|
78
|
+
|
79
|
+
#
|
80
|
+
# Alias to fix_missing
|
81
|
+
#
|
82
|
+
aptget.ignore_missing = true
|
83
|
+
|
84
|
+
#
|
85
|
+
# Disables downloading of packages.
|
86
|
+
# This is best used with ignore_missing to force APT
|
87
|
+
# to use only the .debs it has already downloaded.
|
88
|
+
# Configuration Item: APT::Get::Download.
|
89
|
+
#
|
90
|
+
aptget.no_download = true
|
91
|
+
|
92
|
+
#
|
93
|
+
# Quiet; produces output suitable for logging, omitting progress
|
94
|
+
# indicators. You can also use 'quiet=#' to set the quiet level,
|
95
|
+
# overriding the configuration file. Note that quiet level 2 implies 'yes',
|
96
|
+
# you should never use 'quiet=2' without a no-action modifier
|
97
|
+
# such as 'download_only', 'print_uris' or 'simulate' as APT may decided to
|
98
|
+
# do something you did not expect.
|
99
|
+
# Configuration Item: quiet.
|
100
|
+
#
|
101
|
+
aptget.quiet = true
|
102
|
+
|
103
|
+
#
|
104
|
+
# No action; perform a simulation of events that would occur
|
105
|
+
# but do not actually change the system.
|
106
|
+
# Configuration Item: APT::Get::Simulate.
|
107
|
+
# Simulate prints out a series of lines each one representing a
|
108
|
+
# dpkg operation, Configure (Conf), Remove (Remv), Unpack (Inst).
|
109
|
+
# Square brackets indicate broken packages with and empty set of square
|
110
|
+
# brackets meaning breaks that are of no consequence (rare).
|
111
|
+
#
|
112
|
+
aptget.simulate = true
|
113
|
+
|
114
|
+
#
|
115
|
+
# Alias to simulate
|
116
|
+
#
|
117
|
+
aptget.just_print = true
|
118
|
+
|
119
|
+
#
|
120
|
+
# Alias to simulate
|
121
|
+
#
|
122
|
+
aptget.dry_run = true
|
123
|
+
|
124
|
+
#
|
125
|
+
# Alias to simulate
|
126
|
+
#
|
127
|
+
aptget.recon = true
|
128
|
+
|
129
|
+
#
|
130
|
+
# Alias to simulate
|
131
|
+
#
|
132
|
+
aptget.no_act = true
|
133
|
+
|
134
|
+
#
|
135
|
+
# Automatic yes to prompts; assume "yes" as answer to all
|
136
|
+
# prompts and run non-interactively. If an undesirable situation,
|
137
|
+
# such as changing a held package or removing an essential package
|
138
|
+
# occurs then apt-get will abort.
|
139
|
+
# Configuration Item: APT::Get::Assume-Yes.
|
140
|
+
#
|
141
|
+
aptget.assume_yes = true
|
142
|
+
|
143
|
+
#
|
144
|
+
# Alias to assume_yes
|
145
|
+
#
|
146
|
+
aptget.yes = true
|
147
|
+
|
148
|
+
#
|
149
|
+
# Show upgraded packages; Print out a list of all packages
|
150
|
+
# that are to be upgraded.
|
151
|
+
# Configuration Item: APT::Get::Show-Upgraded.
|
152
|
+
#
|
153
|
+
aptget.show_upgraded = true
|
154
|
+
|
155
|
+
#
|
156
|
+
# Show full versions for upgraded and installed packages.
|
157
|
+
# Configuration Item: APT::Get::Show-Versions.
|
158
|
+
#
|
159
|
+
aptget.verbose_version = true
|
160
|
+
|
161
|
+
#
|
162
|
+
# Compile source packages after downloading them.
|
163
|
+
# Configuration Item: APT::Get::Compile.
|
164
|
+
#
|
165
|
+
aptget.build = true
|
166
|
+
|
167
|
+
#
|
168
|
+
# Alias to build
|
169
|
+
#
|
170
|
+
aptget.compile = true
|
171
|
+
|
172
|
+
#
|
173
|
+
# Also install recommended packages.
|
174
|
+
#
|
175
|
+
aptget.install_recommends = true
|
176
|
+
|
177
|
+
#
|
178
|
+
# Do not install recommended packages.
|
179
|
+
#
|
180
|
+
aptget.no_install_recommends = true
|
181
|
+
|
182
|
+
#
|
183
|
+
# Ignore package Holds; This causes apt-get to ignore a
|
184
|
+
# hold placed on a package.
|
185
|
+
# This may be useful in conjunction with dist-upgrade
|
186
|
+
# to override a large number of undesired holds.
|
187
|
+
# Configuration Item: APT::Ignore-Hold.
|
188
|
+
#
|
189
|
+
aptget.ignore_hold = true
|
190
|
+
|
191
|
+
#
|
192
|
+
# Do not upgrade packages; When used in conjunction with
|
193
|
+
# install no-upgrade will prevent packages listed from being
|
194
|
+
# upgraded if they are already installed.
|
195
|
+
# Configuration Item: APT::Get::Upgrade.
|
196
|
+
#
|
197
|
+
aptget.no_upgrade = true
|
198
|
+
|
199
|
+
#
|
200
|
+
# Force yes; This is a dangerous option that will cause
|
201
|
+
# apt to continue without prompting if it is doing something
|
202
|
+
# potentially harmful. It should not be used except in very special
|
203
|
+
# situations. Using 'force_yes' can potentially destroy your system!
|
204
|
+
# Configuration Item: APT::Get::force-yes.
|
205
|
+
#
|
206
|
+
aptget.force_yes = true
|
207
|
+
|
208
|
+
#
|
209
|
+
# Instead of fetching the files to install their URIs are printed.
|
210
|
+
# Each URI will have the path, the destination file name, the size
|
211
|
+
# and the expected md5 hash. Note that the file name to write to will
|
212
|
+
# not always match the file name on the remote site!
|
213
|
+
# This also works with the source and update commands.
|
214
|
+
# When used with the update command the MD5 and size are not included,
|
215
|
+
# and it is up to the user to decompress any compressed files.
|
216
|
+
# Configuration Item: APT::Get::Print-URIs.
|
217
|
+
#
|
218
|
+
aptget.print_uris = true
|
219
|
+
|
220
|
+
#
|
221
|
+
# Use purge instead of remove for anything that would be removed.
|
222
|
+
# An asterisk ("*") will be displayed next to packages which are
|
223
|
+
# scheduled to be purged.
|
224
|
+
# Configuration Item: APT::Get::Purge.
|
225
|
+
#
|
226
|
+
aptget.purge = true
|
227
|
+
|
228
|
+
#
|
229
|
+
# Re-Install packages that are already installed and at the
|
230
|
+
# newest version.
|
231
|
+
# Configuration Item: APT::Get::ReInstall.
|
232
|
+
#
|
233
|
+
aptget.reinstall = true
|
234
|
+
|
235
|
+
#
|
236
|
+
# This option defaults to on, use 'no_list_cleanup' to turn it off.
|
237
|
+
# When on apt-get will automatically manage the contents of
|
238
|
+
# /var/lib/apt/lists to ensure that obsolete files are erased.
|
239
|
+
# The only reason to turn it off is if you frequently change your
|
240
|
+
# source list.
|
241
|
+
# Configuration Item: APT::Get::List-Cleanup.
|
242
|
+
#
|
243
|
+
aptget.list_cleanup = true
|
244
|
+
|
245
|
+
#
|
246
|
+
# This option controls the default input to the policy engine,
|
247
|
+
# it creates a default pin at priority 990 using the specified
|
248
|
+
# release string. The preferences file may further override this setting.
|
249
|
+
# In short, this option lets you have simple control over which
|
250
|
+
# distribution packages will be retrieved from.
|
251
|
+
# Some common examples might be 'default_release = 2.1*' or
|
252
|
+
# 'default_release = unstable'.
|
253
|
+
# Configuration Item: APT::Default-Release;
|
254
|
+
#
|
255
|
+
aptget.default_release = true
|
256
|
+
|
257
|
+
#
|
258
|
+
# Alias to default_release
|
259
|
+
#
|
260
|
+
aptget.target_release = true
|
261
|
+
|
262
|
+
#
|
263
|
+
# Only perform operations that are 'trivial'. Logically this can
|
264
|
+
# be considered related to 'assume_yes', where 'assume_yes' will
|
265
|
+
# answer yes to any prompt, 'trivial_only' will answer no.
|
266
|
+
# Configuration Item: APT::Get::Trivial-Only.
|
267
|
+
#
|
268
|
+
aptget.trivial_only = true
|
269
|
+
|
270
|
+
#
|
271
|
+
# If any packages are to be removed apt-get immediately aborts
|
272
|
+
# without prompting.
|
273
|
+
# Configuration Item: APT::Get::Remove
|
274
|
+
#
|
275
|
+
aptget.no_remove = true
|
276
|
+
|
277
|
+
#
|
278
|
+
# If the command is either install or remove, then this option acts
|
279
|
+
# like running autoremove command, removing the unused dependency
|
280
|
+
# packages.
|
281
|
+
# Configuration Item: APT::Get::AutomaticRemove.
|
282
|
+
#
|
283
|
+
aptget.auto_remove = true
|
284
|
+
|
285
|
+
#
|
286
|
+
# Only has meaning for the source command.
|
287
|
+
# Indicates that the given source names are not to be mapped
|
288
|
+
# through the binary table. This means that if this option is specified,
|
289
|
+
# the source command will only accept source package names as arguments,
|
290
|
+
# rather than accepting binary package names and looking up the
|
291
|
+
# corresponding source package.
|
292
|
+
# Configuration Item: APT::Get::Only-Source
|
293
|
+
#
|
294
|
+
aptget.only_source = true
|
295
|
+
|
296
|
+
#
|
297
|
+
# Download only the tar file of a source archive.
|
298
|
+
# Configuration Item: APT::Get::Tar-Only
|
299
|
+
#
|
300
|
+
aptget.tar_only = true
|
301
|
+
|
302
|
+
#
|
303
|
+
# Download only the dsc file of a source archive.
|
304
|
+
# Configuration Item: APT::Get::Dsc-Only
|
305
|
+
#
|
306
|
+
aptget.dsc_only = true
|
307
|
+
|
308
|
+
#
|
309
|
+
# Download only the diff file of a source archive.
|
310
|
+
# Configuration Item: APT::Get::Diff-Only
|
311
|
+
#
|
312
|
+
aptget.diff_only = true
|
313
|
+
|
314
|
+
#
|
315
|
+
# Ignore if packages can't be authenticated and don't prompt about
|
316
|
+
# it. This is useful for tools like pbuilder.
|
317
|
+
# Configuration Item: APT::Get::AllowUnauthenticated.
|
318
|
+
#
|
319
|
+
aptget.allow_unauthenticated = true
|
320
|
+
|
321
|
+
#
|
322
|
+
# Only process architecture-dependent build-dependencies.
|
323
|
+
# Configuration Item: APT::Get::Arch-Only
|
324
|
+
#
|
325
|
+
aptget.arch_only = true
|
326
|
+
|
327
|
+
#
|
328
|
+
# Configuration File; Specify a configuration file to use.
|
329
|
+
# The program will read the default configuration file and
|
330
|
+
# then this configuration file.
|
331
|
+
#
|
332
|
+
aptget.config_file = true
|
333
|
+
|
334
|
+
#
|
335
|
+
# Set a Configuration Option; This will set an arbitrary
|
336
|
+
# configuration option.
|
337
|
+
# The syntax is raptget.option = "Foo::Bar=bar"
|
338
|
+
#
|
339
|
+
aptget.option = true
|
340
|
+
|
341
|
+
#
|
342
|
+
# Disable sudo. If this is not set, sudo
|
343
|
+
# is used.
|
344
|
+
#
|
345
|
+
aptget.disable_sudo = true
|
346
|
+
|
347
|
+
aptget.install(packages)
|
348
|
+
```
|
349
|
+
|
350
|
+
### Donations
|
351
|
+
Please support independent cloud computing toolkits, also money donated to the project will benefit the community by ensuring
|
352
|
+
that RaptGet itself will remain well supported for the foreseeable future.
|
353
|
+
To Donate, please visit: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KT9CY4T7BYDM4
|
354
|
+
|
data/lib/raptget/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raptget
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Bryan Juliano
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A gem providing a ruby interface to the apt-get package manager.
|
14
14
|
email: joelbryan.juliano@gmail.com
|
@@ -16,16 +16,17 @@ executables: []
|
|
16
16
|
extensions: []
|
17
17
|
extra_rdoc_files: []
|
18
18
|
files:
|
19
|
-
- README
|
20
19
|
- Changelog
|
21
|
-
-
|
22
|
-
-
|
20
|
+
- LICENSE
|
21
|
+
- README.md
|
23
22
|
- lib/raptget.rb
|
24
23
|
- lib/raptget/version.rb
|
25
|
-
-
|
24
|
+
- setup.rb
|
26
25
|
- test/test_helper.rb
|
26
|
+
- test/test_raptget.rb
|
27
27
|
homepage: http://github.com/jjuliano/raptget
|
28
|
-
licenses:
|
28
|
+
licenses:
|
29
|
+
- GNU LGPLv3
|
29
30
|
metadata: {}
|
30
31
|
post_install_message:
|
31
32
|
rdoc_options: []
|
@@ -33,17 +34,17 @@ require_paths:
|
|
33
34
|
- lib
|
34
35
|
required_ruby_version: !ruby/object:Gem::Requirement
|
35
36
|
requirements:
|
36
|
-
- -
|
37
|
+
- - ">="
|
37
38
|
- !ruby/object:Gem::Version
|
38
39
|
version: '0'
|
39
40
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
40
41
|
requirements:
|
41
|
-
- -
|
42
|
+
- - ">="
|
42
43
|
- !ruby/object:Gem::Version
|
43
44
|
version: '0'
|
44
45
|
requirements: []
|
45
46
|
rubyforge_project:
|
46
|
-
rubygems_version: 2.
|
47
|
+
rubygems_version: 2.2.2
|
47
48
|
signing_key:
|
48
49
|
specification_version: 4
|
49
50
|
summary: A gem providing a ruby interface to the apt-get package manager.
|
data/MIT-LICENSE
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License
|
2
|
-
|
3
|
-
Copyright (c) 2011 Joel Bryan Juliano <joelbryan.juliano@gmail.com>
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
data/README
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
README for raptget
|
2
|
-
==================
|
3
|
-
|
4
|
-
Raptget is a gem providing a ruby interface to the apt-get package manager.
|
5
|
-
|
6
|
-
To install, type 'gem install raptget'
|
7
|
-
|
8
|
-
Usage:
|
9
|
-
|
10
|
-
require 'raptget'
|
11
|
-
include Raptget
|
12
|
-
|
13
|
-
packages = Array.new
|
14
|
-
packages.push('iagno')
|
15
|
-
packages.push('gnome-games')
|
16
|
-
|
17
|
-
aptget = Aptget.new
|
18
|
-
aptget.install(packages)
|