soothsayer 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ require "soothsayer/hosted_model"
3
3
  require "soothsayer/trained_model"
4
4
  require 'httparty'
5
5
  require 'google/api_client'
6
- require 'multi_json'
6
+ require 'json'
7
7
 
8
8
  module Soothsayer
9
9
  def self.credentials
@@ -13,7 +13,7 @@ module Soothsayer
13
13
  "Content-Type" => "application/json"
14
14
  }
15
15
  }
16
- options[:body] = MultiJson.dump(params) unless params.nil?
16
+ options[:body] = JSON.dump(params) unless params.nil?
17
17
  options
18
18
  end
19
19
  end
@@ -37,7 +37,7 @@ module Soothsayer
37
37
  "Content-Type" => "application/json"
38
38
  }
39
39
  }
40
- options[:body] = MultiJson.dump(params) unless params.nil?
40
+ options[:body] = JSON.dump(params) unless params.nil?
41
41
  options
42
42
  end
43
43
  end
@@ -1,3 +1,3 @@
1
1
  module Soothsayer
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -22,5 +22,5 @@ Gem::Specification.new do |s|
22
22
  # s.add_development_dependency "rspec"
23
23
  s.add_runtime_dependency "httparty"
24
24
  s.add_runtime_dependency "google-api-client"
25
- s.add_runtime_dependency "multi_json"
25
+ s.add_runtime_dependency "json"
26
26
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: soothsayer
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Marc Love
@@ -35,7 +35,7 @@ dependencies:
35
35
  type: :runtime
36
36
  version_requirements: *id002
37
37
  - !ruby/object:Gem::Dependency
38
- name: multi_json
38
+ name: json
39
39
  prerelease: false
40
40
  requirement: &id003 !ruby/object:Gem::Requirement
41
41
  none: false