licensed 2.12.1 → 2.12.2
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/CHANGELOG.md +8 -1
- data/lib/licensed/cli.rb +5 -8
- data/lib/licensed/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: 42da8bbc3e526abe154311e85c5dcb1ffaeba7a631e3b6eab6dbb976a94d9c4d
|
|
4
|
+
data.tar.gz: b0884fb5ae8a8c332c8ea8684075a57e3efe86c6026656279eb2ffe0ae50105a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e5d14b32dffb12a412090348429a116f9732bb6413bc35fb677dbf248e8af415ca531d7980bafeaa5a81ed2f083e798821cd21be7fd8eed1037a6659f24d4693
|
|
7
|
+
data.tar.gz: 411785733af02c33cc0b239980558f79389b8bfdc144bf862530fde111dc3ad0c8fd64040b9fdecba022ae93158287b0f45e26a10719567dda3022024a60728b
|
data/CHANGELOG.md
CHANGED
|
@@ -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.
|
|
343
|
+
[Unreleased]: https://github.com/github/licensed/compare/2.12.2...HEAD
|
data/lib/licensed/cli.rb
CHANGED
|
@@ -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
|
-
|
|
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
|
data/lib/licensed/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2020-07-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: licensee
|