findplace 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,7 +46,7 @@ This list is open to all. You are all welcome :).
46
46
  * Manisha Haridas
47
47
  * Github: https://github.com/manishaharidas
48
48
 
49
- * Anil Dias Davis aka "Pottan"
49
+ * Anil Dias Davis
50
50
  * Github: https://github.com/anildias
51
51
 
52
52
  * Sooraj S
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "findplace"
8
- s.version = "1.0.0"
8
+ s.version = "1.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["anildias"]
12
- s.date = "2013-09-19"
12
+ s.date = "2013-10-28"
13
13
  s.description = "\"A gem that uses the Google Places API to find the Location of your machine and returns with the name of all places matching the search type\""
14
14
  s.email = "qbruby@qburst.com"
15
15
  s.extra_rdoc_files = [
@@ -9,8 +9,9 @@ class FindPlace
9
9
  Class method that reads the client IP,decodes it to find the location coordinates using GeoCoder
10
10
  Uses the decoded coordinates and Client Request Type to find locations using GooglePlaces API
11
11
  =end
12
- def self.search_nearby(google_api_key,client_ip,type)
13
- client_ip = '115.248.107.225'
12
+ def self.search_nearby(google_api_key,client_ip,type)
13
+ #ip which we used to test
14
+ #client_ip = '115.248.107.225'
14
15
  coordinates=Geocoder.coordinates(client_ip)
15
16
  begin
16
17
  if coordinates.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: findplace
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-09-19 00:00:00.000000000 Z
12
+ date: 2013-10-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: shoulda
@@ -159,7 +159,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
159
159
  version: '0'
160
160
  segments:
161
161
  - 0
162
- hash: -1208613622818588260
162
+ hash: -2285235427343854505
163
163
  required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  none: false
165
165
  requirements: