google_maps_geocoder 0.7 → 0.7.1
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 +5 -5
- data/.travis.yml +6 -2
- data/README.md +16 -18
- data/google_maps_geocoder.gemspec +4 -4
- data/lib/google_maps_geocoder/version.rb +1 -1
- metadata +22 -12
- data/.ruby-version +0 -1
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 | 
            -
             | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 2 | 
            +
            SHA256:
         | 
| 3 | 
            +
              metadata.gz: f46234243841130a16f88cfaa7e5e1f3cfa0a3b077872340a8f962247631550b
         | 
| 4 | 
            +
              data.tar.gz: '08cc73decc514ca46cb109b91c5a530a6add7d5baeae8fb0a982cccc619f4dff'
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: f1f39673ac4fb7cf61a6a3168a74cd5953040fdbd7334c65ba7891195e35f16134613d2caf20ccc6a9faee677f339648c3cec0c987f339b8f872f92e2668d5d1
         | 
| 7 | 
            +
              data.tar.gz: df17491635d7a798f19ba4df1c338bc057506ed54c743f1e417936272dc313389e37d7a3297fa450716a81498bee1f943db7e67f659b245e42123961e36e504a
         | 
    
        data/.travis.yml
    CHANGED
    
    
    
        data/README.md
    CHANGED
    
    | @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            # GoogleMapsGeocoder
         | 
