spdx-licenses 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,10 @@
1
1
  $LOAD_PATH << File.expand_path('../../lib', __FILE__)
2
2
 
3
- require 'test/unit'
4
- require 'mocha/test_unit'
3
+ require 'minitest/autorun'
4
+ require 'mocha/minitest'
5
5
  require 'spdx-licenses/license'
6
6
 
7
- class TestLicense < Test::Unit::TestCase
7
+ class TestLicense < Minitest::Test
8
8
  def setup
9
9
  @license = SpdxLicenses::License.new('Apache-2.0', 'Apache License 2.0', true)
10
10
  end
@@ -1,10 +1,10 @@
1
1
  $LOAD_PATH << File.expand_path('../../lib', __FILE__)
2
2
 
3
- require 'test/unit'
4
- require 'mocha/test_unit'
3
+ require 'minitest/autorun'
4
+ require 'mocha/minitest'
5
5
  require 'spdx-licenses'
6
6
 
7
- class TestSpdxLicenses < Test::Unit::TestCase
7
+ class TestSpdxLicenses < Minitest::Test
8
8
  def test_exist_unknown
9
9
  assert_equal false, SpdxLicenses.exist?('unknown')
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spdx-licenses
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominic Cleal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-15 00:00:00.000000000 Z
11
+ date: 2018-05-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Provides validation and additional data about SPDX licenses and identifiers
14
14
  email: dominic@cleal.org
@@ -35,17 +35,17 @@ require_paths:
35
35
  - lib
36
36
  required_ruby_version: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  required_rubygems_version: !ruby/object:Gem::Requirement
42
42
  requirements:
43
- - - '>='
43
+ - - ">="
44
44
  - !ruby/object:Gem::Version
45
45
  version: '0'
46
46
  requirements: []
47
47
  rubyforge_project:
48
- rubygems_version: 2.4.4
48
+ rubygems_version: 2.6.13
49
49
  signing_key:
50
50
  specification_version: 4
51
51
  summary: SPDX license and identifier lookup