ngp_van 0.1.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.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +1 -0
- data/README.md +117 -0
- data/lib/ngp_van.rb +47 -0
- data/lib/ngp_van/client.rb +41 -0
- data/lib/ngp_van/client/activist_codes.rb +15 -0
- data/lib/ngp_van/client/canvass_responses.rb +19 -0
- data/lib/ngp_van/client/codes.rb +31 -0
- data/lib/ngp_van/client/district_fields.rb +15 -0
- data/lib/ngp_van/client/event_types.rb +15 -0
- data/lib/ngp_van/client/events.rb +31 -0
- data/lib/ngp_van/client/locations.rb +27 -0
- data/lib/ngp_van/client/minivan_exports.rb +15 -0
- data/lib/ngp_van/client/notes.rb +19 -0
- data/lib/ngp_van/client/people.rb +31 -0
- data/lib/ngp_van/client/printed_lists.rb +15 -0
- data/lib/ngp_van/client/signups.rb +31 -0
- data/lib/ngp_van/client/survey_questions.rb +15 -0
- data/lib/ngp_van/client/users.rb +19 -0
- data/lib/ngp_van/configuration.rb +74 -0
- data/lib/ngp_van/connection.rb +32 -0
- data/lib/ngp_van/default.rb +41 -0
- data/lib/ngp_van/error.rb +124 -0
- data/lib/ngp_van/request.rb +39 -0
- data/lib/ngp_van/response.rb +15 -0
- data/lib/ngp_van/response/raise_error.rb +17 -0
- data/lib/ngp_van/version.rb +19 -0
- data/spec/ngp_van/client/activist_codes_spec.rb +88 -0
- data/spec/ngp_van/client/canvass_responses_spec.rb +126 -0
- data/spec/ngp_van/client/codes_spec.rb +197 -0
- data/spec/ngp_van/client/district_fields_spec.rb +79 -0
- data/spec/ngp_van/client/event_types_spec.rb +69 -0
- data/spec/ngp_van/client/events_spec.rb +205 -0
- data/spec/ngp_van/client/locations_spec.rb +172 -0
- data/spec/ngp_van/client/minivan_exports_spec.rb +82 -0
- data/spec/ngp_van/client/notes_spec.rb +107 -0
- data/spec/ngp_van/client/people_spec.rb +227 -0
- data/spec/ngp_van/client/printed_lists_spec.rb +91 -0
- data/spec/ngp_van/client/signups_spec.rb +209 -0
- data/spec/ngp_van/client/survey_questions_spec.rb +83 -0
- data/spec/ngp_van/client/users_spec.rb +122 -0
- data/spec/ngp_van/configuration_spec.rb +116 -0
- data/spec/ngp_van/request_spec.rb +137 -0
- data/spec/ngp_van_spec.rb +29 -0
- data/spec/spec_helper.rb +11 -0
- data/spec/support/fixtures/activist_code.json +10 -0
- data/spec/support/fixtures/activist_codes.json +36 -0
- data/spec/support/fixtures/canvass_response.json +25 -0
- data/spec/support/fixtures/canvass_responses_contact_types.json +10 -0
- data/spec/support/fixtures/canvass_responses_input_types.json +26 -0
- data/spec/support/fixtures/canvass_responses_result_codes.json +26 -0
- data/spec/support/fixtures/code.json +18 -0
- data/spec/support/fixtures/code_supported_entities.json +5 -0
- data/spec/support/fixtures/codes.json +55 -0
- data/spec/support/fixtures/create_code.json +16 -0
- data/spec/support/fixtures/create_event.json +62 -0
- data/spec/support/fixtures/create_event_shift.json +5 -0
- data/spec/support/fixtures/create_location.json +9 -0
- data/spec/support/fixtures/create_signup.json +32 -0
- data/spec/support/fixtures/create_user_district_field_values.json +7 -0
- data/spec/support/fixtures/district_field.json +28 -0
- data/spec/support/fixtures/district_fields.json +22 -0
- data/spec/support/fixtures/event.json +139 -0
- data/spec/support/fixtures/event_type.json +75 -0
- data/spec/support/fixtures/event_types.json +77 -0
- data/spec/support/fixtures/events.json +86 -0
- data/spec/support/fixtures/location.json +19 -0
- data/spec/support/fixtures/locations.json +25 -0
- data/spec/support/fixtures/match_candidate.json +61 -0
- data/spec/support/fixtures/match_response.json +4 -0
- data/spec/support/fixtures/minivan_export.json +66 -0
- data/spec/support/fixtures/minivan_exports.json +72 -0
- data/spec/support/fixtures/note_categories.json +17 -0
- data/spec/support/fixtures/note_category.json +8 -0
- data/spec/support/fixtures/note_category_types.json +6 -0
- data/spec/support/fixtures/person.json +61 -0
- data/spec/support/fixtures/printed_list.json +52 -0
- data/spec/support/fixtures/printed_lists.json +58 -0
- data/spec/support/fixtures/signup.json +55 -0
- data/spec/support/fixtures/signup_statuses.json +26 -0
- data/spec/support/fixtures/signups.json +112 -0
- data/spec/support/fixtures/survey_question.json +36 -0
- data/spec/support/fixtures/survey_questions.json +85 -0
- data/spec/support/fixtures/update_code.json +22 -0
- data/spec/support/fixtures/update_event.json +61 -0
- data/spec/support/fixtures/update_signup.json +35 -0
- data/spec/support/fixtures/update_user_district_field_values.json +6 -0
- data/spec/support/fixtures/user_district_field_values.json +7 -0
- data/spec/support/path_helpers.rb +9 -0
- data/spec/support/rspec.rb +51 -0
- data/spec/support/url_helpers.rb +5 -0
- data/spec/support/webmock.rb +5 -0
- metadata +269 -0
- metadata.gz.sig +0 -0
@@ -0,0 +1,36 @@
|
|
1
|
+
{
|
2
|
+
"surveyQuestionId": 54949,
|
3
|
+
"type": "Candidate",
|
4
|
+
"cycle": 2010,
|
5
|
+
"name": "Maddow for Senate",
|
6
|
+
"mediumName": "Maddow",
|
7
|
+
"shortName": "MS",
|
8
|
+
"scriptQuestion": "In the upcoming race for US Senate, do you plan to vote for Republican Scott Brown or Democrat Rachel Maddow?",
|
9
|
+
"status": "Active",
|
10
|
+
"responses": [{
|
11
|
+
"surveyResponseId": 246016,
|
12
|
+
"name": "1 - Strong Maddow",
|
13
|
+
"mediumName": "1",
|
14
|
+
"shortName": "1"
|
15
|
+
}, {
|
16
|
+
"surveyResponseId": 246017,
|
17
|
+
"name": "2 - Leaning Maddow",
|
18
|
+
"mediumName": "2",
|
19
|
+
"shortName": "2"
|
20
|
+
}, {
|
21
|
+
"surveyResponseId": 246018,
|
22
|
+
"name": "3 - Undecided",
|
23
|
+
"mediumName": "3",
|
24
|
+
"shortName": "3"
|
25
|
+
}, {
|
26
|
+
"surveyResponseId": 246020,
|
27
|
+
"name": "4 - Leaning Brown",
|
28
|
+
"mediumName": "4",
|
29
|
+
"shortName": "4"
|
30
|
+
}, {
|
31
|
+
"surveyResponseId": 246019,
|
32
|
+
"name": "5 - Strong Brown",
|
33
|
+
"mediumName": "5",
|
34
|
+
"shortName": "5"
|
35
|
+
}]
|
36
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
{
|
2
|
+
"items": [{
|
3
|
+
"surveyQuestionId": 54945,
|
4
|
+
"type": "Candidate",
|
5
|
+
"cycle": 2010,
|
6
|
+
"name": "John Kerry senate",
|
7
|
+
"mediumName": "Kerry",
|
8
|
+
"shortName": "Kerr",
|
9
|
+
"scriptQuestion": "Will you vote for John Kerry in the upcoming Senate race?",
|
10
|
+
"status": "Archived",
|
11
|
+
"responses": [{
|
12
|
+
"surveyResponseId": 245998,
|
13
|
+
"name": "1 Strong Kerry",
|
14
|
+
"mediumName": "1",
|
15
|
+
"shortName": "K"
|
16
|
+
}, {
|
17
|
+
"surveyResponseId": 245999,
|
18
|
+
"name": "2 Leaning Kerry",
|
19
|
+
"mediumName": "2",
|
20
|
+
"shortName": "k"
|
21
|
+
}, {
|
22
|
+
"surveyResponseId": 246000,
|
23
|
+
"name": "3 Undecided",
|
24
|
+
"mediumName": "3",
|
25
|
+
"shortName": "U"
|
26
|
+
}, {
|
27
|
+
"surveyResponseId": 246002,
|
28
|
+
"name": "4 Leaning Republican",
|
29
|
+
"mediumName": "5 L",
|
30
|
+
"shortName": "r"
|
31
|
+
}, {
|
32
|
+
"surveyResponseId": 246001,
|
33
|
+
"name": "5 Strong Republican",
|
34
|
+
"mediumName": "4",
|
35
|
+
"shortName": "R"
|
36
|
+
}, {
|
37
|
+
"surveyResponseId": 403566,
|
38
|
+
"name": "6 Green Party",
|
39
|
+
"mediumName": "6 G",
|
40
|
+
"shortName": "G"
|
41
|
+
}, {
|
42
|
+
"surveyResponseId": 408826,
|
43
|
+
"name": "7 Libertarian",
|
44
|
+
"mediumName": "7 L",
|
45
|
+
"shortName": "L"
|
46
|
+
}]
|
47
|
+
}, {
|
48
|
+
"surveyQuestionId": 54949,
|
49
|
+
"type": "Candidate",
|
50
|
+
"cycle": 2010,
|
51
|
+
"name": "Maddow for Senate",
|
52
|
+
"mediumName": "Maddow",
|
53
|
+
"shortName": "MS",
|
54
|
+
"scriptQuestion": "In the upcoming race for US Senate, do you plan to vote for Republican Scott Brown or Democrat Rachel Maddow?",
|
55
|
+
"status": "Active",
|
56
|
+
"responses": [{
|
57
|
+
"surveyResponseId": 246016,
|
58
|
+
"name": "1 - Strong Maddow",
|
59
|
+
"mediumName": "1",
|
60
|
+
"shortName": "1"
|
61
|
+
}, {
|
62
|
+
"surveyResponseId": 246017,
|
63
|
+
"name": "2 - Leaning Maddow",
|
64
|
+
"mediumName": "2",
|
65
|
+
"shortName": "2"
|
66
|
+
}, {
|
67
|
+
"surveyResponseId": 246018,
|
68
|
+
"name": "3 - Undecided",
|
69
|
+
"mediumName": "3",
|
70
|
+
"shortName": "3"
|
71
|
+
}, {
|
72
|
+
"surveyResponseId": 246020,
|
73
|
+
"name": "4 - Leaning Brown",
|
74
|
+
"mediumName": "4",
|
75
|
+
"shortName": "4"
|
76
|
+
}, {
|
77
|
+
"surveyResponseId": 246019,
|
78
|
+
"name": "5 - Strong Brown",
|
79
|
+
"mediumName": "5",
|
80
|
+
"shortName": "5"
|
81
|
+
}]
|
82
|
+
}],
|
83
|
+
"nextPageLink": null,
|
84
|
+
"count": 2
|
85
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"codeId": 20547,
|
3
|
+
"parentCodeId": 20515,
|
4
|
+
"name": "AFL and CIO",
|
5
|
+
"supportedEntities": [
|
6
|
+
{
|
7
|
+
"name": "Events",
|
8
|
+
"isSearchable": true,
|
9
|
+
"isApplicable": true
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"name": "Locations",
|
13
|
+
"isSearchable": true,
|
14
|
+
"isApplicable": true
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"name": "Organizations",
|
18
|
+
"isSearchable": true,
|
19
|
+
"isApplicable": false
|
20
|
+
}
|
21
|
+
]
|
22
|
+
}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
{
|
2
|
+
"eventId": 1374,
|
3
|
+
"name": "Friends Calling Friends",
|
4
|
+
"shortName": "FriendCall",
|
5
|
+
"description": "Come help get the word out about our great campaign.",
|
6
|
+
"startDate": "2015-06-02T15:00:00-04:00",
|
7
|
+
"endDate": "2015-06-02T20:00:00-04:00",
|
8
|
+
"eventType": {
|
9
|
+
"eventTypeId": 143856
|
10
|
+
},
|
11
|
+
"isOnlyEditableByCreatingUser": false,
|
12
|
+
"locations": [
|
13
|
+
{
|
14
|
+
"locationId": 272
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"codes": [],
|
18
|
+
"notes": [
|
19
|
+
{
|
20
|
+
"noteId": 10,
|
21
|
+
"text": "Sed ut perspiciatis unde omnis iste natus...",
|
22
|
+
"isViewRestricted": true
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit..."
|
26
|
+
}
|
27
|
+
],
|
28
|
+
"shifts": [
|
29
|
+
{
|
30
|
+
"eventShiftId": 2175,
|
31
|
+
"name": "Early Shift",
|
32
|
+
"startTime": "2015-06-01T15:00:00-04:00",
|
33
|
+
"endTime": "2015-06-01T18:00:00-04:00"
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"eventShiftId": 2176,
|
37
|
+
"name": "Late Shift",
|
38
|
+
"startTime": "2015-06-01T18:00:00-04:00",
|
39
|
+
"endTime": "2015-06-01T20:00:00-04:00"
|
40
|
+
}
|
41
|
+
],
|
42
|
+
"roles": [
|
43
|
+
{
|
44
|
+
"roleId": 111687,
|
45
|
+
"name": "Host",
|
46
|
+
"isEventLead": true,
|
47
|
+
"min": null,
|
48
|
+
"max": null,
|
49
|
+
"goal": null
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"roleId": 111689,
|
53
|
+
"name": "Phone Banker",
|
54
|
+
"isEventLead": false,
|
55
|
+
"min": 5,
|
56
|
+
"max": null,
|
57
|
+
"goal": 20
|
58
|
+
}
|
59
|
+
],
|
60
|
+
"districtFieldValue": "004"
|
61
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
{
|
2
|
+
"eventSignupId": 2452,
|
3
|
+
"person": {
|
4
|
+
"vanId": 100476252
|
5
|
+
},
|
6
|
+
"event": {
|
7
|
+
"eventId": 1370
|
8
|
+
},
|
9
|
+
"shift": {
|
10
|
+
"eventShiftId": 2162
|
11
|
+
},
|
12
|
+
"role": {
|
13
|
+
"roleId": 111687
|
14
|
+
},
|
15
|
+
"status": {
|
16
|
+
"statusId": 4
|
17
|
+
},
|
18
|
+
"location": {
|
19
|
+
"locationId": 273
|
20
|
+
},
|
21
|
+
"printedLists": [{
|
22
|
+
"number": "16531169-91998"
|
23
|
+
}, {
|
24
|
+
"number": "16531169-81234"
|
25
|
+
}, {
|
26
|
+
"number": "16531169-81235"
|
27
|
+
}],
|
28
|
+
"minivanExports": [{
|
29
|
+
"minivanExportId": 2186,
|
30
|
+
"databaseMode": 0
|
31
|
+
}, {
|
32
|
+
"minivanExportId": 2187,
|
33
|
+
"databaseMode": 1
|
34
|
+
}]
|
35
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
RSpec.configure do |config|
|
4
|
+
config.mock_with :rspec do |mocks|
|
5
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
6
|
+
# a real object. This is generally recommended, and will default to
|
7
|
+
# `true` in RSpec 4.
|
8
|
+
mocks.verify_partial_doubles = true
|
9
|
+
end
|
10
|
+
|
11
|
+
# These two settings work together to allow you to limit a spec run
|
12
|
+
# to individual examples or groups you care about by tagging them with
|
13
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
14
|
+
# get run.
|
15
|
+
config.filter_run :focus
|
16
|
+
config.run_all_when_everything_filtered = true
|
17
|
+
|
18
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
19
|
+
# file, and it's useful to allow more verbose output when running an
|
20
|
+
# individual spec file.
|
21
|
+
if config.files_to_run.one?
|
22
|
+
# Use the documentation formatter for detailed output,
|
23
|
+
# unless a formatter has already been configured
|
24
|
+
# (e.g. via a command-line flag).
|
25
|
+
config.default_formatter = 'doc'
|
26
|
+
end
|
27
|
+
|
28
|
+
# Print the 10 slowest examples and example groups at the
|
29
|
+
# end of the spec run, to help surface which specs are running
|
30
|
+
# particularly slow.
|
31
|
+
# config.profile_examples = 5
|
32
|
+
|
33
|
+
# Run specs in random order to surface order dependencies. If you find an
|
34
|
+
# order dependency and want to debug it, you can fix the order by providing
|
35
|
+
# the seed, which is printed after each run.
|
36
|
+
# --seed 1234
|
37
|
+
config.order = :random
|
38
|
+
|
39
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
40
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
41
|
+
# test failures related to randomization by passing the same `--seed` value
|
42
|
+
# as the one that triggered the failure.
|
43
|
+
Kernel.srand config.seed
|
44
|
+
|
45
|
+
config.expect_with :rspec do |expectations|
|
46
|
+
# Enable only the newer, non-monkey-patching expect syntax.
|
47
|
+
# For more details, see:
|
48
|
+
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
49
|
+
expectations.syntax = :expect
|
50
|
+
end
|
51
|
+
end
|
metadata
ADDED
@@ -0,0 +1,269 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ngp_van
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Christopher Styles
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRowGAYDVQQDDBFjaHJp
|
14
|
+
c3RvcGhlcnN0eWxlczEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
|
15
|
+
LGQBGRYDY29tMB4XDTE2MDMyMDE5NDcxM1oXDTE3MDMyMDE5NDcxM1owSDEaMBgG
|
16
|
+
A1UEAwwRY2hyaXN0b3BoZXJzdHlsZXMxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDET
|
17
|
+
MBEGCgmSJomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
18
|
+
ggEBAPdXY6X5Mrds/xMa+FvpTCYjv6mwz1ce5i6uucZFf6K3mTh7z87s/8EvkTtF
|
19
|
+
TSjZtO5EaZf34Crblx7NIhYjuMybG7+69NYYr7WQMV0CVT3T6K5FDdAuteWbm5cv
|
20
|
+
pDTSlLhlRE5qPDRX/jr3C6zrtoLlqEuM9Qs3bb7/I+ITIHEWEiekfYiOAXLfyKg0
|
21
|
+
IY0fYd/fXA8VBtA0Y5dcRGbudDY1yVQrkQCEQv71BdQFcmNBLhG7Pjtqf1UskosZ
|
22
|
+
hdjqeG+Z1ehDuBWwFDsD91864royFOU1EQgLkbYxjancWOT0szHlyJF9fF+ck/Xw
|
23
|
+
LXqbQvko9xD3iic91pycA/7E5UkCAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
|
24
|
+
DwQEAwIEsDAdBgNVHQ4EFgQUNLsynVPwe4LA7qGBp86OHKmMz+owJgYDVR0RBB8w
|
25
|
+
HYEbY2hyaXN0b3BoZXJzdHlsZXNAZ21haWwuY29tMCYGA1UdEgQfMB2BG2Nocmlz
|
26
|
+
dG9waGVyc3R5bGVzQGdtYWlsLmNvbTANBgkqhkiG9w0BAQUFAAOCAQEAnGzjNRlZ
|
27
|
+
1Pro9w/kEEP2F/ImFzQ27EqGhhcaPpbRs5iUf/4cILfL/lHE+8Xfz/c5cNHCmo1O
|
28
|
+
FRGy5bB4W6X+0d7gaklWZWKx0meOE1Sr6WqwHmisDfdlchmftS/SwOkk0CTkBblu
|
29
|
+
grPxJyxLpg/j/aDOdfsjIaSAdrZfmdK7Ax5jP7LgRCkBpEB9PKiHg24Ps1gUE7hu
|
30
|
+
gmkUHdadgljAp9ebw2ddUxpVa74kDuGkV9M/JwWn7zeOEZYcyMVE+dhFRJBgWZEr
|
31
|
+
R0+BldEKvDKH1wvJfQD61EmO6GZ+pqyE7U5GkbV/5aBM0HerB0nZfGPOQBHFl0K+
|
32
|
+
++6xoGbKyirrlg==
|
33
|
+
-----END CERTIFICATE-----
|
34
|
+
date: 2016-07-04 00:00:00.000000000 Z
|
35
|
+
dependencies:
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: faraday
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 0.9.2
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 0.9.2
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: faraday_middleware
|
52
|
+
requirement: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - "~>"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 0.10.0
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 0.10.0
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: codeclimate-test-reporter
|
66
|
+
requirement: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - "~>"
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
71
|
+
type: :development
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - "~>"
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: faker
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - "~>"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '1.6'
|
85
|
+
type: :development
|
86
|
+
prerelease: false
|
87
|
+
version_requirements: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - "~>"
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '1.6'
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
|
+
name: pry
|
94
|
+
requirement: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - "~>"
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0.10'
|
99
|
+
type: :development
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - "~>"
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0.10'
|
106
|
+
- !ruby/object:Gem::Dependency
|
107
|
+
name: rake
|
108
|
+
requirement: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - "~>"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '10.0'
|
113
|
+
type: :development
|
114
|
+
prerelease: false
|
115
|
+
version_requirements: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - "~>"
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '10.0'
|
120
|
+
- !ruby/object:Gem::Dependency
|
121
|
+
name: rspec
|
122
|
+
requirement: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - "~>"
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '3.0'
|
127
|
+
type: :development
|
128
|
+
prerelease: false
|
129
|
+
version_requirements: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - "~>"
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '3.0'
|
134
|
+
- !ruby/object:Gem::Dependency
|
135
|
+
name: webmock
|
136
|
+
requirement: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - "~>"
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '1.22'
|
141
|
+
type: :development
|
142
|
+
prerelease: false
|
143
|
+
version_requirements: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - "~>"
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '1.22'
|
148
|
+
description: '["An unofficial Ruby wrapper for the NGP VAN API"]'
|
149
|
+
email:
|
150
|
+
- christopherstyles@gmail.com
|
151
|
+
executables: []
|
152
|
+
extensions: []
|
153
|
+
extra_rdoc_files: []
|
154
|
+
files:
|
155
|
+
- README.md
|
156
|
+
- lib/ngp_van.rb
|
157
|
+
- lib/ngp_van/client.rb
|
158
|
+
- lib/ngp_van/client/activist_codes.rb
|
159
|
+
- lib/ngp_van/client/canvass_responses.rb
|
160
|
+
- lib/ngp_van/client/codes.rb
|
161
|
+
- lib/ngp_van/client/district_fields.rb
|
162
|
+
- lib/ngp_van/client/event_types.rb
|
163
|
+
- lib/ngp_van/client/events.rb
|
164
|
+
- lib/ngp_van/client/locations.rb
|
165
|
+
- lib/ngp_van/client/minivan_exports.rb
|
166
|
+
- lib/ngp_van/client/notes.rb
|
167
|
+
- lib/ngp_van/client/people.rb
|
168
|
+
- lib/ngp_van/client/printed_lists.rb
|
169
|
+
- lib/ngp_van/client/signups.rb
|
170
|
+
- lib/ngp_van/client/survey_questions.rb
|
171
|
+
- lib/ngp_van/client/users.rb
|
172
|
+
- lib/ngp_van/configuration.rb
|
173
|
+
- lib/ngp_van/connection.rb
|
174
|
+
- lib/ngp_van/default.rb
|
175
|
+
- lib/ngp_van/error.rb
|
176
|
+
- lib/ngp_van/request.rb
|
177
|
+
- lib/ngp_van/response.rb
|
178
|
+
- lib/ngp_van/response/raise_error.rb
|
179
|
+
- lib/ngp_van/version.rb
|
180
|
+
- spec/ngp_van/client/activist_codes_spec.rb
|
181
|
+
- spec/ngp_van/client/canvass_responses_spec.rb
|
182
|
+
- spec/ngp_van/client/codes_spec.rb
|
183
|
+
- spec/ngp_van/client/district_fields_spec.rb
|
184
|
+
- spec/ngp_van/client/event_types_spec.rb
|
185
|
+
- spec/ngp_van/client/events_spec.rb
|
186
|
+
- spec/ngp_van/client/locations_spec.rb
|
187
|
+
- spec/ngp_van/client/minivan_exports_spec.rb
|
188
|
+
- spec/ngp_van/client/notes_spec.rb
|
189
|
+
- spec/ngp_van/client/people_spec.rb
|
190
|
+
- spec/ngp_van/client/printed_lists_spec.rb
|
191
|
+
- spec/ngp_van/client/signups_spec.rb
|
192
|
+
- spec/ngp_van/client/survey_questions_spec.rb
|
193
|
+
- spec/ngp_van/client/users_spec.rb
|
194
|
+
- spec/ngp_van/configuration_spec.rb
|
195
|
+
- spec/ngp_van/request_spec.rb
|
196
|
+
- spec/ngp_van_spec.rb
|
197
|
+
- spec/spec_helper.rb
|
198
|
+
- spec/support/fixtures/activist_code.json
|
199
|
+
- spec/support/fixtures/activist_codes.json
|
200
|
+
- spec/support/fixtures/canvass_response.json
|
201
|
+
- spec/support/fixtures/canvass_responses_contact_types.json
|
202
|
+
- spec/support/fixtures/canvass_responses_input_types.json
|
203
|
+
- spec/support/fixtures/canvass_responses_result_codes.json
|
204
|
+
- spec/support/fixtures/code.json
|
205
|
+
- spec/support/fixtures/code_supported_entities.json
|
206
|
+
- spec/support/fixtures/codes.json
|
207
|
+
- spec/support/fixtures/create_code.json
|
208
|
+
- spec/support/fixtures/create_event.json
|
209
|
+
- spec/support/fixtures/create_event_shift.json
|
210
|
+
- spec/support/fixtures/create_location.json
|
211
|
+
- spec/support/fixtures/create_signup.json
|
212
|
+
- spec/support/fixtures/create_user_district_field_values.json
|
213
|
+
- spec/support/fixtures/district_field.json
|
214
|
+
- spec/support/fixtures/district_fields.json
|
215
|
+
- spec/support/fixtures/event.json
|
216
|
+
- spec/support/fixtures/event_type.json
|
217
|
+
- spec/support/fixtures/event_types.json
|
218
|
+
- spec/support/fixtures/events.json
|
219
|
+
- spec/support/fixtures/location.json
|
220
|
+
- spec/support/fixtures/locations.json
|
221
|
+
- spec/support/fixtures/match_candidate.json
|
222
|
+
- spec/support/fixtures/match_response.json
|
223
|
+
- spec/support/fixtures/minivan_export.json
|
224
|
+
- spec/support/fixtures/minivan_exports.json
|
225
|
+
- spec/support/fixtures/note_categories.json
|
226
|
+
- spec/support/fixtures/note_category.json
|
227
|
+
- spec/support/fixtures/note_category_types.json
|
228
|
+
- spec/support/fixtures/person.json
|
229
|
+
- spec/support/fixtures/printed_list.json
|
230
|
+
- spec/support/fixtures/printed_lists.json
|
231
|
+
- spec/support/fixtures/signup.json
|
232
|
+
- spec/support/fixtures/signup_statuses.json
|
233
|
+
- spec/support/fixtures/signups.json
|
234
|
+
- spec/support/fixtures/survey_question.json
|
235
|
+
- spec/support/fixtures/survey_questions.json
|
236
|
+
- spec/support/fixtures/update_code.json
|
237
|
+
- spec/support/fixtures/update_event.json
|
238
|
+
- spec/support/fixtures/update_signup.json
|
239
|
+
- spec/support/fixtures/update_user_district_field_values.json
|
240
|
+
- spec/support/fixtures/user_district_field_values.json
|
241
|
+
- spec/support/path_helpers.rb
|
242
|
+
- spec/support/rspec.rb
|
243
|
+
- spec/support/url_helpers.rb
|
244
|
+
- spec/support/webmock.rb
|
245
|
+
homepage: https://github.com/christopherstyles/ngp_van
|
246
|
+
licenses:
|
247
|
+
- MIT
|
248
|
+
metadata: {}
|
249
|
+
post_install_message:
|
250
|
+
rdoc_options: []
|
251
|
+
require_paths:
|
252
|
+
- lib
|
253
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: 2.1.0
|
258
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
259
|
+
requirements:
|
260
|
+
- - ">="
|
261
|
+
- !ruby/object:Gem::Version
|
262
|
+
version: '0'
|
263
|
+
requirements: []
|
264
|
+
rubyforge_project:
|
265
|
+
rubygems_version: 2.5.1
|
266
|
+
signing_key:
|
267
|
+
specification_version: 4
|
268
|
+
summary: '["Ruby wrapper for the NGP VAN API"]'
|
269
|
+
test_files: []
|