petfinder_V2 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd02de6a3afbd4cb0a38e81db9f708d9048a01464f5a72323882d758e69e29ab
4
- data.tar.gz: '01809fe6ef68ff6dda3be1c04076ede962b963c6c2efe1afe47a08a822975032'
3
+ metadata.gz: 903677ef34f79e38823e6c5201ad96eb04044a2d0f1ae2ad3b5706a6c6b95937
4
+ data.tar.gz: d9327b3a8e94031aa94d279087dd315db20fed318d3925661c514d92d36bc303
5
5
  SHA512:
6
- metadata.gz: 97c813fc7527263bfd5644fa0522bd2c5030f5b451891b8611bb72f217b682497b0ec520405d5c03f1d5d20b43d8bc1c658067a8acad42790ebbeb4582db225b
7
- data.tar.gz: b7bb6499488c91787b9da054a5ca7dea9f23af15901878aed509fd59231611f79498e5242b80d4a89bdd78ee8b1cf5b78f92712dacf2144052137438860c7972
6
+ metadata.gz: 46374308d44114839e579282001072993d643cdde4e704674d8fd55e2cd8d05084f04529377cc0fba2996f10a9049d7649d02e724b31fdfe01c3ab6752a4175f
7
+ data.tar.gz: 2ce4ec2041e7a4492da5f1bbae35c28d63036d25069e46f4691fb4feeb6110f3702e75f71a0df074cbd737065587e041cf23c7fe15fcb0d94305cfe25e55abbd
@@ -1,45 +1,45 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- petfinder_V2 (0.1.0)
4
+ petfinder_V2 (0.1.2)
5
5
  faraday
6
6
  json
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- addressable (2.6.0)
12
- public_suffix (>= 2.0.2, < 4.0)
11
+ addressable (2.7.0)
12
+ public_suffix (>= 2.0.2, < 5.0)
13
13
  byebug (11.0.1)
14
14
  crack (0.4.3)
15
15
  safe_yaml (~> 1.0.0)
16
16
  diff-lcs (1.3)
17
- faraday (0.15.4)
17
+ faraday (0.17.1)
18
18
  multipart-post (>= 1.2, < 3)
19
- hashdiff (0.3.9)
20
- json (2.2.0)
21
- multipart-post (2.0.0)
22
- public_suffix (3.0.3)
19
+ hashdiff (1.0.0)
20
+ json (2.3.0)
21
+ multipart-post (2.1.1)
22
+ public_suffix (4.0.2)
23
23
  rake (10.5.0)
24
- rspec (3.8.0)
25
- rspec-core (~> 3.8.0)
26
- rspec-expectations (~> 3.8.0)
27
- rspec-mocks (~> 3.8.0)
28
- rspec-core (3.8.0)
29
- rspec-support (~> 3.8.0)
30
- rspec-expectations (3.8.3)
24
+ rspec (3.9.0)
25
+ rspec-core (~> 3.9.0)
26
+ rspec-expectations (~> 3.9.0)
27
+ rspec-mocks (~> 3.9.0)
28
+ rspec-core (3.9.1)
29
+ rspec-support (~> 3.9.1)
30
+ rspec-expectations (3.9.0)
31
31
  diff-lcs (>= 1.2.0, < 2.0)
32
- rspec-support (~> 3.8.0)
33
- rspec-mocks (3.8.0)
32
+ rspec-support (~> 3.9.0)
33
+ rspec-mocks (3.9.0)
34
34
  diff-lcs (>= 1.2.0, < 2.0)
35
- rspec-support (~> 3.8.0)
36
- rspec-support (3.8.0)
35
+ rspec-support (~> 3.9.0)
36
+ rspec-support (3.9.1)
37
37
  safe_yaml (1.0.5)
38
- vcr (4.0.0)
39
- webmock (3.5.1)
38
+ vcr (5.0.0)
39
+ webmock (3.7.6)
40
40
  addressable (>= 2.3.6)
41
41
  crack (>= 0.3.2)
42
- hashdiff
42
+ hashdiff (>= 0.4.0, < 2.0.0)
43
43
 
44
44
  PLATFORMS
45
45
  ruby
@@ -54,4 +54,4 @@ DEPENDENCIES
54
54
  webmock
55
55
 
56
56
  BUNDLED WITH
57
- 2.0.1
57
+ 2.1.2
@@ -65,7 +65,7 @@ module PetfinderV2
65
65
  end
66
66
 
67
67
  def validate_organization_options!(opts)
68
- errors = Services::AnimalOptionsValidator.new(opts).run
68
+ errors = Services::OrganizationOptionsValidator.new(opts).run
69
69
  invalid_options_error!(errors)
70
70
  end
71
71
 
@@ -6,7 +6,6 @@ module PetfinderV2
6
6
  class AnimalOptionsValidator < OptionsValidator
7
7
  def my_opts
8
8
  {
9
- limit: Option.new(Integer),
10
9
  breed: Option.new(String),
11
10
  color: Option.new(String),
12
11
  orgnanization: Option.new(String),
@@ -2,6 +2,7 @@ module PetfinderV2
2
2
  module Services
3
3
  class OptionsValidator
4
4
  BASE_OPTS_MAP = {
5
+ limit: Option.new(Integer),
5
6
  name: Option.new(String),
6
7
  distance: Option.new(Integer),
7
8
  location: Option.new(String),
@@ -1,3 +1,3 @@
1
1
  module PetfinderV2
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: petfinder_V2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Wanicur
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-07 00:00:00.000000000 Z
11
+ date: 2019-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  - !ruby/object:Gem::Version
178
178
  version: '0'
179
179
  requirements: []
180
- rubygems_version: 3.0.1
180
+ rubygems_version: 3.1.2
181
181
  signing_key:
182
182
  specification_version: 4
183
183
  summary: Wrapper for the Petfinder V2 API