findplace 0.1.0 → 1.0.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.
- data/README.rdoc +11 -11
 - data/Rakefile +1 -1
 - data/VERSION +1 -1
 - data/findplace.gemspec +2 -2
 - metadata +3 -3
 
    
        data/README.rdoc
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            = findplace
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
             findplace is a gem that allows to search for locations nearby.For eg: User can search for 'Hotels' nearby by passing the request as "hotel" 
     | 
| 
       4 
     | 
    
         
            -
              
     | 
| 
      
 3 
     | 
    
         
            +
             * findplace is a gem that allows to search for locations nearby.For eg: User can search for 'Hotels' nearby by passing the request as "hotel".
         
     | 
| 
      
 4 
     | 
    
         
            +
             * The gem will access the user-ip to find the location of the IP and then return all locations matching the request.
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
       6 
6 
     | 
    
         
             
            == Installation
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
         @@ -14,28 +14,28 @@ Add the gem to the gemfile: 
     | 
|
| 
       14 
14 
     | 
    
         | 
| 
       15 
15 
     | 
    
         
             
            To find a location near you:
         
     | 
| 
       16 
16 
     | 
    
         | 
| 
       17 
     | 
    
         
            -
            	FindPlace.search_nearby(google_places_api_key,client_ip,type)
         
     | 
| 
      
 17 
     | 
    
         
            +
            	* FindPlace.search_nearby(google_places_api_key,client_ip,type)
         
     | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
      
 19 
     | 
    
         
            +
            		eg: FindPlace.search_nearby("goole_api_key",10.10.10.10,"school")
         
     | 
| 
      
 20 
     | 
    
         
            +
            			returns the array of locations of all the schools within 5000 meters of the location of the IP 10.10.10.10
         
     | 
| 
       21 
21 
     | 
    
         | 
| 
       22 
     | 
    
         
            -
            	If the google_api_key is invalid,result would be "Invalid API key"
         
     | 
| 
       23 
     | 
    
         
            -
            	If the Geocoder doesnot respond before time out,response would be "No Results,Request Time Out"
         
     | 
| 
       24 
     | 
    
         
            -
            	If the request doesnot produce any results,response would be "Sorryyy...No results for your request"
         
     | 
| 
      
 22 
     | 
    
         
            +
            	* If the google_api_key is invalid,result would be "Invalid API key"
         
     | 
| 
      
 23 
     | 
    
         
            +
            	* If the Geocoder doesnot respond before time out,response would be "No Results,Request Time Out"
         
     | 
| 
      
 24 
     | 
    
         
            +
            	* If the request doesnot produce any results,response would be "Sorryyy...No results for your request"
         
     | 
| 
       25 
25 
     | 
    
         | 
| 
       26 
26 
     | 
    
         | 
| 
       27 
27 
     | 
    
         | 
| 
       28 
28 
     | 
    
         
             
            == Comments/Requests
         
     | 
| 
       29 
29 
     | 
    
         | 
| 
       30 
     | 
    
         
            -
            If anyone has comments or questions please let me know (krxcet@gmail.com or kannanr@qburst.com).
         
     | 
| 
       31 
     | 
    
         
            -
            If you have updates or patches or want to contribute I would love to see what you have or want to add.
         
     | 
| 
      
 30 
     | 
    
         
            +
            * If anyone has comments or questions please let me know (krxcet@gmail.com or kannanr@qburst.com).
         
     | 
| 
      
 31 
     | 
    
         
            +
            * If you have updates or patches or want to contribute I would love to see what you have or want to add.
         
     | 
| 
       32 
32 
     | 
    
         | 
| 
       33 
33 
     | 
    
         | 
| 
       34 
34 
     | 
    
         
             
            == Note on Patches/Pull Requests
         
     | 
| 
       35 
35 
     | 
    
         | 
| 
       36 
36 
     | 
    
         
             
            * Fork the project.
         
     | 
| 
       37 
37 
     | 
    
         
             
            * Make your feature addition or bug fix.
         
     | 
| 
       38 
     | 
    
         
            -
            * Add tests for it.  
     | 
| 
      
 38 
     | 
    
         
            +
            * Add tests for it. 
         
     | 
| 
       39 
39 
     | 
    
         
             
            * Send me a pull request. Bonus points for topic branches.
         
     | 
