lolcation_client 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: b8ed3b3cf03f08a0c02dee0f835b096fb4892ef4
4
- data.tar.gz: 393779c29c70e6f853b4a05522436657e1d5cc91
3
+ metadata.gz: 4343f3723757c2633b0954308df37235628415e5
4
+ data.tar.gz: 6ef6f2cf124811f389af4b48c604b725c0ee0da8
5
5
  SHA512:
6
- metadata.gz: fdc77e1c89d819dc8e63834b951aaa910147de592fd0fca6433ecb515ef92eb902875619c266cdef5cbb9bb4b6a4d5663175dd5f44291df428e886fa8c7087d3
7
- data.tar.gz: 82bbc906ac688466b03f3753052edda79b6feb731696a59d0b7253a494aea1da3229d9e65a8b9916ec706ee57724fb76c1d5982869a5c9d9749e34a94911f440
6
+ metadata.gz: ee984585a7c696847dcb02ef6a89b519224aecc0e9c290ef5e010e9c15ae35e24b20090559fa63c85c2c77c4a9471d6ed71fd3284f125ebc9e507c1c242df364
7
+ data.tar.gz: 6e8640e72a5a569608d393e903c95770b528d072dd0bbdc5e5d0cef6b49e2f94a1914c11d94ada078c08b22fbcfbcd616486f07ebd46267b5f1d0f5f4b905533
@@ -58,9 +58,9 @@ module LolcationClient
58
58
  address_state: self.try(:lolcation_address_state),
59
59
  address_number: self.try(:lolcation_address_number),
60
60
  address_zipcode: self.try(:lolcation_address_zipcode),
61
- filters: build_filter_fields
62
- },
63
- sandbox: sandbox?
61
+ filters: build_filter_fields,
62
+ sandbox: sandbox?
63
+ }
64
64
  }.to_json
65
65
  end
66
66
 
@@ -8,7 +8,7 @@ module LolcationClient
8
8
  def near_in(options = {})
9
9
  raise ArgumentError, 'Latitude and Longitude is required' unless options[:latitude].present? || options[:longitude].present?
10
10
 
11
- process(do_post(options), options)
11
+ process(do_post(options.merge(sandbox: sandbox?)), options)
12
12
  end
13
13
 
14
14
  def process(response, options)
@@ -1,3 +1,3 @@
1
1
  module LolcationClient
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolcation_client
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
  - Eduardo Zaghi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-08-15 00:00:00.000000000 Z
12
+ date: 2017-08-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler