Remove Guard and Brakeman
This commit is contained in:
parent
bc095cf40d
commit
a8c61023ee
2
Gemfile
2
Gemfile
|
@ -81,13 +81,11 @@ gem "puma"
|
||||||
|
|
||||||
group :development, :test do
|
group :development, :test do
|
||||||
gem "better_errors"
|
gem "better_errors"
|
||||||
gem "brakeman"
|
|
||||||
gem "bullet"
|
gem "bullet"
|
||||||
gem "capybara"
|
gem "capybara"
|
||||||
gem "database_cleaner"
|
gem "database_cleaner"
|
||||||
gem "factory_bot_rails", require: false
|
gem "factory_bot_rails", require: false
|
||||||
gem "faker"
|
gem "faker"
|
||||||
gem "guard-brakeman"
|
|
||||||
gem "haml_lint", require: false
|
gem "haml_lint", require: false
|
||||||
gem "letter_opener" # Use this just in local test environments
|
gem "letter_opener" # Use this just in local test environments
|
||||||
gem "poltergeist"
|
gem "poltergeist"
|
||||||
|
|
32
Gemfile.lock
32
Gemfile.lock
|
@ -91,7 +91,6 @@ GEM
|
||||||
bootstrap_form (4.5.0)
|
bootstrap_form (4.5.0)
|
||||||
actionpack (>= 5.2)
|
actionpack (>= 5.2)
|
||||||
activemodel (>= 5.2)
|
activemodel (>= 5.2)
|
||||||
brakeman (5.3.1)
|
|
||||||
buftok (0.2.0)
|
buftok (0.2.0)
|
||||||
builder (3.2.4)
|
builder (3.2.4)
|
||||||
bullet (7.0.3)
|
bullet (7.0.3)
|
||||||
|
@ -199,20 +198,6 @@ GEM
|
||||||
glob (0.3.1)
|
glob (0.3.1)
|
||||||
globalid (1.0.0)
|
globalid (1.0.0)
|
||||||
activesupport (>= 5.0)
|
activesupport (>= 5.0)
|
||||||
guard (2.18.0)
|
|
||||||
formatador (>= 0.2.4)
|
|
||||||
listen (>= 2.7, < 4.0)
|
|
||||||
lumberjack (>= 1.0.12, < 2.0)
|
|
||||||
nenv (~> 0.1)
|
|
||||||
notiffany (~> 0.0)
|
|
||||||
pry (>= 0.13.0)
|
|
||||||
shellany (~> 0.0)
|
|
||||||
thor (>= 0.18.1)
|
|
||||||
guard-brakeman (0.8.6)
|
|
||||||
brakeman (>= 2.1.1)
|
|
||||||
guard (>= 2.0.0)
|
|
||||||
guard-compat (~> 1.0)
|
|
||||||
guard-compat (1.2.1)
|
|
||||||
haml (6.0.8)
|
haml (6.0.8)
|
||||||
temple (>= 0.8.2)
|
temple (>= 0.8.2)
|
||||||
thor
|
thor
|
||||||
|
@ -270,9 +255,6 @@ GEM
|
||||||
addressable (~> 2.7)
|
addressable (~> 2.7)
|
||||||
letter_opener (1.8.1)
|
letter_opener (1.8.1)
|
||||||
launchy (>= 2.2, < 3)
|
launchy (>= 2.2, < 3)
|
||||||
listen (3.7.0)
|
|
||||||
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
||||||
rb-inotify (~> 0.9, >= 0.9.10)
|
|
||||||
lograge (0.12.0)
|
lograge (0.12.0)
|
||||||
actionpack (>= 4)
|
actionpack (>= 4)
|
||||||
activesupport (>= 4)
|
activesupport (>= 4)
|
||||||
|
@ -281,7 +263,6 @@ GEM
|
||||||
loofah (2.19.0)
|
loofah (2.19.0)
|
||||||
crass (~> 1.0.2)
|
crass (~> 1.0.2)
|
||||||
nokogiri (>= 1.5.9)
|
nokogiri (>= 1.5.9)
|
||||||
lumberjack (1.2.8)
|
|
||||||
mail (2.7.1)
|
mail (2.7.1)
|
||||||
mini_mime (>= 0.1.1)
|
mini_mime (>= 0.1.1)
|
||||||
marcel (1.0.2)
|
marcel (1.0.2)
|
||||||
|
@ -304,7 +285,6 @@ GEM
|
||||||
multi_xml (0.6.0)
|
multi_xml (0.6.0)
|
||||||
multipart-post (2.1.1)
|
multipart-post (2.1.1)
|
||||||
naught (1.1.0)
|
naught (1.1.0)
|
||||||
nenv (0.3.0)
|
|
||||||
nested_form (0.3.2)
|
nested_form (0.3.2)
|
||||||
net-imap (0.3.1)
|
net-imap (0.3.1)
|
||||||
net-protocol
|
net-protocol
|
||||||
|
@ -318,9 +298,6 @@ GEM
|
||||||
nokogiri (1.13.9)
|
nokogiri (1.13.9)
|
||||||
mini_portile2 (~> 2.8.0)
|
mini_portile2 (~> 2.8.0)
|
||||||
racc (~> 1.4)
|
racc (~> 1.4)
|
||||||
notiffany (0.1.3)
|
|
||||||
nenv (~> 0.1)
|
|
||||||
shellany (~> 0.0)
|
|
||||||
oauth (0.5.8)
|
oauth (0.5.8)
|
||||||
oj (3.13.21)
|
oj (3.13.21)
|
||||||
omniauth (2.1.0)
|
omniauth (2.1.0)
|
||||||
|
@ -347,9 +324,6 @@ GEM
|
||||||
capybara (>= 2.1, < 4)
|
capybara (>= 2.1, < 4)
|
||||||
cliver (~> 0.3.1)
|
cliver (~> 0.3.1)
|
||||||
websocket-driver (>= 0.2.0)
|
websocket-driver (>= 0.2.0)
|
||||||
pry (0.14.1)
|
|
||||||
coderay (~> 1.1)
|
|
||||||
method_source (~> 1.0)
|
|
||||||
public_suffix (4.0.7)
|
public_suffix (4.0.7)
|
||||||
puma (6.0.0)
|
puma (6.0.0)
|
||||||
nio4r (~> 2.0)
|
nio4r (~> 2.0)
|
||||||
|
@ -403,9 +377,6 @@ GEM
|
||||||
thor (~> 1.0)
|
thor (~> 1.0)
|
||||||
rainbow (3.1.1)
|
rainbow (3.1.1)
|
||||||
rake (13.0.6)
|
rake (13.0.6)
|
||||||
rb-fsevent (0.11.0)
|
|
||||||
rb-inotify (0.10.1)
|
|
||||||
ffi (~> 1.0)
|
|
||||||
redcarpet (3.5.1)
|
redcarpet (3.5.1)
|
||||||
redis (4.5.1)
|
redis (4.5.1)
|
||||||
regexp_parser (2.6.0)
|
regexp_parser (2.6.0)
|
||||||
|
@ -483,7 +454,6 @@ GEM
|
||||||
sentry-sidekiq (5.5.0)
|
sentry-sidekiq (5.5.0)
|
||||||
sentry-ruby (~> 5.5.0)
|
sentry-ruby (~> 5.5.0)
|
||||||
sidekiq (>= 3.0)
|
sidekiq (>= 3.0)
|
||||||
shellany (0.0.1)
|
|
||||||
shoulda-matchers (5.2.0)
|
shoulda-matchers (5.2.0)
|
||||||
activesupport (>= 5.2.0)
|
activesupport (>= 5.2.0)
|
||||||
sidekiq (5.2.10)
|
sidekiq (5.2.10)
|
||||||
|
@ -575,7 +545,6 @@ DEPENDENCIES
|
||||||
binding_of_caller
|
binding_of_caller
|
||||||
bootsnap
|
bootsnap
|
||||||
bootstrap_form (~> 4.5)
|
bootstrap_form (~> 4.5)
|
||||||
brakeman
|
|
||||||
bullet
|
bullet
|
||||||
byebug
|
byebug
|
||||||
capybara
|
capybara
|
||||||
|
@ -594,7 +563,6 @@ DEPENDENCIES
|
||||||
fog-aws
|
fog-aws
|
||||||
fog-core
|
fog-core
|
||||||
fog-local
|
fog-local
|
||||||
guard-brakeman
|
|
||||||
haml (~> 6.0)
|
haml (~> 6.0)
|
||||||
haml_lint
|
haml_lint
|
||||||
hcaptcha (~> 7.0)
|
hcaptcha (~> 7.0)
|
||||||
|
|
23
Guardfile
23
Guardfile
|
@ -1,23 +0,0 @@
|
||||||
# A sample Guardfile
|
|
||||||
# More info at https://github.com/guard/guard#readme
|
|
||||||
|
|
||||||
## Uncomment and set this to only include directories you want to watch
|
|
||||||
# directories %w(app lib config test spec features) \
|
|
||||||
# .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")}
|
|
||||||
|
|
||||||
## Note: if you are using the `directories` clause above and you are not
|
|
||||||
## watching the project directory ('.'), then you will want to move
|
|
||||||
## the Guardfile to a watched dir and symlink it back, e.g.
|
|
||||||
#
|
|
||||||
# $ mkdir config
|
|
||||||
# $ mv Guardfile config/
|
|
||||||
# $ ln -s config/Guardfile .
|
|
||||||
#
|
|
||||||
# and, you'll have to watch "config/Guardfile" instead of "Guardfile"
|
|
||||||
|
|
||||||
guard 'brakeman', :run_on_start => true do
|
|
||||||
watch(%r{^app/.+\.(erb|haml|rhtml|rb)$})
|
|
||||||
watch(%r{^config/.+\.rb$})
|
|
||||||
watch(%r{^lib/.+\.rb$})
|
|
||||||
watch('Gemfile')
|
|
||||||
end
|
|
4
Rakefile
4
Rakefile
|
@ -5,10 +5,6 @@ require File.expand_path('../config/application', __FILE__)
|
||||||
|
|
||||||
Rails.application.load_tasks
|
Rails.application.load_tasks
|
||||||
|
|
||||||
task :default do
|
|
||||||
Brakeman.run :app_path => ".", :print_report => true
|
|
||||||
end
|
|
||||||
|
|
||||||
namespace :justask do
|
namespace :justask do
|
||||||
desc "Upload to AWS"
|
desc "Upload to AWS"
|
||||||
task paperclaws: :environment do
|
task paperclaws: :environment do
|
||||||
|
|
Loading…
Reference in New Issue