Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Re-added the find_service method.

  • Loading branch information...
commit 8b8a612211e92aa38522d0c9fec47b26318c596e 1 parent eff2c35
Ryan Bigg authored lachlanhardy committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/gitjour/application.rb
View
4 lib/gitjour/application.rb
@@ -132,6 +132,10 @@ def find_services(name)
service_list.select { |s| /#{name}/.match(s.name) }
end
+ def find_service(name)
+ service_list.detect { |s| /#{name}/.match(s.name) }
+ end
+
def remote(name, label = nil, *rest)
service = find_service(name)
Please sign in to comment.
Something went wrong with that request. Please try again.