| 2 2 |  | 
| 3 | 
            -
            [](http://travis-ci.org/ivanoblomov/google_maps_geocoder)
         | 
| 4 4 | 
             
            [](https://codeclimate.com/github/ivanoblomov/google_maps_geocoder)
         | 
| 5 5 | 
             
            [](https://coveralls.io/github/ivanoblomov/google_maps_geocoder?branch=master)
         | 
| 6 6 | 
             
            [](http://inch-ci.org/github/Ivanoblomov/google_maps_geocoder)
         | 
| @@ -11,17 +11,23 @@ A simple Plain Old Ruby Object wrapper for geocoding with Google Maps. | |
| 11 11 |  | 
| 12 12 | 
             
            ## Installation
         | 
| 13 13 |  | 
| 14 | 
            -
             | 
| 14 | 
            +
            1. Set your Google Maps API key, which Google now requires, as an environment variable:
         | 
| 15 15 |  | 
| 16 | 
            -
            ``` | 
| 17 | 
            -
             | 
| 18 | 
            -
            ```
         | 
| 16 | 
            +
                ```bash
         | 
| 17 | 
            +
                export GOOGLE_MAPS_API_KEY=[your key]
         | 
| 18 | 
            +
                ```
         | 
| 19 19 |  | 
| 20 | 
            -
             | 
| 20 | 
            +
            2. Add `GoogleMapsGeocoder` to your Gemfile and run `bundle`:
         | 
| 21 21 |  | 
| 22 | 
            -
            ```ruby
         | 
| 23 | 
            -
             | 
| 24 | 
            -
            ```
         | 
| 22 | 
            +
                ```ruby
         | 
| 23 | 
            +
                gem 'google_maps_geocoder'
         | 
| 24 | 
            +
                ```
         | 
| 25 | 
            +
             | 
| 26 | 
            +
                Or try it out in `irb` with:
         | 
| 27 | 
            +
             | 
| 28 | 
            +
                ```ruby
         | 
| 29 | 
            +
                require './lib/google_maps_geocoder/google_maps_geocoder'
         | 
| 30 | 
            +
                ```
         | 
| 25 31 |  | 
| 26 32 | 
             
            ## Ready to Go in One Step
         | 
| 27 33 |  | 
| @@ -88,16 +94,8 @@ For compatibility with [Geocoder](https://github.com/alexreisner/geocoder), the | |
| 88 94 | 
             
            * `GoogleMapsGeocoder#state`
         | 
| 89 95 | 
             
            * `GoogleMapsGeocoder#state_code`
         | 
| 90 96 |  | 
| 91 | 
            -
            ## Google Maps API Key (Optional)
         | 
| 92 | 
            -
             | 
| 93 | 
            -
            To have GoogleMapsGeocoder use your Google Maps API key, set it as an environment variable:
         | 
| 94 | 
            -
             | 
| 95 | 
            -
            ```bash
         | 
| 96 | 
            -
            export GOOGLE_MAPS_API_KEY=[your key]
         | 
| 97 | 
            -
            ```
         | 
| 98 | 
            -
             | 
| 99 97 | 
             
            ## [Contributing to GoogleMapsGeocoder](https://github.com/ivanoblomov/google_maps_geocoder/blob/master/.github/CONTRIBUTING.md)
         | 
| 100 98 |  | 
| 101 99 | 
             
            ## Copyright
         | 
| 102 100 |  | 
| 103 | 
            -
            Copyright © 2011- | 
| 101 | 
            +
            Copyright © 2011-2020 Roderick Monje. See [LICENSE.txt](https://github.com/ivanoblomov/google_maps_geocoder/blob/master/LICENSE.txt) for further details.
         | 
| @@ -7,18 +7,18 @@ Gem::Specification.new do |s| | |
| 7 7 | 
             
              s.description = 'Geocode a location without worrying about parsing Google '\
         | 
| 8 8 | 
             
                              "Maps' response. GoogleMapsGeocoder wraps it in a plain-old "\
         | 
| 9 9 | 
             
                              'Ruby object.'
         | 
| 10 | 
            -
              s.homepage = ' | 
| 10 | 
            +
              s.homepage = 'https://github.com/ivanoblomov/google_maps_geocoder'
         | 
| 11 11 | 
             
              s.authors = ['Roderick Monje']
         | 
| 12 12 | 
             
              s.email = 'rod@foveacentral.com'
         | 
| 13 13 |  | 
| 14 14 | 
             
              s.add_development_dependency 'codeclimate-test-reporter', '~> 0'
         | 
| 15 15 | 
             
              s.add_development_dependency 'coveralls', '~> 0'
         | 
| 16 | 
            -
              s.add_development_dependency 'rake', '~>  | 
| 16 | 
            +
              s.add_development_dependency 'rake', '~> 12.3', '>= 12.3.3'
         | 
| 17 17 | 
             
              s.add_development_dependency 'rspec', '~> 3'
         | 
| 18 18 | 
             
              s.add_development_dependency 'rubocop', '~> 0.49.0'
         | 
| 19 19 |  | 
| 20 | 
            -
              s.add_runtime_dependency 'activesupport', '~>  | 
| 21 | 
            -
              s.add_runtime_dependency 'rack', '~> 1. | 
| 20 | 
            +
              s.add_runtime_dependency 'activesupport', '~> 4.1', '>= 4.1.11'
         | 
| 21 | 
            +
              s.add_runtime_dependency 'rack', '~> 2.1.3'
         | 
| 22 22 |  | 
| 23 23 | 
             
              s.files       = `git ls-files`.split "\n"
         | 
| 24 24 | 
             
              s.test_files  = `git ls-files -- {test,spec,features}/*`.split "\n"
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google_maps_geocoder
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version:  | 
| 4 | 
            +
              version: 0.7.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Roderick Monje
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2020-05-31 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: codeclimate-test-reporter
         | 
| @@ -44,14 +44,20 @@ dependencies: | |
| 44 44 | 
             
                requirements:
         | 
| 45 45 | 
             
                - - "~>"
         | 
| 46 46 | 
             
                  - !ruby/object:Gem::Version
         | 
| 47 | 
            -
                    version: ' | 
| 47 | 
            +
                    version: '12.3'
         | 
| 48 | 
            +
                - - ">="
         | 
| 49 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 50 | 
            +
                    version: 12.3.3
         | 
| 48 51 | 
             
              type: :development
         | 
| 49 52 | 
             
              prerelease: false
         | 
| 50 53 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 51 54 | 
             
                requirements:
         | 
| 52 55 | 
             
                - - "~>"
         | 
| 53 56 | 
             
                  - !ruby/object:Gem::Version
         | 
| 54 | 
            -
                    version: ' | 
| 57 | 
            +
                    version: '12.3'
         | 
| 58 | 
            +
                - - ">="
         | 
| 59 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 60 | 
            +
                    version: 12.3.3
         | 
| 55 61 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 56 62 | 
             
              name: rspec
         | 
| 57 63 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -86,28 +92,34 @@ dependencies: | |
| 86 92 | 
             
                requirements:
         | 
| 87 93 | 
             
                - - "~>"
         | 
| 88 94 | 
             
                  - !ruby/object:Gem::Version
         | 
| 89 | 
            -
                    version:  | 
| 95 | 
            +
                    version: '4.1'
         | 
| 96 | 
            +
                - - ">="
         | 
| 97 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 98 | 
            +
                    version: 4.1.11
         | 
| 90 99 | 
             
              type: :runtime
         | 
| 91 100 | 
             
              prerelease: false
         | 
| 92 101 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 93 102 | 
             
                requirements:
         | 
| 94 103 | 
             
                - - "~>"
         | 
| 95 104 | 
             
                  - !ruby/object:Gem::Version
         | 
| 96 | 
            -
                    version:  | 
| 105 | 
            +
                    version: '4.1'
         | 
| 106 | 
            +
                - - ">="
         | 
| 107 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 108 | 
            +
                    version: 4.1.11
         | 
| 97 109 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 98 110 | 
             
              name: rack
         | 
| 99 111 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 100 112 | 
             
                requirements:
         | 
| 101 113 | 
             
                - - "~>"
         | 
| 102 114 | 
             
                  - !ruby/object:Gem::Version
         | 
| 103 | 
            -
                    version: 1. | 
| 115 | 
            +
                    version: 2.1.3
         | 
| 104 116 | 
             
              type: :runtime
         | 
| 105 117 | 
             
              prerelease: false
         | 
| 106 118 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 107 119 | 
             
                requirements:
         | 
| 108 120 | 
             
                - - "~>"
         | 
| 109 121 | 
             
                  - !ruby/object:Gem::Version
         | 
| 110 | 
            -
                    version: 1. | 
| 122 | 
            +
                    version: 2.1.3
         | 
| 111 123 | 
             
            description: Geocode a location without worrying about parsing Google Maps' response.
         | 
| 112 124 | 
             
              GoogleMapsGeocoder wraps it in a plain-old Ruby object.
         | 
| 113 125 | 
             
            email: rod@foveacentral.com
         | 
| @@ -122,7 +134,6 @@ files: | |
| 122 134 | 
             
            - ".github/ISSUE_TEMPLATE/feature_request.md"
         | 
| 123 135 | 
             
            - ".github/PULL_REQUEST_TEMPLATE.md"
         | 
| 124 136 | 
             
            - ".gitignore"
         | 
| 125 | 
            -
            - ".ruby-version"
         | 
| 126 137 | 
             
            - ".travis.yml"
         | 
| 127 138 | 
             
            - Gemfile
         | 
| 128 139 | 
             
            - LICENSE.txt
         | 
| @@ -133,7 +144,7 @@ files: | |
| 133 144 | 
             
            - lib/google_maps_geocoder/version.rb
         | 
| 134 145 | 
             
            - spec/lib/google_maps_geocoder_spec.rb
         | 
| 135 146 | 
             
            - spec/spec_helper.rb
         | 
| 136 | 
            -
            homepage:  | 
| 147 | 
            +
            homepage: https://github.com/ivanoblomov/google_maps_geocoder
         | 
| 137 148 | 
             
            licenses:
         | 
| 138 149 | 
             
            - MIT
         | 
| 139 150 | 
             
            metadata: {}
         | 
| @@ -152,8 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 152 163 | 
             
                - !ruby/object:Gem::Version
         | 
| 153 164 | 
             
                  version: '0'
         | 
| 154 165 | 
             
            requirements: []
         | 
| 155 | 
            -
             | 
| 156 | 
            -
            rubygems_version: 2.4.5.1
         | 
| 166 | 
            +
            rubygems_version: 3.1.2
         | 
| 157 167 | 
             
            signing_key: 
         | 
| 158 168 | 
             
            specification_version: 4
         | 
| 159 169 | 
             
            summary: A simple PORO wrapper for geocoding with Google Maps.
         | 
    
        data/.ruby-version
    DELETED
    
    | @@ -1 +0,0 @@ | |
| 1 | 
            -
            2.2.5
         |