chubasaweber 0.0.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/.document +5 -0
- data/.gitignore +21 -0
- data/Gemfile +2 -0
- data/LICENSE +20 -0
- data/README.rdoc +17 -0
- data/README.textile +65 -0
- data/Rakefile +53 -0
- data/VERSION +1 -0
- data/aweber.gemspec +53 -0
- data/chubasaweber.gemspec +144 -0
- data/examples/with_access_token.rb +17 -0
- data/examples/your_account.rb +26 -0
- data/lib/aweber.rb +66 -0
- data/lib/aweber/base.rb +57 -0
- data/lib/aweber/collection.rb +110 -0
- data/lib/aweber/oauth.rb +69 -0
- data/lib/aweber/resource.rb +131 -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 +28 -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/lib/chubasaweber.rb +66 -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 +80 -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 +33 -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
- data/test/helper.rb +10 -0
- data/test/test_chubasaweber.rb +7 -0
- metadata +181 -0
@@ -0,0 +1,80 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
2
|
+
|
3
|
+
class FakeResource < AWeber::Resource
|
4
|
+
attr_accessor :foo
|
5
|
+
api_attr :name, :writable => true
|
6
|
+
alias_attribute :bar, :foo
|
7
|
+
has_many :lists
|
8
|
+
end
|
9
|
+
|
10
|
+
describe AWeber::Resource do
|
11
|
+
|
12
|
+
before :each do
|
13
|
+
@oauth = AWeber::OAuth.new("token", "secret")
|
14
|
+
@aweber = AWeber::Base.new(@oauth)
|
15
|
+
end
|
16
|
+
|
17
|
+
it "should alias attributes" do
|
18
|
+
fake = FakeResource.new(@aweber)
|
19
|
+
fake.foo = "abc"
|
20
|
+
fake.bar.should == "abc"
|
21
|
+
end
|
22
|
+
|
23
|
+
it "should create collections" do
|
24
|
+
@aweber.stub(:expand) { "https://api.aweber.com/1.0/accounts/1/lists" }
|
25
|
+
fake = FakeResource.new(@aweber)
|
26
|
+
fake.lists.should be_an AWeber::Collection
|
27
|
+
end
|
28
|
+
|
29
|
+
it "should have the standard resource attributes" do
|
30
|
+
fake = FakeResource.new(@aweber)
|
31
|
+
fake.should respond_to :id
|
32
|
+
fake.should respond_to :http_etag
|
33
|
+
fake.should respond_to :self_link
|
34
|
+
fake.should respond_to :resource_type_link
|
35
|
+
end
|
36
|
+
|
37
|
+
it "should be creatable from data" do
|
38
|
+
fake = FakeResource.new @aweber, :id => 1, :http_etag => "a1b2c3",
|
39
|
+
:self_link => "foo", :resource_type_link => "bar"
|
40
|
+
fake.id.should == 1
|
41
|
+
fake.http_etag.should == "a1b2c3"
|
42
|
+
fake.self_link.should == "foo"
|
43
|
+
fake.resource_type_link.should == "bar"
|
44
|
+
end
|
45
|
+
|
46
|
+
it "should have simpler aliases for the standard attributes" do
|
47
|
+
fake = FakeResource.new @aweber, :id => 1, :http_etag => "a1b2c3",
|
48
|
+
:self_link => "foo", :resource_type_link => "bar"
|
49
|
+
fake.etag.should == "a1b2c3"
|
50
|
+
fake.link.should == "foo"
|
51
|
+
fake.resource_type.should == "bar"
|
52
|
+
end
|
53
|
+
|
54
|
+
it "should be comparable to other resources based on id" do
|
55
|
+
fake1 = FakeResource.new @aweber, :id => 1
|
56
|
+
fake2 = FakeResource.new @aweber, :id => 1
|
57
|
+
fake3 = FakeResource.new @aweber, :id => 2
|
58
|
+
fake1.should == fake2
|
59
|
+
fake1.should_not == fake3
|
60
|
+
end
|
61
|
+
|
62
|
+
it "should be deleted" do
|
63
|
+
fake = FakeResource.new(@aweber, ActiveSupport::JSON.decode(fixture("account.json")))
|
64
|
+
@oauth.should_receive(:delete).with(fake.link)
|
65
|
+
fake.delete
|
66
|
+
end
|
67
|
+
|
68
|
+
it "should declare writable attributes" do
|
69
|
+
resource = FakeResource.new(@aweber)
|
70
|
+
resource.writable_attrs.include?(:name).should be_true
|
71
|
+
end
|
72
|
+
|
73
|
+
it "should send a JSON respresentation of the object on save" do
|
74
|
+
resource = FakeResource.new(@aweber)
|
75
|
+
@oauth.should_receive(:put).with(resource.link, "{\"name\":\"Bob\"}")
|
76
|
+
resource.name = "Bob"
|
77
|
+
resource.save
|
78
|
+
end
|
79
|
+
|
80
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe AWeber::Resources::Account do
|
4
|
+
include BaseObjects
|
5
|
+
subject { aweber.account }
|
6
|
+
|
7
|
+
it { should respond_to :id }
|
8
|
+
it { should respond_to :http_etag }
|
9
|
+
it { should respond_to :self_link }
|
10
|
+
it { should respond_to :resource_type_link }
|
11
|
+
it { should respond_to :lists_collection_link }
|
12
|
+
it { should respond_to :integrations_collection_link }
|
13
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe "AWeber::Resources::Campaign" do
|
4
|
+
include BaseObjects
|
5
|
+
subject { aweber.account.lists[1].campaigns[50000047] }
|
6
|
+
|
7
|
+
it { should respond_to :click_tracking_enabled }
|
8
|
+
it { should respond_to :content_type }
|
9
|
+
it { should respond_to :spam_assassin_score }
|
10
|
+
it { should respond_to :subject }
|
11
|
+
it { should respond_to :total_spam_complaints }
|
12
|
+
it { should respond_to :total_undelivered }
|
13
|
+
it { should respond_to :total_unsubscribes }
|
14
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe AWeber::Resources::Click do
|
4
|
+
include BaseObjects
|
5
|
+
subject { aweber.account.lists[1].campaigns[50000047].links[136340].clicks[129530] }
|
6
|
+
|
7
|
+
it { should respond_to :event_time }
|
8
|
+
it { should respond_to :http_etag }
|
9
|
+
it { should respond_to :id }
|
10
|
+
it { should respond_to :is_earliest }
|
11
|
+
it { should respond_to :resource_type_link }
|
12
|
+
it { should respond_to :self_link }
|
13
|
+
it { should respond_to :subscriber_link }
|
14
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe AWeber::Resources::Integration do
|
4
|
+
include BaseObjects
|
5
|
+
subject { aweber.account.integrations[8076] }
|
6
|
+
|
7
|
+
it { should respond_to :http_etag }
|
8
|
+
it { should respond_to :id }
|
9
|
+
it { should respond_to :login }
|
10
|
+
it { should respond_to :resource_type_link }
|
11
|
+
it { should respond_to :self_link }
|
12
|
+
it { should respond_to :service_name }
|
13
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe AWeber::Resources::Link do
|
4
|
+
include BaseObjects
|
5
|
+
subject { aweber.account.lists[1].campaigns[50000047].links[136340] }
|
6
|
+
|
7
|
+
it { should respond_to :clicks_collection_link }
|
8
|
+
it { should respond_to :http_etag }
|
9
|
+
it { should respond_to :id }
|
10
|
+
it { should respond_to :resource_type_link }
|
11
|
+
it { should respond_to :self_link }
|
12
|
+
it { should respond_to :total_clicks }
|
13
|
+
it { should respond_to :total_unique_clicks }
|
14
|
+
it { should respond_to :url }
|
15
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe AWeber::Resources::Message do
|
4
|
+
include BaseObjects
|
5
|
+
subject { aweber.account.lists[1] }
|
6
|
+
|
7
|
+
it { should respond_to :campaigns_collection_link }
|
8
|
+
it { should respond_to :http_etag }
|
9
|
+
it { should respond_to :id }
|
10
|
+
it { should respond_to :name }
|
11
|
+
it { should respond_to :resource_type_link }
|
12
|
+
it { should respond_to :self_link }
|
13
|
+
it { should respond_to :subscribers_collection_link }
|
14
|
+
it { should respond_to :web_form_split_tests_collection_link }
|
15
|
+
it { should respond_to :web_forms_collection_link }
|
16
|
+
it { should respond_to :broadcasts }
|
17
|
+
it { should respond_to :followups }
|
18
|
+
|
19
|
+
it "should should have a collection of broadcasts" do
|
20
|
+
subject.broadcasts.map { |id, b| b.self_link }.all? { |b| b =~ /b\d+$/ }.should be_true
|
21
|
+
end
|
22
|
+
|
23
|
+
it "should should have a collection of followups" do
|
24
|
+
subject.followups.map { |id, f| f.self_link }.all? { |f| f =~ /f\d+$/ }.should be_true
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe AWeber::Resources::Message do
|
4
|
+
include BaseObjects
|
5
|
+
subject { aweber.account.lists[1].campaigns[50000047].messages[11839] }
|
6
|
+
|
7
|
+
it { should respond_to :event_time }
|
8
|
+
it { should respond_to :http_etag }
|
9
|
+
it { should respond_to :id }
|
10
|
+
it { should respond_to :resource_type_link }
|
11
|
+
it { should respond_to :self_link }
|
12
|
+
it { should respond_to :last_opened }
|
13
|
+
it { should respond_to :opens_collection_link }
|
14
|
+
it { should respond_to :subscriber_link }
|
15
|
+
it { should respond_to :total_opens }
|
16
|
+
it { should respond_to :tracked_events_collection_link }
|
17
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe AWeber::Resources::Open do
|
4
|
+
include BaseObjects
|
5
|
+
subject { aweber.account.lists[1].campaigns[50000047].messages[11839].opens[11721] }
|
6
|
+
|
7
|
+
it { should respond_to :event_time }
|
8
|
+
it { should respond_to :http_etag }
|
9
|
+
it { should respond_to :id }
|
10
|
+
it { should respond_to :resource_type_link }
|
11
|
+
it { should respond_to :self_link }
|
12
|
+
it { should respond_to :subscriber_link }
|
13
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe AWeber::Resources::Subscriber do
|
4
|
+
include BaseObjects
|
5
|
+
subject { aweber.account.lists[1].subscribers[50723026] }
|
6
|
+
|
7
|
+
it { should respond_to :ad_tracking }
|
8
|
+
it { should respond_to :email }
|
9
|
+
it { should respond_to :http_etag }
|
10
|
+
it { should respond_to :id }
|
11
|
+
it { should respond_to :ip_address }
|
12
|
+
it { should respond_to :is_verified }
|
13
|
+
it { should respond_to :last_followup_sent_at }
|
14
|
+
it { should respond_to :last_followup_sent_link }
|
15
|
+
it { should respond_to :misc_notes }
|
16
|
+
it { should respond_to :name }
|
17
|
+
it { should respond_to :resource_type_link }
|
18
|
+
it { should respond_to :self_link }
|
19
|
+
it { should respond_to :status }
|
20
|
+
it { should respond_to :subscribed_at }
|
21
|
+
it { should respond_to :subscription_method }
|
22
|
+
it { should respond_to :subscription_url }
|
23
|
+
it { should respond_to :unsubscribed_at }
|
24
|
+
it { should respond_to :verified_at }
|
25
|
+
|
26
|
+
its(:writable_attrs) { should include :name }
|
27
|
+
its(:writable_attrs) { should include :misc_notes }
|
28
|
+
its(:writable_attrs) { should include :email }
|
29
|
+
its(:writable_attrs) { should include :status }
|
30
|
+
its(:writable_attrs) { should include :custom_fields }
|
31
|
+
its(:writable_attrs) { should include :ad_tracking }
|
32
|
+
its(:writable_attrs) { should include :last_followup_message_number_sent }
|
33
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe AWeber::Resources::TrackedEvent do
|
4
|
+
include BaseObjects
|
5
|
+
subject { aweber.account.lists[1].campaigns[50000047].messages[11839].tracked_events[11839] }
|
6
|
+
|
7
|
+
it { should respond_to :event_time }
|
8
|
+
it { should respond_to :http_etag }
|
9
|
+
it { should respond_to :id }
|
10
|
+
it { should respond_to :resource_type_link }
|
11
|
+
it { should respond_to :self_link }
|
12
|
+
it { should respond_to :subscriber_link }
|
13
|
+
it { should respond_to :type }
|
14
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe AWeber::Resources::WebForm do
|
4
|
+
include BaseObjects
|
5
|
+
subject { aweber.account.lists[1].web_forms[1911952229] }
|
6
|
+
|
7
|
+
it { should respond_to :conversion_percentage }
|
8
|
+
it { should respond_to :http_etag }
|
9
|
+
it { should respond_to :id }
|
10
|
+
it { should respond_to :is_active }
|
11
|
+
it { should respond_to :name }
|
12
|
+
it { should respond_to :resource_type_link }
|
13
|
+
it { should respond_to :self_link }
|
14
|
+
it { should respond_to :total_displays }
|
15
|
+
it { should respond_to :total_submissions }
|
16
|
+
it { should respond_to :total_unique_displays }
|
17
|
+
it { should respond_to :type }
|
18
|
+
it { should respond_to :unique_conversion_percentage }
|
19
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe AWeber::Resources::WebFormSplitTestComponent do
|
4
|
+
include BaseObjects
|
5
|
+
subject { aweber.account.lists[1].web_form_split_tests[1242668124].components["612763163-513600765"] }
|
6
|
+
|
7
|
+
it { should respond_to :conversion_percentage }
|
8
|
+
it { should respond_to :http_etag }
|
9
|
+
it { should respond_to :id }
|
10
|
+
it { should respond_to :is_active }
|
11
|
+
it { should respond_to :name }
|
12
|
+
it { should respond_to :resource_type_link }
|
13
|
+
it { should respond_to :self_link }
|
14
|
+
it { should respond_to :total_displays }
|
15
|
+
it { should respond_to :total_submissions }
|
16
|
+
it { should respond_to :type }
|
17
|
+
it { should respond_to :unique_conversion_percentage }
|
18
|
+
it { should respond_to :web_form_link }
|
19
|
+
it { should respond_to :weight }
|
20
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe AWeber::Resources::WebFormSplitTest do
|
4
|
+
include BaseObjects
|
5
|
+
subject { aweber.account.lists[1].web_form_split_tests[1242668124] }
|
6
|
+
|
7
|
+
it { should respond_to :components_collection_link }
|
8
|
+
it { should respond_to :http_etag }
|
9
|
+
it { should respond_to :id }
|
10
|
+
it { should respond_to :is_active }
|
11
|
+
it { should respond_to :name }
|
12
|
+
it { should respond_to :resource_type_link }
|
13
|
+
it { should respond_to :self_link }
|
14
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
2
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
|
3
|
+
require "aweber"
|
4
|
+
require "fakeweb"
|
5
|
+
require 'rspec'
|
6
|
+
|
7
|
+
FakeWeb.allow_net_connect = false
|
8
|
+
|
9
|
+
def aweber_url(url)
|
10
|
+
url =~ /https/ ? url : File.join(AWeber.api_endpoint, "1.0", url)
|
11
|
+
end
|
12
|
+
|
13
|
+
def route(method, uri, response)
|
14
|
+
FakeWeb.register_uri(method, uri, :body => response)
|
15
|
+
end
|
16
|
+
|
17
|
+
def fixture(filename)
|
18
|
+
return "" if filename.empty?
|
19
|
+
path = File.expand_path(File.dirname(__FILE__) + "/fixtures/" + filename)
|
20
|
+
File.read(path).gsub /\s/, ''
|
21
|
+
end
|
22
|
+
|
23
|
+
def stub_get(uri, response)
|
24
|
+
route(:get, uri, fixture(response))
|
25
|
+
end
|
26
|
+
|
27
|
+
module BaseObjects
|
28
|
+
def oauth
|
29
|
+
@oauth ||= AWeber::OAuth.new("token", "secret")
|
30
|
+
end
|
31
|
+
|
32
|
+
def aweber
|
33
|
+
@aweber ||= AWeber::Base.new(oauth)
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
route :any, "https://auth.aweber.com/1.0/request_token", "oauth_token=fake&oauth_token_secret=fake"
|
38
|
+
route :any, "https://auth.aweber.com/1.0/access_token", "oauth_token=fake&oauth_token_secret=fake"
|
39
|
+
|
40
|
+
route :get, %r[/accounts\?], fixture("accounts.json")
|
41
|
+
route :get, %r[/accounts/\d+/lists\?], fixture("lists.json")
|
42
|
+
route :get, %r[/accounts/\d+/lists/\d+/subscribers\?], fixture("subscribers.json")
|
43
|
+
route :get, %r[/accounts/\d+/lists/\d+/web_forms\?], fixture("web_forms.json")
|
44
|
+
route :get, %r[/accounts/\d+/lists/\d+/web_form_split_tests\?], fixture("web_form_split_tests.json")
|
45
|
+
route :get, %r[/accounts/\d+/lists/\d+/web_form_split_tests/\d+/components\?], fixture("web_form_split_test_components.json")
|
46
|
+
route :get, %r[/accounts/\d+/integrations\?], fixture("integrations.json")
|
47
|
+
route :get, %r[/accounts/\d+/lists/\d+/campaigns\?], fixture("campaigns.json")
|
48
|
+
route :get, %r[/accounts/\d+/lists/\d+/campaigns/[\d\w]+/links\?], fixture("links.json")
|
49
|
+
route :get, %r[/accounts/\d+/lists/\d+/campaigns/[\d\w]+/links/\d+/clicks\?], fixture("clicks.json")
|
50
|
+
route :get, %r[/accounts/\d+/lists/\d+/campaigns/[\d\w]+/messages\?], fixture("messages.json")
|
51
|
+
route :get, %r[/accounts/\d+/lists/\d+/campaigns/[\d\w]+/messages/\d+/opens\?], fixture("opens.json")
|
52
|
+
route :get, %r[/accounts/\d+/lists/\d+/campaigns/[\d\w]+/messages/\d+/tracked_events\?], fixture("tracked_events.json")
|
data/test/helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,181 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: chubasaweber
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 31
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
version: 0.0.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- kazuyoshi tlacaelel
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-07-20 00:00:00 -05:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: thoughtbot-shoulda
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
version: "0"
|
33
|
+
type: :development
|
34
|
+
version_requirements: *id001
|
35
|
+
description: a chubas aweber
|
36
|
+
email: kazu.dev@gmail.com
|
37
|
+
executables: []
|
38
|
+
|
39
|
+
extensions: []
|
40
|
+
|
41
|
+
extra_rdoc_files:
|
42
|
+
- LICENSE
|
43
|
+
- README.rdoc
|
44
|
+
- README.textile
|
45
|
+
files:
|
46
|
+
- .document
|
47
|
+
- .gitignore
|
48
|
+
- Gemfile
|
49
|
+
- LICENSE
|
50
|
+
- README.rdoc
|
51
|
+
- README.textile
|
52
|
+
- Rakefile
|
53
|
+
- VERSION
|
54
|
+
- aweber.gemspec
|
55
|
+
- chubasaweber.gemspec
|
56
|
+
- examples/with_access_token.rb
|
57
|
+
- examples/your_account.rb
|
58
|
+
- lib/aweber.rb
|
59
|
+
- lib/aweber/base.rb
|
60
|
+
- lib/aweber/collection.rb
|
61
|
+
- lib/aweber/oauth.rb
|
62
|
+
- lib/aweber/resource.rb
|
63
|
+
- lib/aweber/resources.rb
|
64
|
+
- lib/aweber/resources/account.rb
|
65
|
+
- lib/aweber/resources/broadcast.rb
|
66
|
+
- lib/aweber/resources/click.rb
|
67
|
+
- lib/aweber/resources/followup.rb
|
68
|
+
- lib/aweber/resources/integration.rb
|
69
|
+
- lib/aweber/resources/link.rb
|
70
|
+
- lib/aweber/resources/list.rb
|
71
|
+
- lib/aweber/resources/message.rb
|
72
|
+
- lib/aweber/resources/open.rb
|
73
|
+
- lib/aweber/resources/subscriber.rb
|
74
|
+
- lib/aweber/resources/tracked_event.rb
|
75
|
+
- lib/aweber/resources/web_form.rb
|
76
|
+
- lib/aweber/resources/web_form_split_test.rb
|
77
|
+
- lib/aweber/resources/web_form_split_test_component.rb
|
78
|
+
- lib/chubasaweber.rb
|
79
|
+
- spec/base_spec.rb
|
80
|
+
- spec/collection_spec.rb
|
81
|
+
- spec/fixtures/account.json
|
82
|
+
- spec/fixtures/accounts.json
|
83
|
+
- spec/fixtures/campaign.json
|
84
|
+
- spec/fixtures/campaigns.json
|
85
|
+
- spec/fixtures/click.json
|
86
|
+
- spec/fixtures/clicks.json
|
87
|
+
- spec/fixtures/integration.json
|
88
|
+
- spec/fixtures/integrations.json
|
89
|
+
- spec/fixtures/link.json
|
90
|
+
- spec/fixtures/links.json
|
91
|
+
- spec/fixtures/list.json
|
92
|
+
- spec/fixtures/lists.json
|
93
|
+
- spec/fixtures/message.json
|
94
|
+
- spec/fixtures/messages.json
|
95
|
+
- spec/fixtures/open.json
|
96
|
+
- spec/fixtures/opens.json
|
97
|
+
- spec/fixtures/subscriber.json
|
98
|
+
- spec/fixtures/subscribers.json
|
99
|
+
- spec/fixtures/tracked_event.json
|
100
|
+
- spec/fixtures/tracked_events.json
|
101
|
+
- spec/fixtures/web_form.json
|
102
|
+
- spec/fixtures/web_form_split_test.json
|
103
|
+
- spec/fixtures/web_form_split_test_component.json
|
104
|
+
- spec/fixtures/web_form_split_test_components.json
|
105
|
+
- spec/fixtures/web_form_split_tests.json
|
106
|
+
- spec/fixtures/web_forms.json
|
107
|
+
- spec/oauth_spec.rb
|
108
|
+
- spec/resource_spec.rb
|
109
|
+
- spec/resources/account_spec.rb
|
110
|
+
- spec/resources/campaign_spec.rb
|
111
|
+
- spec/resources/click_spec.rb
|
112
|
+
- spec/resources/integration_spec.rb
|
113
|
+
- spec/resources/link_spec.rb
|
114
|
+
- spec/resources/list_spec.rb
|
115
|
+
- spec/resources/message_spec.rb
|
116
|
+
- spec/resources/open_spec.rb
|
117
|
+
- spec/resources/subscriber_spec.rb
|
118
|
+
- spec/resources/tracked_event_spec.rb
|
119
|
+
- spec/resources/web_form_spec.rb
|
120
|
+
- spec/resources/web_form_split_test_component_spec.rb
|
121
|
+
- spec/resources/web_form_split_test_spec.rb
|
122
|
+
- spec/spec_helper.rb
|
123
|
+
- test/helper.rb
|
124
|
+
- test/test_chubasaweber.rb
|
125
|
+
has_rdoc: true
|
126
|
+
homepage: http://github.com/ktlacaelel/chubasaweber
|
127
|
+
licenses: []
|
128
|
+
|
129
|
+
post_install_message:
|
130
|
+
rdoc_options:
|
131
|
+
- --charset=UTF-8
|
132
|
+
require_paths:
|
133
|
+
- lib
|
134
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
135
|
+
none: false
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
hash: 3
|
140
|
+
segments:
|
141
|
+
- 0
|
142
|
+
version: "0"
|
143
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
144
|
+
none: false
|
145
|
+
requirements:
|
146
|
+
- - ">="
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
hash: 3
|
149
|
+
segments:
|
150
|
+
- 0
|
151
|
+
version: "0"
|
152
|
+
requirements: []
|
153
|
+
|
154
|
+
rubyforge_project:
|
155
|
+
rubygems_version: 1.3.7
|
156
|
+
signing_key:
|
157
|
+
specification_version: 3
|
158
|
+
summary: A cubas aweber
|
159
|
+
test_files:
|
160
|
+
- spec/base_spec.rb
|
161
|
+
- spec/collection_spec.rb
|
162
|
+
- spec/oauth_spec.rb
|
163
|
+
- spec/resource_spec.rb
|
164
|
+
- spec/resources/account_spec.rb
|
165
|
+
- spec/resources/campaign_spec.rb
|
166
|
+
- spec/resources/click_spec.rb
|
167
|
+
- spec/resources/integration_spec.rb
|
168
|
+
- spec/resources/link_spec.rb
|
169
|
+
- spec/resources/list_spec.rb
|
170
|
+
- spec/resources/message_spec.rb
|
171
|
+
- spec/resources/open_spec.rb
|
172
|
+
- spec/resources/subscriber_spec.rb
|
173
|
+
- spec/resources/tracked_event_spec.rb
|
174
|
+
- spec/resources/web_form_spec.rb
|
175
|
+
- spec/resources/web_form_split_test_component_spec.rb
|
176
|
+
- spec/resources/web_form_split_test_spec.rb
|
177
|
+
- spec/spec_helper.rb
|
178
|
+
- test/helper.rb
|
179
|
+
- test/test_chubasaweber.rb
|
180
|
+
- examples/with_access_token.rb
|
181
|
+
- examples/your_account.rb
|