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 +4 -4
- data/CHANGES.md +4 -0
- data/README.md +1 -1
- data/lib/openaustralia/senators.rb +13 -2
- data/lib/openaustralia/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: d8bf99910eca13e3e90eb6a79045695a97a192a4
|
4
|
+
data.tar.gz: e578cd59be03e78c60bd1bf8a742813d8a2224b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67d7ce2ad29d4e237134c9ebf72e2ce87122ade0acf48be741193a95eb80361c39fc67865acaa226a5ee031ee0d8f415f0a34ed461261fe42e7da68fd17601a8
|
7
|
+
data.tar.gz: fa3725a8ead085a16fca2f9faef21ac8edf33c256d592ca177d7af6673288b3600493bd943d82475819fc2f7a7cf3d9e1ee47bbf234ad6ec7268ba2c41e8e1bf
|
data/CHANGES.md
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# OpenAustralia [](http://travis-ci.org/henare/openaustralia-api)
|
1
|
+
# OpenAustralia [](http://travis-ci.org/henare/openaustralia-api) [](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
|
-
|
40
|
-
|
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
|
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.
|
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
|
+
date: 2014-07-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: xml-mapping
|