licensee 9.12.0 → 9.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/bin/licensee +3 -3
  3. data/lib/licensee/commands/detect.rb +5 -5
  4. data/lib/licensee/content_helper.rb +53 -8
  5. data/lib/licensee/hash_helper.rb +5 -5
  6. data/lib/licensee/license.rb +16 -20
  7. data/lib/licensee/matchers/dice.rb +3 -3
  8. data/lib/licensee/projects/git_project.rb +3 -3
  9. data/lib/licensee/projects/project.rb +3 -3
  10. data/lib/licensee/version.rb +1 -1
  11. data/licensee.gemspec +47 -0
  12. data/spec/bin_spec.rb +1 -1
  13. data/spec/fixture_spec.rb +5 -5
  14. data/spec/fixtures/cc0-cal2013/LICENSE +116 -0
  15. data/spec/fixtures/cc0-cc/LICENSE +121 -0
  16. data/spec/fixtures/detect.json +1 -1
  17. data/spec/fixtures/fixtures.yml +12 -0
  18. data/spec/fixtures/license-hashes.json +5 -4
  19. data/spec/fixtures/unlicense-noinfo/LICENSE +22 -0
  20. data/spec/integration_spec.rb +30 -2
  21. data/spec/licensee/commands/detect_spec.rb +4 -4
  22. data/spec/licensee/commands/license_path_spec.rb +1 -1
  23. data/spec/licensee/commands/version_spec.rb +1 -1
  24. data/spec/licensee/content_helper_spec.rb +43 -42
  25. data/spec/licensee/hash_helper_spec.rb +1 -1
  26. data/spec/licensee/license_field_spec.rb +3 -3
  27. data/spec/licensee/license_meta_spec.rb +13 -11
  28. data/spec/licensee/license_rules_spec.rb +4 -2
  29. data/spec/licensee/license_spec.rb +33 -33
  30. data/spec/licensee/matchers/cabal_matcher_spec.rb +4 -2
  31. data/spec/licensee/matchers/cargo_matcher_spec.rb +3 -2
  32. data/spec/licensee/matchers/copyright_matcher_spec.rb +3 -3
  33. data/spec/licensee/matchers/cran_matcher_spec.rb +3 -2
  34. data/spec/licensee/matchers/dice_matcher_spec.rb +11 -10
  35. data/spec/licensee/matchers/dist_zilla_matcher_spec.rb +3 -2
  36. data/spec/licensee/matchers/exact_matcher_spec.rb +3 -2
  37. data/spec/licensee/matchers/gemspec_matcher_spec.rb +3 -2
  38. data/spec/licensee/matchers/matcher_spec.rb +4 -2
  39. data/spec/licensee/matchers/npm_bower_matcher_spec.rb +3 -3
  40. data/spec/licensee/matchers/package_matcher_spec.rb +4 -2
  41. data/spec/licensee/matchers/reference_matcher_spec.rb +2 -2
  42. data/spec/licensee/matchers/spdx_matcher_spec.rb +3 -2
  43. data/spec/licensee/project_files/license_file_spec.rb +15 -15
  44. data/spec/licensee/project_files/package_info_spec.rb +3 -1
  45. data/spec/licensee/project_files/project_file_spec.rb +5 -2
  46. data/spec/licensee/project_files/readme_file_spec.rb +2 -1
  47. data/spec/licensee/project_spec.rb +22 -17
  48. data/spec/licensee/projects/github_project_spec.rb +6 -5
  49. data/spec/licensee/rule_spec.rb +4 -3
  50. data/spec/licensee_spec.rb +10 -9
  51. data/spec/spec_helper.rb +2 -2
  52. data/spec/vendored_license_spec.rb +3 -3
  53. data/vendor/choosealicense.com/_data/rules.yml +3 -0
  54. data/vendor/choosealicense.com/_licenses/bsd-3-clause-clear.txt +1 -0
  55. data/vendor/choosealicense.com/_licenses/bsd-4-clause.txt +61 -0
  56. data/vendor/choosealicense.com/_licenses/bsl-1.0.txt +4 -1
  57. data/vendor/choosealicense.com/_licenses/cc-by-4.0.txt +3 -0
  58. data/vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt +3 -0
  59. data/vendor/choosealicense.com/_licenses/cc0-1.0.txt +112 -103
  60. data/vendor/choosealicense.com/_licenses/ofl-1.1.txt +3 -0
  61. data/vendor/choosealicense.com/_licenses/zlib.txt +4 -1
  62. metadata +37 -4
