Class: Diffend::BundleSecure
- Inherits:
-
Object
- Object
- Diffend::BundleSecure
- Defined in:
- lib/diffend/bundle_secure.rb
Overview
Extend bundler with a new secure command to be able to run Diffend separately
Instance Method Summary collapse
-
#exec(_name, _args) ⇒ Object
Execute diffend check.
Instance Method Details
#exec(_name, _args) ⇒ Object
Execute diffend check
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/diffend/bundle_secure.rb', line 12 def exec(_name, _args) config = Diffend::Config.new( command: Diffend::Commands::SECURE, severity: Diffend::Logger::INFO ) Diffend::LatestVersion.call(config) Diffend::Execute.call(config) end |