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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2495f3894739388d2429e2f048a1ef0f12784780
4
- data.tar.gz: 29e20c8c821babd936a6371d041c939ac4cff106
3
+ metadata.gz: 920de1859895a723009a598101cf645d0a00ab45
4
+ data.tar.gz: 761ebacd877c0e03f7aa8f3ffceb3c1bd57da6b2
5
5
  SHA512:
6
- metadata.gz: e93feacf183e93c25222d9bef080794c966072aa1f358975a2dd46b13c907351eccfe5f7c7ab7f646e7626f3abc0b9ec276d7a5d6cd75715bf222b4be0280ead
7
- data.tar.gz: 61f4ffec7af4dbdf9ca0e48a95c2730d7bde8539e9fca8a632cd729106594a25459c4d8925041d4e3149e280a1d60418892d5cb9bbf63602b13a68cbb4abb463
6
+ metadata.gz: 33fd79626a0a81193b09fc11c98c58c317d1a4d2e184143190728930b547a4dcb2fc7136ba4fa5c6afa88bb999ac667efae5184ee76c111efe8845e193662cc4
7
+ data.tar.gz: 5bd37029a8909bcc118f38a26cbf50fe2fcd4f09a7cf996b8b8e2a65c1d276d6775d075f49400bd2d67b0a52936da43187dcc1e9a63d5adc07710fa0c9a68204
data/lib/spdx.rb CHANGED
@@ -26,7 +26,7 @@ module Spdx
26
26
  end
27
27
 
28
28
  def self.stop_words
29
- %w(version software license the)
29
+ %w(version software the right)
30
30
  end
31
31
 
32
32
  def self.find_by_name(name)
data/lib/spdx/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Spdx
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
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('GNU LESSER GENERAL PUBLIC LICENSE').name).to eq("GNU Lesser General Public License v3.0 only")
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spdx
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Nesbitt