aweber 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +9 -0
- data/Gemfile.lock +28 -0
- data/LICENSE +20 -0
- data/README.textile +45 -0
- data/Rakefile +9 -0
- data/aweber.gemspec +55 -0
- data/examples/with_access_token.rb +17 -0
- data/examples/your_account.rb +26 -0
- data/lib/aweber.rb +67 -0
- data/lib/aweber/base.rb +49 -0
- data/lib/aweber/collection.rb +110 -0
- data/lib/aweber/oauth.rb +69 -0
- data/lib/aweber/resource.rb +93 -0
- data/lib/aweber/resources.rb +14 -0
- data/lib/aweber/resources/account.rb +14 -0
- data/lib/aweber/resources/broadcast.rb +29 -0
- data/lib/aweber/resources/click.rb +13 -0
- data/lib/aweber/resources/followup.rb +24 -0
- data/lib/aweber/resources/integration.rb +8 -0
- data/lib/aweber/resources/link.rb +12 -0
- data/lib/aweber/resources/list.rb +86 -0
- data/lib/aweber/resources/message.rb +20 -0
- data/lib/aweber/resources/open.rb +10 -0
- data/lib/aweber/resources/subscriber.rb +26 -0
- data/lib/aweber/resources/tracked_event.rb +13 -0
- data/lib/aweber/resources/web_form.rb +14 -0
- data/lib/aweber/resources/web_form_split_test.rb +11 -0
- data/lib/aweber/resources/web_form_split_test_component.rb +20 -0
- data/spec/base_spec.rb +23 -0
- data/spec/collection_spec.rb +40 -0
- data/spec/fixtures/account.json +8 -0
- data/spec/fixtures/accounts.json +13 -0
- data/spec/fixtures/campaign.json +23 -0
- data/spec/fixtures/campaigns.json +106 -0
- data/spec/fixtures/click.json +9 -0
- data/spec/fixtures/clicks.json +14 -0
- data/spec/fixtures/integration.json +8 -0
- data/spec/fixtures/integrations.json +45 -0
- data/spec/fixtures/link.json +10 -0
- data/spec/fixtures/links.json +75 -0
- data/spec/fixtures/list.json +11 -0
- data/spec/fixtures/lists.json +38 -0
- data/spec/fixtures/message.json +12 -0
- data/spec/fixtures/messages.json +29 -0
- data/spec/fixtures/open.json +8 -0
- data/spec/fixtures/opens.json +21 -0
- data/spec/fixtures/subscriber.json +16 -0
- data/spec/fixtures/subscribers.json +69 -0
- data/spec/fixtures/tracked_event.json +8 -0
- data/spec/fixtures/tracked_events.json +21 -0
- data/spec/fixtures/web_form.json +14 -0
- data/spec/fixtures/web_form_split_test.json +9 -0
- data/spec/fixtures/web_form_split_test_component.json +16 -0
- data/spec/fixtures/web_form_split_test_components.json +37 -0
- data/spec/fixtures/web_form_split_tests.json +41 -0
- data/spec/fixtures/web_forms.json +229 -0
- data/spec/oauth_spec.rb +96 -0
- data/spec/resource_spec.rb +61 -0
- data/spec/resources/account_spec.rb +13 -0
- data/spec/resources/campaign_spec.rb +14 -0
- data/spec/resources/click_spec.rb +14 -0
- data/spec/resources/integration_spec.rb +13 -0
- data/spec/resources/link_spec.rb +15 -0
- data/spec/resources/list_spec.rb +26 -0
- data/spec/resources/message_spec.rb +17 -0
- data/spec/resources/open_spec.rb +13 -0
- data/spec/resources/subscriber_spec.rb +25 -0
- data/spec/resources/tracked_event_spec.rb +14 -0
- data/spec/resources/web_form_spec.rb +19 -0
- data/spec/resources/web_form_split_test_component_spec.rb +20 -0
- data/spec/resources/web_form_split_test_spec.rb +14 -0
- data/spec/spec_helper.rb +52 -0
- metadata +247 -0
metadata
ADDED
@@ -0,0 +1,247 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: aweber
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 1
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
version: 1.0.0
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- AWeber Communications, Inc.
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2010-11-24 00:00:00 -05:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: oauth
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 0
|
30
|
+
version: "0"
|
31
|
+
type: :runtime
|
32
|
+
version_requirements: *id001
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: json_pure
|
35
|
+
prerelease: false
|
36
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
37
|
+
none: false
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 0
|
43
|
+
version: "0"
|
44
|
+
type: :runtime
|
45
|
+
version_requirements: *id002
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: fakeweb
|
48
|
+
prerelease: false
|
49
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
segments:
|
55
|
+
- 0
|
56
|
+
version: "0"
|
57
|
+
type: :development
|
58
|
+
version_requirements: *id003
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: rspec
|
61
|
+
prerelease: false
|
62
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
segments:
|
68
|
+
- 2
|
69
|
+
- 0
|
70
|
+
- 0
|
71
|
+
version: 2.0.0
|
72
|
+
type: :development
|
73
|
+
version_requirements: *id004
|
74
|
+
- !ruby/object:Gem::Dependency
|
75
|
+
name: yard
|
76
|
+
prerelease: false
|
77
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
78
|
+
none: false
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
segments:
|
83
|
+
- 0
|
84
|
+
- 6
|
85
|
+
- 1
|
86
|
+
version: 0.6.1
|
87
|
+
type: :development
|
88
|
+
version_requirements: *id005
|
89
|
+
description: Ruby interface to AWeber's API
|
90
|
+
email: help@aweber.com
|
91
|
+
executables: []
|
92
|
+
|
93
|
+
extensions: []
|
94
|
+
|
95
|
+
extra_rdoc_files:
|
96
|
+
- LICENSE
|
97
|
+
- README.textile
|
98
|
+
files:
|
99
|
+
- aweber.gemspec
|
100
|
+
- examples/with_access_token.rb
|
101
|
+
- examples/your_account.rb
|
102
|
+
- Gemfile
|
103
|
+
- Gemfile.lock
|
104
|
+
- lib/aweber.rb
|
105
|
+
- lib/aweber/base.rb
|
106
|
+
- lib/aweber/collection.rb
|
107
|
+
- lib/aweber/oauth.rb
|
108
|
+
- lib/aweber/resource.rb
|
109
|
+
- lib/aweber/resources.rb
|
110
|
+
- lib/aweber/resources/account.rb
|
111
|
+
- lib/aweber/resources/broadcast.rb
|
112
|
+
- lib/aweber/resources/click.rb
|
113
|
+
- lib/aweber/resources/followup.rb
|
114
|
+
- lib/aweber/resources/integration.rb
|
115
|
+
- lib/aweber/resources/link.rb
|
116
|
+
- lib/aweber/resources/list.rb
|
117
|
+
- lib/aweber/resources/message.rb
|
118
|
+
- lib/aweber/resources/open.rb
|
119
|
+
- lib/aweber/resources/subscriber.rb
|
120
|
+
- lib/aweber/resources/tracked_event.rb
|
121
|
+
- lib/aweber/resources/web_form.rb
|
122
|
+
- lib/aweber/resources/web_form_split_test.rb
|
123
|
+
- lib/aweber/resources/web_form_split_test_component.rb
|
124
|
+
- LICENSE
|
125
|
+
- Rakefile
|
126
|
+
- README.textile
|
127
|
+
- spec/base_spec.rb
|
128
|
+
- spec/collection_spec.rb
|
129
|
+
- spec/fixtures/account.json
|
130
|
+
- spec/fixtures/accounts.json
|
131
|
+
- spec/fixtures/campaign.json
|
132
|
+
- spec/fixtures/campaigns.json
|
133
|
+
- spec/fixtures/click.json
|
134
|
+
- spec/fixtures/clicks.json
|
135
|
+
- spec/fixtures/integration.json
|
136
|
+
- spec/fixtures/integrations.json
|
137
|
+
- spec/fixtures/link.json
|
138
|
+
- spec/fixtures/links.json
|
139
|
+
- spec/fixtures/list.json
|
140
|
+
- spec/fixtures/lists.json
|
141
|
+
- spec/fixtures/message.json
|
142
|
+
- spec/fixtures/messages.json
|
143
|
+
- spec/fixtures/open.json
|
144
|
+
- spec/fixtures/opens.json
|
145
|
+
- spec/fixtures/subscriber.json
|
146
|
+
- spec/fixtures/subscribers.json
|
147
|
+
- spec/fixtures/tracked_event.json
|
148
|
+
- spec/fixtures/tracked_events.json
|
149
|
+
- spec/fixtures/web_form.json
|
150
|
+
- spec/fixtures/web_form_split_test.json
|
151
|
+
- spec/fixtures/web_form_split_test_component.json
|
152
|
+
- spec/fixtures/web_form_split_test_components.json
|
153
|
+
- spec/fixtures/web_form_split_tests.json
|
154
|
+
- spec/fixtures/web_forms.json
|
155
|
+
- spec/oauth_spec.rb
|
156
|
+
- spec/resource_spec.rb
|
157
|
+
- spec/resources/account_spec.rb
|
158
|
+
- spec/resources/campaign_spec.rb
|
159
|
+
- spec/resources/click_spec.rb
|
160
|
+
- spec/resources/integration_spec.rb
|
161
|
+
- spec/resources/link_spec.rb
|
162
|
+
- spec/resources/list_spec.rb
|
163
|
+
- spec/resources/message_spec.rb
|
164
|
+
- spec/resources/open_spec.rb
|
165
|
+
- spec/resources/subscriber_spec.rb
|
166
|
+
- spec/resources/tracked_event_spec.rb
|
167
|
+
- spec/resources/web_form_spec.rb
|
168
|
+
- spec/resources/web_form_split_test_component_spec.rb
|
169
|
+
- spec/resources/web_form_split_test_spec.rb
|
170
|
+
- spec/spec_helper.rb
|
171
|
+
has_rdoc: true
|
172
|
+
homepage: http://github.com/aweber/AWeber-API-Ruby-Library
|
173
|
+
licenses: []
|
174
|
+
|
175
|
+
post_install_message:
|
176
|
+
rdoc_options: []
|
177
|
+
|
178
|
+
require_paths:
|
179
|
+
- lib
|
180
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
181
|
+
none: false
|
182
|
+
requirements:
|
183
|
+
- - ">="
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
segments:
|
186
|
+
- 0
|
187
|
+
version: "0"
|
188
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
189
|
+
none: false
|
190
|
+
requirements:
|
191
|
+
- - ">="
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
segments:
|
194
|
+
- 0
|
195
|
+
version: "0"
|
196
|
+
requirements: []
|
197
|
+
|
198
|
+
rubyforge_project:
|
199
|
+
rubygems_version: 1.3.7
|
200
|
+
signing_key:
|
201
|
+
specification_version: 3
|
202
|
+
summary: Ruby interface to AWeber's API
|
203
|
+
test_files:
|
204
|
+
- spec/base_spec.rb
|
205
|
+
- spec/collection_spec.rb
|
206
|
+
- spec/fixtures/account.json
|
207
|
+
- spec/fixtures/accounts.json
|
208
|
+
- spec/fixtures/campaign.json
|
209
|
+
- spec/fixtures/campaigns.json
|
210
|
+
- spec/fixtures/click.json
|
211
|
+
- spec/fixtures/clicks.json
|
212
|
+
- spec/fixtures/integration.json
|
213
|
+
- spec/fixtures/integrations.json
|
214
|
+
- spec/fixtures/link.json
|
215
|
+
- spec/fixtures/links.json
|
216
|
+
- spec/fixtures/list.json
|
217
|
+
- spec/fixtures/lists.json
|
218
|
+
- spec/fixtures/message.json
|
219
|
+
- spec/fixtures/messages.json
|
220
|
+
- spec/fixtures/open.json
|
221
|
+
- spec/fixtures/opens.json
|
222
|
+
- spec/fixtures/subscriber.json
|
223
|
+
- spec/fixtures/subscribers.json
|
224
|
+
- spec/fixtures/tracked_event.json
|
225
|
+
- spec/fixtures/tracked_events.json
|
226
|
+
- spec/fixtures/web_form.json
|
227
|
+
- spec/fixtures/web_form_split_test.json
|
228
|
+
- spec/fixtures/web_form_split_test_component.json
|
229
|
+
- spec/fixtures/web_form_split_test_components.json
|
230
|
+
- spec/fixtures/web_form_split_tests.json
|
231
|
+
- spec/fixtures/web_forms.json
|
232
|
+
- spec/oauth_spec.rb
|
233
|
+
- spec/resource_spec.rb
|
234
|
+
- spec/resources/account_spec.rb
|
235
|
+
- spec/resources/campaign_spec.rb
|
236
|
+
- spec/resources/click_spec.rb
|
237
|
+
- spec/resources/integration_spec.rb
|
238
|
+
- spec/resources/link_spec.rb
|
239
|
+
- spec/resources/list_spec.rb
|
240
|
+
- spec/resources/message_spec.rb
|
241
|
+
- spec/resources/open_spec.rb
|
242
|
+
- spec/resources/subscriber_spec.rb
|
243
|
+
- spec/resources/tracked_event_spec.rb
|
244
|
+
- spec/resources/web_form_spec.rb
|
245
|
+
- spec/resources/web_form_split_test_component_spec.rb
|
246
|
+
- spec/resources/web_form_split_test_spec.rb
|
247
|
+
- spec/spec_helper.rb
|