get_your_rep 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/get_your_rep/cli.rb +1 -0
- data/lib/get_your_rep/version.rb +1 -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: d70909b5b99c6a3ce6fd3beb67e7ae243a9b730c
|
4
|
+
data.tar.gz: 23ce97032d2c0f2fb4b28f9e6332036b236634de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ed141a338719d4c36b49a8a809ccc5d881039f0c1620fd69c7c483e6212e915c1714a8777564bb862859e5aab72a5c734e0bceabcd79076ef37df7939f02e27
|
7
|
+
data.tar.gz: d203a50a171e86703e9d8e0ea5fc4fc898a7ef343109b7d6677844b8302f41b2ded21ea3caa24f09d2173f7876365d8e0f1805a5cde891ae7c05c48e1e14ae95
|
data/README.md
CHANGED
@@ -29,7 +29,7 @@ Add this line to your ~/.bashrc or ~/.bash_profile
|
|
29
29
|
|
30
30
|
Execute `reps` from the command line for a Command Line Interface.
|
31
31
|
|
32
|
-
In your app, send queries like this `reps = GetYourRep.all_reps(address)` to gather a Delegation of Representatives. This will get federal legislators from Google and state legislators
|
32
|
+
In your app, send queries like this `reps = GetYourRep.all_reps(address)` to gather a Delegation of Representatives. This will get federal legislators from Google and state legislators from OpenStates.org
|
33
33
|
|
34
34
|
`address` is your address. You can use just a zip code, but use a full address for the best results. Don't worry about commas, spaces, character case, or `.`s (`"123 1/2 main St., anywhere CA 12345"` is A-OK)
|
35
35
|
|
data/lib/get_your_rep/cli.rb
CHANGED
@@ -68,6 +68,7 @@ module GetYourRep
|
|
68
68
|
puts ' legislators from Google'.bold.blue
|
69
69
|
puts "'google congress only'...get only congress from Google".bold.blue
|
70
70
|
puts "'open states'............get only state legislators from Open States".bold.blue
|
71
|
+
puts "'exit'...................exit".bold.blue
|
71
72
|
end
|
72
73
|
|
73
74
|
def set_address
|
data/lib/get_your_rep/version.rb
CHANGED
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.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- msimonborg
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|