license_finder 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 57f20b22d2c2bb906e9c9c84cc216f5d249d87c6
4
- data.tar.gz: df35e5c5c85ea167ce4df31d960f031b3a13f52f
3
+ metadata.gz: 0a685f3cfcc2a335e59d21f4848d508a24c9a082
4
+ data.tar.gz: 53bedb396aac4876dcbda03be2c781b7444c0f45
5
5
  SHA512:
6
- metadata.gz: 5778f8b26606c74ee9c85dd9514ebf999fbfdf137d9f59446d9b4b7856069ca4485eddf9ef543da4ec063ab0aec734082220f95cad712edf4646cf6fc71410f6
7
- data.tar.gz: 8539373501caea1d7dbeba19301683d2632e8bc038b8a93cc48d4d72835648cd9d1c95225da7c651d1d8f78171ed1546db66b6351a28929c1952afdbc684a36c
6
+ metadata.gz: 536c44c9945a108f77d3beb5425dcf5b0888e3e6aa8a28c6750387afc90987ed5b64efe855d491f875902a47a275b47d2483e113b3fd3a5552670dd470d7e813
7
+ data.tar.gz: e3775a625b547ca7843bff43eb26215049b416dbd6371c410e3006000ab71fe250467d249ec2b8d251cb20145ed93954e28de8d7f148a7cef648412f1e1ea04c
@@ -1,3 +1,10 @@
1
+ === 2.0.3 / 2015-03-18
2
+
3
+ * Bugfixes
4
+
5
+ * Ignoring subdirectories of a LICENSE directory. (#143) (Thanks, @pmeskers and @yuki24!)
6
+
7
+
1
8
  === 2.0.2 / 2015-03-14
2
9
 
3
10
  * Features
@@ -24,9 +24,10 @@ module LicenseFinder
24
24
  attr_reader :install_path
25
25
 
26
26
  def paths_of_candidate_files
27
- candidate_files_and_dirs
28
- .flat_map { |path| path.directory? ? path.children : path }
29
- .uniq
27
+ candidate_files_and_dirs.
28
+ flat_map { |path| path.directory? ? path.children : path }.
29
+ reject { |path| path.directory? }.
30
+ uniq
30
31
  end
31
32
 
32
33
  def candidate_files_and_dirs
@@ -1,3 +1,3 @@
1
1
  module LicenseFinder
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.3"
3
3
  end
@@ -0,0 +1,2 @@
1
+ * DO NOT DELETE THIS FILE *
2
+ This is not a license, just some random nested lib.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: license_finder
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Maine
@@ -20,7 +20,7 @@ authors:
20
20
  autorequire:
21
21
  bindir: bin
22
22
  cert_chain: []
23
- date: 2015-03-14 00:00:00.000000000 Z
23
+ date: 2015-03-18 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
@@ -162,20 +162,6 @@ dependencies:
162
162
  - - "~>"
163
163
  - !ruby/object:Gem::Version
164
164
  version: '1.13'
165
- - !ruby/object:Gem::Dependency
166
- name: cocoapods
167
- requirement: !ruby/object:Gem::Requirement
168
- requirements:
169
- - - ">="
170
- - !ruby/object:Gem::Version
171
- version: '0'
172
- type: :development
173
- prerelease: false
174
- version_requirements: !ruby/object:Gem::Requirement
175
- requirements:
176
- - - ">="
177
- - !ruby/object:Gem::Version
178
- version: '0'
179
165
  description: |2
180
166
  LicenseFinder works with your package managers to find
181
167
  dependencies, detect the licenses of the packages in them, compare
@@ -313,6 +299,7 @@ files:
313
299
  - spec/fixtures/config/license_finder.yml
314
300
  - spec/fixtures/license_directory/COPYING
315
301
  - spec/fixtures/license_directory/LICENSE/MIT.txt
302
+ - spec/fixtures/license_directory/LICENSE/lib/unrelated.txt
316
303
  - spec/fixtures/license_names/COPYING.txt
317
304
  - spec/fixtures/license_names/LICENSE
318
305
  - spec/fixtures/license_names/Licence.rdoc
@@ -383,92 +370,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
383
370
  version: '0'
384
371
  requirements: []
385
372
  rubyforge_project:
386
- rubygems_version: 2.2.2
373
+ rubygems_version: 2.4.5
387
374
  signing_key:
388
375
  specification_version: 4
389
376
  summary: Audit the OSS licenses of your application's dependencies.
390
- test_files:
391
- - features/features/cli_spec.rb
392
- - features/features/configure/add_dependencies_spec.rb
393
- - features/features/configure/approve_dependencies_spec.rb
394
- - features/features/configure/assign_licenses_spec.rb
395
- - features/features/configure/ignore_dependencies_spec.rb
396
- - features/features/configure/ignore_groups_spec.rb
397
- - features/features/configure/name_project_spec.rb
398
- - features/features/configure/whitelist_licenses_spec.rb
399
- - features/features/package_managers/bower_spec.rb
400
- - features/features/package_managers/cocoapods_spec.rb
401
- - features/features/package_managers/gradle_spec.rb
402
- - features/features/package_managers/maven_spec.rb
403
- - features/features/package_managers/npm_spec.rb
404
- - features/features/package_managers/pip_spec.rb
405
- - features/features/package_managers/rebar_spec.rb
406
- - features/features/report/csv_spec.rb
407
- - features/features/report/html_spec.rb
408
- - features/fixtures/Podfile
409
- - features/fixtures/build.gradle
410
- - features/fixtures/pom.xml
411
- - features/fixtures/rebar.config
412
- - features/support/testing_dsl.rb
413
- - spec/feature_helper.rb
414
- - spec/fixtures/all_pms/Gemfile
415
- - spec/fixtures/all_pms/Podfile
416
- - spec/fixtures/all_pms/bower.json
417
- - spec/fixtures/all_pms/build.gradle
418
- - spec/fixtures/all_pms/package.json
419
- - spec/fixtures/all_pms/pom.xml
420
- - spec/fixtures/all_pms/rebar.config
421
- - spec/fixtures/all_pms/requirements.txt
422
- - spec/fixtures/config/license_finder.yml
423
- - spec/fixtures/license_directory/COPYING
424
- - spec/fixtures/license_directory/LICENSE/MIT.txt
425
- - spec/fixtures/license_names/COPYING.txt
426
- - spec/fixtures/license_names/LICENSE
427
- - spec/fixtures/license_names/Licence.rdoc
428
- - spec/fixtures/license_names/Mit-License
429
- - spec/fixtures/license_names/README.rdoc
430
- - spec/fixtures/nested_gem/vendor/LICENSE
431
- - spec/fixtures/utf8_gem/README
432
- - spec/lib/license_finder/cli/approvals_spec.rb
433
- - spec/lib/license_finder/cli/dependencies_spec.rb
434
- - spec/lib/license_finder/cli/ignored_dependencies_spec.rb
435
- - spec/lib/license_finder/cli/ignored_groups_spec.rb
436
- - spec/lib/license_finder/cli/licenses_spec.rb
437
- - spec/lib/license_finder/cli/main_spec.rb
438
- - spec/lib/license_finder/cli/project_name_spec.rb
439
- - spec/lib/license_finder/cli/whitelist_spec.rb
440
- - spec/lib/license_finder/configuration_spec.rb
441
- - spec/lib/license_finder/decision_applier_spec.rb
442
- - spec/lib/license_finder/decisions_spec.rb
443
- - spec/lib/license_finder/license/definitions_spec.rb
444
- - spec/lib/license_finder/license_spec.rb
445
- - spec/lib/license_finder/package_manager_spec.rb
446
- - spec/lib/license_finder/package_managers/bower_package_spec.rb
447
- - spec/lib/license_finder/package_managers/bower_spec.rb
448
- - spec/lib/license_finder/package_managers/bundler_package_spec.rb
449
- - spec/lib/license_finder/package_managers/bundler_spec.rb
450
- - spec/lib/license_finder/package_managers/cocoa_pods_package_spec.rb
451
- - spec/lib/license_finder/package_managers/cocoa_pods_spec.rb
452
- - spec/lib/license_finder/package_managers/gradle_package_spec.rb
453
- - spec/lib/license_finder/package_managers/gradle_spec.rb
454
- - spec/lib/license_finder/package_managers/maven_package_spec.rb
455
- - spec/lib/license_finder/package_managers/maven_spec.rb
456
- - spec/lib/license_finder/package_managers/npm_package_spec.rb
457
- - spec/lib/license_finder/package_managers/npm_spec.rb
458
- - spec/lib/license_finder/package_managers/pip_package_spec.rb
459
- - spec/lib/license_finder/package_managers/pip_spec.rb
460
- - spec/lib/license_finder/package_managers/rebar_package_spec.rb
461
- - spec/lib/license_finder/package_managers/rebar_spec.rb
462
- - spec/lib/license_finder/package_spec.rb
463
- - spec/lib/license_finder/packages/activation_spec.rb
464
- - spec/lib/license_finder/packages/license_files_spec.rb
465
- - spec/lib/license_finder/packages/licensing_spec.rb
466
- - spec/lib/license_finder/packages/possible_license_file_spec.rb
467
- - spec/lib/license_finder/reports/csv_report_spec.rb
468
- - spec/lib/license_finder/reports/html_report_spec.rb
469
- - spec/lib/license_finder/reports/markdown_report_spec.rb
470
- - spec/lib/license_finder/reports/text_report_spec.rb
471
- - spec/spec_helper.rb
472
- - spec/support/shared_examples_for_package_manager.rb
473
- - spec/support/stdout_helpers.rb
474
- - spec/support/test_fixtures.rb
377
+ test_files: []