constant_contact 1.3.0 → 1.3.1
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/lib/constant_contact/version.rb +1 -1
- metadata +5 -21
- data/test/constant_contact/fifty_test.rb +0 -27
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: constant_contact
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 1.3.
|
9
|
+
- 1
|
10
|
+
version: 1.3.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tim Case
|
@@ -152,13 +152,10 @@ files:
|
|
152
152
|
- lib/constant_contact/member.rb
|
153
153
|
- lib/constant_contact/version.rb
|
154
154
|
- lib/constant_contact.rb
|
155
|
-
- MIT-LICENSE
|
156
|
-
- README.md
|
157
155
|
- test/constant_contact/activity_test.rb
|
158
156
|
- test/constant_contact/atom_format_test.rb
|
159
157
|
- test/constant_contact/base_test.rb
|
160
158
|
- test/constant_contact/contact_test.rb
|
161
|
-
- test/constant_contact/fifty_test.rb
|
162
159
|
- test/constant_contact/list_test.rb
|
163
160
|
- test/constant_contact/member_test.rb
|
164
161
|
- test/constant_contact_test.rb
|
@@ -175,6 +172,8 @@ files:
|
|
175
172
|
- test/fixtures/single_contact_by_id.xml
|
176
173
|
- test/fixtures/single_contact_by_id_with_no_contactlists.xml
|
177
174
|
- test/test_helper.rb
|
175
|
+
- MIT-LICENSE
|
176
|
+
- README.md
|
178
177
|
has_rdoc: true
|
179
178
|
homepage: http://github.com/idris/constant_contact
|
180
179
|
licenses: []
|
@@ -216,20 +215,5 @@ test_files:
|
|
216
215
|
- test/constant_contact/atom_format_test.rb
|
217
216
|
- test/constant_contact/base_test.rb
|
218
217
|
- test/constant_contact/contact_test.rb
|
219
|
-
- test/constant_contact/fifty_test.rb
|
220
218
|
- test/constant_contact/list_test.rb
|
221
219
|
- test/constant_contact/member_test.rb
|
222
|
-
- test/constant_contact_test.rb
|
223
|
-
- test/fixtures/all_contacts.xml
|
224
|
-
- test/fixtures/contactlistscollection.xml
|
225
|
-
- test/fixtures/contactlistsindividuallist.xml
|
226
|
-
- test/fixtures/memberscollection.xml
|
227
|
-
- test/fixtures/multiple_contacts_by_emails.xml
|
228
|
-
- test/fixtures/new_list.xml
|
229
|
-
- test/fixtures/nocontent.xml
|
230
|
-
- test/fixtures/senteventscollection.xml
|
231
|
-
- test/fixtures/service_document.xml
|
232
|
-
- test/fixtures/single_contact_by_email.xml
|
233
|
-
- test/fixtures/single_contact_by_id.xml
|
234
|
-
- test/fixtures/single_contact_by_id_with_no_contactlists.xml
|
235
|
-
- test/test_helper.rb
|
@@ -1,27 +0,0 @@
|
|
1
|
-
require File.dirname(__FILE__) + '/../test_helper'
|
2
|
-
|
3
|
-
class FiftyTest < Test::Unit::TestCase
|
4
|
-
|
5
|
-
context 'find more than 50' do
|
6
|
-
setup do
|
7
|
-
ConstantContact::Base.api_key = "fc2113f8-9336-4886-9b04-61aa5092d428"
|
8
|
-
# ConstantContact::Base.user = "dtjohnsospam"
|
9
|
-
# ConstantContact::Base.password = "qwerty7"
|
10
|
-
ConstantContact::Base.user = "ChiefExperts"
|
11
|
-
ConstantContact::Base.password = "danbcr1234"
|
12
|
-
end
|
13
|
-
|
14
|
-
should 'return more than 50 members of list' do
|
15
|
-
FakeWeb.allow_net_connect = true
|
16
|
-
# lists = ConstantContact::List.find(:all, :params => { :list_id => 3 })
|
17
|
-
# lists.each do |list|
|
18
|
-
# next unless list.respond_to? :SortOrder
|
19
|
-
members = ConstantContact::Member.find(:all, :params => { :list_id => 3 })
|
20
|
-
assert members.size > 50
|
21
|
-
# assert_equal list.contact_count.to_i, members.size
|
22
|
-
# end
|
23
|
-
end
|
24
|
-
|
25
|
-
end
|
26
|
-
|
27
|
-
end
|