get-your-rep 1.0.0 → 1.0.0.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 +4 -4
- data/lib/get-your-rep.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0f800afcd86e1ceb01731dd15f8a6ee0f4142bab
|
|
4
|
+
data.tar.gz: 64c3107718dd3036bcee398db92fea17c61466b8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9f100f82620fe8c53c7cef27b5d12dab61b79ee54f75f86788c651c465fa4a436208c48d9d1b093d62a40d8a84d48f3f44da40111332a3ce2cd9f4587332e184
|
|
7
|
+
data.tar.gz: d9a16f2f43f39ca951f3aaebe2b7ff63af17104c604f8189848c34cda04f3f319ee3c83c4f8394c3bd2520e7b05807ee4891f42eede116d278a465c258be7c22
|
data/lib/get-your-rep.rb
CHANGED
|
@@ -4,7 +4,8 @@ require_relative 'get-your-rep/delegation.rb'
|
|
|
4
4
|
|
|
5
5
|
# The GetYourRep class has a collection of class methods that retrieve your elected representatives
|
|
6
6
|
# from the Google Civic Information API, parse it from JSON, and assemble it into a usable
|
|
7
|
-
# Ruby array-like object called a Delegation.
|
|
7
|
+
# Ruby array-like object called a Delegation. You must configure your own Google API key as an
|
|
8
|
+
# environment variable using the constant name 'GOOGLE_API_KEY' in order for this gem to work.
|
|
8
9
|
class GetYourRep
|
|
9
10
|
|
|
10
11
|
# Call GetYourRep#now to initiate a chain of method calls on self that will instantiate a Delegation object and return it.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: get-your-rep
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.0
|
|
4
|
+
version: 1.0.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- msimonborg
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-12-
|
|
11
|
+
date: 2016-12-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|