Sha256: 702911e766fcb0aba819f31a6b00b4b63d23c0c865d3a65de61d38d6ee4599f3

Contents?: true

Size: 387 Bytes

Versions: 2

Compression:

Stored size: 387 Bytes

Contents

require 'cocoapods'
require 'pod/src/rewriter'

module Pod
  module Downloader
    # Reopening the Git downloader class
    class Git
      alias_method :git_url_rewriter_url, :url
      def url
        source_url_rewriter.url_for(git_url_rewriter_url)
      end

      def source_url_rewriter
        @source_url_rewriter ||= SourceURLRewriter::Rewriter.new
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cocoapods-git_url_rewriter-1.0.1 lib/cocoapods_plugin.rb
cocoapods-git_url_rewriter-1.0.0 lib/cocoapods_plugin.rb