Sha256: 5de97c4e9194652a725beab7c715adeb4ae52eb6f77242758d2a30be95a138f4

Contents?: true

Size: 281 Bytes

Versions: 23

Compression:

Stored size: 281 Bytes

Contents

require "uri"

require "sup/util/path"

module Redwood
  module Util
    module Uri
      def self.build(components)
        components = components.dup
        components[:path] = Path.expand(components[:path])
        ::URI::Generic.build(components)
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
sup-1.2 lib/sup/util/uri.rb
sup-1.1 lib/sup/util/uri.rb
sup-1.0 lib/sup/util/uri.rb
sup-0.23 lib/sup/util/uri.rb
sup-0.22.1 lib/sup/util/uri.rb
sup-0.22.0 lib/sup/util/uri.rb
sup-0.21.0 lib/sup/util/uri.rb
sup-0.20.0 lib/sup/util/uri.rb
sup-0.19.0 lib/sup/util/uri.rb
sup-0.18.0 lib/sup/util/uri.rb
sup-0.17.0 lib/sup/util/uri.rb
sup-0.16.0 lib/sup/util/uri.rb
sup-0.15.4 lib/sup/util/uri.rb
sup-0.15.3 lib/sup/util/uri.rb
sup-0.15.2 lib/sup/util/uri.rb
sup-0.15.1 lib/sup/util/uri.rb
sup-0.15.0 lib/sup/util/uri.rb
sup-0.14.1.1 lib/sup/util/uri.rb
sup-0.13.2.1 lib/sup/util/uri.rb
sup-0.14.1 lib/sup/util/uri.rb