Skip to content

Commit

Permalink
Update webmock and hashdiff dependencies (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimmo Lehto authored and jakolehm committed Aug 7, 2019
1 parent c11d065 commit a7e90ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions k8s-client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency "dry-struct", "~> 0.5.0"
spec.add_runtime_dependency "dry-types", "~> 0.13.0"
spec.add_runtime_dependency "recursive-open-struct", "~> 1.1.0"
spec.add_runtime_dependency 'hashdiff', '~> 0.3.7'
spec.add_runtime_dependency 'hashdiff', '~> 1.0.0'
spec.add_runtime_dependency 'jsonpath', '~> 0.9.5'
spec.add_runtime_dependency 'yajl-ruby', '~> 1.4.0'
spec.add_runtime_dependency "yaml-safe_load_stream", "~> 0.1"

spec.add_development_dependency "bundler", ">= 1.17", "< 3.0"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.7"
spec.add_development_dependency "webmock", "~> 3.4.2"
spec.add_development_dependency "webmock", "~> 3.6.2"
spec.add_development_dependency "rubocop", "~> 0.59"
end
2 changes: 1 addition & 1 deletion lib/k8s/util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def self.recursive_compact(hash_or_array)
# @param patch_to [Hash] Hash to compute patches against
# @param patch_from [Hash] New Hash to compute patches "from"
def self.json_patch(patch_to, patch_from)
diffs = HashDiff.diff(patch_to, patch_from, array_path: true)
diffs = Hashdiff.diff(patch_to, patch_from, array_path: true)
ops = []
# Each diff is like:
# ["+", ["spec", "selector", "food"], "kebab"]
Expand Down

0 comments on commit a7e90ab

Please sign in to comment.