openaustralia 1.0.1 → 1.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: 2077df0a0b030ceb16c156e375a74a678acf07be
4
- data.tar.gz: e98ad4bbaceaa3309d0ea3af3410371cd1d17f37
3
+ metadata.gz: d8bf99910eca13e3e90eb6a79045695a97a192a4
4
+ data.tar.gz: e578cd59be03e78c60bd1bf8a742813d8a2224b6
5
5
  SHA512:
6
- metadata.gz: f81166f51d3e8150e91d40d63d3023ba4fb231c82d368559da1be47e568c7ade72b2f15093252458f642c3166d5507a1ee932dc9072c33f2c3d720d1c4d69449
7
- data.tar.gz: 08dca8cd0aa553ed8e6cd9715e26d5a9ab89ce5b33da2e6e0b97083c949ca3010aa41d7bc3293d976632ec0a8e9bc178ea4aa1ed9132c14e0d6a5017d16dac2c
6
+ metadata.gz: 67d7ce2ad29d4e237134c9ebf72e2ce87122ade0acf48be741193a95eb80361c39fc67865acaa226a5ee031ee0d8f415f0a34ed461261fe42e7da68fd17601a8
7
+ data.tar.gz: fa3725a8ead085a16fca2f9faef21ac8edf33c256d592ca177d7af6673288b3600493bd943d82475819fc2f7a7cf3d9e1ee47bbf234ad6ec7268ba2c41e8e1bf
data/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.2 - 2014-07-20
4
+
5
+ * Add more detail to senators in list response by @mfeckie
6
+
3
7
  ## 1.0.1 - 2014-07-13
4
8
 
5
9
  * Add date to Hansard results by @mfeckie
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # OpenAustralia [![Build Status](https://secure.travis-ci.org/henare/openaustralia-api.png?branch=master)](http://travis-ci.org/henare/openaustralia-api)
1
+ # OpenAustralia [![Build Status](https://secure.travis-ci.org/henare/openaustralia-api.png?branch=master)](http://travis-ci.org/henare/openaustralia-api) [![Gem Version](https://badge.fury.io/rb/openaustralia.svg)](http://badge.fury.io/rb/openaustralia)
2
2
 
3
3
  A Ruby wrapper for the [OpenAustralia API](http://www.openaustralia.org/api/).
4
4
 
@@ -36,9 +36,20 @@ class SenatorFound
36
36
  include XML::Mapping
37
37
 
38
38
  numeric_node :member_id, 'member_id'
39
- text_node :name, 'name'
40
- numeric_node :person_id, 'person_id'
39
+ numeric_node :house, 'house'
40
+ text_node :first_name, 'first_name'
41
+ text_node :last_name, 'last_name'
42
+ text_node :constituency, 'constituency'
41
43
  text_node :party, 'party'
44
+ text_node :entered_house, 'entered_house'
45
+ text_node :entered_reason, 'entered_reason'
46
+ text_node :left_house, 'left_house'
47
+ text_node :left_reason, 'left_reason'
48
+ numeric_node :person_id, 'person_id'
49
+ text_node :title, 'title'
50
+ text_node :full_name, 'full_name'
51
+ text_node :name, 'name'
52
+
42
53
  end
43
54
 
44
55
  # record for foresults of a representative search
@@ -1,3 +1,3 @@
1
1
  module OpenAustralia
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openaustralia
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henare Degan
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-07-13 00:00:00.000000000 Z
13
+ date: 2014-07-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: xml-mapping