Skip to content

Commit 84374fe

Browse files
David MaloneyDavid Maloney
authored andcommitted
Merge branch 'staging/electro-release' into bug/MSP-11050/rails_root
2 parents 12f1234 + fc65a45 commit 84374fe

File tree

5 files changed

+1
-47
lines changed

5 files changed

+1
-47
lines changed

.rubocop.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

Gemfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ group :db do
1515
end
1616

1717
group :development do
18-
# Style/sanity checking Ruby code
19-
gem 'rubocop'
2018
# Markdown formatting for yard
2119
gem 'redcarpet'
2220
# generating documentation

Gemfile.lock

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ GEM
4545
arel (3.0.3)
4646
arel-helpers (2.0.1)
4747
activerecord (>= 3.1.0, < 5)
48-
ast (2.0.0)
4948
bcrypt (3.1.7)
5049
builder (3.0.4)
5150
coderay (1.1.0)
@@ -88,12 +87,8 @@ GEM
8887
nokogiri (1.6.3.1)
8988
mini_portile (= 0.6.0)
9089
packetfu (1.1.9)
91-
parser (2.1.9)
92-
ast (>= 1.1, < 3.0)
93-
slop (~> 3.4, >= 3.4.5)
9490
pcaprub (0.11.3)
9591
pg (0.17.1)
96-
powerpack (0.0.9)
9792
pry (0.10.0)
9893
coderay (~> 1.1.0)
9994
method_source (~> 0.8.1)
@@ -112,7 +107,6 @@ GEM
112107
rake (>= 0.8.7)
113108
rdoc (~> 3.4)
114109
thor (>= 0.14.6, < 2.0)
115-
rainbow (2.0.0)
116110
rake (10.3.2)
117111
rdoc (3.12.2)
118112
json (~> 1.4)
@@ -138,14 +132,6 @@ GEM
138132
rspec-core (~> 2.99.0)
139133
rspec-expectations (~> 2.99.0)
140134
rspec-mocks (~> 2.99.0)
141-
rubocop (0.23.0)
142-
json (>= 1.7.7, < 2)
143-
parser (~> 2.1.9)
144-
powerpack (~> 0.0.6)
145-
rainbow (>= 1.99.1, < 3.0)
146-
ruby-progressbar (~> 1.4)
147-
ruby-progressbar (1.5.1)
148-
activesupport (>= 3.0.0)
149135
rubyntlm (0.4.0)
150136
rubyzip (1.1.6)
151137
shoulda-matchers (2.6.2)
@@ -185,7 +171,6 @@ DEPENDENCIES
185171
redcarpet
186172
rspec (>= 2.12, < 3.0.0)
187173
rspec-rails (>= 2.12, < 3.0.0)
188-
rubocop
189174
shoulda-matchers
190175
simplecov (= 0.5.4)
191176
timecop

lib/metasploit/framework/command/console.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def driver_options
4747
driver_options['ModulePath'] = options.modules.path
4848
driver_options['Plugins'] = options.console.plugins
4949
driver_options['RealReadline'] = options.console.real_readline
50-
driver_options['Resource'] = options.console.resource
50+
driver_options['Resource'] = options.console.resources
5151
driver_options['XCommands'] = options.console.commands
5252

5353
@driver_options = driver_options

tools/msftidy.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -335,15 +335,6 @@ def check_extname
335335
end
336336
end
337337

338-
# Explicitly skip this check if we're suppressing info messages
339-
# anyway, since it takes a fair amount of time per module to perform.
340-
def check_rubocop
341-
return true if SUPPRESS_INFO_MESSAGES
342-
out = %x{rubocop -n #{@full_filepath}}
343-
ret = $?
344-
info("Fails to pass Rubocop Ruby style guidelines (run 'rubocop #{@full_filepath}' to see violations)") unless ret.exitstatus == 0
345-
end
346-
347338
def check_old_rubies
348339
return true unless CHECK_OLD_RUBIES
349340
return true unless Object.const_defined? :RVM
@@ -611,7 +602,6 @@ def run_checks(full_filepath)
611602
tidy.check_vuln_codes
612603
tidy.check_vars_get
613604
tidy.check_newline_eof
614-
tidy.check_rubocop
615605
tidy.check_sock_get
616606
tidy.check_udp_sock_get
617607
return tidy

0 commit comments

Comments
 (0)