spdx 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/spdx.rb +1 -1
- data/lib/spdx/version.rb +1 -1
- data/spec/spdx_spec.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 920de1859895a723009a598101cf645d0a00ab45
|
4
|
+
data.tar.gz: 761ebacd877c0e03f7aa8f3ffceb3c1bd57da6b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33fd79626a0a81193b09fc11c98c58c317d1a4d2e184143190728930b547a4dcb2fc7136ba4fa5c6afa88bb999ac667efae5184ee76c111efe8845e193662cc4
|
7
|
+
data.tar.gz: 5bd37029a8909bcc118f38a26cbf50fe2fcd4f09a7cf996b8b8e2a65c1d276d6775d075f49400bd2d67b0a52936da43187dcc1e9a63d5adc07710fa0c9a68204
|
data/lib/spdx.rb
CHANGED
data/lib/spdx/version.rb
CHANGED
data/spec/spdx_spec.rb
CHANGED
@@ -16,6 +16,7 @@ describe Spdx do
|
|
16
16
|
|
17
17
|
it "should return nil for garbage" do
|
18
18
|
expect(Spdx.find('foo bar baz')).to be_nil
|
19
|
+
expect(Spdx.find('Copyright Zendesk. All Rights Reserved.')).to be_nil
|
19
20
|
expect(Spdx.find('https://github.com/AuthorizeNet/sdk-ruby/blob/master/license.txt')).to be_nil
|
20
21
|
end
|
21
22
|
|
@@ -27,8 +28,7 @@ describe Spdx do
|
|
27
28
|
expect(Spdx.find('Educational Community License, Version 2.0').name).to eq("Educational Community License v2.0")
|
28
29
|
expect(Spdx.find('CDDL + GPLv2 with classpath exception').name).to eq("GNU General Public License v2.0 w/Classpath exception")
|
29
30
|
expect(Spdx.find('The MIT License').name).to eq("MIT License")
|
30
|
-
expect(Spdx.find('
|
31
|
-
# expect(Spdx.find('BSD3').name).to eq('BSD 3-clause "New" or "Revised" License')
|
31
|
+
expect(Spdx.find('UNLICENSE').name).to eq("The Unlicense")
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|