rescue_groups 1.1.0 → 1.2.0

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
  SHA1:
3
- metadata.gz: 3482b7c469ca45657af64d5fb90465f0b79fe688
4
- data.tar.gz: 8949a7e32165f447ec145329420b35432373a185
3
+ metadata.gz: 1b67140b7179712643ba530475589aef40f6887d
4
+ data.tar.gz: 0428b03e0153005c71652fa6548289d934db2deb
5
5
  SHA512:
6
- metadata.gz: bd9bdc2b193426af2effb43021e2b33b61c8c93ecc334df02a8bb019f1e7e39d6f954e051025b27129f08eeef0981b334ad85992aa0c21fb7cf9f5c82d4760f6
7
- data.tar.gz: 59845a99e75ca07602f7f6fe9532b9418dc5d0cff14d7669acaf46ea71b8e01d0c8f1fceac6b4229f0c108f9e137fc99433e32ae76a6a80130f14d1e600cd69d
6
+ metadata.gz: 434e9619ce300f660b772245731a4f5f41b2ffc0c3de4808cfbdf268a99bc57cc5e9c57e3a26cd6d2bf9d3581adec3464e7f66580b0597b13c40f0562581daba
7
+ data.tar.gz: 80e8f8fd5b04653c29b1a7039e73e89687537d2ada710e5899aeeff0866d60aacc1f390a19b58f6b09bb28e94ee7e9d53b58c08a284ed738f7e9d351090370a3
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rescue_groups (1.1.0)
4
+ rescue_groups (1.2.0)
5
5
  faraday (~> 0.9)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Wrapper for RescueGroups.org API
4
4
 
5
- ![Build Status](https://travis-ci.org/yez/rescue_groups.svg?branch=master)
5
+ [![Build Status](https://travis-ci.org/yez/rescue_groups.svg?branch=master)](https://travis-ci.org/yez/rescue_groups)
6
6
 
7
7
  # Purpose
8
8
 
@@ -127,7 +127,7 @@ module RescueGroups
127
127
  foster_phone_cell: :fosterPhoneCell,
128
128
  foster_phone_home: :fosterPhoneHome,
129
129
  foster_salutation: :fosterSalutation,
130
- location_addresss: :locationAddress,
130
+ location_address: :locationAddress,
131
131
  location_city: :locationCity,
132
132
  location_country: :locationCountry,
133
133
  location_url: :locationUrl,
@@ -14,7 +14,7 @@ module RescueGroups
14
14
  location_address: :orgAddress,
15
15
  location_city: :orgCity,
16
16
  location_country: :orgCountry,
17
- # location_distance: :orgLocationDistance, # Seems to have been removed
17
+ location_distance: :orgLocationDistance,
18
18
  location_postal: :orgPostalcode,
19
19
  location_state: :orgState,
20
20
  location_zip_plus_4: :orgPlus4,
@@ -57,6 +57,7 @@ module RescueGroups
57
57
  limit: @limit,
58
58
  start: @start,
59
59
  sort: @sort,
60
+ order: @order
60
61
  }.reject { |_, v| v.nil? }
61
62
 
62
63
  search = search_engine_class.new(**args)
@@ -54,7 +54,7 @@ module RescueGroups
54
54
  resultStart: @start,
55
55
  resultLimit: @limit,
56
56
  resultSort: @sort,
57
- resultOrder: @order,
57
+ resultOrder: @order.to_s,
58
58
  calcFoundRows: @calc_found_rows,
59
59
  filters: @filters.map(&:as_json),
60
60
  fields: @fields,
@@ -1,4 +1,4 @@
1
- require_relative '../rescue_groups'
1
+ require_relative '../lib/rescue_groups'
2
2
  require_relative 'support/model_spec'
3
3
  require_relative 'support/searchable_spec'
4
4
 
data/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module RescueGroups
2
2
  MAJOR = 1
3
- MINOR = 1
3
+ MINOR = 2
4
4
  TINY = 0
5
5
 
6
6
  VERSION = [MAJOR, MINOR, TINY].join('.').freeze
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rescue_groups
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Yesbeck
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-23 00:00:00.000000000 Z
11
+ date: 2017-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday