lolcation_client 0.2.3 → 0.2.4
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 +4 -4
- data/lib/lolcation_client/interceptor.rb +3 -3
- data/lib/lolcation_client/near_in.rb +1 -1
- data/lib/lolcation_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4343f3723757c2633b0954308df37235628415e5
|
|
4
|
+
data.tar.gz: 6ef6f2cf124811f389af4b48c604b725c0ee0da8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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)
|
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.
|
|
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-
|
|
12
|
+
date: 2017-08-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|