Skip to content

Commit

Permalink
Merge pull request #43 from taylorfinnell/crystal-0.30.0
Browse files Browse the repository at this point in the history
Crystal 0.30.0 fixes
  • Loading branch information
taylorfinnell committed Aug 8, 2019
2 parents 418954f + 97a35a8 commit 6851f3b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: awscr-signer
version: 0.5.4
crystal: 0.28.0
version: 0.6.0
crystal: 0.30.0

authors:
- Taylor Finnell <tmfinnell@gmail.com>
Expand Down
3 changes: 2 additions & 1 deletion src/awscr-signer/core/header.cr
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ module Awscr
# header.to_s # => k:v,value2
# ```
class Header
include Comparable(Header | String)
include Comparable(Header)
include Comparable(String)

@values = [] of String

Expand Down
1 change: 0 additions & 1 deletion src/awscr-signer/core/header_collection.cr
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ module Awscr
# ```
class HeaderCollection
include Enumerable(Header)
include Indexable(Header)

# List of headers names not allowed in the collection.
BLACKLIST_HEADERS = [
Expand Down
2 changes: 1 addition & 1 deletion src/awscr-signer/v4/uri.cr
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module Awscr
@query = QueryString.new

def self.encode(path : String)
URI.escape(path) { |byte| URI.unreserved?(byte) || byte.chr == '/' }
URI.encode(path)
end

# The path must be non encoded.
Expand Down
4 changes: 2 additions & 2 deletions src/awscr-signer/version.cr
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Awscr
MAJOR = "0"
MINOR = "5"
PATCH = "4"
MINOR = "6"
PATCH = "0"

VERSION = [MAJOR, MINOR, PATCH].join(".")
end

0 comments on commit 6851f3b

Please sign in to comment.