@@ -1,16 +1,17 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  RSpec.describe Licensee::Projects::GitHubProject do
4
+ subject(:instance) { described_class.new(github_url) }
5
+
4
6
  let(:repo) { 'benbalter/licensee' }
5
7
  let(:github_url) { "https://github.com/#{repo}" }
6
8
  let(:mit) { Licensee::License.find('mit') }
7
9
  let(:readme_file) { File.read(fixture_path('mit/README.md')) }
8
10
  let(:license_file) { File.read(fixture_path('mit/LICENSE.txt')) }
9
- subject(:instance) { described_class.new(github_url) }
10
11
 
11
12
  describe '#initialize' do
12
13
  context 'with a GitHub URI' do
13
- it 'should set @repo' do
14
+ it 'sets @repo' do
14
15
  expect(instance.repo).to eq(repo)
15
16
  end
16
17
  end
@@ -18,7 +19,7 @@ RSpec.describe Licensee::Projects::GitHubProject do
18
19
  context 'with a GitHub git URI' do
19
20
  let(:github_url) { "https://github.com/#{repo}.git" }
20
21
 
21
- it 'should set @repo, stripping the trailing extension' do
22
+ it 'sets @repo, stripping the trailing extension' do
22
23
  expect(instance.repo).to eq(repo)
23
24
  end
24
25
  end
@@ -26,7 +27,7 @@ RSpec.describe Licensee::Projects::GitHubProject do
26
27
  context 'with a non-GitHub URI' do
27
28
  let(:github_url) { "https://gitlab.com/#{repo}" }
28
29
 
29
- it 'should raise an ArgumentError' do
30
+ it 'raises an ArgumentError' do
30
31
  expect { instance }.to raise_error(ArgumentError)
31
32
  end
32
33
  end
@@ -34,7 +35,7 @@ RSpec.describe Licensee::Projects::GitHubProject do
34
35
  context 'with a local folder' do
35
36
  let(:github_url) { fixture_path('mit') }
36
37
 
37
- it 'should raise an ArgumentError' do
38
+ it 'raises an ArgumentError' do
38
39
  expect { instance }.to raise_error(ArgumentError)
39
40
  end
40
41
  end
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  RSpec.describe Licensee::Rule do
4
- let(:groups) { %w[permissions conditions limitations] }
5
4
  subject do
6
5
  described_class.new(
7
6
  description: 'description',
@@ -11,6 +10,8 @@ RSpec.describe Licensee::Rule do
11
10
  )
12
11
  end
13
12
 
13
+ let(:groups) { %w[permissions conditions limitations] }
14
+
14
15
  it 'stores properties' do
15
16
  expect(subject.tag).to eql('tag')
16
17
  expect(subject.label).to eql('label')
@@ -30,7 +31,7 @@ RSpec.describe Licensee::Rule do
30
31
 
31
32
  it 'determines the file path' do
32
33
  path = described_class.file_path
33
- expect(File.exist?(path)).to eql(true)
34
+ expect(File.exist?(path)).to be(true)
34
35
  end
35
36
 
36
37
  it 'loads a rule by tag' do
@@ -52,7 +53,7 @@ RSpec.describe Licensee::Rule do
52
53
  end
53
54
 
54
55
  it 'loads all rules' do
