nationbuilder-rb 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/VERSION +1 -1
- data/lib/nationbuilder/api_spec.json +1988 -2277
- data/nationbuilder-rb.gemspec +3 -3
- data/spec/nationbuilder_client_spec.rb +22 -6
- metadata +2 -2
data/nationbuilder-rb.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: nationbuilder-rb 0.
|
5
|
+
# stub: nationbuilder-rb 0.4.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "nationbuilder-rb"
|
9
|
-
s.version = "0.
|
9
|
+
s.version = "0.4.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["David Huie"]
|
14
|
-
s.date = "2014-
|
14
|
+
s.date = "2014-09-06"
|
15
15
|
s.description = "A Ruby client to the NationBuilder API"
|
16
16
|
s.email = "david@nationbuilder.com"
|
17
17
|
s.executables = ["nbdoc"]
|
@@ -12,12 +12,28 @@ describe NationBuilder::Client do
|
|
12
12
|
describe '#endpoints' do
|
13
13
|
|
14
14
|
it 'should contain all defined endpoints' do
|
15
|
-
client.endpoints.should eq([
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
15
|
+
client.endpoints.sort.should eq([
|
16
|
+
:basic_pages,
|
17
|
+
:blog_posts,
|
18
|
+
:blogs,
|
19
|
+
:calendars,
|
20
|
+
:campaign_data,
|
21
|
+
:contact_types,
|
22
|
+
:contacts,
|
23
|
+
:donations,
|
24
|
+
:events,
|
25
|
+
:exports,
|
26
|
+
:imports,
|
27
|
+
:lists,
|
28
|
+
:memberships,
|
29
|
+
:page_attachments,
|
30
|
+
:people,
|
31
|
+
:people_tags,
|
32
|
+
:sites,
|
33
|
+
:survey_responses,
|
34
|
+
:surveys,
|
35
|
+
:webhooks
|
36
|
+
])
|
21
37
|
end
|
22
38
|
|
23
39
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nationbuilder-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Huie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|