WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 8dbe3b5

Browse files
authored
Merge pull request #1237 from Malix-Labs/patch-1
fix: #1236
2 parents 0c7f3da + 2b6ded2 commit 8dbe3b5

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ task :approved_licenses do
3232
puts approved.join(', ')
3333
puts "\n"
3434

35-
potential = approved - (licenses.map { |l| l['id'] })
35+
potential = approved - licenses.map { |l| l['id'] }
3636
puts "#{potential.count} potential additions:"
3737
puts potential.join(', ')
3838
end

_licenses/blueoak-1.0.0.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ how: Create a text file (typically named LICENSE.md) in the root of your source
88

99
using:
1010
drone-gc: https://github.com/drone/drone-gc/blob/master/LICENSE.md
11+
Lil Scan: https://github.com/judofyr/lil-scan/blob/main/LICENSE.md
1112
oh-my-git: https://github.com/git-learning-game/oh-my-git/blob/main/LICENSE.md
12-
punct: https://github.com/otherjoel/punct/blob/main/LICENSE.md
1313

1414
permissions:
1515
- commercial-use

_licenses/osl-3.0.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Open Software License 3.0
33
spdx-id: OSL-3.0
44

5-
description: OSL 3.0 is a copyleft license that does not require reciprocal licensing on linked works. It also provides an express grant of patent rights from contributors to users, with a termination clause triggered if a user files a patent infringement lawsuit.
5+
description: Permissions of this copyleft license are conditioned on distributing source code of licensed works and modifications under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. Using the work or modifications to provide services to external users is treated as distribution and also requires making source code available. Works that merely link to a licensed work are considered collective works and are not subject to the license's reciprocity requirements.
66

77
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. Files licensed under OSL 3.0 must also include the notice "Licensed under the Open Software License version 3.0" adjacent to the copyright notice.
88

spec/license_fields_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
context "The #{license['title']} license" do
88
it 'should only contain supported fillable fields' do
99
matches = license['content'][1, 1000].scan(/\s+\[([a-z_]+)\]/)
10-
extra_fields = matches.flatten - (fields.map { |f| f['name'] })
10+
extra_fields = matches.flatten - fields.map { |f| f['name'] }
1111
expect(extra_fields).to be_empty
1212
end
1313
end

spec/license_meta_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
context "The #{license['title']} license" do
1111
it 'should only contain supported meta fields' do
12-
extra_fields = raw_fields.keys - (meta.map { |m| m['name'] })
12+
extra_fields = raw_fields.keys - meta.map { |m| m['name'] }
1313
expect(extra_fields).to be_empty
1414
end
1515

0 commit comments

Comments
 (0)