55
- expect(described_class.all.count).to eql(16)
56
+ expect(described_class.all.count).to be(17)
56
57
  rule = described_class.all.first
57
58
  expect(rule).to be_a(described_class)
58
59
  expect(rule.tag).to eql('commercial-use')
@@ -4,7 +4,7 @@ RSpec.describe Licensee do
4
4
  let(:project_path) { fixture_path('mit') }
5
5
  let(:license_path) { fixture_path('mit/LICENSE.txt') }
6
6
  let(:mit_license) { Licensee::License.find('mit') }
7
- let(:hidden_license_count) { 39 }
7
+ let(:hidden_license_count) { 40 }
8
8
 
9
9
  it 'exposes licenses' do
10
10
  expect(described_class.licenses).to be_an(Array)
@@ -14,15 +14,15 @@ RSpec.describe Licensee do
14
14
  end
15
15
 
16
16
  it "detects a project's license" do
17
- expect(Licensee.license(project_path)).to eql(mit_license)
17
+ expect(described_class.license(project_path)).to eql(mit_license)
18
18
  end
19
19
 
20
20
  it "detect a file's license" do
21
- expect(Licensee.license(license_path)).to eql(mit_license)
21
+ expect(described_class.license(license_path)).to eql(mit_license)
22
22
  end
23
23
 
24
24
  describe '.project' do
25
- subject { Licensee.project(project_path) }
25
+ subject { described_class.project(project_path) }
26
26
 
27
27
  it 'inits a project' do
28
28
  expect(subject).to be_a(Licensee::Projects::Project)
@@ -39,19 +39,20 @@ RSpec.describe Licensee do
39
39
 
40
40
  context 'confidence threshold' do
41
41
  it 'exposes the confidence threshold' do
42
- expect(described_class.confidence_threshold).to eql(98)
42
+ expect(described_class.confidence_threshold).to be(98)
43
43
  end
44
44
 
45
45
  it 'exposes the inverse of the confidence threshold' do
46
- expect(described_class.inverse_confidence_threshold).to eql(0.02)
46
+ expect(described_class.inverse_confidence_threshold).to be(0.02)
47
47
  end
48
48
 
49
49
  context 'user overridden' do
50
- before { Licensee.confidence_threshold = 50 }
51
- after { Licensee.confidence_threshold = nil }
50
+ before { described_class.confidence_threshold = 50 }
51
+
52
+ after { described_class.confidence_threshold = nil }
52
53
 
53
54
  it 'lets the user override the confidence threshold' do
54
- expect(described_class.confidence_threshold).to eql(50)
55
+ expect(described_class.confidence_threshold).to be(50)
55
56
  end
56
57
  end
57
58
  end
@@ -131,7 +131,7 @@ RSpec::Matchers.define :be_detected_as do |expected|
131
131
  license_name = expected.meta['spdx-id'] || expected.key
132
132
  similarity = expected.similarity(license_file)
133
133
  content = @license_file.content
134
- msg = "Expected '#{content}' to match the #{license_name} license"
134
+ msg = +"Expected '#{content}' to match the #{license_name} license"
135
135
  msg << " (#{format_percent(similarity)} similarity"
136
136
  msg << "using the #{license_file.matcher} matcher)"
137
137
  end
@@ -141,7 +141,7 @@ RSpec::Matchers.define :be_detected_as do |expected|
141
141
  license_name = expected.meta['spdx-id'] || expected.key
142
142
  similarity = expected.similarity(license_file)
143
143
 
144
- msg = "Expected the content to *not* match the #{license_name} license"
144
+ msg = +"Expected the content to *not* match the #{license_name} license"
145
145
  msg << " (#{format_percent(similarity)} similarity)"
146
146
  end
147
147
 
@@ -31,7 +31,7 @@ RSpec.describe 'vendored licenses' do
31
31
  end
32
32
 
33
33
  it 'has a cached content hash' do
