pyr 0.2.3 → 0.2.4

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: e38754b69d1da42d3e400c3bd6363a8d8c44e4ac
4
- data.tar.gz: 32db2386defd07f793b16abce76af3bda404ead4
3
+ metadata.gz: 976f951e641281e557062b61caeb09e4ba007b13
4
+ data.tar.gz: 60ffb83eaf42200bb494b0b1d42d8f4c50dfc6aa
5
5
  SHA512:
6
- metadata.gz: b228237d9138caa3194eae900b8b682ce463104fbf57208b36c96e9b8ad5e0094933ce95e1746520afabbff63f62ebb4844b3eaa63f54cb9f0eafff147c1f295
7
- data.tar.gz: 3a3f5d217c260b591ae7554c43ff87266f02335150478e58fa0d78357c5e3ae442e32eebf61ae0264d707bd16a2f9ea7dcc68d64bf1415164f83a51cb6a3d027
6
+ metadata.gz: 75fbacdad26adb045bf28ef18a7ed9d0709ce9fa2d66c336b083ec3829f76d15d885bc877534d726dd7257c3a84ecd76042f3074bb55edd4fda959b5016ed160
7
+ data.tar.gz: ceb9b557dd6d88acd537f54be7efadcc4217092c755674c2e302f0dc48b7850c73f84a27232691c1158294f7b5bda60f3c20d1f573d5679ac68e2e165eb9dae3
@@ -19,6 +19,6 @@ module PYR
19
19
  # #state_code => Unique 2 digit code for the State that contains
20
20
  # the district.
21
21
  class District < ResponseObject
22
- lr_attr_accessor :self, :full_code, :code, :state_code
22
+ attr_accessor :self, :full_code, :code, :state_code
23
23
  end
24
24
  end
@@ -9,7 +9,7 @@ module PYR
9
9
  lr_scope :capitol, -> { where office_type: 'capitol' }
10
10
  lr_scope :district, -> { where office_type: 'district' }
11
11
 
12
- lr_attr_accessor :self,
12
+ attr_accessor :self,
13
13
  :city,
14
14
  :rep,
15
15
  :active,
@@ -12,7 +12,7 @@ module PYR
12
12
  lr_scope :senators, -> { where role: 'United States Senator' }
13
13
  lr_scope :representatives, -> { where role: 'United States Representative' }
14
14
 
15
- lr_attr_accessor :self,
15
+ attr_accessor :self,
16
16
  :state,
17
17
  :district,
18
18
  :active,
@@ -4,6 +4,6 @@ module PYR
4
4
  # The State is the response object that carries the data for
5
5
  # a single US State.
6
6
  class State < ResponseObject
7
- lr_attr_accessor :self, :state_code, :name, :abbr
7
+ attr_accessor :self, :state_code, :name, :abbr
8
8
  end
9
9
  end
@@ -6,6 +6,6 @@ module PYR
6
6
  class Zcta < ResponseObject
7
7
  lr_has_many :districts, :reps
8
8
 
9
- lr_attr_accessor :self, :zcta
9
+ attr_accessor :self, :zcta
10
10
  end
11
11
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PYR
4
- VERSION = '0.2.3' # :nodoc:
4
+ VERSION = '0.2.4' # :nodoc:
5
5
  end
@@ -35,6 +35,6 @@ Gem::Specification.new do |spec|
35
35
  spec.require_paths = ['lib']
36
36
 
37
37
  spec.add_dependency 'httparty', '~> 0.14.0'
38
- spec.add_dependency 'lazy_record', '~> 0.3.0'
38
+ spec.add_dependency 'lazy_record', '~> 0.4.0'
39
39
  spec.add_development_dependency 'bundler', '~> 1.14'
40
40
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pyr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - M. Simon Borg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-13 00:00:00.000000000 Z
11
+ date: 2017-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.3.0
33
+ version: 0.4.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.3.0
40
+ version: 0.4.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement