license-compatibility 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/lib/license/compatibility.rb +2 -0
- data/lib/license/compatibility/version.rb +1 -1
- data/lib/license/licenses.json +75 -49
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9883767b1155c6895d7cb890318514dbcaf5580bfd148bff09e50e9311b50d5
|
4
|
+
data.tar.gz: 23fc79ea1f54a1ceafd82ffef61866e9dd2c43089ac74ab94994b9d54042f80f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71fc2a45fb60c5c5c1d5af25ad078cd2275dc5f6fe18acf1933eb9b7f0ddf5e2d7051130c6d9ac8b80173415e7b0fa75e354df7bfdfc24e247c41419fbabff10
|
7
|
+
data.tar.gz: 065f0135960576082ac36e00c7fcc5e50ad170606537d7315f044d909e46119fcdbabc9363d199c17729c469435c45da76a1ff6d045fad95ccfd9e545a6d5350
|
data/.travis.yml
CHANGED
@@ -67,6 +67,7 @@ module License
|
|
67
67
|
puts "#{couple[0]} is not forward-compatible with #{couple[1]}" unless intermediate_result
|
68
68
|
result &= intermediate_result
|
69
69
|
}
|
70
|
+
puts "Licenses are compatible" if result
|
70
71
|
result
|
71
72
|
end
|
72
73
|
|
@@ -78,6 +79,7 @@ module License
|
|
78
79
|
puts "#{couple[0][0]} (#{couple[0][1]}) is not forward-compatible with #{couple[1][0]} (#{couple[1][1]})" unless intermediate_result
|
79
80
|
result &= intermediate_result
|
80
81
|
}
|
82
|
+
puts "Licenses are compatible" if result
|
81
83
|
result
|
82
84
|
end
|
83
85
|
end
|
data/lib/license/licenses.json
CHANGED
@@ -1,51 +1,77 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
2
|
+
"public_domain": [
|
3
|
+
"CC0-1.0",
|
4
|
+
"PDDL-1.0",
|
5
|
+
"SAX-PD",
|
6
|
+
"Unlicense"
|
7
|
+
],
|
8
|
+
"permissive": [
|
9
|
+
"AFL-1.1",
|
10
|
+
"AFL-1.2",
|
11
|
+
"AFL-2.0",
|
12
|
+
"AFL-2.1",
|
13
|
+
"AFL-3.0",
|
14
|
+
"Apache-2.0",
|
15
|
+
"Artistic-2.0",
|
16
|
+
"BSD-2-Clause",
|
17
|
+
"BSD-3-Clause",
|
18
|
+
"BSD-3-Clause-Attribution",
|
19
|
+
"BSD-3-Clause-Clear",
|
20
|
+
"DSDP",
|
21
|
+
"ECL-2.0",
|
22
|
+
"ISC",
|
23
|
+
"MIT",
|
24
|
+
"WTFPL",
|
25
|
+
"ZPL-2.1",
|
26
|
+
"ZPL-1.0",
|
27
|
+
"ZPL-2.0",
|
28
|
+
"Python-2.0"
|
29
|
+
],
|
30
|
+
"weak_copyleft": [
|
31
|
+
"EPL-1.0",
|
32
|
+
"LGPL-2.0",
|
33
|
+
"LGPL-2.1",
|
34
|
+
"LGPL-3.0",
|
35
|
+
"LGPL-3.0",
|
36
|
+
"MPL-2.0",
|
37
|
+
"MPL-1.0",
|
38
|
+
"MPL-1.1",
|
39
|
+
"LGPL-2.0+",
|
40
|
+
"LGPL-2.1+",
|
41
|
+
"LGPL-3.0+",
|
42
|
+
"LGPL-2.0-only",
|
43
|
+
"LGPL-2.1-only",
|
44
|
+
"LGPL-3.0-only",
|
45
|
+
"LGPL-3.0-only",
|
46
|
+
"LGPL-2.0-or-later",
|
47
|
+
"LGPL-2.1-or-later",
|
48
|
+
"LGPL-3.0-or-later"
|
49
|
+
],
|
50
|
+
"strong_copyleft": [
|
51
|
+
"GPL-3.0",
|
52
|
+
"GPL-3.0-only",
|
53
|
+
"GPL-2.0",
|
54
|
+
"GPL-2.0-only",
|
55
|
+
"GPL-1.0-only",
|
56
|
+
"GPL-1.0-or-later",
|
57
|
+
"GPL-2.0-or-later",
|
58
|
+
"GPL-3.0-or-later",
|
59
|
+
"MS-RL",
|
60
|
+
"ODbL-1.0"
|
61
|
+
],
|
62
|
+
"network_copyleft": [
|
63
|
+
"AGPL-1.0",
|
64
|
+
"AGPL-3.0",
|
65
|
+
"RPL-1.1",
|
66
|
+
"RPL-1.5",
|
67
|
+
"OSL-1.0",
|
68
|
+
"OSL-1.1",
|
69
|
+
"OSL-2.0",
|
70
|
+
"OSL-2.1",
|
71
|
+
"OSL-3.0",
|
72
|
+
"AGPL-1.0-only",
|
73
|
+
"AGPL-1.0-or-later",
|
74
|
+
"AGPL-3.0-only",
|
75
|
+
"AGPL-3.0-or-later"
|
76
|
+
]
|
51
77
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: license-compatibility
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Nesbitt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|