brew 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/LICENSE +131 -0
- data/README.md +2 -0
- data/lib/brew.rb +0 -2
- data/lib/brew/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0746f51b231996738e25c7533e08f860f373e708becf5e4c96801726b315ddbd
|
4
|
+
data.tar.gz: ac84280fc3ede74b4056e7b8ba00617b3cd355eb792d0e5922a42cdc42bddc79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea89967f1962adc59762cbadb988baaef49db752666be5fec24874908c592add7f82e3087d829e41496670c57c3715e3fa520db87954608f301fe51ff5ca6231
|
7
|
+
data.tar.gz: 9a1b9174ad159d556992dd35687ed2627a4ff260dd0cba6483c4f0cacd41b55f08e80e05005626c9084b75328b6b709b9a3506268c0065c8fb77afebb7f327bd
|
data/Gemfile.lock
CHANGED
data/LICENSE
ADDED
@@ -0,0 +1,131 @@
|
|
1
|
+
brew-rb 2020 Austin C. Roos
|
2
|
+
|
3
|
+
Hippocratic License Version Number: 2.1.
|
4
|
+
|
5
|
+
* Purpose. The purpose of this License is for the Licensor named above to
|
6
|
+
permit the Licensee (as defined below) broad permission, if consistent with
|
7
|
+
Human Rights Laws and Human Rights Principles (as each is defined below), to
|
8
|
+
use and work with the Software (as defined below) within the full scope of
|
9
|
+
Licensor's copyright and patent rights, if any, in the Software, while
|
10
|
+
ensuring attribution and protecting the Licensor from liability.
|
11
|
+
|
12
|
+
* Permission and Conditions. The Licensor grants permission by this license
|
13
|
+
("License"), free of charge, to the extent of Licensor's rights under
|
14
|
+
applicable copyright and patent law, to any person or entity (the "Licensee")
|
15
|
+
obtaining a copy of this software and associated documentation files (the
|
16
|
+
"Software"), to do everything with the Software that would otherwise infringe
|
17
|
+
(i) the Licensor's copyright in the Software or (ii) any patent claims to the
|
18
|
+
Software that the Licensor can license or becomes able to license, subject to
|
19
|
+
all of the following terms and conditions:
|
20
|
+
|
21
|
+
* Acceptance. This License is automatically offered to every person and entity
|
22
|
+
subject to its terms and conditions. Licensee accepts this License and agrees
|
23
|
+
to its terms and conditions by taking any action with the Software that, absent
|
24
|
+
this License, would infringe any intellectual property right held by Licensor.
|
25
|
+
|
26
|
+
* Notice. Licensee must ensure that everyone who gets a copy of any part of
|
27
|
+
this Software from Licensee, with or without changes, also receives the License
|
28
|
+
and the above copyright notice (and if included by the Licensor, patent,
|
29
|
+
trademark and attribution notice). Licensee must cause any modified versions of
|
30
|
+
the Software to carry prominent notices stating that Licensee changed the
|
31
|
+
Software. For clarity, although Licensee is free to create modifications of the
|
32
|
+
Software and distribute only the modified portion created by Licensee with
|
33
|
+
additional or different terms, the portion of the Software not modified must be
|
34
|
+
distributed pursuant to this License. If anyone notifies Licensee in writing
|
35
|
+
that Licensee has not complied with this Notice section, Licensee can keep this
|
36
|
+
License by taking all practical steps to comply within 30 days after the
|
37
|
+
notice. If Licensee does not do so, Licensee's License (and all rights
|
38
|
+
licensed hereunder) shall end immediately.
|
39
|
+
|
40
|
+
* Compliance with Human Rights Principles and Human Rights Laws.
|
41
|
+
|
42
|
+
1. Human Rights Principles.
|
43
|
+
|
44
|
+
(a) Licensee is advised to consult the articles of the United Nations
|
45
|
+
Universal Declaration of Human Rights and the United Nations Global Compact
|
46
|
+
that define recognized principles of international human rights (the "Human
|
47
|
+
Rights Principles"). Licensee shall use the Software in a manner consistent
|
48
|
+
with Human Rights Principles.
|
49
|
+
|
50
|
+
(b) Unless the Licensor and Licensee agree otherwise, any dispute,
|
51
|
+
controversy, or claim arising out of or relating to (i) Section 1(a) regarding
|
52
|
+
Human Rights Principles, including the breach of Section 1(a), termination of
|
53
|
+
this License for breach of the Human Rights Principles, or invalidity of
|
54
|
+
Section 1(a) or (ii) a determination of whether any Law is consistent or in
|
55
|
+
conflict with Human Rights Principles pursuant to Section 2, below, shall be
|
56
|
+
settled by arbitration in accordance with the Hague Rules on Business and Human
|
57
|
+
Rights Arbitration (the "Rules"); provided, however, that Licensee may elect
|
58
|
+
not to participate in such arbitration, in which event this License (and all
|
59
|
+
rights licensed hereunder) shall end immediately. The number of arbitrators
|
60
|
+
shall be one unless the Rules require otherwise.
|
61
|
+
|
62
|
+
Unless both the Licensor and Licensee agree to the contrary: (1) All
|
63
|
+
documents and information concerning the arbitration shall be public and may be
|
64
|
+
disclosed by any party; (2) The repository referred to under Article 43 of the
|
65
|
+
Rules shall make available to the public in a timely manner all documents
|
66
|
+
concerning the arbitration which are communicated to it, including all
|
67
|
+
submissions of the parties, all evidence admitted into the record of the
|
68
|
+
proceedings, all transcripts or other recordings of hearings and all orders,
|
69
|
+
decisions and awards of the arbitral tribunal, subject only to the arbitral
|
70
|
+
tribunal's powers to take such measures as may be necessary to safeguard the
|
71
|
+
integrity of the arbitral process pursuant to Articles 18, 33, 41 and 42 of the
|
72
|
+
Rules; and (3) Article 26(6) of the Rules shall not apply.
|
73
|
+
|
74
|
+
2. Human Rights Laws. The Software shall not be used by any person or
|
75
|
+
entity for any systems, activities, or other uses that violate any Human Rights
|
76
|
+
Laws. "Human Rights Laws" means any applicable laws, regulations, or rules
|
77
|
+
(collectively, "Laws") that protect human, civil, labor, privacy, political,
|
78
|
+
environmental, security, economic, due process, or similar rights; provided,
|
79
|
+
however, that such Laws are consistent and not in conflict with Human Rights
|
80
|
+
Principles (a dispute over the consistency or a conflict between Laws and Human
|
81
|
+
Rights Principles shall be determined by arbitration as stated above). Where
|
82
|
+
the Human Rights Laws of more than one jurisdiction are applicable or in
|
83
|
+
conflict with respect to the use of the Software, the Human Rights Laws that
|
84
|
+
are most protective of the individuals or groups harmed shall apply.
|
85
|
+
|
86
|
+
3. Indemnity. Licensee shall hold harmless and indemnify Licensor (and any
|
87
|
+
other contributor) against all losses, damages, liabilities, deficiencies,
|
88
|
+
claims, actions, judgments, settlements, interest, awards, penalties, fines,
|
89
|
+
costs, or expenses of whatever kind, including Licensor's reasonable
|
90
|
+
attorneys' fees, arising out of or relating to Licensee's use of the
|
91
|
+
Software in violation of Human Rights Laws or Human Rights Principles.
|
92
|
+
|
93
|
+
* Failure to Comply. Any failure of Licensee to act according to the terms and
|
94
|
+
conditions of this License is both a breach of the License and an infringement
|
95
|
+
of the intellectual property rights of the Licensor (subject to exceptions
|
96
|
+
under Laws, e.g., fair use). In the event of a breach or infringement, the
|
97
|
+
terms and conditions of this License may be enforced by Licensor under the Laws
|
98
|
+
of any jurisdiction to which Licensee is subject. Licensee also agrees that the
|
99
|
+
Licensor may enforce the terms and conditions of this License against Licensee
|
100
|
+
through specific performance (or similar remedy under Laws) to the extent
|
101
|
+
permitted by Laws. For clarity, except in the event of a breach of this
|
102
|
+
License, infringement, or as otherwise stated in this License, Licensor may not
|
103
|
+
terminate this License with Licensee.
|
104
|
+
|
105
|
+
* Enforceability and Interpretation. If any term or provision of this License
|
106
|
+
is determined to be invalid, illegal, or unenforceable by a court of competent
|
107
|
+
jurisdiction, then such invalidity, illegality, or unenforceability shall not
|
108
|
+
affect any other term or provision of this License or invalidate or render
|
109
|
+
unenforceable such term or provision in any other jurisdiction; provided,
|
110
|
+
however, subject to a court modification pursuant to the immediately following
|
111
|
+
sentence, if any term or provision of this License pertaining to Human Rights
|
112
|
+
Laws or Human Rights Principles is deemed invalid, illegal, or unenforceable
|
113
|
+
against Licensee by a court of competent jurisdiction, all rights in the
|
114
|
+
Software granted to Licensee shall be deemed null and void as between Licensor
|
115
|
+
and Licensee. Upon a determination that any term or provision is invalid,
|
116
|
+
illegal, or unenforceable, to the extent permitted by Laws, the court may
|
117
|
+
modify this License to affect the original purpose that the Software be used in
|
118
|
+
compliance with Human Rights Principles and Human Rights Laws as closely as
|
119
|
+
possible. The language in this License shall be interpreted as to its fair
|
120
|
+
meaning and not strictly for or against any party.
|
121
|
+
|
122
|
+
* Disclaimer. TO THE FULL EXTENT ALLOWED BY LAW, THIS SOFTWARE COMES "AS IS,"
|
123
|
+
WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED, AND LICENSOR AND ANY OTHER
|
124
|
+
CONTRIBUTOR SHALL NOT BE LIABLE TO ANYONE FOR ANY DAMAGES OR OTHER LIABILITY
|
125
|
+
ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THIS LICENSE, UNDER
|
126
|
+
ANY KIND OF LEGAL CLAIM.
|
127
|
+
|
128
|
+
This Hippocratic License is an Ethical Source license
|
129
|
+
(https://ethicalsource.dev) and is offered for use by licensors and licensees
|
130
|
+
at their own risk, on an "AS IS" basis, and with no warranties express or
|
131
|
+
implied, to the maximum extent permitted by Laws.
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# brew
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/brew.svg)](https://badge.fury.io/rb/brew)
|
4
|
+
|
3
5
|
A _very_ simple gem to run some [homebrew](https://brew.sh/) commands from your ruby code. If the `brew` executable is not installed, the constructor will throw an exception immediately.
|
4
6
|
|
5
7
|
## Installation
|
data/lib/brew.rb
CHANGED
data/lib/brew/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brew
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Austin C Roos
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bump
|
@@ -92,6 +92,7 @@ files:
|
|
92
92
|
- CODE_OF_CONDUCT.md
|
93
93
|
- Gemfile
|
94
94
|
- Gemfile.lock
|
95
|
+
- LICENSE
|
95
96
|
- README.md
|
96
97
|
- Rakefile
|
97
98
|
- bin/console
|