Class: Dawn::GemfileLock
- Inherits:
-
Object
- Object
- Dawn::GemfileLock
- Includes:
- Engine
- Defined in:
- lib/dawn/gemfile_lock.rb
Instance Attribute Summary
Attributes included from Engine
#applied_checks, #checks, #connected_gems, #controllers, #debug, #engine_error, #force, #gemfile_lock, #mitigated_issues, #models, #mvc_version, #name, #output_dir_name, #reflected_xss, #ruby_version, #scan_start, #scan_stop, #skipped_checks, #stats, #target, #views, #vulnerabilities
Instance Method Summary collapse
-
#initialize(dir = "./", filename = "", guessed_mvc) ⇒ GemfileLock
constructor
A new instance of GemfileLock.
Methods included from Engine
#apply, #apply_all, #build_view_array, #can_apply?, #count_vulnerabilities, #create_output_dir, #detect_controllers, #detect_models, #detect_views, #error!, #error?, #find_vulnerability_by_name, #get_mvc_version, #get_ruby_version, #has_gemfile_lock?, #has_reflected_xss?, #is_applied?, #is_good_mvc?, #is_vulnerable_to?, #load_knowledge_base, #output_dir, #scan_time, #set_mvc_version, #set_target, #target_is_dir?
Methods included from Utils
#__debug_me_and_return, #debug_me, #debug_me_and_return_false, #debug_me_and_return_true
Constructor Details
#initialize(dir = "./", filename = "", guessed_mvc) ⇒ GemfileLock
Returns a new instance of GemfileLock.
5 6 7 |
# File 'lib/dawn/gemfile_lock.rb', line 5 def initialize(dir = "./", filename = "", guessed_mvc) super(dir, "Gemfile.lock", {:gemfile_name=>filename, :guessed_mvc=>guessed_mvc}) end |