~singpolyma/dhall-ruby

b22689c79cf8e17d52b1b1db5ee470f40c22df46 — Stephen Paul Weber 3 years ago dfb47e5
Switch encoding of binary URI format
3 files changed, 3 insertions(+), 3 deletions(-)

M dhall-lang
M lib/dhall/ast.rb
M lib/dhall/binary.rb
M dhall-lang => dhall-lang +1 -1
@@ 1,1 1,1 @@
Subproject commit 0c335d3aa23de43e55a8d1ee3e2038f145f58f55
Subproject commit 9429e0acbbf5e623a5f72f5a74540c8cd0bf6fa6

M lib/dhall/ast.rb => lib/dhall/ast.rb +1 -1
@@ 1452,7 1452,7 @@ module Dhall
			end

			def path
				path = uri.path.split(/\//, -1).map(&::URI.method(:unescape))
				path = uri.path.split(/\//, -1)
				path = path[1..-1] if path.length > 1 && path.first.empty?
				path
			end

M lib/dhall/binary.rb => lib/dhall/binary.rb +1 -1
@@ 236,7 236,7 @@ module Dhall
			def self.decode(headers, authority, *path, query)
				uri = ::URI.scheme_list[name.split(/::/).last.upcase].build(
					Parser.parse(authority, root: :authority).value.merge(
						path: Util.path_components_to_uri(*path).path
						path: "/#{path.join("/")}"
					)
				)
				uri.instance_variable_set(:@query, query)