parliament-ruby 0.5.1 → 0.5.2

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: c558a26a65c437071cb4e9b0ccb65d92756a5d7e
4
- data.tar.gz: 7841fde33adf7c5ac5bd64514df01e621bbfafa6
3
+ metadata.gz: 92cec2b58f6634ecc92cc5ffdcc46d90898b507f
4
+ data.tar.gz: 14e89972e8253491afb5a879a21ccd9bc433af39
5
5
  SHA512:
6
- metadata.gz: 79d1fba772175e4b05854ff1c51927091e444392e36421646ae7f65a06780a46eac99b10a62a843f5799d22da3644371b364c89026e7f036f3afa858a78a9789
7
- data.tar.gz: e2217d98af38d374ec1ff7393aeb5007cbe067ee0e59d38858c825ff08d2707cae8147f6aea9c7471d9d3aa00635c496a9225b9c3eaa4e0ebf0b1f231ce4bc6b
6
+ metadata.gz: 33010456a9457e57dbfa4314533beac6714e616a20b984349fca4da6ca23159d23a43076e34924d60d17b702eae9eaea50a975d9b86834d548c857ac40841da7
7
+ data.tar.gz: f60614a492ad0c302aa8ede156370821f898fa803eb6722140142297adffb733088b8d771df8177bdc9cdc67b8e4025e3f6ed55a82135d7a3f7b4cbd24edec2f
@@ -28,4 +28,4 @@ module Parliament
28
28
  end
29
29
  end
30
30
  end
31
- end
31
+ end
@@ -24,4 +24,4 @@ module Parliament
24
24
  end
25
25
  end
26
26
  end
27
- end
27
+ end
@@ -36,7 +36,7 @@ module Parliament
36
36
  return @seats unless @seats.nil?
37
37
 
38
38
  seats = []
39
- incumbencies.each do |incumbency|
39
+ seat_incumbencies.each do |incumbency|
40
40
  seats << incumbency.seat if incumbency.respond_to?(:seat)
41
41
  end
42
42
 
@@ -91,7 +91,6 @@ module Parliament
91
91
  def gender
92
92
  gender_identities.empty? ? nil : gender_identities.first.gender
93
93
  end
94
-
95
94
  end
96
95
  end
97
96
  end
@@ -1,3 +1,3 @@
1
1
  module Parliament
2
- VERSION = '0.5.1'.freeze
2
+ VERSION = '0.5.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parliament-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Rayner
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-02 00:00:00.000000000 Z
11
+ date: 2017-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grom