Module: Skippable::InstanceMethods
- Defined in:
- lib/neeto_compliance/skippable.rb
Instance Method Summary collapse
Instance Method Details
#app_is?(git_repo) ⇒ Boolean
15 16 17 |
# File 'lib/neeto_compliance/skippable.rb', line 15 def app_is?(git_repo) `git config --get remote.origin.url`.split("/").last.strip.include? "#{git_repo}" end |
#skip? ⇒ Boolean
11 12 13 |
# File 'lib/neeto_compliance/skippable.rb', line 11 def skip? `git config --get remote.origin.url`.split("/").last.strip.include? "neeto-auth-web" end |