licensed 2.11.0 → 2.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/lib/licensed/reporters/notices_reporter.rb +10 -1
- 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: 22d2a3480b9386c6041c7ab17c90ca28ffedfb58f802974c9e7a4aef6c017919
|
4
|
+
data.tar.gz: c441684e72e0bdc85f55da6e34181758902226dd89f4abf844b6a8cb5c8c9907
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11527ca53a55700ec9626fe8d625ada1539453e53482d4d75394ef8115d79f2ee697f93fbc200eed6dbb0f76dde2138b6874dfd5de7c01ff10fc78c669374b8b
|
7
|
+
data.tar.gz: b24cedd6ab775e54c0fa503ca79e0ad93eef0f19ae15199aac3db66f891dbf8f71c98bc4fc58dff167e606be589ffee25ccf827da4ca5892b95ae25e356cdb5e
|
data/CHANGELOG.md
CHANGED
@@ -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.11.1
|
10
|
+
2020-06-09
|
11
|
+
|
12
|
+
### Fixed
|
13
|
+
- `notices` command properly reads cached dependency notices contents (https://github.com/github/licensed/pull/283)
|
14
|
+
|
9
15
|
## 2.11.0
|
10
16
|
2020-06-02
|
11
17
|
|
@@ -312,4 +318,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
312
318
|
|
313
319
|
Initial release :tada:
|
314
320
|
|
315
|
-
[Unreleased]: https://github.com/github/licensed/compare/2.11.
|
321
|
+
[Unreleased]: https://github.com/github/licensed/compare/2.11.1...HEAD
|
@@ -55,7 +55,16 @@ module Licensed
|
|
55
55
|
return unless cached_record
|
56
56
|
|
57
57
|
texts = cached_record.licenses.map(&:text)
|
58
|
-
|
58
|
+
cached_record.notices.each do |notice|
|
59
|
+
case notice
|
60
|
+
when Hash
|
61
|
+
texts << notice["text"]
|
62
|
+
when String
|
63
|
+
texts << notice
|
64
|
+
else
|
65
|
+
shell.warn "* unable to parse notices for #{report.target.name}"
|
66
|
+
end
|
67
|
+
end
|
59
68
|
|
60
69
|
<<~NOTICE
|
61
70
|
#{cached_record["name"]}@#{cached_record["version"]}
|
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.11.
|
4
|
+
version: 2.11.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-
|
11
|
+
date: 2020-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: licensee
|