Giter Club home page Giter Club logo

Comments (3)

kristianmandrup avatar kristianmandrup commented on June 16, 2024

The specs run just fine for me.

$ rspec spec/mongoid/geo/
.......................................
$ ruby -v
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0]

But using rake, I get that same error...

$ rake -v
(in /Users/kristianconsult/Development/Languages/Ruby/Apps/Gems/mongoid_geo)
/Users/kristianconsult/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/rake.rb:30: warning: already initialized constant RAKEVERSION
WARNING: Possible conflict with Rake extension: String#ext already exists
WARNING: Possible conflict with Rake extension: String#pathmap already exists
/Users/kristianconsult/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/rake.rb:402: warning: already initialized constant EMPTY_TASK_ARGS

from mongoid-geo.

wtn avatar wtn commented on June 16, 2024

Thanks, I'll use the rspec command for now.

I noticed that two specs are failing:

  1. Mongoid::Geo::Near geoNear option :maxDistance should limit on maximum distance
    Failure/Error: Address.geoNear(address, :location, :maxDistance => 0.2).size.should == 1
    expected: 1
    got: 2 (using ==)

    ./spec/mongoid/geo/geo_near_spec.rb:36:in `block (4 levels) in <top (required)>'

  2. Mongoid::Geo::Near geoNear option :query should filter using extra query option
    Failure/Error: Address.geoNear(address, :location, :query => {:city => 'Munich'}).size.should == 1
    expected: 1
    got: 2 (using ==)

    ./spec/mongoid/geo/geo_near_spec.rb:50:in `block (4 levels) in <top (required)>'

from mongoid-geo.

kristianmandrup avatar kristianmandrup commented on June 16, 2024

Have been fixed

from mongoid-geo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.