Sha256: 2cb0acf6008069477df139149cd43e6439fde008a5897a85c9f520e082bafb5f

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

Contents

# Ipgeobase

[![Gem Version](https://badge.fury.io/rb/ipgeobase.png)](https://rubygems.org/gems/ipgeobase)
[![Build Status](https://travis-ci.org/mokevnin/ipgeobase.png)](https://travis-ci.org/mokevnin/ipgeobase)
[![Dependency Status](https://gemnasium.com/mokevnin/ipgeobase.png)](https://gemnasium.com/mokevnin/ipgeobase)
[![Code Climate](https://codeclimate.com/github/mokevnin/ipgeobase.png)](https://codeclimate.com/github/mokevnin/ipgeobase)
[![Coverage Status](https://coveralls.io/repos/mokevnin/ipgeobase/badge.png?branch=master)](https://coveralls.io/r/mokevnin/ipgeobase)
[![Gem Version](http://stillmaintained.com/mokevnin/ipgeobase.png)](http://stillmaintained.com/mokevnin/ipgeobase)

## Installation

Add this line to your application's Gemfile:

    gem 'ipgeobase'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install 'ipgeobase'

## Usage

    ip_meta = Ipgeobase.lookup('10.11.12.134')
    ip_meta.city # => Москва
    ip_meta.country # => Россия


## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

run tests:

    turn -Itest test/lib

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ipgeobase-0.1.0 README.md