34
- expect(expected_hash).to_not be_nil, hash_change_msg
34
+ expect(expected_hash).not_to be_nil, hash_change_msg
35
35
  end
36
36
 
37
37
  it 'matches the expected content hash' do
@@ -81,7 +81,7 @@ RSpec.describe 'vendored licenses' do
81
81
  let(:content) { content_with_random_words }
82
82
 
83
83
  it 'does not match the license' do
84
- expect(content).to_not be_detected_as(license)
84
+ expect(content).not_to be_detected_as(license)
85
85
  end
86
86
  end
87
87
 
@@ -91,7 +91,7 @@ RSpec.describe 'vendored licenses' do
91
91
  end
92
92
 
93
93
  it 'does not match the license' do
94
- expect(content).to_not be_detected_as(license)
94
+ expect(content).not_to be_detected_as(license)
95
95
  end
96
96
  end
97
97
  end
@@ -19,6 +19,9 @@ conditions:
19
19
  - description: A copy of the license and copyright notice must be included with the software.
20
20
  label: License and copyright notice
21
21
  tag: include-copyright
22
+ - description: A copy of the license and copyright notice must be included with the software in source form, but is not required for binaries.
23
+ label: License and copyright notice for source
24
+ tag: include-copyright--source
22
25
  - description: Changes made to the code must be documented.
23
26
  label: State changes
24
27
  tag: document-changes
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  title: BSD 3-Clause Clear License
3
3
  spdx-id: BSD-3-Clause-Clear
4
+ nickname: Clear BSD
4
5
 
5
6
  description: A variant of the <a href="/licenses/bsd-3-clause/">BSD 3-Clause License</a> that explicitly does not grant any patent rights.
6
7
 