| 
       40 
40 
     | 
    
         | 
| 
       41 
41 
     | 
    
         | 
    
        data/Rakefile
    CHANGED
    
    | 
         @@ -15,7 +15,7 @@ require 'jeweler' 
     | 
|
| 
       15 
15 
     | 
    
         
             
            Jeweler::Tasks.new do |gem|
         
     | 
| 
       16 
16 
     | 
    
         
             
              # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
         
     | 
| 
       17 
17 
     | 
    
         
             
              gem.name = "findplace"
         
     | 
| 
       18 
     | 
    
         
            -
              gem.homepage = "http://github.com/ 
     | 
| 
      
 18 
     | 
    
         
            +
              gem.homepage = "http://github.com/qburstruby/findplace"
         
     | 
| 
       19 
19 
     | 
    
         
             
              gem.license = "MIT"
         
     | 
| 
       20 
20 
     | 
    
         
             
              gem.summary = %Q{Google Places API made easy}
         
     | 
| 
       21 
21 
     | 
    
         
             
              gem.description = %Q{"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"}
         
     | 
    
        data/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
      
 1 
     | 
    
         
            +
            1.0.0
         
     | 
    
        data/findplace.gemspec
    CHANGED
    
    | 
         @@ -5,7 +5,7 @@ 
     | 
|
| 
       5 
5 
     | 
    
         | 
| 
       6 
6 
     | 
    
         
             
            Gem::Specification.new do |s|
         
     | 
| 
       7 
7 
     | 
    
         
             
              s.name = "findplace"
         
     | 
| 
       8 
     | 
    
         
            -
              s.version = " 
     | 
| 
      
 8 
     | 
    
         
            +
              s.version = "1.0.0"
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
10 
     | 
    
         
             
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         
     | 
| 
       11 
11 
     | 
    
         
             
              s.authors = ["anildias"]
         
     | 
| 
         @@ -30,7 +30,7 @@ Gem::Specification.new do |s| 
     | 
|
| 
       30 
30 
     | 
    
         
             
                "test/helper.rb",
         
     | 
| 
       31 
31 
     | 
    
         
             
                "test/test_findplace.rb"
         
     | 
| 
       32 
32 
     | 
    
         
             
              ]
         
     | 
| 
       33 
     | 
    
         
            -
              s.homepage = "http://github.com/ 
     | 
| 
      
 33 
     | 
    
         
            +
              s.homepage = "http://github.com/qburstruby/findplace"
         
     | 
| 
       34 
34 
     | 
    
         
             
              s.licenses = ["MIT"]
         
     | 
| 
       35 
35 
     | 
    
         
             
              s.require_paths = ["lib"]
         
     | 
| 
       36 
36 
     | 
    
         
             
              s.rubygems_version = "1.8.25"
         
     | 
    
        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:  
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.0.0
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       6 
6 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
7 
     | 
    
         
             
            authors:
         
     | 
| 
         @@ -144,7 +144,7 @@ files: 
     | 
|
| 
       144 
144 
     | 
    
         
             
            - lib/findplace.rb
         
     | 
| 
       145 
145 
     | 
    
         
             
            - test/helper.rb
         
     | 
| 
       146 
146 
     | 
    
         
             
            - test/test_findplace.rb
         
     | 
| 
       147 
     | 
    
         
            -
            homepage: http://github.com/ 
     | 
| 
      
 147 
     | 
    
         
            +
            homepage: http://github.com/qburstruby/findplace
         
     | 
| 
       148 
148 
     | 
    
         
             
            licenses:
         
     | 
| 
       149 
149 
     | 
    
         
             
            - MIT
         
     | 
| 
       150 
150 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
         @@ -159,7 +159,7 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       159 
159 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       160 
160 
     | 
    
         
             
                  segments:
         
     | 
| 
       161 
161 
     | 
    
         
             
                  - 0
         
     | 
| 
       162 
     | 
    
         
            -
                  hash: - 
     | 
| 
      
 162 
     | 
    
         
            +
                  hash: -1208613622818588260
         
     | 
| 
       163 
163 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       164 
164 
     | 
    
         
             
              none: false
         
     | 
| 
       165 
165 
     | 
    
         
             
              requirements:
         
     |