rubysmith 1.3.0 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 70dbc101555ee2f755af1202de17dd12c04bd5a427a483a3c2710bcedad4fdb5
4
- data.tar.gz: 723ab4a9bee7cb81f5c46e5011704972922ec6c9d30e408b17935369a7034502
3
+ metadata.gz: 5e8c468fff3da78e3904166c5a719b4c426743eb0429a2c9407705bcc05e4ccf
4
+ data.tar.gz: 78b268e76b5de2556f87629fce27fc6f03e4cec7279238175cb7660c6dfb5719
5
5
  SHA512:
6
- metadata.gz: 4a735f251308fe224894d35cd6ec488fbb48296d2192371b1cefb7f0dfaaa2a4320cfeebcb91954c4ee6238ff35d3f962b9c5f59496d9c49a215bcbd6250c8bb
7
- data.tar.gz: caa4eccf46c21ef081e46530ba780776895d9ee42b10fc87f2bcf43dd4e3ed5b99665a22f4eaf2490dafc44c22650ab67cd9507fa5af7c05202caa2d25bd2604
6
+ metadata.gz: 634ca98f29099a1a10beb10b2d6e43982f902e95606c6fbc197a57354931dde00b0c9a4121d6dc1365b77a6ea0920051e8673752c4587a29362bf500b0785efb
7
+ data.tar.gz: 02c6e9f0e3ca47e7d0e8a8f98828efb50a7ddbbac034d6054481676bab981871fe9ef39a10146f5ecb4ca15fe39720b5231e7d92ce616338a251cb9163414ea9
checksums.yaml.gz.sig CHANGED
Binary file
data/LICENSE.adoc CHANGED
@@ -1,214 +1,134 @@
1
- = HIPPOCRATIC LICENSE
2
-
3
- *Version 3.0, October 2021*
4
-
5
- https://firstdonoharm.dev
6
-
7
- *TERMS AND CONDITIONS*
8
-
9
- TERMS AND CONDITIONS FOR USE, COPY, MODIFICATION, PREPARATION OF DERIVATIVE WORK, REPRODUCTION, AND DISTRIBUTION:
10
-
11
- == 1. DEFINITIONS
12
-
13
- _This section defines certain terms used throughout this license agreement._
14
-
15
- 1.1. "License" means the terms and conditions, as stated herein, for use, copy, modification, preparation of derivative work, reproduction, and distribution of Software (as defined below).
16
-
17
- 1.2. "Licensor" means the copyright and/or patent owner or entity authorized by the copyright and/or patent owner that is granting the License.
18
-
19
- 1.3. "Licensee" means the individual or entity exercising permissions granted by this License, including the use, copy, modification, preparation of derivative work, reproduction, and distribution of Software (as defined below).
20
-
21
- 1.4. "Software" means any copyrighted work, including but not limited to software code, authored by Licensor and made available under this License.
22
-
23
- 1.5. "Supply Chain" means the sequence of processes involved in the production and/or distribution of a commodity, good, or service offered by the Licensee.
24
-
25
- 1.6. "Supply Chain Impacted Party" or "Supply Chain Impacted Parties" means any person(s) directly impacted by any of Licensee’s Supply Chain, including the practices of all persons or entities within the Supply Chain prior to a good or service reaching the Licensee.
26
-
27
- 1.7. "Duty of Care" is defined by its use in tort law, delict law, and/or similar bodies of law closely related to tort and/or delict law, including without limitation, a requirement to act with the watchfulness, attention, caution, and prudence that a reasonable person in the same or similar circumstances would use towards any Supply Chain Impacted Party.
28
-
29
- 1.8. "Worker" is defined to include any and all permanent, temporary, and agency workers, as well as piece-rate, salaried, hourly paid, legal young (minors), part-time, night, and migrant workers.
30
-
31
- == 2. INTELLECTUAL PROPERTY GRANTS
32
-
33
- _This section identifies intellectual property rights granted to a Licensee_.
34
-
35
- 2.1. _Grant of Copyright License_: Subject to the terms and conditions of this License, Licensor hereby grants to Licensee a worldwide, non-exclusive, no-charge, royalty-free copyright license to use, copy, modify, prepare derivative work, reproduce, or distribute the Software, Licensor authored modified software, or other work derived from the Software.
36
-
37
- 2.2 _Grant of Patent License_: Subject to the terms and conditions of this License, Licensor hereby grants Licensee a worldwide, non-exclusive, no-charge, royalty-free patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer Software.
38
-
39
- == 3. ETHICAL STANDARDS
40
-
41
- _This section lists conditions the Licensee must comply with in order to have rights under this License._
42
-
43
- The rights granted to the Licensee by this License are expressly made subject to the Licensee’s ongoing compliance with the following conditions:
44
-
45
- 3.1. The Licensee SHALL NOT, whether directly or indirectly, through agents or assigns:
46
-
47
- 3.1.1. Infringe upon any person’s right to life or security of person, engage in extrajudicial killings, or commit murder, without lawful cause +
48
- (See Article 3, _United Nations Universal Declaration of Human Rights_; Article 6, _International Covenant on Civil and Political Rights_)
49
-
50
- 3.1.2. Hold any person in slavery, servitude, or forced labor +
51
- (See Article 4, _United Nations Universal Declaration of Human Rights_; Article 8, _International Covenant on Civil and Political Rights_);
52
-
53
- 3.1.3. Contribute to the institution of slavery, slave trading, forced labor, or unlawful child labor +
54
- (See Article 4, _United Nations Universal Declaration of Human Rights_; Article 8, _International Covenant on Civil and Political Rights_);
55
-
56
- 3.1.4. Torture or subject any person to cruel, inhumane, or degrading treatment or punishment +
57
- (See Article 5, _United Nations Universal Declaration of Human Rights_; Article 7, _International Covenant on Civil and Political Rights_);
58
-
59
- 3.1.5. Discriminate on the basis of sex, gender, sexual orientation, race, ethnicity, nationality, religion, caste, age, medical disability or impairment, and/or any other like circumstances +
60
- (See Article 7, _United Nations Universal Declaration of Human Rights_; Article 2, _International Covenant on Economic, Social and Cultural Rights_; Article 26, _International Covenant on Civil and Political Rights_);
61
-
62
- 3.1.6. Prevent any person from exercising his/her/their right to seek an effective remedy by a competent court or national tribunal (including domestic judicial systems, international courts, arbitration bodies, and other adjudicating bodies) for actions violating the fundamental rights granted to him/her/them by applicable constitutions, applicable laws, or by this License +
63
- (See Article 8, _United Nations Universal Declaration of Human Rights_; Articles 9 and 14, _International Covenant on Civil and Political Rights_);
64
-
65
- 3.1.7. Subject any person to arbitrary arrest, detention, or exile +
66
- (See Article 9, _United Nations Universal Declaration of Human Rights_; Article 9, _International Covenant on Civil and Political Rights_);
67
-
68
- 3.1.8. Subject any person to arbitrary interference with a person’s privacy, family, home, or correspondence without the express written consent of the person +
69
- (See Article 12, _United Nations Universal Declaration of Human Rights_; Article 17, _International Covenant on Civil and Political Rights_);
70
-
71
- 3.1.9. Arbitrarily deprive any person of his/her/their property +
72
- (See Article 17, _United Nations Universal Declaration of Human Rights_);
73
-
74
- 3.1.10. Forcibly remove indigenous peoples from their lands or territories or take any action with the aim or effect of dispossessing indigenous peoples from their lands, territories, or resources, including without limitation the intellectual property or traditional knowledge of indigenous peoples, without the free, prior, and informed consent of indigenous peoples concerned +
75
- (See Articles 8 and 10, _United Nations Declaration on the Rights of Indigenous Peoples_);
76
-
77
- 3.1.11. Be an individual or entity, or a representative, agent, affiliate, successor, attorney, or assign of an individual or entity, on the FFI Solutions Carbon Underground 200 list;
78
-
79
- 3.1.12. Commit ecocide:
80
-
81
- 3.1.12.1 For the purpose of this section, "ecocide" means unlawful or wanton acts committed with knowledge that there is a substantial likelihood of severe and either widespread or long-term damage to the environment being caused by those acts;
82
-
83
- 3.1.12.2 For the purpose of further defining ecocide and the terms contained in the previous paragraph:
84
-
85
- 3.1.12.2.1. "Wanton" means with reckless disregard for damage which would be clearly excessive in relation to the social and economic benefits anticipated;
86
-
87
- 3.1.12.2.2. "Severe" means damage which involves very serious adverse changes, disruption, or harm to any element of the environment, including grave impacts on human life or natural, cultural, or economic resources;
88
-
89
- 3.1.12.2.3. "Widespread" means damage which extends beyond a limited geographic area, crosses state boundaries, or is suffered by an entire ecosystem or species or a large number of human beings;
90
-
91
- 3.1.12.2.4. "Long-term" means damage which is irreversible or which cannot be redressed through natural recovery within a reasonable period of time; and
92
-
93
- 3.1.12.2.5. "Environment" means the earth, its biosphere, cryosphere, lithosphere, hydrosphere, and atmosphere, as well as outer space
94
-
95
- (See Section II, _Independent Expert Panel for the Legal Definition of Ecocide_, Stop Ecocide Foundation and the Promise Institute for Human Rights at UCLA School of Law, June 2021);
96
-
97
- 3.1.13. Be an individual or entity, or a representative, agent, affiliate, successor, attorney, or assign of an individual or entity, that engages in fossil fuel or mineral exploration, extraction, development, or sale;
98
-
99
- 3.1.14. Be an individual or entity, or a representative, agent, affiliate, successor, attorney, or assign of an individual or entity, identified by the Boycott, Divestment, Sanctions ("BDS") movement on its website (https://bdsmovement.net/ and https://bdsmovement.net/get-involved/what-to-boycott) as a target for boycott;
100
-
101
- 3.1.15. Be an individual or entity that:
102
-
103
- 3.1.15.1. engages in any commercial transactions with the Taliban; or
104
-
105
- 3.1.15.2. is a representative, agent, affiliate, successor, attorney, or assign of the Taliban;
106
-
107
- 3.1.16. Be an individual or entity that:
108
-
109
- 3.1.16.1. engages in any commercial transactions with the Myanmar/Burmese military junta; or
110
-
111
- 3.1.16.2. is a representative, agent, affiliate, successor, attorney, or assign of the Myanmar/Burmese government;
112
-
113
- 3.1.17. Be an individual or entity, or a representative, agent, affiliate, successor, attorney, or assign of any individual or entity, that does business in, purchases goods from, or otherwise benefits from goods produced in the Xinjiang Uygur Autonomous Region of China;
114
-
115
- 3.1.18. Be an individual or entity:
116
-
117
- 3.1.18.1. which U.S. Customs and Border Protection (CBP) has currently issued a Withhold Release Order (WRO) or finding against based on reasonable suspicion of forced labor; or
118
-
119
- 3.1.18.2. that is a representative, agent, affiliate, successor, attorney, or assign of an individual or entity that does business with an individual or entity which currently has a WRO or finding from CBP issued against it based on reasonable suspicion of forced labor;
120
-
121
- 3.1.19. Be a government agency or multinational corporation, or a representative, agent, affiliate, successor, attorney, or assign of a government or multinational corporation, which participates in mass surveillance programs;
122
-
123
- 3.1.20. Be an entity or a representative, agent, affiliate, successor, attorney, or assign of an entity which conducts military activities;
124
-
125
- 3.1.21. Be an individual or entity, or a or a representative, agent, affiliate, successor, attorney, or assign of an individual or entity, that provides good or services to, or otherwise enters into any commercial contracts with, any local, state, or federal law enforcement agency;
126
-
127
- 3.1.22. Be an individual or entity, or a or a representative, agent, affiliate, successor, attorney, or assign of an individual or entity, that broadcasts messages promoting killing, torture, or other forms of extreme violence;
128
-
129
- 3.1.23. Interfere with Workers’ free exercise of the right to organize and associate +
130
- (See Article 20, United Nations Universal Declaration of Human Rights; C087 - Freedom of Association and Protection of the Right to Organise Convention, 1948 (No. 87), International Labour Organization; Article 8, International Covenant on Economic, Social and Cultural Rights); and
131
-
132
- 3.1.24. Harm the environment in a manner inconsistent with local, state, national, or international law.
133
-
134
- 3.2. The Licensee SHALL:
135
-
136
- 3.2.1. Only use social auditing mechanisms that adhere to Worker-Driven Social Responsibility Network’s Statement of Principles (https://wsr-network.org/what-is-wsr/statement-of-principles/) over traditional social auditing mechanisms, to the extent the Licensee uses any social auditing mechanisms at all;
137
-
138
- 3.2.2. Ensure that if the Licensee has a Board of Directors, 30% of Licensee’s board seats are held by Workers paid no more than 200% of the compensation of the lowest paid Worker of the Licensee;
139
-
140
- 3.2.3. Provide clear, accessible supply chain data to the public in accordance with the following conditions:
141
-
142
- 3.2.3.1. All data will be on Licensee’s website and/or, to the extent Licensee is a representative, agent, affiliate, successor, attorney, subsidiary, or assign, on Licensee’s principal’s or parent’s website or some other online platform accessible to the public via an internet search on a common internet search engine; and
143
-
144
- 3.2.3.2. Data published will include, where applicable, manufacturers, top tier suppliers, subcontractors, cooperatives, component parts producers, and farms;
145
-
146
- 3.2.4. Provide equal pay for equal work where the performance of such work requires equal skill, effort, and responsibility, and which are performed under similar working conditions, except where such payment is made pursuant to:
147
-
148
- 3.2.4.1. A seniority system;
149
-
150
- 3.2.4.2. A merit system;
151
-
152
- 3.2.4.3. A system which measures earnings by quantity or quality of production; or
153
-
154
- 3.2.4.4. A differential based on any other factor other than sex, gender, sexual orientation, race, ethnicity, nationality, religion, caste, age, medical disability or impairment, and/or any other like circumstances +
155
- (See 29 U.S.C.A. § 206(d)(1); Article 23, _United Nations Universal Declaration of Human Rights_; Article 7, _International Covenant on Economic, Social and Cultural Rights_; Article 26, _International Covenant on Civil and Political Rights_); and
156
-
157
- 3.2.5. Allow for reasonable limitation of working hours and periodic holidays with pay +
158
- (See Article 24, _United Nations Universal Declaration of Human Rights_; Article 7, _International Covenant on Economic, Social and Cultural Rights_).
159
-
160
- == 4. SUPPLY CHAIN IMPACTED PARTIES
161
-
162
- _This section identifies additional individuals or entities that a Licensee could harm as a result of violating the Ethical Standards section, the condition that the Licensee must voluntarily accept a Duty of Care for those individuals or entities, and the right to a private right of action that those individuals or entities possess as a result of violations of the Ethical Standards section._
163
-
164
- 4.1. In addition to the above Ethical Standards, Licensee voluntarily accepts a Duty of Care for Supply Chain Impacted Parties of this License, including individuals and communities impacted by violations of the Ethical Standards. The Duty of Care is breached when a provision within the Ethical Standards section is violated by a Licensee, one of its successors or assigns, or by an individual or entity that exists within the Supply Chain prior to a good or service reaching the Licensee.
165
-
166
- 4.2. Breaches of the Duty of Care, as stated within this section, shall create a private right of action, allowing any Supply Chain Impacted Party harmed by the Licensee to take legal action against the Licensee in accordance with applicable negligence laws, whether they be in tort law, delict law, and/or similar bodies of law closely related to tort and/or delict law, regardless if Licensee is directly responsible for the harms suffered by a Supply Chain Impacted Party. Nothing in this section shall be interpreted to include acts committed by individuals outside of the scope of his/her/their employment.
167
-
168
- == 5. NOTICE
169
-
170
- _This section explains when a Licensee must notify others of the License._
171
-
172
- 5.1. _Distribution of Notice_: Licensee must ensure that everyone who receives a copy of or uses any part of Software from Licensee, with or without changes, also receives the License and the copyright notice included with Software (and if included by the Licensor, patent, trademark, and attribution notice). Licensee must ensure that License is prominently displayed so that any individual or entity seeking to download, copy, use, or otherwise receive any part of Software from Licensee is notified of this License and its terms and conditions. Licensee must cause any modified versions of the Software to carry prominent notices stating that Licensee changed the Software.
173
-
174
- 5.2. _Modified Software_: Licensee is free to create modifications of the Software and distribute only the modified portion created by Licensee, however, any derivative work stemming from the Software or its code must be distributed pursuant to this License, including this Notice provision.
175
-
176
- 5.3. _Recipients as Licensees_: Any individual or entity that uses, copies, modifies, reproduces, distributes, or prepares derivative work based upon the Software, all or part of the Software’s code, or a derivative work developed by using the Software, including a portion of its code, is a Licensee as defined above and is subject to the terms and conditions of this License.
177
-
178
- == 6. REPRESENTATIONS AND WARRANTIES
179
-
180
- 6.1. _Disclaimer of Warranty_: TO THE FULL EXTENT ALLOWED BY LAW, THIS SOFTWARE COMES "AS IS," WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED, AND LICENSOR SHALL NOT BE LIABLE TO ANY PERSON OR ENTITY FOR ANY DAMAGES OR OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THIS LICENSE, UNDER ANY LEGAL CLAIM.
181
-
182
- 6.2. _Limitation of Liability_: LICENSEE SHALL HOLD LICENSOR HARMLESS AGAINST ANY AND ALL CLAIMS, DEBTS, DUES, LIABILITIES, LIENS, CAUSES OF ACTION, DEMANDS, OBLIGATIONS, DISPUTES, DAMAGES, LOSSES, EXPENSES, ATTORNEYS’ FEES, COSTS, LIABILITIES, AND ALL OTHER CLAIMS OF EVERY KIND AND NATURE WHATSOEVER, WHETHER KNOWN OR UNKNOWN, ANTICIPATED OR UNANTICIPATED, FORESEEN OR UNFORESEEN, ACCRUED OR UNACCRUED, DISCLOSED OR UNDISCLOSED, ARISING OUT OF OR RELATING TO LICENSEE’S USE OF THE SOFTWARE. NOTHING IN THIS SECTION SHOULD BE INTERPRETED TO REQUIRE LICENSEE TO INDEMNIFY LICENSOR, NOR REQUIRE LICENSOR TO INDEMNIFY LICENSEE.
183
-
184
- == 7. TERMINATION
185
-
186
- 7.1. _Violations of Ethical Standards or Breaching Duty of Care_: If Licensee violates the Ethical Standards section or Licensee, or any other person or entity within the Supply Chain prior to a good or service reaching the Licensee, breaches its Duty of Care to Supply Chain Impacted Parties, Licensee must remedy the violation or harm caused by Licensee within 30 days of being notified of the violation or harm. If Licensee fails to remedy the violation or harm within 30 days, all rights in the Software granted to Licensee by License will be null and void as between Licensor and Licensee.
187
-
188
- 7.2. _Failure of Notice_: If any person or entity notifies Licensee in writing that Licensee has not complied with the Notice section of this License, Licensee can keep this License by taking all practical steps to comply within 30 days after the notice of noncompliance. If Licensee does not do so, Licensee’s License (and all rights licensed hereunder) will end immediately.
189
-
190
- 7.3. _Judicial Findings_: In the event Licensee is found by a civil, criminal, administrative, or other court of competent jurisdiction, or some other adjudicating body with legal authority, to have committed actions which are in violation of the Ethical Standards or Supply Chain Impacted Party sections of this License, all rights granted to Licensee by this License will terminate immediately.
191
-
192
- 7.4. _Patent Litigation_: If Licensee institutes patent litigation against any entity (including a cross-claim or counterclaim in a suit) alleging that the Software, all or part of the Software’s code, or a derivative work developed using the Software, including a portion of its code, constitutes direct or contributory patent infringement, then any patent license, along with all other rights, granted to Licensee under this License will terminate as of the date such litigation is filed.
193
-
194
- 7.5. _Additional Remedies_: Termination of the License by failing to remedy harms in no way prevents Licensor or Supply Chain Impacted Party from seeking appropriate remedies at law or in equity.
195
-
196
- == 8. MISCELLANEOUS
197
-
198
- 8.1. _Conditions_: Sections 3, 4.1, 5.1, 5.2, 7.1, 7.2, 7.3, and 7.4 are conditions of the rights granted to Licensee in the License.
199
-
200
- 8.2. _Equitable Relief_: Licensor and any Supply Chain Impacted Party shall be entitled to equitable relief, including injunctive relief or specific performance of the terms hereof, in addition to any other remedy to which they are entitled at law or in equity.
201
-
202
- 8.3. _Copyleft_: Modified software, source code, or other derivative work must be licensed, in its entirety, under the exact same conditions as this License.
203
-
204
- 8.4. _Severability_: If any term or provision of this License is determined to be invalid, illegal, or unenforceable by a court of competent jurisdiction, any such determination of invalidity, illegality, or unenforceability shall not affect any other term or provision of this License or invalidate or render unenforceable such term or provision in any other jurisdiction. If the determination of invalidity, illegality, or unenforceability by a court of competent jurisdiction pertains to the terms or provisions contained in the Ethical Standards section of this License, all rights in the Software granted to Licensee shall be deemed null and void as between Licensor and Licensee.
205
-
206
- 8.5. _Section Titles_: Section titles are solely written for organizational purposes and should not be used to interpret the language within each section.
207
-
208
- 8.6. _Citations_: Citations are solely written to provide context for the source of the provisions in the Ethical Standards.
209
-
210
- 8.7. _Section Summaries_: Some sections have a brief _italicized description_ which is provided for the sole purpose of briefly describing the section and should not be used to interpret the terms of the License.
211
-
212
- 8.8. _Entire License_: This is the entire License between the Licensor and Licensee with respect to the claims released herein and that the consideration stated herein is the only consideration or compensation to be paid or exchanged between them for this License. This License cannot be modified or amended except in a writing signed by Licensor and Licensee.
213
-
214
- 8.9. _Successors and Assigns_: This License shall be binding upon and inure to the benefit of the Licensor’s and Licensee’s respective heirs, successors, and assigns.
1
+ = Hippocratic License
2
+
3
+ Version: 2.1.0.
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
7
+ with Human Rights Laws and Human Rights Principles (as each is defined
8
+ below), to use and work with the Software (as defined below) within the
9
+ full scope of Licensor’s copyright and patent rights, if any, in the
10
+ Software, while ensuring attribution and protecting the Licensor from
11
+ liability.
12
+
13
+ Permission and Conditions. The Licensor grants permission by this
14
+ license ("License"), free of charge, to the extent of Licensor’s
15
+ rights under applicable copyright and patent law, to any person or
16
+ entity (the "Licensee") obtaining a copy of this software and
17
+ associated documentation files (the "Software"), to do everything with
18
+ the Software that would otherwise infringe (i) the Licensor’s copyright
19
+ in the Software or (ii) any patent claims to the Software that the
20
+ Licensor can license or becomes able to license, subject to all of the
21
+ following terms and conditions:
22
+
23
+ * Acceptance. This License is automatically offered to every person and
24
+ entity subject to its terms and conditions. Licensee accepts this
25
+ License and agrees to its terms and conditions by taking any action with
26
+ the Software that, absent this License, would infringe any intellectual
27
+ property right held by Licensor.
28
+ * Notice. Licensee must ensure that everyone who gets a copy of any part
29
+ of this Software from Licensee, with or without changes, also receives
30
+ the License and the above copyright notice (and if included by the
31
+ Licensor, patent, trademark and attribution notice). Licensee must cause
32
+ any modified versions of the Software to carry prominent notices stating
33
+ that Licensee changed the Software. For clarity, although Licensee is
34
+ free to create modifications of the Software and distribute only the
35
+ modified portion created by Licensee with additional or different terms,
36
+ the portion of the Software not modified must be distributed pursuant to
37
+ this License. If anyone notifies Licensee in writing that Licensee has
38
+ not complied with this Notice section, Licensee can keep this License by
39
+ taking all practical steps to comply within 30 days after the notice. If
40
+ Licensee does not do so, Licensee’s License (and all rights licensed
41
+ hereunder) shall end immediately.
42
+ * Compliance with Human Rights Principles and Human Rights Laws.
43
+ [arabic]
44
+ . Human Rights Principles.
45
+ [loweralpha]
46
+ .. Licensee is advised to consult the articles of the United Nations
47
+ Universal Declaration of Human Rights and the United Nations Global
48
+ Compact that define recognized principles of international human rights
49
+ (the "Human Rights Principles"). Licensee shall use the Software in a
50
+ manner consistent with Human Rights Principles.
51
+ .. Unless the Licensor and Licensee agree otherwise, any dispute,
52
+ controversy, or claim arising out of or relating to (i) Section 1(a)
53
+ regarding Human Rights Principles, including the breach of Section 1(a),
54
+ termination of this License for breach of the Human Rights Principles,
55
+ or invalidity of Section 1(a) or (ii) a determination of whether any Law
56
+ is consistent or in conflict with Human Rights Principles pursuant to
57
+ Section 2, below, shall be settled by arbitration in accordance with the
58
+ Hague Rules on Business and Human Rights Arbitration (the "Rules");
59
+ provided, however, that Licensee may elect not to participate in such
60
+ arbitration, in which event this License (and all rights licensed
61
+ hereunder) shall end immediately. The number of arbitrators shall be one
62
+ unless the Rules require otherwise.
63
+ +
64
+ Unless both the Licensor and Licensee agree to the contrary: (1) All
65
+ documents and information concerning the arbitration shall be public and
66
+ may be disclosed by any party; (2) The repository referred to under
67
+ Article 43 of the Rules shall make available to the public in a timely
68
+ manner all documents concerning the arbitration which are communicated
69
+ to it, including all submissions of the parties, all evidence admitted
70
+ into the record of the proceedings, all transcripts or other recordings
71
+ of hearings and all orders, decisions and awards of the arbitral
72
+ tribunal, subject only to the arbitral tribunal’s powers to take such
73
+ measures as may be necessary to safeguard the integrity of the arbitral
74
+ process pursuant to Articles 18, 33, 41 and 42 of the Rules; and (3)
75
+ Article 26(6) of the Rules shall not apply.
76
+ . Human Rights Laws. The Software shall not be used by any person or
77
+ entity for any systems, activities, or other uses that violate any Human
78
+ Rights Laws. "Human Rights Laws" means any applicable laws,
79
+ regulations, or rules (collectively, "Laws") that protect human,
80
+ civil, labor, privacy, political, environmental, security, economic, due
81
+ process, or similar rights; provided, however, that such Laws are
82
+ consistent and not in conflict with Human Rights Principles (a dispute
83
+ over the consistency or a conflict between Laws and Human Rights
84
+ Principles shall be determined by arbitration as stated above). Where
85
+ the Human Rights Laws of more than one jurisdiction are applicable or in
86
+ conflict with respect to the use of the Software, the Human Rights Laws
87
+ that are most protective of the individuals or groups harmed shall
88
+ apply.
89
+ . Indemnity. Licensee shall hold harmless and indemnify Licensor (and
90
+ any other contributor) against all losses, damages, liabilities,
91
+ deficiencies, claims, actions, judgments, settlements, interest, awards,
92
+ penalties, fines, costs, or expenses of whatever kind, including
93
+ Licensor’s reasonable attorneys’ fees, arising out of or relating to
94
+ Licensee’s use of the Software in violation of Human Rights Laws or
95
+ Human Rights Principles.
96
+ * Failure to Comply. Any failure of Licensee to act according to the
97
+ terms and conditions of this License is both a breach of the License and
98
+ an infringement of the intellectual property rights of the Licensor
99
+ (subject to exceptions under Laws, e.g., fair use). In the event of a
100
+ breach or infringement, the terms and conditions of this License may be
101
+ enforced by Licensor under the Laws of any jurisdiction to which
102
+ Licensee is subject. Licensee also agrees that the Licensor may enforce
103
+ the terms and conditions of this License against Licensee through
104
+ specific performance (or similar remedy under Laws) to the extent
105
+ permitted by Laws. For clarity, except in the event of a breach of this
106
+ License, infringement, or as otherwise stated in this License, Licensor
107
+ may not terminate this License with Licensee.
108
+ * Enforceability and Interpretation. If any term or provision of this
109
+ License is determined to be invalid, illegal, or unenforceable by a
110
+ court of competent jurisdiction, then such invalidity, illegality, or
111
+ unenforceability shall not affect any other term or provision of this
112
+ License or invalidate or render unenforceable such term or provision in
113
+ any other jurisdiction; provided, however, subject to a court
114
+ modification pursuant to the immediately following sentence, if any term
115
+ or provision of this License pertaining to Human Rights Laws or Human
116
+ Rights Principles is deemed invalid, illegal, or unenforceable against
117
+ Licensee by a court of competent jurisdiction, all rights in the
118
+ Software granted to Licensee shall be deemed null and void as between
119
+ Licensor and Licensee. Upon a determination that any term or provision
120
+ is invalid, illegal, or unenforceable, to the extent permitted by Laws,
121
+ the court may modify this License to affect the original purpose that
122
+ the Software be used in compliance with Human Rights Principles and
123
+ Human Rights Laws as closely as possible. The language in this License
124
+ shall be interpreted as to its fair meaning and not strictly for or
125
+ against any party.
126
+ * Disclaimer. TO THE FULL EXTENT ALLOWED BY LAW, THIS SOFTWARE COMES
127
+ "AS IS," WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED, AND LICENSOR AND
128
+ ANY OTHER CONTRIBUTOR SHALL NOT BE LIABLE TO ANYONE FOR ANY DAMAGES OR
129
+ OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE
130
+ OR THIS LICENSE, UNDER ANY KIND OF LEGAL CLAIM.
131
+
132
+ This Hippocratic License is an link:https://ethicalsource.dev[Ethical Source license] and is offered
133
+ for use by licensors and licensees at their own risk, on an "AS IS" basis, and with no warranties
134
+ express or implied, to the maximum extent permitted by Laws.
data/README.adoc CHANGED
@@ -22,8 +22,9 @@ toc::[]
22
22
  * Uses link:https://www.alchemists.io/projects/pragmater[Pragmater] for Ruby source pragma directives.
23
23
  * Supports link:https://github.com/amazing-print/amazing_print[Amazing Print].
24
24
  * Supports link:https://github.com/rubymem/bundler-leak[Bundler Leak].
25
+ * Supports link:https://www.alchemists.io/projects/caliber[Caliber].
25
26
  * Supports link:https://circleci.com[Circle CI].
26
- * Supports link:https://orcid.org[ORCID Citations].
27
+ * Supports link:https://orcid.org[Citations (ORCID)].
27
28
  * Supports console script for local development.
28
29
  * Supports link:https://rubygems.org/gems/dead_end[DeadEnd].
29
30
  * Supports link:https://github.com/ruby/debug[Debug].
@@ -35,11 +36,9 @@ toc::[]
35
36
  * Supports link:https://github.com/troessner/reek[Reek].
36
37
  * Supports link:https://www.alchemists.io/projects/refinements[Refinements].
37
38
  * Supports link:https://rspec.info[RSpec].
38
- * Supports link:https://github.com/rubocop-hq/rubocop[Rubocop].
39
- * Supports link:https://docs.rubocop.org/rubocop-performance[Rubocop Performance].
40
- * Supports link:https://github.com/rubocop-hq/rubocop-rake[Rubocop Rake].
41
- * Supports link:https://github.com/rubocop-hq/rubocop-rspec[Rubocop RSpec].
39
+ * Supports setup script for project setup.
42
40
  * Supports link:https://github.com/simplecov-ruby/simplecov[SimpleCov].
41
+ * Supports link:https://yardoc.org[YARD].
43
42
  * Supports link:https://github.com/fxn/zeitwerk[Zeitwerk].
44
43
  * Supports common settings and a structured layout for building projects.
45
44
  * Provides common documentation:
@@ -65,6 +64,16 @@ To install, run:
65
64
  gem install rubysmith
66
65
  ----
67
66
 
67
+ == Upgrade
68
+
69
+ If upgrading from 1.0.0 to 2.0.0, you'll need to make the following changes:
70
+
71
+ * README badges are no longer injected so you can customize as desired.
72
+ * The `:rubocop:` build configuration has been removed. Use `:caliber:` instead.
73
+ * The `--rubocop` build option has been removed. Use `--caliber` instead.
74
+ * You no longer have to Git ignore RuboCop cached configurations since this is handled by the
75
+ Caliber gem now.
76
+
68
77
  == Usage
69
78
 
70
79
  === Command Line Interface (CLI)
@@ -82,6 +91,7 @@ USAGE:
82
91
  BUILD OPTIONS:
83
92
  --[no-]amazing_print Add Amazing Print gem. Default: true.
84
93
  --[no-]bundler-leak Add Bundler Leak gem. Default: true.
94
+ --[no-]caliber Add Caliber gem. Default: true.
85
95
  --[no-]circle_ci Add Circle CI configuration and badge. Default: false.
86
96
  --[no-]citation Add citation documentation. Default: true.
87
97
  --[no-]community Add community documentation. Default: false.
@@ -102,7 +112,7 @@ BUILD OPTIONS:
102
112
  --[no-]reek Add Reek gem. Default: true.
103
113
  --[no-]refinements Add Refinements gem. Default: true.
104
114
  --[no-]rspec Add RSpec gem. Default: true.
105
- --[no-]rubocop Add RuboCop gems. Default: true.
115
+ --[no-]security Add security. Default: true.
106
116
  --[no-]setup Add setup script. Default: true.
107
117
  --[no-]simple_cov Add SimpleCov gem. Default: true.
108
118
  --[no-]versions Add version history. Default: true.
@@ -174,11 +184,17 @@ The `--bundler-leak` option allows you to build your project with the
174
184
  link:https://github.com/rubymem/bundler-leak[Bundler Leak] gem which helps detect memory leaks in
175
185
  your gem dependencies.
176
186
 
187
+ ==== Caliber
188
+
189
+ The `--caliber` option allows you to build your project with the
190
+ link:https://www.alchemists.io/projects/caliber[Caliber] gem so you have an immediate working -- and
191
+ high quality -- link:https://docs.rubocop.org/rubocop[RuboCop] configuration. Read the Caliber
192
+ documentation for further customization.
193
+
177
194
  ==== Circle CI
178
195
 
179
196
  The `--circle_ci` option allows you to build your project with link:https://circleci.com[Circle CI]
180
- configured so you can get your project building as quickly as possible. This includes a README badge
181
- and configuration YAML.
197
+ configured so you can get your project building as quickly as possible.
182
198
 
183
199
  ==== Citation
184
200
 
@@ -211,8 +227,8 @@ contribute back to your work.
211
227
  ==== DeadEnd
212
228
 
213
229
  The `--dead_end` option allows you build your project with the
214
- link:https://github.com/zombocom/dead_end[DeadEnd] for debugging purposes since the DeadEnd gem will
215
- show you where you are missing `end`'s and closing statements.
230
+ link:https://github.com/zombocom/dead_end[Dead End] gem for debugging purposes since Dead End will
231
+ show you where you are missing closing `end` statements.
216
232
 
217
233
  ==== Debug
218
234
 
@@ -252,7 +268,7 @@ to build a new project with all options enabled without having to pick and choos
252
268
  ==== Minimum
253
269
 
254
270
  The `--min` option allows you to build your project with _all_ options _disabled_. This is a quick
255
- way to build a new project with the bare minimum of support which is a one step above reaching for
271
+ way to build a new project with the bare minimum of support which is a one step above reaching for a
256
272
  Bundler Inline script.
257
273
 
258
274
  ==== Rake
@@ -280,13 +296,6 @@ Ruby core objects without monkey patching your code.
280
296
  The `--rspec` option allows you add the link:https://rspec.info[RSpec] gem to your project for
281
297
  defining your project specifications and have a framework for testing your code.
282
298
 
283
- ==== Rubocop
284
-
285
- The `--rubocop` option allows you to add the link:https://docs.rubocop.org[RuboCop] gem and suite
286
- of gems to your project for good code quality standards. This the Alchemists style guide, provided
287
- by the link:https://www.alchemists.io/projects/code_quality[Code Quality] project, is what is used
288
- by default.
289
-
290
299
  ==== Setup
291
300
 
292
301
  The `--setup` option allows you to configure you project with automated setup instructions so anyone
@@ -352,6 +361,7 @@ variables. The default configuration is as follows:
352
361
  :build:
353
362
  :amazing_print: true
354
363
  :bundler_leak: true
364
+ :caliber: true
355
365
  :circle_ci: false
356
366
  :citation: true
357
367
  :community: false
@@ -372,7 +382,6 @@ variables. The default configuration is as follows:
372
382
  :reek: true
373
383
  :refinements: true
374
384
  :rspec: true
375
- :rubocop: true
376
385
  :security: true
377
386
  :setup: true
378
387
  :simple_cov: true
@@ -467,7 +476,7 @@ these options are explained in greater detail above.
467
476
 
468
477
  ==== Citations
469
478
 
470
- This section allows you to configure your link:https://orcid.org[ORCiD]
479
+ This section allows you to configure your link:https://orcid.org[ORCID]
471
480
  link:https://citation-file-format.github.io[citation] information used by the research community.
472
481
  You should definitely fill this in. Your author information, detailed above, will be used as well.
473
482
 
@@ -494,9 +503,7 @@ Follow the above links to learn more about each extension's gem configuration.
494
503
  ==== GitHub
495
504
 
496
505
  Your GitHub user is the handle you setup when creating your GitHub account. This information is used
497
- for documentation purposes and Circle CI badge association. If you don't define this information,
498
- Rubysmith will automatically fallback to pulling this information from your Git configuration (i.e.
499
- `github.user`). If all else fails, then nothing will be used.
506
+ for template and/or URL construction purposes.
500
507
 
501
508
  ==== License
502
509
 
@@ -509,7 +516,7 @@ license are available:
509
516
 
510
517
  ==== Project
511
518
 
512
- There are two categories within this section: URLs and version. The URLs allow you to link to
519
+ There are two sub-categories within this section: URLs and version. The URLs allow you to link to
513
520
  specific documentation related to your project. You'll definitely want to customize these as makes
514
521
  sense since these URLs are used for documentation, citations, and general project information. You
515
522
  can also use `%project_name%` as a placeholder anywhere in your URL and Rubysmith will ensure your
@@ -4,8 +4,8 @@ require "refinements/structs"
4
4
 
5
5
  module Rubysmith
6
6
  module Builders
7
- # Builds project skeleton with RuboCop code quality support.
8
- class Rubocop
7
+ # Builds project skeleton with Caliber style support.
8
+ class Caliber
9
9
  using Refinements::Structs
10
10
 
11
11
  def self.call(...) = new(...).call
@@ -16,7 +16,7 @@ module Rubysmith
16
16
  end
17
17
 
18
18
  def call
19
- return configuration unless configuration.build_rubocop
19
+ return configuration unless configuration.build_caliber
20
20
 
21
21
  builder.call(configuration.merge(template_path: "%project_name%/bin/rubocop.erb"))
22
22
  .render
@@ -33,7 +33,7 @@ module Rubysmith
33
33
 
34
34
  def indentation = "".indent configuration.project_levels
35
35
 
36
- def module_name = configuration.project_class.split("::").last
36
+ def module_name = configuration.project_class
37
37
 
38
38
  attr_reader :configuration, :builder
39
39
  end
@@ -16,7 +16,9 @@ module Rubysmith
16
16
  end
17
17
 
18
18
  def call
19
- builder.call(configuration.merge(template_path: "%project_name%/.ruby-version.erb")).render
19
+ builder.call(configuration.merge(template_path: "%project_name%/.ruby-version.erb"))
20
+ .render
21
+ .append("\n")
20
22
  configuration
21
23
  end
22
24
 
@@ -25,7 +25,7 @@ module Rubysmith
25
25
  Builders::Reek,
26
26
  Builders::RSpec::Context,
27
27
  Builders::RSpec::Helper,
28
- Builders::Rubocop,
28
+ Builders::Caliber,
29
29
  Extensions::Bundler,
30
30
  Extensions::Pragmater,
31
31
  Extensions::Tocer,