Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Area7 gem structure w mtodd testdbs #14

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Commits on Jan 16, 2013

  1. Configuration menu
    Copy the full SHA
    70866e3 View commit details
    Browse the repository at this point in the history
  2. Stripe spaces

    luislavena committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    6fe3755 View commit details
    Browse the repository at this point in the history
  3. Introduce a Gemfile to manage development dependencies

    Lot has been deprecated in Rake so we need to install things like
    RDoc.
    
    Also prepare the ground for usage of rake-compiler.
    luislavena committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    6ddc717 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f73a614 View commit details
    Browse the repository at this point in the history
  5. Relocate extension files into ext/geoip folder

    Move things out of root of the gem to avoid things like:
    
      require "extconf"
    
    Messing things up
    
    Once extension is compiled it will be moved by RubyGems to lib
    directory, so there is no need to indicate "." be added to the
    $LOAD_PATH
    luislavena committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    48dc69f View commit details
    Browse the repository at this point in the history
  6. Use RDoc task for documentation

    This resolves the deprecation warning caused by usage of old rake.
    luislavena committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    ea19eb0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1606a56 View commit details
    Browse the repository at this point in the history
  8. DRY gemspec usage

    Instead of duplicated gemspec to maintain, load the spec from the
    file.
    luislavena committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    989960c View commit details
    Browse the repository at this point in the history
  9. Use RubyGems package task instead of Rake one

    This solve deprecation warnings and also ensure gems get properly
    packaged.
    luislavena committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    df65cf9 View commit details
    Browse the repository at this point in the history
  10. Compile extension using rake-compiler

    This opens the door for cleaner compilation and later add cross
    compilation support.
    luislavena committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    08557db View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2013

  1. Set test encoding header and remove full path require

    Without it, Ruby 1.9.x can't read the test file.
    
    Rake::TestTask automatically adds 'lib' directory to $LOAD_PATH.
    luislavena committed Jan 17, 2013
    Configuration menu
    Copy the full SHA
    3339260 View commit details
    Browse the repository at this point in the history
  2. Download GeoLiteCity database and use it on tests

    Clobber the data files from 'data' when requested.
    
    Also ignore data directory from Git.
    luislavena committed Jan 17, 2013
    Configuration menu
    Copy the full SHA
    ca6de81 View commit details
    Browse the repository at this point in the history
  3. Default task is to run tests

    Since test already depends on compile
    luislavena committed Jan 17, 2013
    Configuration menu
    Copy the full SHA
    e81d71b View commit details
    Browse the repository at this point in the history
  4. Relocate test file to default 'test' directory

    And rename it to match the module it is testing.
    luislavena committed Jan 17, 2013
    Configuration menu
    Copy the full SHA
    3e11a48 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2013

  1. Avoid segfault caused by missing region_name

    For some country+region combos, region_name might not be found, which
    results in a NULL string and causes segfault when strlen() is performed
    on it.
    luislavena committed Feb 27, 2013
    Configuration menu
    Copy the full SHA
    4a49381 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2013

  1. Configuration menu
    Copy the full SHA
    0b384ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fcd8c23 View commit details
    Browse the repository at this point in the history