Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion grape-cache.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]

spec.add_runtime_dependency "digest-murmurhash", "~> 1.1"
spec.add_runtime_dependency "grape", "~> 0.18.0"
spec.add_runtime_dependency "grape", "~> 0.19.0"

spec.add_development_dependency "bundler", "~> 1.6"
spec.add_development_dependency "rake"
Expand Down
2 changes: 1 addition & 1 deletion lib/grape/cache/endpoint_cache_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def validate_cache(endpoint, middleware)

private
def cache_key_array(endpoint)
endpoint.declared(endpoint.params, {}, [])
endpoint.declared(endpoint.params)
end

def create_cache_key(endpoint)
Expand Down
2 changes: 1 addition & 1 deletion lib/grape/cache/patches.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Updated for Grape 0.18
# Updated for Grape 0.19

require 'grape'

Expand Down