An implementation of the BSON specification in Ruby.
BSON is tested against MRI (2.6) and JRuby (9.2+).
Current documentation can be found here.
The API Documentation is located at mongodb.com/docs.
The BSON specification is at bsonspec.org.
To report a bug in the bson
gem or request a feature:
- Visit our issue tracker and login (or create an account if you do not have one already).
- Navigate to the RUBY project.
- Click 'Create Issue' and fill out all of the applicable form fields, making
sure to select
BSON
in the Component/s field.
When creating an issue, please keep in mind that all information in JIRA for the RUBY project, as well as the core server (the 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 numbers of the
bson
gem and/or Ruby driver and MongoDB server.
PLEASE DO NOT:
- Provide any sensitive data or server logs.
- Report potential security issues publicly (see 'Security Issues' below).
If you have identified a potential security-related issue in the bson
gem
(or any other MongoDB product), please report it by following the
instructions here.
To request a feature which is not specific to the bson
gem, or which
affects more than the bson
gem and/or Ruby driver alone (for example, a
feature which requires MongoDB server support), please submit your idea through
the MongoDB Feedback Forum.
New library functionality is generally added in a backwards-compatible manner and results in new minor releases. Bug fixes are generally made on master first and are backported to the current minor library release. Exceptions may be made on a case-by-case basis, for example security fixes may be backported to older stable branches. Only the most recent minor release is officially supported. Customers should use the most recent release in their applications.
As of 2.0.0, this project adheres to the Semantic Versioning Specification.
Copyright (C) 2009-2020 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.