get_your_rep 0.1.5 → 0.1.6

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: 94f2254ce0c1240f90ebe2c2dcd377b019a2b6a3
4
- data.tar.gz: c095178a2033a5fcb5e9c643e7fed88137c04706
3
+ metadata.gz: 2036494c7f29adf4d775344439692a8686b74492
4
+ data.tar.gz: e4cbee4036cb3c619127fd539617295b3084448c
5
5
  SHA512:
6
- metadata.gz: cff6b68483ba6b52907782d4bc4ae16b2f815e3ffef4c26fe0d38ea785ad0164ca8d2562064eb5f154393cebd8fbce2427c18391aca71385e9b0a2dce2dd50a4
7
- data.tar.gz: 3d28b26e4ebf1f9d4361f08110a6f2b31feee6ee09dce0768a565cc1dfda35a5d0955744a171eef53a2eb6bcfea050fe3ce29087cdb9a7ce460bbe4d1c901b57
6
+ metadata.gz: 1d3bc8fdce0bdca164bb380efb0e24c66ccf244d09cb378f6431c0c1bb010442747b5299c315282cadb43f9dce921460afe8094be3d7deff9a36db53d972e4a3
7
+ data.tar.gz: ec9cfdc2dc4a623d21c6304829aaac5123b8accbb5f965d15a1880014f6d16c542e6341c547fa78424cc1296c81049f696472fdad4a8483d4c4e3fe81552f72f
@@ -182,12 +182,12 @@ module GetYourRep
182
182
  end
183
183
 
184
184
  def district_office
185
- @district_office = self[:office_locations].select { |loc| loc[:type] == 'district' }.first
185
+ @district_office = self.office_locations.select { |loc| loc[:type] == 'district' }.first
186
186
  {} if @district_office.nil?
187
187
  end
188
188
 
189
189
  def capitol_office
190
- @capitol_office = self[:office_locations].select { |loc| loc[:type] == 'capitol' }.first
190
+ @capitol_office = self.office_locations.select { |loc| loc[:type] == 'capitol' }.first
191
191
  {} if @capitol_office.nil?
192
192
  end
193
193
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: get_your_rep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - msimonborg