Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

woops fix some build issues

  • Loading branch information...
commit aa05e7ec3795b72cd9ff7a5ba900c63c4c71f5a3 1 parent 3ce096f
Ryan Ong ryanong authored
16 Rakefile
... ... @@ -1,2 +1,18 @@
1 1 #!/usr/bin/env rake
2 2 require "bundler/gem_tasks"
  3 +
  4 +require 'rspec/core'
  5 +require 'rspec/core/rake_task'
  6 +RSpec::Core::RakeTask.new(:spec) do |spec|
  7 + spec.pattern = FileList['spec/**/*_spec.rb']
  8 +end
  9 +
  10 +RSpec::Core::RakeTask.new(:rcov) do |spec|
  11 + spec.pattern = 'spec/**/*_spec.rb'
  12 + spec.rcov = true
  13 +end
  14 +
  15 +task :default => :spec
  16 +
  17 +require 'yard'
  18 +
1  lib/mongoid_spacial.rb
@@ -4,7 +4,6 @@
4 4 require 'mongoid_spacial/contexts/mongo'
5 5 require 'mongoid_spacial/criteria'
6 6 require 'mongoid_spacial/criterion'
7   -require 'mongoid_spacial/extentions/hash/criteria_helpers'
8 7 require 'mongoid_spacial/extentions/symbol/inflections'
9 8 require 'mongoid_spacial/field_option'
10 9 require 'mongoid_spacial/finders'
5 mongoid_spacial.gemspec
@@ -19,4 +19,9 @@ Gem::Specification.new do |gem|
19 19 gem.add_dependency('activesupport', ["~> 3.0"])
20 20 gem.add_development_dependency('yard', ["~>0.6.0"])
21 21 gem.add_development_dependency('rspec', ['~>2.3'])
  22 + gem.add_development_dependency('rcov', ['>= 0'])
  23 + gem.add_development_dependency('mocha', ['>= 0'])
  24 + gem.add_development_dependency('will_paginate', ['>= 0'])
  25 + gem.add_development_dependency('kaminari', ['>= 0'])
  26 +
22 27 end

0 comments on commit aa05e7e

Please sign in to comment.
Something went wrong with that request. Please try again.