civic_aide 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e03d0a671bc6b095f5761c2e5f07e660863fef87
4
- data.tar.gz: 77148f826be45b90e9fcee16a6087f2b1353853f
3
+ metadata.gz: c244c9c33d9aad818c0bbfddee7bbad1433d17c4
4
+ data.tar.gz: 5d9cc539c867e4beef9fe79fb5daf30045dfcf41
5
5
  SHA512:
6
- metadata.gz: a194ab4d66d26d4c71da53752a0a10ae5785de5f832bbb255be965db315f943bef1f52290876999650ba93adc1349b72ddb5cfac6671436c53fa2d51422ac2c6
7
- data.tar.gz: bb8c4cfed6cc5923528dedfcf4f004300b26e3bfbfaba7829f137cc62a2a5943de13df2f049dc28a7dfe28919c95129bf439b918f45ea7212e0eac31596183ed
6
+ metadata.gz: 80888f09d7915a55886857bbcb25360c4c09f95de6e6ca67a79d4a8dd71a8a8d975b0346b231ff6760ad19271db4b83fc286f98d13fcd5200c929d1d8fb7453d
7
+ data.tar.gz: cf5c1e8c46b12d63d042a0be58831cddae3000f385e56ebf4e3cbc791b61f4388fbb354d16ec610e19da4398c124d792afb33c2372439f698216726236174885
data/.travis.yml CHANGED
@@ -2,7 +2,6 @@ language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
4
  - 2.0.0
5
- - 2.1.0
6
5
  notifications:
7
6
  email:
8
7
  - ty.pearson@gmail.com
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # CivicAide
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/civic_aide.png)](http://badge.fury.io/rb/civic_aide)
4
+ [![Build Status](https://travis-ci.org/tylerpearson/civic_aide.png?branch=master)](https://travis-ci.org/tylerpearson/civic_aide)
5
+
3
6
  A (unofficial) Ruby wrapper to interact with the [Google Civic Information API](https://developers.google.com/civic-information/).
4
7
 
5
8
  Currently the API only provides information for the United States.
@@ -4,11 +4,10 @@ require 'forwardable'
4
4
  module CivicAide
5
5
  class Client
6
6
  extend Forwardable
7
-
8
7
  include HTTParty
9
8
 
10
- API_ENDPOINT = 'https://www.googleapis.com/civicinfo/'
11
- API_VERSION = 'us_v1'
9
+ API_ENDPOINT = 'https://www.googleapis.com/civicinfo/'.freeze
10
+ API_VERSION = 'us_v1'.freeze
12
11
 
13
12
  base_uri "#{API_ENDPOINT}#{API_VERSION}"
14
13
  headers "Content-Type" => "application/json"
@@ -1,3 +1,3 @@
1
1
  module CivicAide
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -23,7 +23,7 @@ http_interactions:
23
23
  Expires:
24
24
  - Fri, 01 Jan 1990 00:00:00 GMT
25
25
  Date:
26
- - Sat, 28 Dec 2013 06:45:05 GMT
26
+ - Sun, 29 Dec 2013 03:09:03 GMT
27
27
  Etag:
28
28
  - '"AkiRpOnd7sKoopyUaI9w1UXzdBI/uUqEGRPWFFqmpcAIIuYHjnGWvh8"'
29
29
  Content-Type:
@@ -101,6 +101,6 @@ http_interactions:
101
101
  456-1111","(202) 456-1414"],"urls":["http://www.whitehouse.gov/administration/president_obama/","http://www.barackobama.com/index.php"],"photoUrl":"http://www.whitehouse.gov/sites/default/files/imagecache/admin_official_lowres/administration-official/ao_image/president_official_portrait_hires.jpg","channels":[{"type":"GooglePlus","id":"110031535020051778989"},{"type":"YouTube","id":"barackobama"},{"type":"Twitter","id":"barackobama"},{"type":"Facebook","id":"barackobama"}]},"P23":{"name":"Joseph
102
102
  (Joe) Robinette Biden Jr.","address":[{"line1":"The White House","line2":"1600
103
103
  Pennsylvania Avenue NW","line3":"","city":"Washington","state":"DC","zip":"20500"}],"party":"Democrat","urls":["http://www.whitehouse.gov/administration/vice-president-biden"],"photoUrl":"http://www.whitehouse.gov/sites/default/files/imagecache/admin_official_lowres/administration-official/ao_image/vp_portrait.jpeg","channels":[{"type":"Twitter","id":"JoeBiden"},{"type":"Facebook","id":"joebiden"},{"type":"Twitter","id":"VP"}]}}}'
104
- http_version:
105
- recorded_at: Sat, 28 Dec 2013 06:45:05 GMT
104
+ http_version:
105
+ recorded_at: Sun, 29 Dec 2013 03:09:04 GMT
106
106
  recorded_with: VCR 2.5.0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: civic_aide
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Pearson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-28 00:00:00.000000000 Z
11
+ date: 2013-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler