GithubHelp home page GithubHelp logo

atul9 / mongo-ruby-driver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mongodb/mongo-ruby-driver

0.0 2.0 0.0 34.18 MB

Ruby driver for MongoDB

Home Page: https://docs.mongodb.com/ruby-driver/

License: Apache License 2.0

Shell 0.23% Ruby 99.77%

mongo-ruby-driver's Introduction

MongoDB Ruby Driver Build Status Code Climate Gem Version

The officially supported Ruby driver for MongoDB.

Documentation

High level documentation and usage examples are located here.

API docs can be found here.

Support & Feedback

For issues, questions or feedback related to the Ruby driver, please look into our support channels. Please do not email any of the Ruby developers directly with issues or questions - you're more likely to get an answer quickly on the mongodb-user list on Google Groups.

Bugs & Feature Requests

Do you have a bug to report or a feature request to make?

  1. Visit our issue tracker and login (or create an account if necessary).
  2. Navigate to the RUBY project.
  3. Click 'Create Issue' and fill out all the applicable form fields.

When reporting an issue, please keep in mind that all information in JIRA for all driver projects (ex. RUBY, CSHARP, JAVA) and the Core Server (ex. SERVER) project is PUBLICLY visible.

PLEASE DO

  • Provide as much information as possible about the issue.
  • Provide detailed steps for reproducing the issue.
  • Provide any applicable code snippets, stack traces and log data.
  • Specify version information for the driver and MongoDB.

PLEASE DO NOT

  • Provide any sensitive data or server logs.
  • Report potential security issues publicly (see 'Security Issues').

Security Issues

If you’ve identified a potential security related issue in a driver or any other MongoDB project, please report it by following the instructions here.

Running Tests

The driver uses RSpec as its primary testing tool. Most tests require a running MongoDB server. To test the driver against a single-node (standalone) deployment, first launch a server:

mkdir /tmp/mrb
mongod --dbpath /tmp/mrb --bind_ip 127.0.0.1 --setParameter enableTestCommands=1

... then run the tests:

bundle exec rake

It is possible to run tests in a specific file, as well as use other test invocations supported by RSpec:

bundle exec rspec path/to/spec.rb:42

Note that certain user accounts have to be created for individual tests to succeed, and they are not created when the individual tests are run. The user accounts are created if you run rake as mentioned above, and you can also create them by running:

bundle exec rake spec:prepare

For further information about supported cluster configurations and how to configure the test suite, please see the README in the spec directory.

Release History

Full release notes and release history are available here.

License

Copyright (C) 2009-2019 MongoDB, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

mongo-ruby-driver's People

Contributors

aemadrid avatar banker avatar cheald avatar durran avatar estolfo avatar evan-stripe avatar foobarwidget avatar fudoshiki avatar gjmurakami-10gen avatar jarthod avatar jnunemaker avatar johnbintz avatar jonhyman avatar kay-kim avatar malditogeek avatar nelhage avatar nessche avatar p avatar p-mongo avatar reidmorrison avatar saghm avatar samantharitter avatar seamusabshere avatar shingara avatar spf13 avatar steveren avatar timoschilling avatar tylerbrock avatar vpereira avatar wpiekutowski avatar

Watchers

 avatar  avatar

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.