marketo-api-ruby 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ M2UzZThmZDMxZGM1NDEwNTU1ZjI4MDJiZjc3ZDE2ZjNmNTc3Mzg0ZQ==
5
+ data.tar.gz: !binary |-
6
+ MDNlMTkxMjg5ZDAzNzBjOTA1NGIzMzU2NjJkMTI2Yjk3MzdmMGFhYQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ NjUwN2FkYTQ2MDFiOTM4YmQxNGRjMTkyMzczYzYyNTYzMzYyZmUxM2Q0ZDFh
10
+ YjRmZTA3MTJkZjNhMjkwN2QzYzgzYWRiNTk1ZjIxZWU2MTNmNjI5MjgyYjdh
11
+ ZDcwM2MzMjY4Y2IwOTA3NTg3MGQ3ZDQ5YWNlMTNjMzEzZDUzMjE=
12
+ data.tar.gz: !binary |-
13
+ ZGE1MjQyNzBhOTFmOGZiYzcyZTFlZDYyYjc2YWVmY2NiMGMwOTRkMzdhMDhi
14
+ ZmI1ZDk3ZTQ0ZTIyZTAxZTRmN2VmNmZhODhjMTU0YzNkMDg1NmM0MDBiNzk5
15
+ MTlkZDExMGNjOTg3MTc1ODFlOTY4ZThiOGNjNDUwYWQwMGE1YTc=
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -10,8 +10,7 @@ rvm:
10
10
  - rbx-2
11
11
  matrix:
12
12
  allow_failures:
13
- - rvm:
14
- - rbx-2
13
+ - rvm: rbx-2
15
14
  gemfile:
16
15
  - Gemfile
17
16
  before_script:
@@ -26,8 +25,13 @@ script: rake travis
26
25
  after_script:
27
26
  - rake travis:after -t
28
27
  notifications:
29
- recipients:
30
- - austin@clearfit.com
31
28
  email:
32
- - on_success: change
33
- - on_failure: always
29
+ recipients:
30
+ - devs@clearfit.com
31
+ on_success: change
32
+ on_failure: always
33
+ env:
34
+ global:
35
+ - secure: EeWqQpeDNLg34HzfMtGxL327DODTQ1jTwcTpzJ7ZBX/ZUeXyAHVgeDPudg1YU4lDohE
36
+ - secure: ljohOhWJ0Yx9oL4EWd/22EX//Rn7dCiFpYNKDqeyuPNEc28UuXHZKuRNgMx1QUVGzBe
37
+ - secure: V04rbN1i+o3vd35pj89DO/odzBcix6dKiNyIxDWkiLK41M5cyCrZpEibyiEI0qintRq
@@ -1,3 +1,10 @@
1
+ === 0.9.2 / 2014-08-01
2
+
3
+ * Infrastructure:
4
+ * Improved documentation.
5
+ * Added Guard.
6
+ * Added integration tests for the ClearFit repository.
7
+
1
8
  === 0.9.1 / 2014-05-15
2
9
 
3
10
  * Bug Fixes:
data/Rakefile CHANGED
@@ -31,6 +31,8 @@ spec = Hoe.spec "marketo-api-ruby" do
31
31
  self.extra_dev_deps << ['hoe-travis', '~> 1.2']
32
32
  self.extra_dev_deps << ['minitest', '~> 5.3']
33
33
  self.extra_dev_deps << ['rake', '~> 10.0']
34
+ self.extra_dev_deps << ['guard-minitest', '~> 2.3']
35
+ self.extra_dev_deps << ['guard', '~> 2.6']
34
36
  self.extra_dev_deps << ['simplecov', '~> 0.7']
35
37
  self.extra_dev_deps << ['coveralls', '~> 0.7']
36
38
  end
@@ -6,7 +6,7 @@
6
6
  #
7
7
  # require 'marketo_api'
8
8
  module MarketoAPI
9
- VERSION = "0.9.1"
9
+ VERSION = "0.9.2"
10
10
 
