diff --git a/Gemfile b/Gemfile index f21481c..83de03f 100644 --- a/Gemfile +++ b/Gemfile @@ -11,7 +11,7 @@ # subcomponent's license, as noted in the LICENSE file. #++ -source "http://rubygems.org" +source "https://rubygems.org" # Specify your gem's dependencies in uaa.gemspec gemspec diff --git a/cf-uaa-lib.gemspec b/cf-uaa-lib.gemspec index a6bc53a..54c58ac 100644 --- a/cf-uaa-lib.gemspec +++ b/cf-uaa-lib.gemspec @@ -31,8 +31,7 @@ Gem::Specification.new do |s| s.require_paths = ['lib'] # dependencies - s.add_dependency 'multi_json', '>= 1.12.1', '< 1.16' - s.add_dependency 'json_pure', '~>2.7' + s.add_dependency 'json', '~>2.7' s.add_dependency 'httpclient', '~> 2.8', '>= 2.8.2.4' s.add_dependency 'addressable', '~> 2.8', '>= 2.8.0' @@ -42,7 +41,5 @@ Gem::Specification.new do |s| s.add_development_dependency 'simplecov', '~> 0.22.0' s.add_development_dependency 'simplecov-rcov', '~> 0.3.0' s.add_development_dependency 'ci_reporter', '>= 1.9.2', '~> 2.0' - s.add_development_dependency 'json_pure', '~>2.7' s.add_development_dependency 'ci_reporter_rspec', '~> 1.0' - end diff --git a/lib/uaa/util.rb b/lib/uaa/util.rb index 330cc94..24e28d4 100644 --- a/lib/uaa/util.rb +++ b/lib/uaa/util.rb @@ -11,8 +11,8 @@ # subcomponent's license, as noted in the LICENSE file. #++ -require 'json/pure' -require "base64" +require 'json' +require 'base64' require 'logger' require 'uri'