active_campaign 0.1.5 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 104df53715ce913f6d497ae4fe571eefe26e840e
4
- data.tar.gz: 6f0977e741a5147e473280012d2e34de5829283d
3
+ metadata.gz: 5e1c09d18cb84b9d4fbacc18ccb1a5a87fa085c5
4
+ data.tar.gz: 6acb3891a5ecdf400b4a6276160b34742322c59f
5
5
  SHA512:
6
- metadata.gz: 531e1b7629b4e1a891f6e1c6042c919745f5a2e05cbc305218c78db0fb40a5841b4bfd1197911aea2d7d9ea34a1fb6c08d0e837973a4494c98a7ad40068f4978
7
- data.tar.gz: 890848b6df5847cf90f196514aefde062e70fd3334b1433e7981c4324fe5b201d5551827ea4e9a3afeed23f72909dafa050cdfc29ffe30348ce5491060784509
6
+ metadata.gz: 9036c963a37285703fee254e30ac2f0f396a356a8b454c8f109bbc304fe1b711554ebb549c058029f1439ad4ce9f989a17a918727da5d81f134280f578d744fc
7
+ data.tar.gz: fcd5a542e0c33e9310f716051361d2983eb930a6778d752e7fbe4f027614b6437514d52d8434555444231e04f51c2d00dcb80157e9c07ef6e69485e3e9351b3f
data/Gemfile CHANGED
@@ -18,7 +18,7 @@ group :test do
18
18
  gem 'simplecov', :require => false
19
19
  gem 'test-queue', '~> 0.1.3'
20
20
  gem 'vcr', '~> 2.6.0'
21
- gem 'webmock', '~> 1.14.0'
21
+ gem 'webmock', '~> 1.13.0'
22
22
  end
23
23
 
24
24
  gemspec
@@ -31,7 +31,7 @@ module ActiveCampaign
31
31
  #
32
32
  # @param url [String] The path, relative to {#api_endpoint}
33
33
  # @param options [Hash] Query and header params for request
34
- # @return [Sawyer::Resource]
34
+ # @return [Hash]
35
35
  def get(api_method, options = {})
36
36
  request :get, api_method, options
37
37
  end
@@ -40,7 +40,7 @@ module ActiveCampaign
40
40
  #
41
41
  # @param url [String] The path, relative to {#api_endpoint}
42
42
  # @param options [Hash] Body and header params for request
43
- # @return [Sawyer::Resource]
43
+ # @return [Hash]
44
44
  def post(api_method, options = {})
45
45
  request :post, api_method, options
46
46
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveCampaign
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.7"
3
3
  end
@@ -14,9 +14,9 @@ describe ActiveCampaign::Client::Contacts, :vcr do
14
14
  email: 'mhenrixon@me.com',
15
15
  first_name: 'Mikael',
16
16
  last_name: 'Henriksson',
17
- "p" => {"1" => 1},
18
- "status" => {"1" => 1},
19
- "instantresponders" => {"1" => 1},
17
+ "p" => {1 => 1},
18
+ "status" => {1 => 1},
19
+ "instantresponders" => {1 => 1},
20
20
  ip4: '127.0.0.1',
21
21
  }.stringify_keys
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_campaign
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikael Henriksson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-16 00:00:00.000000000 Z
11
+ date: 2013-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpi