Sha256: 612bd874c301934633aef52f253a1c26220e7483bf74926e68addeb155def5d0

Contents?: true

Size: 207 Bytes

Versions: 2

Compression:

Stored size: 207 Bytes

Contents

module Vendorise
  class Parser

    class << self
      def gem_url(url)
        url =~ /^\s+$/ ? nil : url
      end

      def gem_name(url)
        File.basename url, ".git"
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vendorise-0.1.1 lib/vendorise/parser.rb
vendorise-0.1.0 lib/vendorise/parser.rb