phaxio 0.2.0 → 0.3.0

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.
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gem "fakeweb", "~> 1.3.0"
4
- gem "httparty", "~> 0.9.0"
4
+ gem "httmultiparty"
5
5
  gem "rake", "~> 0.9.2.2"
6
6
 
7
7
  # Specify your gem's dependencies in phaxio.gemspec
@@ -1,4 +1,4 @@
1
- require "httparty"
1
+ require "httmultiparty"
2
2
 
3
3
  require "phaxio/version"
4
4
  require "phaxio/client"
@@ -1,5 +1,5 @@
1
1
  module Phaxio
2
- include HTTParty
2
+ include HTTMultiParty
3
3
  base_uri 'https://api.phaxio.com/v1'
4
4
 
5
5
  module Config
@@ -140,7 +140,7 @@ module Phaxio
140
140
  end
141
141
 
142
142
  def send_post(path, options)
143
- post(path, options.merge!({api_key: api_key, api_secret: api_secret}))
143
+ post(path, query: options.merge!({api_key: api_key, api_secret: api_secret}))
144
144
  end
145
145
  end
146
146
 
@@ -1,3 +1,3 @@
1
1
  module Phaxio
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = Phaxio::VERSION
17
17
 
18
- gem.add_runtime_dependency "httparty", "~> 0.9.0"
18
+ gem.add_runtime_dependency "httmultiparty"
19
19
  gem.add_development_dependency "fakeweb", "~> 1.3.0"
20
20
  gem.add_development_dependency "rake", "~> 0.9.2.2"
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phaxio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,21 +13,21 @@ cert_chain: []
13
13
  date: 2012-10-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: httparty
16
+ name: httmultiparty
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
- - - ~>
20
+ - - ! '>='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.9.0
22
+ version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  none: false
27
27
  requirements:
28
- - - ~>
28
+ - - ! '>='
29
29
  - !ruby/object:Gem::Version
30
- version: 0.9.0
30
+ version: '0'
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: fakeweb
33
33
  requirement: !ruby/object:Gem::Requirement