-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
129 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
source :gemcutter | ||
source "http://rubygems.org" | ||
|
||
gem 'rails', '>= 3.0.0' | ||
gem 'pg', '>= 0.11' | ||
|
||
group :development do | ||
gem "shoulda", ">= 0" | ||
gem "bundler", "~> 1.0.0" | ||
gem "jeweler", "~> 1.6.2" | ||
gem "rcov", ">= 0" | ||
end | ||
# specify gem dependencies in activerecord-postgres-earthdistance.gemspec | ||
# except the platform-specific dependencies below | ||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,84 +1,105 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
activerecord-postgres-earthdistance (0.2.0) | ||
rails (>= 3.1) | ||
rake | ||
|
||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
abstract (1.0.0) | ||
actionmailer (3.0.7) | ||
actionpack (= 3.0.7) | ||
mail (~> 2.2.15) | ||
actionpack (3.0.7) | ||
activemodel (= 3.0.7) | ||
activesupport (= 3.0.7) | ||
builder (~> 2.1.2) | ||
erubis (~> 2.6.6) | ||
i18n (~> 0.5.0) | ||
rack (~> 1.2.1) | ||
rack-mount (~> 0.6.14) | ||
rack-test (~> 0.5.7) | ||
tzinfo (~> 0.3.23) | ||
activemodel (3.0.7) | ||
activesupport (= 3.0.7) | ||
builder (~> 2.1.2) | ||
i18n (~> 0.5.0) | ||
activerecord (3.0.7) | ||
activemodel (= 3.0.7) | ||
activesupport (= 3.0.7) | ||
arel (~> 2.0.2) | ||
tzinfo (~> 0.3.23) | ||
activeresource (3.0.7) | ||
activemodel (= 3.0.7) | ||
activesupport (= 3.0.7) | ||
activesupport (3.0.7) | ||
arel (2.0.10) | ||
builder (2.1.2) | ||
erubis (2.6.6) | ||
abstract (>= 1.0.0) | ||
git (1.2.5) | ||
i18n (0.5.0) | ||
jeweler (1.6.2) | ||
bundler (~> 1.0) | ||
git (>= 1.2.5) | ||
rake | ||
mail (2.2.19) | ||
activesupport (>= 2.3.6) | ||
actionmailer (3.2.11) | ||
actionpack (= 3.2.11) | ||
mail (~> 2.4.4) | ||
actionpack (3.2.11) | ||
activemodel (= 3.2.11) | ||
activesupport (= 3.2.11) | ||
builder (~> 3.0.0) | ||
erubis (~> 2.7.0) | ||
journey (~> 1.0.4) | ||
rack (~> 1.4.0) | ||
rack-cache (~> 1.2) | ||
rack-test (~> 0.6.1) | ||
sprockets (~> 2.2.1) | ||
activemodel (3.2.11) | ||
activesupport (= 3.2.11) | ||
builder (~> 3.0.0) | ||
activerecord (3.2.11) | ||
activemodel (= 3.2.11) | ||
activesupport (= 3.2.11) | ||
arel (~> 3.0.2) | ||
tzinfo (~> 0.3.29) | ||
activeresource (3.2.11) | ||
activemodel (= 3.2.11) | ||
activesupport (= 3.2.11) | ||
activesupport (3.2.11) | ||
i18n (~> 0.6) | ||
multi_json (~> 1.0) | ||
arel (3.0.2) | ||
builder (3.0.4) | ||
diff-lcs (1.1.3) | ||
erubis (2.7.0) | ||
hike (1.2.1) | ||
i18n (0.6.1) | ||
journey (1.0.4) | ||
json (1.7.6) | ||
mail (2.4.4) | ||
i18n (>= 0.4.0) | ||
mime-types (~> 1.16) | ||
treetop (~> 1.4.8) | ||
mime-types (1.16) | ||
pg (0.11.0) | ||
polyglot (0.3.1) | ||
rack (1.2.3) | ||
rack-mount (0.6.14) | ||
rack (>= 1.0.0) | ||
rack-test (0.5.7) | ||
mime-types (1.20.1) | ||
multi_json (1.5.0) | ||
polyglot (0.3.3) | ||
rack (1.4.4) | ||
rack-cache (1.2) | ||
rack (>= 0.4) | ||
rack-ssl (1.3.3) | ||
rack | ||
rack-test (0.6.2) | ||
rack (>= 1.0) | ||
rails (3.0.7) | ||
actionmailer (= 3.0.7) | ||
actionpack (= 3.0.7) | ||
activerecord (= 3.0.7) | ||
activeresource (= 3.0.7) | ||
activesupport (= 3.0.7) | ||
rails (3.2.11) | ||
actionmailer (= 3.2.11) | ||
actionpack (= 3.2.11) | ||
activerecord (= 3.2.11) | ||
activeresource (= 3.2.11) | ||
activesupport (= 3.2.11) | ||
bundler (~> 1.0) | ||
railties (= 3.0.7) | ||
railties (3.0.7) | ||
actionpack (= 3.0.7) | ||
activesupport (= 3.0.7) | ||
railties (= 3.2.11) | ||
railties (3.2.11) | ||
actionpack (= 3.2.11) | ||
activesupport (= 3.2.11) | ||
rack-ssl (~> 1.3.2) | ||
rake (>= 0.8.7) | ||
thor (~> 0.14.4) | ||
rake (0.9.2) | ||
rcov (0.9.9) | ||
shoulda (2.11.3) | ||
thor (0.14.6) | ||
treetop (1.4.9) | ||
rdoc (~> 3.4) | ||
thor (>= 0.14.6, < 2.0) | ||
rake (10.0.3) | ||
rdoc (3.12) | ||
json (~> 1.4) | ||
rspec (2.12.0) | ||
rspec-core (~> 2.12.0) | ||
rspec-expectations (~> 2.12.0) | ||
rspec-mocks (~> 2.12.0) | ||
rspec-core (2.12.2) | ||
rspec-expectations (2.12.1) | ||
diff-lcs (~> 1.1.3) | ||
rspec-mocks (2.12.2) | ||
sprockets (2.2.2) | ||
hike (~> 1.2) | ||
multi_json (~> 1.0) | ||
rack (~> 1.0) | ||
tilt (~> 1.1, != 1.3.0) | ||
thor (0.17.0) | ||
tilt (1.3.3) | ||
treetop (1.4.12) | ||
polyglot | ||
polyglot (>= 0.3.1) | ||
tzinfo (0.3.27) | ||
tzinfo (0.3.35) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
bundler (~> 1.0.0) | ||
jeweler (~> 1.6.2) | ||
pg (>= 0.11) | ||
rails (>= 3.0.0) | ||
rcov | ||
shoulda | ||
activerecord-postgres-earthdistance! | ||
bundler | ||
rdoc | ||
rspec (~> 2.11) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,27 @@ | ||
# encoding: utf-8 | ||
|
||
# -*- encoding: utf-8 -*- | ||
$:.unshift File.expand_path("../lib", __FILE__) | ||
require 'bundler/gem_tasks' | ||
require 'rubygems' | ||
require 'bundler' | ||
require 'rspec/core/rake_task' | ||
require 'rdoc/task' | ||
|
||
task :default => :spec | ||
|
||
begin | ||
Bundler.setup(:default, :development) | ||
rescue Bundler::BundlerError => e | ||
$stderr.puts e.message | ||
$stderr.puts "Run `bundle install` to install missing gems" | ||
exit e.status_code | ||
end | ||
require 'rake' | ||
|
||
require 'jeweler' | ||
Jeweler::Tasks.new do |gem| | ||
gem.name = "activerecord-postgres-earthdistance" | ||
gem.license = "MIT" | ||
gem.name = "activerecord-postgres-earthdistance" | ||
gem.summary = %Q{Now you can filter records within a radius} | ||
gem.description = %Q{I'll write it tomorrow} | ||
gem.email = "diogob@gmail.com" | ||
gem.homepage = "http://github.com/softa/activerecord-postgres-earthdistance" | ||
gem.authors = ["Juan Maiz", "Diogo Biazus"] | ||
gem.add_dependency "pg" | ||
gem.add_dependency "rails" | ||
# dependencies defined in Gemfile | ||
end | ||
Jeweler::RubygemsDotOrgTasks.new | ||
|
||
require 'rake/testtask' | ||
Rake::TestTask.new(:test) do |test| | ||
test.libs << 'lib' << 'test' | ||
test.pattern = 'test/**/test_*.rb' | ||
test.verbose = true | ||
end | ||
RSpec::Core::RakeTask.new(:spec) | ||
|
||
require 'rcov/rcovtask' | ||
Rcov::RcovTask.new do |test| | ||
test.libs << 'test' | ||
test.pattern = 'test/**/test_*.rb' | ||
test.verbose = true | ||
test.rcov_opts << '--exclude "gems/*"' | ||
end | ||
|
||
task :default => :test | ||
|
||
require 'rake/rdoctask' | ||
Rake::RDocTask.new do |rdoc| | ||
RDoc::Task.new do |rdoc| | ||
version = File.exist?('VERSION') ? File.read('VERSION') : "" | ||
|
||
rdoc.rdoc_dir = 'rdoc' | ||
rdoc.title = "activerecord-postgres-earthdistance #{version}" | ||
rdoc.title = "activerecord-postgres-hstore #{version}" | ||
rdoc.rdoc_files.include('README*') | ||
rdoc.rdoc_files.include('lib/**/*.rb') | ||
end | ||
|
Oops, something went wrong.