@@ -0,0 +1,61 @@
1
+ ---
2
+ title: BSD 4-Clause "Original" or "Old" License
3
+ spdx-id: BSD-4-Clause
4
+
5
+ description: A permissive license similar to the <a href="/licenses/bsd-3-clause/">BSD 3-Clause License</a>, but with an "advertising clause" that requires an acknowledgment of the original source in all advertising material.
6
+
7
+ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders. Replace [project] with the project organization, if any, that sponsors this work.
8
+
9
+ using:
10
+ - Yosemite Blockchain: https://github.com/YosemiteLabs/yosemite-public-blockchain/blob/master/LICENSE
11
+ - querybuilder: https://github.com/pwolfgang/querybuilder/blob/master/LICENSE
12
+ - PMSPAUR-public: https://github.com/ArthurGodet/PMSPAUR-public/blob/master/LICENSE
13
+
14
+ permissions:
15
+ - commercial-use
16
+ - modifications
17
+ - distribution
18
+ - private-use
19
+
20
+ conditions:
21
+ - include-copyright
22
+
23
+ limitations:
24
+ - liability
25
+ - warranty
26
+
27
+ ---
28
+
29
+ BSD 4-Clause License
30
+
31
+ Copyright (c) [year], [fullname]
32
+ All rights reserved.
33
+
34
+ Redistribution and use in source and binary forms, with or without
35
+ modification, are permitted provided that the following conditions are met:
36
+
37
+ 1. Redistributions of source code must retain the above copyright notice, this
38
+ list of conditions and the following disclaimer.
39
+
40
+ 2. Redistributions in binary form must reproduce the above copyright notice,
41
+ this list of conditions and the following disclaimer in the documentation
42
+ and/or other materials provided with the distribution.
43
+
44
+ 3. All advertising materials mentioning features or use of this software must
45
+ display the following acknowledgement:
46
+ This product includes software developed by [project].
47
+
48
+ 4. Neither the name of the copyright holder nor the names of its
49
+ contributors may be used to endorse or promote products derived from
50
+ this software without specific prior written permission.
51
+
52
+ THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDER "AS IS" AND ANY EXPRESS OR
53
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
54
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
55
+ EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
56
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
57
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
58
+ OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
59
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
60
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
61
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -9,6 +9,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
9
9
  note: Boost recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the [Boost Software License FAQ](https://www.boost.org/users/license.html#FAQ).
10
10
 
11
11
  using:
12
+ - Boost: https://github.com/boostorg/boost/blob/master/LICENSE_1_0.txt
13
+ - Catch2: https://github.com/catchorg/Catch2/blob/master/LICENSE.txt
14
+ - DMD: https://github.com/dlang/dmd/blob/master/LICENSE.txt
12
15
 
13
16
  permissions:
14
17
  - commercial-use
@@ -17,7 +20,7 @@ permissions:
17
20
  - private-use
18
21
 
19
22
  conditions:
20
- - include-copyright
23
+ - include-copyright--source
21
24
 
22
25
  limitations:
23
26
  - liability
@@ -7,6 +7,9 @@ description: Permits almost any use subject to providing credit and license noti
7
7
  how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. It is also acceptable to solely supply a link to a copy of the license, usually to the <a href='https://creativecommons.org/licenses/by/4.0/'>canonical URL for the license</a>.
8
8
 
9
9
  using:
10
+ - caniuse: https://github.com/Fyrd/caniuse/blob/master/LICENSE
11
+ - WHATWG HTML standard: https://github.com/whatwg/html/blob/master/LICENSE
12
+ - Kubernetes documentation: https://github.com/kubernetes/website/blob/master/LICENSE
10
13
 
11
14
  permissions:
12
15
  - commercial-use
@@ -7,6 +7,9 @@ description: Similar to <a href='/licenses/cc-by-4.0/'>CC-BY-4.0</a> but require
7
7
  how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. It is also acceptable to solely supply a link to a copy of the license, usually to the <a href='https://creativecommons.org/licenses/by-sa/4.0/'>canonical URL for the license</a>.
8
8
 
9
9
  using:
10
+ - Flight rules for Git: https://github.com/k88hudson/git-flight-rules/blob/master/LICENSE
11
+ - GitHub-Dark: https://github.com/StylishThemes/GitHub-Dark/blob/master/LICENSE
12
+ - Material Design Iconic Font: https://github.com/zavoloklom/material-design-iconic-font/blob/master/License.md
10
13
 
11
14
  permissions:
12
15
  - commercial-use
@@ -2,6 +2,7 @@
2
2
  title: Creative Commons Zero v1.0 Universal
3
3
  spdx-id: CC0-1.0
4
4
  redirect_from: /licenses/cc0/
5
+ hidden: false
5
6
 
6
7
  description: The <a href="https://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0 Public Domain Dedication</a> waives copyright interest in a work you've created and dedicates it to the world-wide public domain. Use CC0 to opt out of copyright entirely and ensure your work has the widest reach. As with the Unlicense and typical software licenses, CC0 disclaims warranties. CC0 is very similar to the Unlicense.
7
8
 
@@ -10,6 +11,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
10
11
  note: Creative Commons recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be <a href="https://wiki.creativecommons.org/wiki/CC0_FAQ#May_I_apply_CC0_to_computer_software.3F_If_so.2C_is_there_a_recommended_implementation.3F">found on their website</a>.
11
12
 
12
13
  using:
14
+ - Awesome: https://github.com/sindresorhus/awesome/blob/master/license
15
+ - Shields.io: https://github.com/badges/shields/blob/master/LICENSE
16
+ - psdash: https://github.com/Jahaja/psdash/blob/master/LICENSE
13
17
 
14
18
  permissions:
15
19
  - commercial-use
@@ -27,119 +31,124 @@ limitations:
27
31
 
28
32
  ---
29
33
 
34
+ Creative Commons Legal Code
35
+
30
36
  CC0 1.0 Universal
31
37
 
38
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
39
+ LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
40
+ ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
41
+ INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
42
+ REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
43
+ PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
44
+ THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
45
+ HEREUNDER.
46
+
32
47
  Statement of Purpose
33
48
 
34
49
  The laws of most jurisdictions throughout the world automatically confer
35
- exclusive Copyright and Related Rights (defined below) upon the creator and
36
- subsequent owner(s) (each and all, an "owner") of an original work of
50
+ exclusive Copyright and Related Rights (defined below) upon the creator
51
+ and subsequent owner(s) (each and all, an "owner") of an original work of
37
52
  authorship and/or a database (each, a "Work").
38
53
 
39
- Certain owners wish to permanently relinquish those rights to a Work for the
40
- purpose of contributing to a commons of creative, cultural and scientific
41
- works ("Commons") that the public can reliably and without fear of later
42
- claims of infringement build upon, modify, incorporate in other works, reuse
43
- and redistribute as freely as possible in any form whatsoever and for any
44
- purposes, including without limitation commercial purposes. These owners may
45
- contribute to the Commons to promote the ideal of a free culture and the
46
- further production of creative, cultural and scientific works, or to gain
47
- reputation or greater distribution for their Work in part through the use and
48
- efforts of others.
49
-
50
- For these and/or other purposes and motivations, and without any expectation
51
- of additional consideration or compensation, the person associating CC0 with a
52
- Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
53
- and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
54
- and publicly distribute the Work under its terms, with knowledge of his or her
55
- Copyright and Related Rights in the Work and the meaning and intended legal
56
- effect of CC0 on those rights.
54
+ Certain owners wish to permanently relinquish those rights to a Work for
55
+ the purpose of contributing to a commons of creative, cultural and
56
+ scientific works ("Commons") that the public can reliably and without fear
57
+ of later claims of infringement build upon, modify, incorporate in other
58
+ works, reuse and redistribute as freely as possible in any form whatsoever
59
+ and for any purposes, including without limitation commercial purposes.
60
+ These owners may contribute to the Commons to promote the ideal of a free
61
+ culture and the further production of creative, cultural and scientific
62
+ works, or to gain reputation or greater distribution for their Work in
63
+ part through the use and efforts of others.
64
+
65
+ For these and/or other purposes and motivations, and without any
66
+ expectation of additional consideration or compensation, the person
67
+ associating CC0 with a Work (the "Affirmer"), to the extent that he or she
68
+ is an owner of Copyright and Related Rights in the Work, voluntarily
69
+ elects to apply CC0 to the Work and publicly distribute the Work under its
70
+ terms, with knowledge of his or her Copyright and Related Rights in the
71
+ Work and the meaning and intended legal effect of CC0 on those rights.
57
72
 
58
73
  1. Copyright and Related Rights. A Work made available under CC0 may be
59
74
  protected by copyright and related or neighboring rights ("Copyright and
60
- Related Rights"). Copyright and Related Rights include, but are not limited
61
- to, the following:
62
-
63
- i. the right to reproduce, adapt, distribute, perform, display, communicate,
64
- and translate a Work;
65
-
66
- ii. moral rights retained by the original author(s) and/or performer(s);
67
-
68
- iii. publicity and privacy rights pertaining to a person's image or likeness
69
- depicted in a Work;
70
-
71
- iv. rights protecting against unfair competition in regards to a Work,
72
- subject to the limitations in paragraph 4(a), below;
73
-
74
- v. rights protecting the extraction, dissemination, use and reuse of data in
75
- a Work;
76
-
77
- vi. database rights (such as those arising under Directive 96/9/EC of the
78
- European Parliament and of the Council of 11 March 1996 on the legal
79
- protection of databases, and under any national implementation thereof,
80
- including any amended or successor version of such directive); and
81
-
82
- vii. other similar, equivalent or corresponding rights throughout the world
83
- based on applicable law or treaty, and any national implementations thereof.
84
-
85
- 2. Waiver. To the greatest extent permitted by, but not in contravention of,
86
- applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
87
- unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
88
- and Related Rights and associated claims and causes of action, whether now
89
- known or unknown (including existing as well as future claims and causes of
90
- action), in the Work (i) in all territories worldwide, (ii) for the maximum
91
- duration provided by applicable law or treaty (including future time
92
- extensions), (iii) in any current or future medium and for any number of
93
- copies, and (iv) for any purpose whatsoever, including without limitation
94
- commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
95
- the Waiver for the benefit of each member of the public at large and to the
96
- detriment of Affirmer's heirs and successors, fully intending that such Waiver
97
- shall not be subject to revocation, rescission, cancellation, termination, or
98
- any other legal or equitable action to disrupt the quiet enjoyment of the Work
99
- by the public as contemplated by Affirmer's express Statement of Purpose.
100
-
101
- 3. Public License Fallback. Should any part of the Waiver for any reason be
102
- judged legally invalid or ineffective under applicable law, then the Waiver
103
- shall be preserved to the maximum extent permitted taking into account
104
- Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
105
- is so judged Affirmer hereby grants to each affected person a royalty-free,
106
- non transferable, non sublicensable, non exclusive, irrevocable and
107
- unconditional license to exercise Affirmer's Copyright and Related Rights in
108
- the Work (i) in all territories worldwide, (ii) for the maximum duration
109
- provided by applicable law or treaty (including future time extensions), (iii)
110
- in any current or future medium and for any number of copies, and (iv) for any
111
- purpose whatsoever, including without limitation commercial, advertising or
112
- promotional purposes (the "License"). The License shall be deemed effective as
113
- of the date CC0 was applied by Affirmer to the Work. Should any part of the
114
- License for any reason be judged legally invalid or ineffective under
115
- applicable law, such partial invalidity or ineffectiveness shall not
116
- invalidate the remainder of the License, and in such case Affirmer hereby
117
- affirms that he or she will not (i) exercise any of his or her remaining
118
- Copyright and Related Rights in the Work or (ii) assert any associated claims
119
- and causes of action with respect to the Work, in either case contrary to
120
- Affirmer's express Statement of Purpose.
75
+ Related Rights"). Copyright and Related Rights include, but are not
76
+ limited to, the following:
77
+
78
+ i. the right to reproduce, adapt, distribute, perform, display,
79
+ communicate, and translate a Work;
80
+ ii. moral rights retained by the original author(s) and/or performer(s);
81
+ iii. publicity and privacy rights pertaining to a person's image or
82
+ likeness depicted in a Work;
83
+ iv. rights protecting against unfair competition in regards to a Work,
84
+ subject to the limitations in paragraph 4(a), below;
85
+ v. rights protecting the extraction, dissemination, use and reuse of data
86
+ in a Work;
87
+ vi. database rights (such as those arising under Directive 96/9/EC of the
88
+ European Parliament and of the Council of 11 March 1996 on the legal
89
+ protection of databases, and under any national implementation
90
+ thereof, including any amended or successor version of such
91
+ directive); and
92
+ vii. other similar, equivalent or corresponding rights throughout the
93
+ world based on applicable law or treaty, and any national
94
+ implementations thereof.
95
+
96
+ 2. Waiver. To the greatest extent permitted by, but not in contravention
97
+ of, applicable law, Affirmer hereby overtly, fully, permanently,
98
+ irrevocably and unconditionally waives, abandons, and surrenders all of
99
+ Affirmer's Copyright and Related Rights and associated claims and causes
100
+ of action, whether now known or unknown (including existing as well as
101
+ future claims and causes of action), in the Work (i) in all territories
102
+ worldwide, (ii) for the maximum duration provided by applicable law or
103
+ treaty (including future time extensions), (iii) in any current or future
104
+ medium and for any number of copies, and (iv) for any purpose whatsoever,
105
+ including without limitation commercial, advertising or promotional
106
+ purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
107
+ member of the public at large and to the detriment of Affirmer's heirs and
108
+ successors, fully intending that such Waiver shall not be subject to
109
+ revocation, rescission, cancellation, termination, or any other legal or
110
+ equitable action to disrupt the quiet enjoyment of the Work by the public
111
+ as contemplated by Affirmer's express Statement of Purpose.
112
+
113
+ 3. Public License Fallback. Should any part of the Waiver for any reason
114
+ be judged legally invalid or ineffective under applicable law, then the
115
+ Waiver shall be preserved to the maximum extent permitted taking into
116
+ account Affirmer's express Statement of Purpose. In addition, to the
117
+ extent the Waiver is so judged Affirmer hereby grants to each affected
118
+ person a royalty-free, non transferable, non sublicensable, non exclusive,
119
+ irrevocable and unconditional license to exercise Affirmer's Copyright and
120
+ Related Rights in the Work (i) in all territories worldwide, (ii) for the
121
+ maximum duration provided by applicable law or treaty (including future
122
+ time extensions), (iii) in any current or future medium and for any number
123
+ of copies, and (iv) for any purpose whatsoever, including without
124
+ limitation commercial, advertising or promotional purposes (the
125
+ "License"). The License shall be deemed effective as of the date CC0 was
126
+ applied by Affirmer to the Work. Should any part of the License for any
127
+ reason be judged legally invalid or ineffective under applicable law, such
128
+ partial invalidity or ineffectiveness shall not invalidate the remainder
129
+ of the License, and in such case Affirmer hereby affirms that he or she
130
+ will not (i) exercise any of his or her remaining Copyright and Related
131
+ Rights in the Work or (ii) assert any associated claims and causes of
132
+ action with respect to the Work, in either case contrary to Affirmer's
133
+ express Statement of Purpose.
121
134
 
122
135
  4. Limitations and Disclaimers.
123
136
 
124
- a. No trademark or patent rights held by Affirmer are waived, abandoned,
125
- surrendered, licensed or otherwise affected by this document.
126
-
127
- b. Affirmer offers the Work as-is and makes no representations or warranties
128
- of any kind concerning the Work, express, implied, statutory or otherwise,
129
- including without limitation warranties of title, merchantability, fitness
130
- for a particular purpose, non infringement, or the absence of latent or
131
- other defects, accuracy, or the present or absence of errors, whether or not
132
- discoverable, all to the greatest extent permissible under applicable law.
133
-
134
- c. Affirmer disclaims responsibility for clearing rights of other persons
135
- that may apply to the Work or any use thereof, including without limitation
136
- any person's Copyright and Related Rights in the Work. Further, Affirmer
137
- disclaims responsibility for obtaining any necessary consents, permissions
138
- or other rights required for any use of the Work.
139
-
140
- d. Affirmer understands and acknowledges that Creative Commons is not a
141
- party to this document and has no duty or obligation with respect to this
142
- CC0 or use of the Work.
143
-
144
- For more information, please see
145
- <http://creativecommons.org/publicdomain/zero/1.0/>
137
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
138
+ surrendered, licensed or otherwise affected by this document.
139
+ b. Affirmer offers the Work as-is and makes no representations or
140
+ warranties of any kind concerning the Work, express, implied,
141
+ statutory or otherwise, including without limitation warranties of
142
+ title, merchantability, fitness for a particular purpose, non
143
+ infringement, or the absence of latent or other defects, accuracy, or
144
+ the present or absence of errors, whether or not discoverable, all to
145
+ the greatest extent permissible under applicable law.
146
+ c. Affirmer disclaims responsibility for clearing rights of other persons
147
+ that may apply to the Work or any use thereof, including without
148
+ limitation any person's Copyright and Related Rights in the Work.
149
+ Further, Affirmer disclaims responsibility for obtaining any necessary
150
+ consents, permissions or other rights required for any use of the
151
+ Work.
152
+ d. Affirmer understands and acknowledges that Creative Commons is not a
153
+ party to this document and has no duty or obligation with respect to
154
+ this CC0 or use of the Work.