licensed 2.12.0 → 2.12.1

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
  SHA256:
3
- metadata.gz: afbd8f703d5b7724edb93a6d0e3ceb9126093096bb89b030d4dffda4534edd21
4
- data.tar.gz: 0f8c3628e2f3acaa95d5b473bad661114414ac913d5d4e3bbf5285022c53e0bb
3
+ metadata.gz: ded370a92e5b5803bd2f3d66ba36c71cedb9cf39a239741e9aea2558cb467bd8
4
+ data.tar.gz: 17fb752e1b0dbc91f6315bef7827631c1369f1ea806f7822becb13e0e8cd7436
5
5
  SHA512:
6
- metadata.gz: 195e11d0186008c361a18b35230130b1b8b2b6e2b91551fb4939de9c505650145b99f070ea5c5c2371de5d3d2fb272bd99585d4695c47a38df300641cae9960c
7
- data.tar.gz: b0761f05fe26cf972c4ec7497a317e109b91d5101006c9fad678b8917333f38784290953257a7e2f529d2c830c3bff004f614f272ed423685592cc90cc94f117
6
+ metadata.gz: 6213da918c6f1c0087f160ca981f75bc6039df5f46d02d063771b81a36b626991ec1e5dc88e188f4e0fe08a1f47496922607806217db125773ffb2114d2d7095
7
+ data.tar.gz: 34e21de95290897b3cbce5af7f08dea696a245b5becf0115457e1fe9cc547e56381c93ee9b4ff4b2e0820c255ae42cfa77899fac29bceeecf952900201b7f7d4
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## 2.12.1
10
+ 2020-06-30
11
+
12
+ ### Fixed
13
+ - `licensed` no longer exits an error code when using the `--sources` CLI argument(https://github.com/github/licensed/pull/290)
14
+
9
15
  ## 2.12.0
10
16
  2020-06-19
11
17
 
@@ -327,4 +333,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
327
333
 
328
334
  Initial release :tada:
329
335
 
330
- [Unreleased]: https://github.com/github/licensed/compare/2.11.1...HEAD
336
+ [Unreleased]: https://github.com/github/licensed/compare/2.12.1...HEAD
@@ -22,7 +22,7 @@ module Licensed
22
22
  result = reporter.report_run(self) do |report|
23
23
  # allow additional report data to be given by commands
24
24
  if block_given?
25
- next if (yield report) == :skip
25
+ next true if (yield report) == :skip
26
26
  end
27
27
 
28
28
  config.apps.sort_by { |app| app["name"] }
@@ -60,7 +60,7 @@ module Licensed
60
60
  begin
61
61
  # allow additional report data to be given by commands
62
62
  if block_given?
63
- next if (yield report) == :skip
63
+ next true if (yield report) == :skip
64
64
  end
65
65
 
66
66
  app.sources.select(&:enabled?)
@@ -86,7 +86,7 @@ module Licensed
86
86
  begin
87
87
  # allow additional report data to be given by commands
88
88
  if block_given?
89
- next if (yield report) == :skip
89
+ next true if (yield report) == :skip
90
90
  end
91
91
 
92
92
  source.dependencies.sort_by { |dependency| dependency.name }
@@ -121,7 +121,7 @@ module Licensed
121
121
  begin
122
122
  # allow additional report data to be given by commands
123
123
  if block_given?
124
- next if (yield report) == :skip
124
+ next true if (yield report) == :skip
125
125
  end
126
126
 
127
127
  evaluate_dependency(app, source, dependency, report)
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Licensed
3
- VERSION = "2.12.0".freeze
3
+ VERSION = "2.12.1".freeze
4
4
 
5
5
  def self.previous_major_versions
6
6
  major_version = Gem::Version.new(Licensed::VERSION).segments.first
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: licensed
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.12.0
4
+ version: 2.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-19 00:00:00.000000000 Z
11
+ date: 2020-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: licensee