Sha256: ae33551d4a6f99f455bb406fb0fb262f7dc4e48922c8a4208c51dcaee04eeca0

Contents?: true

Size: 209 Bytes

Versions: 3

Compression:

Stored size: 209 Bytes

Contents

module Anvil
  class Task
    module Repositories
      def resolve_url(url)
        if url =~ /^\w+\/\w+$/
          "git@github.com:#{url}"
        else
          url
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
anvil-core-0.0.1.pre.alpha.3 lib/anvil/task/repositories.rb
anvil-core-0.0.1.pre.alpha.2 lib/anvil/task/repositories.rb
anvil-core-0.0.1.alpha.1 lib/anvil/task/repositories.rb