licensed 2.9.2 → 2.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/release.yml +11 -12
- data/.github/workflows/test.yml +69 -50
- data/.gitignore +2 -0
- data/CHANGELOG.md +42 -1
- data/README.md +11 -7
- data/docs/commands.md +14 -0
- data/docs/configuration.md +20 -0
- data/docs/sources/nuget.md +14 -0
- data/lib/licensed/cli.rb +22 -3
- data/lib/licensed/commands.rb +1 -0
- data/lib/licensed/commands/cache.rb +51 -14
- data/lib/licensed/commands/command.rb +12 -4
- data/lib/licensed/commands/list.rb +19 -0
- data/lib/licensed/commands/notices.rb +54 -0
- data/lib/licensed/commands/status.rb +19 -0
- data/lib/licensed/configuration.rb +12 -2
- data/lib/licensed/dependency.rb +1 -1
- data/lib/licensed/reporters.rb +1 -0
- data/lib/licensed/reporters/cache_reporter.rb +10 -10
- data/lib/licensed/reporters/list_reporter.rb +21 -5
- data/lib/licensed/reporters/notices_reporter.rb +99 -0
- data/lib/licensed/reporters/reporter.rb +3 -0
- data/lib/licensed/reporters/status_reporter.rb +24 -7
- data/lib/licensed/sources.rb +1 -0
- data/lib/licensed/sources/cabal.rb +2 -2
- data/lib/licensed/sources/go.rb +2 -2
- data/lib/licensed/sources/npm.rb +1 -0
- data/lib/licensed/sources/nuget.rb +212 -0
- data/lib/licensed/version.rb +1 -1
- data/licensed.gemspec +2 -1
- data/script/source-setup/nuget +17 -0
- metadata +24 -6
data/lib/licensed/version.rb
CHANGED
data/licensed.gemspec
CHANGED
@@ -23,13 +23,14 @@ Gem::Specification.new do |spec|
|
|
23
23
|
|
24
24
|
spec.required_ruby_version = ">= 2.3.0"
|
25
25
|
|
26
|
-
spec.add_dependency "licensee", ">= 9.
|
26
|
+
spec.add_dependency "licensee", ">= 9.14.0", "< 10.0.0"
|
27
27
|
spec.add_dependency "thor", ">= 0.19"
|
28
28
|
spec.add_dependency "pathname-common_prefix", "~> 0.0.1"
|
29
29
|
spec.add_dependency "tomlrb", "~> 1.2"
|
30
30
|
spec.add_dependency "bundler", ">= 1.10"
|
31
31
|
spec.add_dependency "ruby-xxHash", "~> 0.4"
|
32
32
|
spec.add_dependency "parallel", ">= 0.18.0"
|
33
|
+
spec.add_dependency "reverse_markdown", "~> 1.0"
|
33
34
|
|
34
35
|
spec.add_development_dependency "rake", ">= 12.3.3"
|
35
36
|
spec.add_development_dependency "minitest", "~> 5.8"
|
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
set -e
|
3
|
+
|
4
|
+
if [ -z "$(which dotnet)" ]; then
|
5
|
+
echo "A local dotnet installation is required for dotnet/nuget development." >&2
|
6
|
+
exit 127
|
7
|
+
fi
|
8
|
+
|
9
|
+
# setup test fixtures
|
10
|
+
BASE_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
11
|
+
cd $BASE_PATH/test/fixtures/nuget
|
12
|
+
|
13
|
+
if [ "$1" == "-f" ]; then
|
14
|
+
dotnet clean
|
15
|
+
fi
|
16
|
+
|
17
|
+
dotnet restore
|
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.
|
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-
|
11
|
+
date: 2020-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: licensee
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 9.
|
19
|
+
version: 9.14.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 10.0.0
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 9.
|
29
|
+
version: 9.14.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 10.0.0
|
@@ -114,6 +114,20 @@ dependencies:
|
|
114
114
|
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: 0.18.0
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: reverse_markdown
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - "~>"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '1.0'
|
124
|
+
type: :runtime
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - "~>"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '1.0'
|
117
131
|
- !ruby/object:Gem::Dependency
|
118
132
|
name: rake
|
119
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -257,6 +271,7 @@ files:
|
|
257
271
|
- docs/sources/manifests.md
|
258
272
|
- docs/sources/mix.md
|
259
273
|
- docs/sources/npm.md
|
274
|
+
- docs/sources/nuget.md
|
260
275
|
- docs/sources/pip.md
|
261
276
|
- docs/sources/pipenv.md
|
262
277
|
- docs/sources/stack.md
|
@@ -269,6 +284,7 @@ files:
|
|
269
284
|
- lib/licensed/commands/command.rb
|
270
285
|
- lib/licensed/commands/environment.rb
|
271
286
|
- lib/licensed/commands/list.rb
|
287
|
+
- lib/licensed/commands/notices.rb
|
272
288
|
- lib/licensed/commands/status.rb
|
273
289
|
- lib/licensed/configuration.rb
|
274
290
|
- lib/licensed/dependency.rb
|
@@ -280,6 +296,7 @@ files:
|
|
280
296
|
- lib/licensed/reporters/cache_reporter.rb
|
281
297
|
- lib/licensed/reporters/json_reporter.rb
|
282
298
|
- lib/licensed/reporters/list_reporter.rb
|
299
|
+
- lib/licensed/reporters/notices_reporter.rb
|
283
300
|
- lib/licensed/reporters/reporter.rb
|
284
301
|
- lib/licensed/reporters/status_reporter.rb
|
285
302
|
- lib/licensed/reporters/yaml_reporter.rb
|
@@ -297,6 +314,7 @@ files:
|
|
297
314
|
- lib/licensed/sources/manifest.rb
|
298
315
|
- lib/licensed/sources/mix.rb
|
299
316
|
- lib/licensed/sources/npm.rb
|
317
|
+
- lib/licensed/sources/nuget.rb
|
300
318
|
- lib/licensed/sources/pip.rb
|
301
319
|
- lib/licensed/sources/pipenv.rb
|
302
320
|
- lib/licensed/sources/source.rb
|
@@ -320,6 +338,7 @@ files:
|
|
320
338
|
- script/source-setup/go
|
321
339
|
- script/source-setup/mix
|
322
340
|
- script/source-setup/npm
|
341
|
+
- script/source-setup/nuget
|
323
342
|
- script/source-setup/pip
|
324
343
|
- script/source-setup/pipenv
|
325
344
|
- script/source-setup/yarn
|
@@ -343,8 +362,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
343
362
|
- !ruby/object:Gem::Version
|
344
363
|
version: '0'
|
345
364
|
requirements: []
|
346
|
-
|
347
|
-
rubygems_version: 2.6.8
|
365
|
+
rubygems_version: 3.0.3
|
348
366
|
signing_key:
|
349
367
|
specification_version: 4
|
350
368
|
summary: Extract and validate the licenses of dependencies.
|