fsquare 1.0.8 → 1.0.9

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: edab1553e0ddeea88e72b119a3ff5c954a77ad98
4
- data.tar.gz: a59df1f2b4e6c9f1af905898c93dc340e7a6a9c3
3
+ metadata.gz: 15e0f5c047e000c4a600d4b3a943a1871facb41d
4
+ data.tar.gz: af575071a4777095062bc6322a0c2bbfbd813c9d
5
5
  SHA512:
6
- metadata.gz: be49d897daa3c265e0fdfc3f3cce46e3802cd90e82ceb077f6d16c8641f7537a217325fafe115a6b53b82e383831afaba8482cf091181df80af70cc9aaacaf56
7
- data.tar.gz: f1e815061017ada5a04bb30026db3a8be702664e91c71d64a085f8b3ade9c1914038710f7aa260650bce31efb1b4e53b3aa361081f7e259a2efb587902748882
6
+ metadata.gz: 4f6b90fea2da701aef0d65105c05284e6400a74b3c26d405aaa9ac424ac084fe8416adf37ef3aee339ab1a56930becd7c6ea0f6a04d6344ed87b72ca36bb4321
7
+ data.tar.gz: 86982979f002ca3694017404fcf759212b59019cc1ab589ec2d4f65d9879dae1a32b637ec7623e84ca6d097a452e070c188e9a2a250f6ed9771aac1c79af7490
@@ -1,3 +1,3 @@
1
1
  module Fsquare
2
- VERSION = "1.0.8"
2
+ VERSION = "1.0.9"
3
3
  end
data/lib/fsquare.rb CHANGED
@@ -19,13 +19,10 @@ module Fsquare
19
19
  if @clientId.nil? || @clientSecret.nil?
20
20
  raise "client_id or client_secret is not defined. Please call initialize()"
21
21
  end
22
- puts "*************"
23
22
  search_url = "https://api.foursquare.com#{path}&client_id=#{@clientId}&client_secret=#{@clientSecret}&" + data.to_query
24
- puts "search query: " + search_url
25
- result = HTTParty.get(search_url)
26
- puts result
27
- puts "*********************"
28
- result['response']
23
+ return search_url
24
+ #result = HTTParty.get(search_url)
25
+ #result['response']
29
26
  end
30
27
  result = Rails.cache.fetch(cacheKey)
31
28
  return result
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fsquare
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terry Won