bdurand/us_geo

View on GitHub
us_geo.gemspec

Summary

Maintainability
Test Coverage
Gem::Specification.new do |spec|
  spec.name = "us_geo"
  spec.version = File.read(File.expand_path("../VERSION", __FILE__)).strip
  spec.authors = ["Brian Durand"]
  spec.email = ["bbdurand@gmail.com"]

  spec.summary = "Collection of geographic data for the United States for use with ActiveRecord"
  spec.homepage = "https://github.com/bdurand/us_geo"
  spec.license = "MIT"

  # Specify which files should be added to the gem when it is released.
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  ignore_files = %w[
    .
    Appraisals
    Gemfile
    Gemfile.lock
    Rakefile
    bin/
    gemfiles/
    spec/
    data/
    sampleapp/
  ]
  spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
    `git ls-files -z`.split("\x0").reject { |f| ignore_files.any? { |path| f.start_with?(path) } }
  end

  spec.require_paths = ["lib"]

  spec.add_dependency "activerecord", ">= 5.2"
  spec.add_dependency "csv"

  spec.add_development_dependency "bundler"

  spec.required_ruby_version = ">= 2.6"
end