Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #11 from nedap/update-json
Browse files Browse the repository at this point in the history
Updated json gem
  • Loading branch information
jwkoelewijn authored Jul 28, 2020
2 parents 4fa9b10 + 06a07fe commit 79af8ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mordor.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |s|
s.homepage = 'http://github.com/jwkoelewijn/mordor/'

s.add_runtime_dependency 'extlib'
s.add_runtime_dependency 'json', '~> 1.8.5'
s.add_runtime_dependency 'json', '~> 2.3.0'
s.add_runtime_dependency 'mongo', '< 2.0.0'

s.add_development_dependency 'rack-test'
Expand Down
2 changes: 1 addition & 1 deletion spec/mordor/resource_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def self.ensure_indices

it "should correctly replace BigDecimals" do
options = {
"option" => BigDecimal.new("1.00")
"option" => BigDecimal("1.00")
}
result = TestResource.new.replace_params(options)
result.each do |k,v|
Expand Down

0 comments on commit 79af8ed

Please sign in to comment.