license_scout 1.0.10 → 1.0.11
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/license_scout/dependency_manager/rebar.rb +5 -2
- data/lib/license_scout/overrides.rb +17 -17
- data/lib/license_scout/version.rb +1 -1
- 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: ced991c0ec5763e87b3fc4625be5118dd3076b91e629a754ffc591b94f2c3130
|
|
4
|
+
data.tar.gz: ed6b3015814704a100efcd54f35cb0a085429d5e43c2b2aea28302b056aeef43
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3077ecddb855dc501bfd2970e988252acf059cf112e3c5bae297978daf32d0e0e9a6a82aefae6dc8258a7e86debb53c304ced6a624a48d8ecb27fc9ea7ffffb9
|
|
7
|
+
data.tar.gz: 5459885a3ea30d8dfbe4f67997665a3260485c94d806216b4d7d06bf459171ddbc0f3fcba56c096b9c186aefdb2edf939bb5430fbebe12815a413bff4d08e222
|
|
@@ -152,8 +152,11 @@ module LicenseScout
|
|
|
152
152
|
if license_files.empty?
|
|
153
153
|
nil
|
|
154
154
|
else
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
license_names = license_files.map do |license_file|
|
|
156
|
+
found_license = LicenseScout::LicenseFileAnalyzer.find_by_text(IO.read(license_file))
|
|
157
|
+
found_license ? found_license.short_name : nil
|
|
158
|
+
end
|
|
159
|
+
license_names.find {|x| x}
|
|
157
160
|
end
|
|
158
161
|
end
|
|
159
162
|
|
|
@@ -307,17 +307,17 @@ module LicenseScout
|
|
|
307
307
|
["aws-sdk", nil, ["https://raw.githubusercontent.com/aws/aws-sdk-ruby/master/README.md"]],
|
|
308
308
|
["fuzzyurl", nil, ["https://raw.githubusercontent.com/gamache/fuzzyurl/master/LICENSE.txt"]],
|
|
309
309
|
["jwt", nil, ["https://raw.githubusercontent.com/jwt/ruby-jwt/master/LICENSE"]],
|
|
310
|
-
["win32-process",
|
|
311
|
-
["win32-api",
|
|
312
|
-
["win32-dir",
|
|
313
|
-
["win32-ipc",
|
|
314
|
-
["win32-event",
|
|
315
|
-
["win32-eventlog",
|
|
316
|
-
["win32-mmap",
|
|
317
|
-
["win32-mutex",
|
|
318
|
-
["win32-service",
|
|
319
|
-
["win32-taskscheduler",
|
|
320
|
-
["windows-api",
|
|
310
|
+
["win32-process", "Artistic-2.0", ["https://raw.githubusercontent.com/chef/win32-process/ffi/README.md"]],
|
|
311
|
+
["win32-api", "Artistic-2.0", ["https://raw.githubusercontent.com/cosmo0920/win32-api/master/README"]],
|
|
312
|
+
["win32-dir", "Artistic-2.0", ["https://raw.githubusercontent.com/chef/win32-dir/ffi/README.md"]],
|
|
313
|
+
["win32-ipc", "Artistic-2.0", ["https://raw.githubusercontent.com/chef/win32-ipc/ffi/README.md"]],
|
|
314
|
+
["win32-event", "Artistic-2.0", ["https://raw.githubusercontent.com/chef/win32-event/ffi/README"]],
|
|
315
|
+
["win32-eventlog", "Artistic-2.0", ["https://raw.githubusercontent.com/chef/win32-eventlog/ffi/README"]],
|
|
316
|
+
["win32-mmap", "Artistic-2.0", ["https://raw.githubusercontent.com/chef/win32-mmap/ffi/README.md"]],
|
|
317
|
+
["win32-mutex", "Artistic-2.0", ["https://raw.githubusercontent.com/chef/win32-mutex/ffi/README.md"]],
|
|
318
|
+
["win32-service", "Artistic-2.0", ["https://raw.githubusercontent.com/chef/win32-service/ffi/README.md"]],
|
|
319
|
+
["win32-taskscheduler", "Artistic-2.0", ["https://raw.githubusercontent.com/chef/win32-taskscheduler/ole/README.md"]],
|
|
320
|
+
["windows-api", "Artistic-2.0", ["https://raw.githubusercontent.com/cosmo0920/windows-api/master/README"]],
|
|
321
321
|
["rdoc", "Ruby", ["https://raw.githubusercontent.com/ruby/rdoc/master/LICENSE.rdoc"]],
|
|
322
322
|
["rest-client", "MIT", ["https://raw.githubusercontent.com/rest-client/rest-client/master/LICENSE"]],
|
|
323
323
|
["rspec-rerun", nil, ["https://raw.githubusercontent.com/dblock/rspec-rerun/master/LICENSE.md"]],
|
|
@@ -403,14 +403,14 @@ module LicenseScout
|
|
|
403
403
|
["Scalar-List-Utils", nil, ["README"]],
|
|
404
404
|
["perl", nil, ["README"]],
|
|
405
405
|
["IO", nil, ["README"]],
|
|
406
|
-
["ExtUtils-MakeMaker",
|
|
406
|
+
["ExtUtils-MakeMaker", "Perl-5", ["http://www.perl.com/perl/misc/Artistic.html"]],
|
|
407
407
|
["PathTools", "Perl-5", ["lib/File/Spec.pm"]],
|
|
408
408
|
["Exporter", nil, ["README"]],
|
|
409
409
|
["Carp", nil, ["README"]],
|
|
410
410
|
["lib", nil, ["Artistic"]],
|
|
411
|
-
["Pod-Escapes",
|
|
411
|
+
["Pod-Escapes", "Perl-5", ["lib/Pod/Escapes.pm"]],
|
|
412
412
|
["Pod-Usage", nil, ["README"]],
|
|
413
|
-
["base", "Perl-5", ["http://www.
|
|
413
|
+
["base", "Perl-5", ["http://www.perl.com/perl/misc/Artistic.html"]],
|
|
414
414
|
["Encode", nil, ["AUTHORS"]],
|
|
415
415
|
["Moo", nil, ["README"]],
|
|
416
416
|
["Sub-Quote", nil, ["README"]],
|
|
@@ -465,9 +465,9 @@ module LicenseScout
|
|
|
465
465
|
["Digest-SHA1", nil, ["README"]],
|
|
466
466
|
["JSON-PP", nil, ["README"]],
|
|
467
467
|
["MRO-Compat", nil, ["README"]],
|
|
468
|
-
["MouseX-NativeTraits",
|
|
469
|
-
["MouseX-Types",
|
|
470
|
-
["MouseX-Types-Path-Class",
|
|
468
|
+
["MouseX-NativeTraits", "Artistic-1.0", ["lib/MouseX/NativeTraits.pm"]],
|
|
469
|
+
["MouseX-Types", "Artistic-1.0", ["lib/MouseX/Types.pm"]],
|
|
470
|
+
["MouseX-Types-Path-Class", "Artistic-1.0", ["lib/MouseX/Types/Path/Class.pm"]],
|
|
471
471
|
["Test-UseAllModules", nil, ["README"]],
|
|
472
472
|
["Variable-Magic", nil, ["README"]],
|
|
473
473
|
["Class-Data-Inheritable", nil, ["https://raw.githubusercontent.com/tmtmtmtm/class-data-inheritable/master/README"]],
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: license_scout
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Serdar Sutay
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-07-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ffi-yajl
|