Skip to content

Commit 9fcf258

Browse files
arampriceystros
andcommitted
Replace deprecated json_pure with json
Per the following warning printed when running specs: > `json_pure` is deprecated and has no effect, just use `json` Co-authored-by: Brian Upton <[email protected]>
1 parent 5e95ffb commit 9fcf258

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

cf-uaa-lib.gemspec

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ Gem::Specification.new do |s|
3131
s.require_paths = ['lib']
3232

3333
# dependencies
34-
s.add_dependency 'multi_json', '>= 1.12.1', '< 1.16'
35-
s.add_dependency 'json_pure', '~>2.7'
34+
s.add_dependency 'json', '~>2.7'
3635
s.add_dependency 'httpclient', '~> 2.8', '>= 2.8.2.4'
3736
s.add_dependency 'addressable', '~> 2.8', '>= 2.8.0'
3837

@@ -42,7 +41,5 @@ Gem::Specification.new do |s|
4241
s.add_development_dependency 'simplecov', '~> 0.22.0'
4342
s.add_development_dependency 'simplecov-rcov', '~> 0.3.0'
4443
s.add_development_dependency 'ci_reporter', '>= 1.9.2', '~> 2.0'
45-
s.add_development_dependency 'json_pure', '~>2.7'
4644
s.add_development_dependency 'ci_reporter_rspec', '~> 1.0'
47-
4845
end

lib/uaa/util.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
# subcomponent's license, as noted in the LICENSE file.
1212
#++
1313

14-
require 'json/pure'
15-
require "base64"
14+
require 'json'
15+
require 'base64'
1616
require 'logger'
1717
require 'uri'
1818

0 commit comments

Comments
 (0)