Sha256: 04be6007df55dbdedfceedfc5c1a1eeecdaa8dac18fedfa280d7c9e9cad79471
Contents?: true
Size: 413 Bytes
Versions: 4
Compression:
Stored size: 413 Bytes
Contents
# frozen_string_literal: true module Skippable def self.included(base) base.class_eval do include InstanceMethods end end module InstanceMethods def skip? `git config --get remote.origin.url`.split("/").last.strip.include? "neeto-auth-web" end def app_is?(git_repo) `git config --get remote.origin.url`.split("/").last.strip.include? "#{git_repo}" end end end
Version data entries
4 entries across 4 versions & 2 rubygems