parliament-ruby 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2b60187ee147754e45af117d67e186d9f243a03
4
- data.tar.gz: 7f067fa0eae375acadb3615bb5a585327708895a
3
+ metadata.gz: c558a26a65c437071cb4e9b0ccb65d92756a5d7e
4
+ data.tar.gz: 7841fde33adf7c5ac5bd64514df01e621bbfafa6
5
5
  SHA512:
6
- metadata.gz: 4c326bb2d2ec7fd7f2541dce2ec400a3760c1de6779cb0b1fd089daad88f164bc2c696ebc1828dd3e2da562bd5f53328e31d671ae250a8a987a2d366b483eced
7
- data.tar.gz: c5200240f342ec061ae7cceb581456a535e1c2d9a09806c6cf9c1cb0a5c1886220fbf12666f6c9a13c64918ed94a93fa20b92ece08074a80da47e663a3c900b4
6
+ metadata.gz: 79d1fba772175e4b05854ff1c51927091e444392e36421646ae7f65a06780a46eac99b10a62a843f5799d22da3644371b364c89026e7f036f3afa858a78a9789
7
+ data.tar.gz: e2217d98af38d374ec1ff7393aeb5007cbe067ee0e59d38858c825ff08d2707cae8147f6aea9c7471d9d3aa00635c496a9225b9c3eaa4e0ebf0b1f231ce4bc6b
@@ -28,6 +28,10 @@ module Parliament
28
28
  respond_to?(:memberHasIncumbency) ? memberHasIncumbency : []
29
29
  end
30
30
 
31
+ def seat_incumbencies
32
+ respond_to?(:memberHasIncumbency) ? memberHasIncumbency : []
33
+ end
34
+
31
35
  def seats
32
36
  return @seats unless @seats.nil?
33
37
 
@@ -1,3 +1,3 @@
1
1
  module Parliament
2
- VERSION = '0.5.0'.freeze
2
+ VERSION = '0.5.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parliament-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Rayner