11
11
  MINIMIZE_HASH = ->(k, v) { #:nodoc:
12
12
  v.nil? or (v.respond_to?(:empty?) and v.empty?)
@@ -1,5 +1,10 @@
1
- require 'savon'
2
- require 'openssl'
1
+ begin
2
+ verbose, $VERBOSE = $VERBOSE, nil
3
+ require 'savon'
4
+ require 'openssl'
5
+ ensure
6
+ $VERBOSE = verbose
7
+ end
3
8
 
4
9
  ##
5
10
  # The client to the Marketo SOAP API.
@@ -3,13 +3,24 @@ require_relative 'lead'
3
3
 
4
4
  # Implements Lead operations for Marketo.
5
5
  class MarketoAPI::Leads < MarketoAPI::ClientProxy
6
+ # Creates a new lead with a proxy to this Leads instance.
7
+ #
8
+ # :call-seq:
9
+ # new -> Lead
10
+ # new { |lead| ... } -> Lead
11
+ # new(options) -> Lead
12
+ # new(options) { |lead| ... } -> Lead
13
+ def new(options = {}, &block)
14
+ MarketoAPI::Lead.new(options.merge(proxy: self), &block)
15
+ end
16
+
6
17
  # Implements
7
18
  # {+getLead+}[http://developers.marketo.com/documentation/soap/getlead/],
8
19
  # returning a MarketoAPI::Lead object.
9
20
  #
10
21
  # :call-seq:
11
- # get(lead_key)
12
- # get(key_type, key_value)
22
+ # get(lead_key) -> Lead
23
+ # get(key_type, key_value) -> Lead
13
24
  def get(type_or_key, value = nil)
14
25
  key = case type_or_key
15
26
  when Hash
@@ -37,6 +48,9 @@ class MarketoAPI::Leads < MarketoAPI::ClientProxy
37
48
  # Implements
38
49
  # {+syncLead+}[http://developers.marketo.com/documentation/soap/synclead/],
39
50
  # returning a MarketoAPI::Lead object.
51
+ #
52
+ # :call-seq:
53
+ # sync(Lead) -> Lead
40
54
  def sync(lead_record)
41
55
  extract_from_response(
42
56
  call(:sync_lead, transform_param(__method__, lead_record)),
@@ -59,8 +73,8 @@ class MarketoAPI::Leads < MarketoAPI::ClientProxy
59
73
  # false</tt>.
60
74
  #
61
75
  # :call-seq:
62
- # sync_multiple(leads)
63
- # sync_multiple(leads, dedup_enabled: false)
76
+ # sync_multiple(leads) -> array of Lead
77
+ # sync_multiple(leads, dedup_enabled: false) -> array of Lead
64
78
  def sync_multiple(leads, options = { dedup_enabled: true })
65
79
  response = call(
66
80
  :sync_multiple_leads,
@@ -96,43 +110,50 @@ class MarketoAPI::Leads < MarketoAPI::ClientProxy
96
110
 
97
111
  ##
98
112
  # :method: get_by_cookie
99
- # :call-seq: get_by_cookie(cookie)
113
+ # :call-seq:
114
+ # get_by_cookie(cookie) -> Lead
100
115
  #
101
116
  # Gets the Lead by the provided Marketo Munchkin cookie.
102
117
 
103
118
  ##
104
119
  # :method: get_by_email
105
- # :call-seq: get_by_email(email)
120
+ # :call-seq:
121
+ # get_by_email(email) -> Lead
106
122
  #
107
123
  # Gets the Lead by the provided lead email.
108
124
 
109
125
  ##
110
126
  # :method: get_by_lead_owner_email
111
- # :call-seq: get_by_lead_owner_email(lead_owner_email)
127
+ # :call-seq:
128
+ # get_by_lead_owner_email(lead_owner_email) -> Lead
112
129
  #
113
130
  # Gets the Lead by the provided Lead Owner email.
114
131
 
115
132
  ##
116
133
  # :method: get_by_salesforce_account_id
117
- # :call-seq: get_by_salesforce_account_id(salesforce_account_id)
134
+ # :call-seq:
135
+ # get_by_salesforce_account_id(salesforce_account_id) -> Lead
118
136
  #
119
137
  # Gets the Lead by the provided SFDC Account ID.
120
138
 
121
139
  ##
122
140
  # :method: get_by_salesforce_contact_id
123
- # :call-seq: get_by_salesforce_contact_id(salesforce_contact_id)
141
+ # :call-seq:
142
+ # get_by_salesforce_contact_id(salesforce_contact_id) -> Lead
124
143
  #
125
144
  # Gets the Lead by the provided SFDC Contact ID.
126
145
 
127
146
  ##
128
147
  # :method: get_by_salesforce_lead_id
129
- # :call-seq: get_by_salesforce_lead_id(salesforce_lead_id)
148
+ # :call-seq:
149
+ # get_by_salesforce_lead_id(salesforce_lead_id) -> Lead
130
150
  #
131
151
  # Gets the Lead by the provided SFDC Lead ID.
132
152
 
133
153
  ##
134
154
  # :method: get_by_salesforce_lead_owner_id
135
- # :call-seq: get_by_salesforce_lead_owner_id(salesforce_lead_owner_id)
155
+ # :call-seq:
156
+ # get_by_salesforce_lead_owner_id(salesforce_lead_owner_id) -> Lead
136
157
  #
137
158
  # Gets the Lead by the provided SFDC Lead Owner ID.
138
159
 
@@ -0,0 +1,109 @@
1
+ # -*- ruby encoding: utf-8 -*-
2
+
3
+ if ENV['MARKETO_USER_ID']
4
+ require "minitest_helper"
5
+ begin
6
+ verbose, $VERBOSE = $VERBOSE, nil
7
+ require 'debugger'
8
+ rescue LoadError
9
+ ensure
10
+ $VERBOSE = verbose
11
+ end
12
+
13
+ $run_id = Time.now.strftime('%Y%j-%H%M%S')
14
+
15
+ module Integration
16
+ class TestMarketoAPILeads < Minitest::Test
17
+ include MarketoIntegrationHelper
18
+
19
+ # Integration tests depend on a particular order.
20
+ def self.test_order
21
+ :alpha
22
+ end
23
+
24
+ attr_reader :subject, :email
25
+
26
+ def setup
27
+ super
28
+ @subject = @client.leads
29
+ @email = "bit#{$run_id}+integration@clearfit.org"
30
+ @fault = {
31
+ :fault => {
32
+ :faultcode => 'SOAP-ENV:Client',
33
+ :faultstring => '20103 - Lead not found',
34
+ :detail => {
35
+ :service_exception => {
36
+ :name => "mktServiceException",
37
+ :message => "No lead found with EMAIL = #{@email} (20103)",
38
+ :code => "20103",
39
+ :"@xmlns:ns1" => "http://www.marketo.com/mktows/"
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+
46
+ def test_01_lead_is_missing
47
+ assert_nil subject.get_by_email(@email)
48
+ assert subject.error?
49
+
50
+ assert_equal @fault, subject.error.to_hash
51
+ end
52
+
53
+ def test_02_create_lead
54
+ lead = subject.new(email: @email) do |l|
55
+ l[:FirstName] = 'George'
56
+ l[:LastName] = 'of the Jungle'
57
+ end
58
+ refute_nil lead.sync!
59
+ refute_nil lead.id
60
+ end
61
+
62
+ def test_03_load_lead
63
+ lead = subject.get_by_email(@email)
64
+
65
+ refute_nil lead
66
+ refute_nil lead.id
67
+ assert_equal 'George', lead[:FirstName]
68
+ assert_equal @email, lead[:Email]
69
+ end
70
+
71
+ def test_04_change_lead_name
72
+ george = subject.get_by_email(@email)
73
+ george[:FirstName] = 'Ursula'
74
+ george[:LastName] = 'Stanhope'
75
+
76
+ ursula = george.sync
77
+ refute_equal george.object_id, ursula.object_id
78
+ assert_equal george.id, ursula.id
79
+ assert_equal george[:FirstName], ursula[:FirstName]
80
+ assert_equal george[:LastName], 'Stanhope'
81
+
82
+ assert_equal subject.get_by_email(@email)[:LastName], 'Stanhope'
83
+ end
84
+
85
+ def test_05_change_lead_email
86
+ lead = subject.get_by_email(@email)
87
+ email = @email.gsub(/\.org/, '.com')
88
+ lead[:Email] = email
89
+
90
+ lead2 = lead.sync
91
+ refute_equal lead.object_id, lead2.object_id
92
+ assert_equal lead.id, lead2.id
93
+ assert_equal lead[:FirstName], lead2[:FirstName]
94
+ assert_equal lead[:LastName], 'Stanhope'
95
+ assert_equal lead2[:Email], email
96
+
97
+ assert_equal subject.get_by_email(email)[:LastName], 'Stanhope'
98
+
99
+ test_01_lead_is_missing
100
+
101
+ lead[:Email] = @email
102
+
103
+ refute_nil lead.sync!
104
+ end
105
+ end
106
+ end
107
+ else
108
+ puts 'No MARKETO_USER_ID'
109
+ end
@@ -12,7 +12,37 @@ gem 'minitest'
12
12
  require 'minitest/autorun'
13
13
  try_require 'minitest/emoji'
14
14
 
15
+ module HashKeyAssertions
16
+ def assert_missing_keys object, *keys
17
+ keys.each { |key| refute object.has_key? key }
18
+ end
19
+
20
+ def refute_missing_keys object, *keys
21
+ keys.each { |key| assert object.has_key? key }
22
+ end
23
+ end
24
+
25
+ module ExceptionMessageAssertions
26
+ def assert_raises_with_message exception_class, message, &block
27
+ exception_message = nil
28
+ assert_raises(exception_class) do
29
+ begin
30
+ block.call
31
+ rescue exception_class => exception
32
+ exception_message = exception.message
33
+ raise
34
+ end
35
+ end
36
+ assert_equal message, exception_message
37
+ end
38
+ end
39
+
15
40
  module MarketoTestHelper
41
+ def self.included(mod)
42
+ mod.send(:include, HashKeyAssertions)
43
+ mod.send(:include, ExceptionMessageAssertions)
44
+ end
45
+
16
46
  ARGS_STUB = ->(*args) {
17
47
  args = args.flatten(1)
18
48
 
@@ -58,25 +88,26 @@ module MarketoTestHelper
58
88
  end
59
89
  end
60
90
  alias_method :lead_keys, :lead_key
91
+ end
61
92
 
62
- def assert_missing_keys object, *keys
63
- keys.each { |key| refute object.has_key? key }
93
+ module MarketoIntegrationHelper
94
+ def self.included(mod)
95
+ puts "#{mod.name} will be run."
96
+ mod.send(:include, HashKeyAssertions)
97
+ mod.send(:include, ExceptionMessageAssertions)
64
98
  end
65
99
 
66
- def refute_missing_keys object, *keys
67
- keys.each { |key| assert object.has_key? key }
100
+ attr_reader :client
101
+
102
+ def setup
103
+ super
104
+ @client = MarketoAPI.client(api_subdomain: ENV['MARKETO_SUBDOMAIN'],
105
+ user_id: ENV['MARKETO_USER_ID'],
106
+ encryption_key: ENV['MARKETO_ENCRYPTION_KEY'])
107
+ @verbose, $VERBOSE = $VERBOSE, nil
68
108
  end
69
109
 
70
- def assert_raises_with_message exception_class, message, &block
71
- exception_message = nil
72
- assert_raises(exception_class) do
73
- begin
74
- block.call
75
- rescue exception_class => exception
76
- exception_message = exception.message
77
- raise
78
- end
79
- end
80
- assert_equal message, exception_message
110
+ def teardown
111
+ $VERBOSE = @verbose
81
112
  end
82
113
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marketo-api-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
5
- prerelease:
4
+ version: 0.9.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Austin Ziegler
@@ -37,12 +36,11 @@ cert_chain:
37
36
  SHkzay9FVEZoaSs3cElVV2xGbzBpbXJkeUxoZCtKdzNib1ZqM0NtdnloY3dt
38
37
  cG9NMEs5bApBT21yVWlFbFVxTE9aQT09Ci0tLS0tRU5EIENFUlRJRklDQVRF
39
38
  LS0tLS0K
40
- date: 2014-05-15 00:00:00.000000000 Z
39
+ date: 2014-08-01 00:00:00.000000000 Z
41
40
  dependencies:
42
41
  - !ruby/object:Gem::Dependency
43
42
  name: savon
44
43
  requirement: !ruby/object:Gem::Requirement
45
- none: false
46
44
  requirements:
47
45
  - - ~>
48
46
  - !ruby/object:Gem::Version
@@ -50,7 +48,6 @@ dependencies:
50
48
  type: :runtime
51
49
  prerelease: false
52
50
  version_requirements: !ruby/object:Gem::Requirement
53
- none: false
54
51
  requirements:
55
52
  - - ~>
56
53
  - !ruby/object:Gem::Version
@@ -58,23 +55,20 @@ dependencies:
58
55
  - !ruby/object:Gem::Dependency
59
56
  name: minitest
60
57
  requirement: !ruby/object:Gem::Requirement
61
- none: false
62
58
  requirements:
63
59
  - - ~>
64
60
  - !ruby/object:Gem::Version
65
- version: '5.3'
61
+ version: '5.4'
66
62
  type: :development
67
63
  prerelease: false
68
64
  version_requirements: !ruby/object:Gem::Requirement
69
- none: false
70
65
  requirements:
71
66
  - - ~>
72
67
  - !ruby/object:Gem::Version
73
- version: '5.3'
68
+ version: '5.4'
74
69
  - !ruby/object:Gem::Dependency
75
70
  name: rdoc
76
71
  requirement: !ruby/object:Gem::Requirement
77
- none: false
78
72
  requirements:
79
73
  - - ~>
80
74
  - !ruby/object:Gem::Version
@@ -82,7 +76,6 @@ dependencies:
82
76
  type: :development
83
77
  prerelease: false
84
78
  version_requirements: !ruby/object:Gem::Requirement
85
- none: false
86
79
  requirements:
87
80
  - - ~>
88
81
  - !ruby/object:Gem::Version
@@ -90,7 +83,6 @@ dependencies:
90
83
  - !ruby/object:Gem::Dependency
91
84
  name: hoe-doofus
92
85
  requirement: !ruby/object:Gem::Requirement
93
- none: false
94
86
  requirements:
95
87
  - - ~>
96
88
  - !ruby/object:Gem::Version
@@ -98,7 +90,6 @@ dependencies:
98
90
  type: :development
99
91
  prerelease: false
100
92
  version_requirements: !ruby/object:Gem::Requirement
101
- none: false
102
93
  requirements:
103
94
  - - ~>
104
95
  - !ruby/object:Gem::Version
@@ -106,7 +97,6 @@ dependencies:
106
97
  - !ruby/object:Gem::Dependency
107
98
  name: hoe-gemspec2
108
99
  requirement: !ruby/object:Gem::Requirement
109
- none: false
110
100
  requirements:
111
101
  - - ~>
112
102
  - !ruby/object:Gem::Version
@@ -114,7 +104,6 @@ dependencies:
114
104
  type: :development
115
105
  prerelease: false
116
106
  version_requirements: !ruby/object:Gem::Requirement
117
- none: false
118
107
  requirements:
119
108
  - - ~>
120
109
  - !ruby/object:Gem::Version
@@ -122,7 +111,6 @@ dependencies:
122
111
  - !ruby/object:Gem::Dependency
123
112
  name: hoe-git
124
113
  requirement: !ruby/object:Gem::Requirement
125
- none: false
126
114
  requirements:
127
115
  - - ~>
128
116
  - !ruby/object:Gem::Version
@@ -130,7 +118,6 @@ dependencies:
130
118
  type: :development
131
119
  prerelease: false
132
120
  version_requirements: !ruby/object:Gem::Requirement
133
- none: false
134
121
  requirements:
135
122
  - - ~>
136
123
  - !ruby/object:Gem::Version
@@ -138,7 +125,6 @@ dependencies:
138
125
  - !ruby/object:Gem::Dependency
139
126
  name: hoe-rubygems
140
127
  requirement: !ruby/object:Gem::Requirement
141
- none: false
142
128
  requirements:
143
129
  - - ~>
144
130
  - !ruby/object:Gem::Version
@@ -146,7 +132,6 @@ dependencies:
146
132
  type: :development
147
133
  prerelease: false
148
134
  version_requirements: !ruby/object:Gem::Requirement
149
- none: false
150
135
  requirements:
151
136
  - - ~>
152
137
  - !ruby/object:Gem::Version
@@ -154,7 +139,6 @@ dependencies:
154
139
  - !ruby/object:Gem::Dependency
155
140
  name: hoe-travis
156
141
  requirement: !ruby/object:Gem::Requirement
157
- none: false
158
142
  requirements:
159
143
  - - ~>
160
144
  - !ruby/object:Gem::Version
@@ -162,7 +146,6 @@ dependencies:
162
146
  type: :development
163
147
  prerelease: false
164
148
  version_requirements: !ruby/object:Gem::Requirement
165
- none: false
166
149
  requirements:
167
150
  - - ~>
168
151
  - !ruby/object:Gem::Version
@@ -170,7 +153,6 @@ dependencies:
170
153
  - !ruby/object:Gem::Dependency
171
154
  name: rake
172
155
  requirement: !ruby/object:Gem::Requirement
173
- none: false
174
156
  requirements:
175
157
  - - ~>
176
158
  - !ruby/object:Gem::Version
@@ -178,15 +160,41 @@ dependencies:
178
160
  type: :development
179
161
  prerelease: false
180
162
  version_requirements: !ruby/object:Gem::Requirement
181
- none: false
182
163
  requirements:
183
164
  - - ~>
184
165
  - !ruby/object:Gem::Version
185
166
  version: '10.0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: guard-minitest
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ~>
172
+ - !ruby/object:Gem::Version
173
+ version: '2.3'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ~>
179
+ - !ruby/object:Gem::Version
180
+ version: '2.3'
181
+ - !ruby/object:Gem::Dependency
182
+ name: guard
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ~>
186
+ - !ruby/object:Gem::Version
187
+ version: '2.6'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ~>
193
+ - !ruby/object:Gem::Version
194
+ version: '2.6'
186
195
  - !ruby/object:Gem::Dependency
187
196
  name: simplecov
188
197
  requirement: !ruby/object:Gem::Requirement
189
- none: false
190
198
  requirements:
191
199
  - - ~>
192
200
  - !ruby/object:Gem::Version
@@ -194,7 +202,6 @@ dependencies:
194
202
  type: :development
195
203
  prerelease: false
196
204
  version_requirements: !ruby/object:Gem::Requirement
197
- none: false
198
205
  requirements:
199
206
  - - ~>
200
207
  - !ruby/object:Gem::Version
@@ -202,7 +209,6 @@ dependencies:
202
209
  - !ruby/object:Gem::Dependency
203
210
  name: coveralls
204
211
  requirement: !ruby/object:Gem::Requirement
205
- none: false
206
212
  requirements:
207
213
  - - ~>
208
214
  - !ruby/object:Gem::Version
@@ -210,7 +216,6 @@ dependencies:
210
216
  type: :development
211
217
  prerelease: false
212
218
  version_requirements: !ruby/object:Gem::Requirement
213
- none: false
214
219
  requirements:
215
220
  - - ~>
216
221
  - !ruby/object:Gem::Version
@@ -218,19 +223,17 @@ dependencies:
218
223
  - !ruby/object:Gem::Dependency
219
224
  name: hoe
220
225
  requirement: !ruby/object:Gem::Requirement
221
- none: false
222
226
  requirements:
223
227
  - - ~>
224
228
  - !ruby/object:Gem::Version
225
- version: '3.11'
229
+ version: '3.12'
226
230
  type: :development
227
231
  prerelease: false
228
232
  version_requirements: !ruby/object:Gem::Requirement
229
- none: false
230
233
  requirements:
231
234
  - - ~>
232
235
  - !ruby/object:Gem::Version
233
- version: '3.11'
236
+ version: '3.12'
234
237
  description: ! 'MarketoAPI (marketo-api-ruby) provides a native Ruby interface to
235
238
  the
236
239
 
@@ -287,6 +290,7 @@ files:
287
290
  - lib/marketo_api/lists.rb
288
291
  - lib/marketo_api/mobject.rb
289
292
  - lib/marketo_api/mobjects.rb
293
+ - test/integration/test_leads.rb
290
294
  - test/marketo_api/test_campaigns.rb
291
295
  - test/marketo_api/test_client.rb
292
296
  - test/marketo_api/test_lead.rb
@@ -299,6 +303,7 @@ files:
299
303
  homepage: https://github.com/ClearFit/marketo-api-ruby
300
304
  licenses:
301
305
  - MIT
306
+ metadata: {}
302
307
  post_install_message:
303
308
  rdoc_options:
304
309
  - --main
@@ -306,25 +311,24 @@ rdoc_options:
306
311
  require_paths:
307
312
  - lib
308
313
  required_ruby_version: !ruby/object:Gem::Requirement
309
- none: false
310
314
  requirements:
311
315
  - - ! '>='
312
316
  - !ruby/object:Gem::Version
313
317
  version: 1.9.2
314
318
  required_rubygems_version: !ruby/object:Gem::Requirement
315
- none: false
316
319
  requirements:
317
320
  - - ! '>='
318
321
  - !ruby/object:Gem::Version
319
322
  version: '0'
320
323
  requirements: []
321
324
  rubyforge_project:
322
- rubygems_version: 1.8.23.2
325
+ rubygems_version: 2.4.1
323
326
  signing_key:
324
- specification_version: 3
327
+ specification_version: 4
325
328
  summary: MarketoAPI (marketo-api-ruby) provides a native Ruby interface to the {Marketo
326
329
  SOAP API}[http://developers.marketo.com/documentation/soap/], using {savon}[https://github.com/savonrb/savon]
327
330
  test_files:
331
+ - test/integration/test_leads.rb
328
332
  - test/marketo_api/test_campaigns.rb
329
333
  - test/marketo_api/test_client.rb
330
334
  - test/marketo_api/test_lead.rb
metadata.gz.sig CHANGED
Binary file