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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92cec2b58f6634ecc92cc5ffdcc46d90898b507f
|
4
|
+
data.tar.gz: 14e89972e8253491afb5a879a21ccd9bc433af39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33010456a9457e57dbfa4314533beac6714e616a20b984349fca4da6ca23159d23a43076e34924d60d17b702eae9eaea50a975d9b86834d548c857ac40841da7
|
7
|
+
data.tar.gz: f60614a492ad0c302aa8ede156370821f898fa803eb6722140142297adffb733088b8d771df8177bdc9cdc67b8e4025e3f6ed55a82135d7a3f7b4cbd24edec2f
|
@@ -36,7 +36,7 @@ module Parliament
|
|
36
36
|
return @seats unless @seats.nil?
|
37
37
|
|
38
38
|
seats = []
|
39
|
-
|
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
|
data/lib/parliament/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grom
|