Skip to content

Commit c2007c7

Browse files
committed
Update license generation
1 parent 3dc9e6a commit c2007c7

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ group :development do
3131
end
3232

3333
group :development, :test do
34+
# For ./tools/dev/update_gem_licenses.sh
35+
gem 'license_finder', '5.11.1'
3436
# running documentation generation tasks and rspec tasks
3537
gem 'rake'
3638
# Define `rake spec`. Must be in development AND test so that its available by default as a rake test when the

Gemfile.lock

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,13 @@ GEM
298298
rkelly-remix
299299
json (2.10.2)
300300
language_server-protocol (3.17.0.5)
301+
license_finder (5.11.1)
302+
bundler
303+
rubyzip (>= 1, < 3)
304+
thor
305+
toml (= 0.2.0)
306+
with_env (= 1.1.0)
307+
xml-simple
301308
lint_roller (1.1.0)
302309
little-plugger (1.1.4)
303310
logger (1.6.6)
@@ -390,6 +397,7 @@ GEM
390397
parser (3.3.8.0)
391398
ast (~> 2.4.1)
392399
racc
400+
parslet (1.8.2)
393401
patch_finder (1.0.2)
394402
pcaprub (0.13.3)
395403
pdf-reader (2.14.1)
@@ -597,6 +605,8 @@ GEM
597605
tilt (2.6.0)
598606
timecop (0.9.10)
599607
timeout (0.4.3)
608+
toml (0.2.0)
609+
parslet (~> 1.8.0)
600610
ttfunk (1.8.0)
601611
bigdecimal (~> 3.1)
602612
tzinfo (2.0.6)
@@ -626,9 +636,12 @@ GEM
626636
nori (~> 2.0, >= 2.7.1)
627637
rexml (~> 3.0)
628638
rubyntlm (~> 0.6.0, >= 0.6.3)
639+
with_env (1.1.0)
629640
xdr (3.0.3)
630641
activemodel (>= 4.2, < 8.0)
631642
activesupport (>= 4.2, < 8.0)
643+
xml-simple (1.1.9)
644+
rexml
632645
xmlrpc (0.3.3)
633646
webrick
634647
yard (0.9.37)
@@ -642,6 +655,7 @@ DEPENDENCIES
642655
debug (>= 1.0.0)
643656
factory_bot_rails
644657
fivemat
658+
license_finder (= 5.11.1)
645659
memory_profiler
646660
metasploit-framework!
647661
octokit

tools/dev/update_gem_licenses.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
# This script regenerates the LICENSE_GEMS file with the current gem licenses.
44
# It should be run automatically whenever Metasploit cuts a new release itself.
55

6-
gem install license_finder --version "5.11.1"
76
echo "This file is auto-generated by tools/dev/update_gem_licenses.sh" > LICENSE_GEMS
8-
license_finder | grep , >> LICENSE_GEMS
7+
bundle exec license_finder | grep , >> LICENSE_GEMS

0 commit comments

Comments
 (0)