lib/travis/cli/repo_command.rb in travis-1.0.2 vs lib/travis/cli/repo_command.rb in travis-1.0.3

- old
+ new

@@ -2,10 +2,10 @@ module Travis module CLI class RepoCommand < ApiCommand GIT_REGEX = %r{Fetch URL: (?:https://|git://|git@)github\.com[:/](.*/.+?)(\.git)?$} - on('-r', '--repo SLUG') { |c| c.slug = slug } + on('-r', '--repo SLUG') { |c, slug| c.slug = slug } attr_accessor :slug abstract def setup