licensed 2.12.1 → 2.12.2

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: ded370a92e5b5803bd2f3d66ba36c71cedb9cf39a239741e9aea2558cb467bd8
4
- data.tar.gz: 17fb752e1b0dbc91f6315bef7827631c1369f1ea806f7822becb13e0e8cd7436
3
+ metadata.gz: 42da8bbc3e526abe154311e85c5dcb1ffaeba7a631e3b6eab6dbb976a94d9c4d
4
+ data.tar.gz: b0884fb5ae8a8c332c8ea8684075a57e3efe86c6026656279eb2ffe0ae50105a
5
5
  SHA512:
6
- metadata.gz: 6213da918c6f1c0087f160ca981f75bc6039df5f46d02d063771b81a36b626991ec1e5dc88e188f4e0fe08a1f47496922607806217db125773ffb2114d2d7095
7
- data.tar.gz: 34e21de95290897b3cbce5af7f08dea696a245b5becf0115457e1fe9cc547e56381c93ee9b4ff4b2e0820c255ae42cfa77899fac29bceeecf952900201b7f7d4
6
+ metadata.gz: e5d14b32dffb12a412090348429a116f9732bb6413bc35fb677dbf248e8af415ca531d7980bafeaa5a81ed2f083e798821cd21be7fd8eed1037a6659f24d4693
7
+ data.tar.gz: 411785733af02c33cc0b239980558f79389b8bfdc144bf862530fde111dc3ad0c8fd64040b9fdecba022ae93158287b0f45e26a10719567dda3022024a60728b
@@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## 2.12.2
10
+ 2020-07-07
11
+
12
+ ### Changed
13
+ - Cleaned up ruby 2.7 warnings (:tada: @jurre https://github.com/github/licensed/pull/292)
14
+ - Cleaned up additional warnings in tests (https://github.com/github/licensed/pull/293)
15
+
9
16
  ## 2.12.1
10
17
  2020-06-30
11
18
 
@@ -333,4 +340,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
333
340
 
334
341
  Initial release :tada:
335
342
 
336
- [Unreleased]: https://github.com/github/licensed/compare/2.12.1...HEAD
343
+ [Unreleased]: https://github.com/github/licensed/compare/2.12.2...HEAD
@@ -14,7 +14,7 @@ module Licensed
14
14
  desc: "Individual source(s) to evaluate. Must also be enabled via configuration."
15
15
  def cache
16
16
  run Licensed::Commands::Cache.new(config: config),
17
- { force: options[:force], sources: options[:sources] }
17
+ force: options[:force], sources: options[:sources]
18
18
  end
19
19
 
20
20
  desc "status", "Check status of dependencies' cached licenses"
@@ -23,8 +23,7 @@ module Licensed
23
23
  method_option :sources, aliases: "-s", type: :array,
24
24
  desc: "Individual source(s) to evaluate. Must also be enabled via configuration."
25
25
  def status
26
- run Licensed::Commands::Status.new(config: config),
27
- { sources: options[:sources] }
26
+ run Licensed::Commands::Status.new(config: config), sources: options[:sources]
28
27
  end
29
28
 
30
29
  desc "list", "List dependencies"
@@ -33,8 +32,7 @@ module Licensed
33
32
  method_option :sources, aliases: "-s", type: :array,
34
33
  desc: "Individual source(s) to evaluate. Must also be enabled via configuration."
35
34
  def list
36
- run Licensed::Commands::List.new(config: config),
37
- { sources: options[:sources] }
35
+ run Licensed::Commands::List.new(config: config), sources: options[:sources]
38
36
  end
39
37
 
40
38
  desc "notices", "Generate a NOTICE file from cached records"
@@ -43,8 +41,7 @@ module Licensed
43
41
  method_option :sources, aliases: "-s", type: :array,
44
42
  desc: "Individual source(s) to evaluate. Must also be enabled via configuration."
45
43
  def notices
46
- run Licensed::Commands::Notices.new(config: config),
47
- { sources: options[:sources] }
44
+ run Licensed::Commands::Notices.new(config: config), sources: options[:sources]
48
45
  end
49
46
 
50
47
  map "-v" => :version
@@ -99,7 +96,7 @@ module Licensed
99
96
  end
100
97
 
101
98
  def run(command, **args)
102
- exit command.run(args)
99
+ exit command.run(**args)
103
100
  end
104
101
  end
105
102
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Licensed
3
- VERSION = "2.12.1".freeze
3
+ VERSION = "2.12.2".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.1
4
+ version: 2.12.2
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-30 00:00:00.000000000 Z
11
+ date: 2020-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: licensee