spdx 1.3.4 → 1.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spdx.rb +4 -3
- data/lib/spdx/version.rb +1 -1
- data/spec/spdx_spec.rb +3 -0
- 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: 18a9b9588031eddd1a787be85971dcdbbe31358ea5920fe28beb8344178cb38a
|
4
|
+
data.tar.gz: 7eee08f17656cd956e4e714596e31acc3f29b24b552cb14e25591323b69bed9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7da57c1862c298bacb89469286fffcd26865a09db51fcf07de0673359a9b8a84c55f3f7d81a793b21d03980c8f7c61f3b2f9f782982a794e6e7303a7666fc4a
|
7
|
+
data.tar.gz: 339d1af0dedca6f9579e6458908a8cfbd924a0b873b39d61d324d759436cf2f73acd619e07b4090f9a3c7015fb62227bf2d6d210f314ccbcd7a1757948b2410b
|
data/lib/spdx.rb
CHANGED
@@ -104,12 +104,13 @@ module Spdx
|
|
104
104
|
'aslv2' => 'Apache-2.0',
|
105
105
|
'apache_2_0' => 'Apache-2.0',
|
106
106
|
'apache_v2' => 'Apache-2.0',
|
107
|
-
'
|
108
|
-
'
|
109
|
-
'
|
107
|
+
'zpl 1.1' => 'ZPL-1.1',
|
108
|
+
'zpl 2.0' => 'ZPL-2.0',
|
109
|
+
'zpl 2.1' => 'ZPL-2.1',
|
110
110
|
'lgpl_2_1' => 'LGPL-2.1',
|
111
111
|
'lgpl_v2_1' => 'LGPL-2.1',
|
112
112
|
'lgpl version 3' => 'LGPL-3.0',
|
113
|
+
'gnu lgpl v3+' => 'LGPL-3.0',
|
113
114
|
'cc by-sa 4.0' => 'CC-BY-SA-4.0',
|
114
115
|
'cc by-nc-sa 3.0' => 'CC-BY-NC-SA-3.0',
|
115
116
|
'cc by-sa 3.0' => 'CC-BY-SA-3.0',
|
data/lib/spdx/version.rb
CHANGED
data/spec/spdx_spec.rb
CHANGED
@@ -98,6 +98,9 @@ describe Spdx do
|
|
98
98
|
expect(Spdx.find("BSD 2-Clause").name).to eq("BSD 2-clause \"Simplified\" License")
|
99
99
|
expect(Spdx.find("BSD 2-clause").name).to eq("BSD 2-clause \"Simplified\" License")
|
100
100
|
expect(Spdx.find("BSD Style").name).to eq("BSD 3-clause \"New\" or \"Revised\" License")
|
101
|
+
|
102
|
+
expect(Spdx.find("GNU LGPL v3+").name).to eq("GNU Lesser General Public License v3.0 only")
|
103
|
+
expect(Spdx.find("ZPL 2.1").name).to eq("Zope Public License 2.1")
|
101
104
|
end
|
102
105
|
end
|
103
106
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spdx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.5
|
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-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spdx-licenses
|