Sha256: b2b4650b2928e4c52a301978b5b8bc8560993e5593c9f1706204c83b4d9f27a4
Contents?: true
Size: 634 Bytes
Versions: 2
Compression:
Stored size: 634 Bytes
Contents
# frozen_string_literal: true module Diffend # Extend bundler with a new secure command to be able to run Diffend separately class BundleSecure Bundler::Plugin::API.command(Diffend::Commands::SECURE, self) # Execute diffend check # # @param _name [String] command name # @param _args [Array] arguments from ARGV def exec(_name, _args) return unless Diffend::Enabled.call config = Diffend::Config.new( command: Diffend::Commands::SECURE, severity: Diffend::Logger::INFO ) Diffend::LatestVersion.call(config) Diffend::Execute.call(config) end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
diffend-monitor-0.2.37 | lib/diffend/bundle_secure.rb |
diffend-0.2.37 | lib/diffend/bundle_secure.rb |