parliament-ruby 0.5.2 → 0.5.3

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: 92cec2b58f6634ecc92cc5ffdcc46d90898b507f
4
- data.tar.gz: 14e89972e8253491afb5a879a21ccd9bc433af39
3
+ metadata.gz: 2ba737b8db8f3fd87a7b32cc9f1b4e486204731a
4
+ data.tar.gz: 8d19896a5887dda30183f127e99ad404b7536d99
5
5
  SHA512:
6
- metadata.gz: 33010456a9457e57dbfa4314533beac6714e616a20b984349fca4da6ca23159d23a43076e34924d60d17b702eae9eaea50a975d9b86834d548c857ac40841da7
7
- data.tar.gz: f60614a492ad0c302aa8ede156370821f898fa803eb6722140142297adffb733088b8d771df8177bdc9cdc67b8e4025e3f6ed55a82135d7a3f7b4cbd24edec2f
6
+ metadata.gz: 1976290a61db4cd8ca4d7d12f325b507ff586c0c4c5184ca3f8e6876295691b3c08c108d743a65ed8920013158df65f2d70ece2a8c0cb68d15b7ae3c2ef14a1b
7
+ data.tar.gz: f7a434d27d4fbc55c3885e37c3928c1cfb0ece09e71fe38b77dae87c19536c8a3634bece2d5c2fa7bd24625118f8c9e2b0a6e9f5711f16a6a2435b03fd1c2204
@@ -8,6 +8,10 @@ module Parliament
8
8
  def party_memberships
9
9
  respond_to?(:partyHasPartyMembership) ? partyHasPartyMembership : []
10
10
  end
11
+
12
+ def member_count
13
+ respond_to?(:count) ? count : nil
14
+ end
11
15
  end
12
16
  end
13
17
  end
@@ -1,3 +1,3 @@
1
1
  module Parliament
2
- VERSION = '0.5.2'.freeze
2
+ VERSION = '0.5.3'.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.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Rayner