Sha256: 0f283c5eca102bca95be56ed4082c5cb0be79af27d9b8c0a840311bded345b8c

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)

Gem::Specification.new do |s|
  s.name = "activerecord-postgres-earthdistance"
  s.version = "0.4.0"

  s.platform    = Gem::Platform::RUBY
  s.license     = "MIT"
  s.authors     = ["Diogo Biazus"]
  s.email       = "diogo@biazus.me"
  s.homepage    = "http://github.com/diogob/activerecord-postgres-earthdistance"
  s.summary     = "Check distances with latitude and longitude using PostgreSQL special indexes"
  s.description = "This gem enables your model to query the database using the earthdistance extension. This should be much faster than using trigonometry functions over standart indexs."
  s.required_ruby_version     = ">= 1.8.7"
  s.required_rubygems_version = ">= 1.3.6"

  s.add_dependency "rails", ">= 3.1"
  s.add_dependency "rake"
  s.add_dependency "pg"
  s.add_development_dependency "bundler"
  s.add_development_dependency "rdoc"
  s.add_development_dependency "rspec", "~> 2.11"

  git_files            = `git ls-files`.split("\n") rescue ''
  s.files              = git_files
  s.test_files         = `git ls-files -- {test,spec,features}/*`.split("\n")
  s.executables        = []
  s.require_paths      = %w(lib)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activerecord-postgres-earthdistance-0.4.0 activerecord-postgres-earthdistance.gemspec