licensed 2.8.0 → 2.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +11 -12
- data/.github/workflows/test.yml +71 -52
- data/.gitignore +2 -0
- data/CHANGELOG.md +48 -1
- data/README.md +11 -7
- data/docs/commands.md +8 -0
- data/docs/configuration.md +36 -0
- data/docs/sources/nuget.md +14 -0
- data/lib/licensed/cli.rb +7 -0
- data/lib/licensed/commands.rb +1 -0
- data/lib/licensed/commands/cache.rb +56 -19
- data/lib/licensed/commands/environment.rb +2 -2
- data/lib/licensed/commands/notices.rb +35 -0
- data/lib/licensed/commands/status.rb +5 -1
- data/lib/licensed/configuration.rb +72 -37
- data/lib/licensed/dependency.rb +1 -1
- data/lib/licensed/git.rb +3 -1
- data/lib/licensed/reporters.rb +1 -0
- data/lib/licensed/reporters/cache_reporter.rb +10 -10
- data/lib/licensed/reporters/list_reporter.rb +5 -5
- data/lib/licensed/reporters/notices_reporter.rb +68 -0
- data/lib/licensed/reporters/reporter.rb +3 -0
- data/lib/licensed/reporters/status_reporter.rb +7 -7
- data/lib/licensed/sources.rb +1 -0
- data/lib/licensed/sources/cabal.rb +2 -2
- data/lib/licensed/sources/go.rb +27 -20
- data/lib/licensed/sources/mix.rb +5 -1
- 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 +4 -3
- data/script/bootstrap +2 -1
- data/script/source-setup/nuget +17 -0
- metadata +37 -12
data/lib/licensed/version.rb
CHANGED
data/licensed.gemspec
CHANGED
@@ -23,15 +23,16 @@ Gem::Specification.new do |spec|
|
|
23
23
|
|
24
24
|
spec.required_ruby_version = ">= 2.3.0"
|
25
25
|
|
26
|
-
spec.add_dependency "licensee", "
|
27
|
-
spec.add_dependency "thor", "
|
26
|
+
spec.add_dependency "licensee", ">= 9.14.0", "< 10.0.0"
|
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
|
-
spec.add_development_dependency "rake", "
|
35
|
+
spec.add_development_dependency "rake", ">= 12.3.3"
|
35
36
|
spec.add_development_dependency "minitest", "~> 5.8"
|
36
37
|
spec.add_development_dependency "mocha", "~> 1.0"
|
37
38
|
spec.add_development_dependency "rubocop", "~> 0.49", "< 0.67"
|
data/script/bootstrap
CHANGED
@@ -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,41 +1,47 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: licensed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.11.0
|
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-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: licensee
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 9.14.0
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: 10.0.0
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 9.14.0
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 10.0.0
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: thor
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- - "
|
37
|
+
- - ">="
|
32
38
|
- !ruby/object:Gem::Version
|
33
39
|
version: '0.19'
|
34
40
|
type: :runtime
|
35
41
|
prerelease: false
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
37
43
|
requirements:
|
38
|
-
- - "
|
44
|
+
- - ">="
|
39
45
|
- !ruby/object:Gem::Version
|
40
46
|
version: '0.19'
|
41
47
|
- !ruby/object:Gem::Dependency
|
@@ -109,19 +115,33 @@ dependencies:
|
|
109
115
|
- !ruby/object:Gem::Version
|
110
116
|
version: 0.18.0
|
111
117
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
118
|
+
name: reverse_markdown
|
113
119
|
requirement: !ruby/object:Gem::Requirement
|
114
120
|
requirements:
|
115
121
|
- - "~>"
|
116
122
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
118
|
-
type: :
|
123
|
+
version: '1.0'
|
124
|
+
type: :runtime
|
119
125
|
prerelease: false
|
120
126
|
version_requirements: !ruby/object:Gem::Requirement
|
121
127
|
requirements:
|
122
128
|
- - "~>"
|
123
129
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
130
|
+
version: '1.0'
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: rake
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - ">="
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: 12.3.3
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 12.3.3
|
125
145
|
- !ruby/object:Gem::Dependency
|
126
146
|
name: minitest
|
127
147
|
requirement: !ruby/object:Gem::Requirement
|
@@ -251,6 +271,7 @@ files:
|
|
251
271
|
- docs/sources/manifests.md
|
252
272
|
- docs/sources/mix.md
|
253
273
|
- docs/sources/npm.md
|
274
|
+
- docs/sources/nuget.md
|
254
275
|
- docs/sources/pip.md
|
255
276
|
- docs/sources/pipenv.md
|
256
277
|
- docs/sources/stack.md
|
@@ -263,6 +284,7 @@ files:
|
|
263
284
|
- lib/licensed/commands/command.rb
|
264
285
|
- lib/licensed/commands/environment.rb
|
265
286
|
- lib/licensed/commands/list.rb
|
287
|
+
- lib/licensed/commands/notices.rb
|
266
288
|
- lib/licensed/commands/status.rb
|
267
289
|
- lib/licensed/configuration.rb
|
268
290
|
- lib/licensed/dependency.rb
|
@@ -274,6 +296,7 @@ files:
|
|
274
296
|
- lib/licensed/reporters/cache_reporter.rb
|
275
297
|
- lib/licensed/reporters/json_reporter.rb
|
276
298
|
- lib/licensed/reporters/list_reporter.rb
|
299
|
+
- lib/licensed/reporters/notices_reporter.rb
|
277
300
|
- lib/licensed/reporters/reporter.rb
|
278
301
|
- lib/licensed/reporters/status_reporter.rb
|
279
302
|
- lib/licensed/reporters/yaml_reporter.rb
|
@@ -291,6 +314,7 @@ files:
|
|
291
314
|
- lib/licensed/sources/manifest.rb
|
292
315
|
- lib/licensed/sources/mix.rb
|
293
316
|
- lib/licensed/sources/npm.rb
|
317
|
+
- lib/licensed/sources/nuget.rb
|
294
318
|
- lib/licensed/sources/pip.rb
|
295
319
|
- lib/licensed/sources/pipenv.rb
|
296
320
|
- lib/licensed/sources/source.rb
|
@@ -314,6 +338,7 @@ files:
|
|
314
338
|
- script/source-setup/go
|
315
339
|
- script/source-setup/mix
|
316
340
|
- script/source-setup/npm
|
341
|
+
- script/source-setup/nuget
|
317
342
|
- script/source-setup/pip
|
318
343
|
- script/source-setup/pipenv
|
319
344
|
- script/source-setup/yarn
|