minor: doc fixes
This commit is contained in:
parent
1f7cbc70d0
commit
75ff1aa633
2
Rakefile
2
Rakefile
@ -141,7 +141,7 @@ task :ydoc do
|
|||||||
require File.join(File.dirname(__FILE__), 'lib', 'mongo')
|
require File.join(File.dirname(__FILE__), 'lib', 'mongo')
|
||||||
out = File.join('ydoc', Mongo::VERSION)
|
out = File.join('ydoc', Mongo::VERSION)
|
||||||
FileUtils.rm_rf('ydoc')
|
FileUtils.rm_rf('ydoc')
|
||||||
system "yardoc lib/**/*.rb lib/mongo/**/*.rb lib/bson/**/*.rb -e ./yard/yard_ext.rb -p yard/templates -o #{out} --title MongoRuby-#{Mongo::VERSION} --files docs/TUTORIAL.md,docs/GridFS.md,docs/FAQ.md,docs/REPLICA_SETS.md,docs/WRITE_CONCERN.md,docs/READ_PREFERENCE.md,docs/HISTORY.md,docs/CREDITS.md,docs/RELEASES.md"
|
system "yardoc lib/**/*.rb lib/mongo/**/*.rb lib/bson/**/*.rb -e ./yard/yard_ext.rb -p yard/templates -o #{out} --title MongoRuby-#{Mongo::VERSION} --files docs/TUTORIAL.md,docs/GridFS.md,docs/FAQ.md,docs/REPLICA_SETS.md,docs/WRITE_CONCERN.md,docs/READ_PREFERENCE.md,docs/HISTORY.md,docs/CREDITS.md,docs/RELEASES.md,docs/CREDITS.md,docs/TAILABLE_CURSORS.md"
|
||||||
end
|
end
|
||||||
|
|
||||||
namespace :bamboo do
|
namespace :bamboo do
|
||||||
|
@ -48,8 +48,8 @@ UNRELEASED
|
|||||||
|
|
||||||
* Fix the exception message shown when there's an IOError (Mauro Pompilio)
|
* Fix the exception message shown when there's an IOError (Mauro Pompilio)
|
||||||
* Another update to map-reduce docs for v1.8. Note that if you use the new
|
* Another update to map-reduce docs for v1.8. Note that if you use the new
|
||||||
output option {:out => {:inline => true}}, then you must also specify
|
output option `{:out => {:inline => true}}`, then you must also specify
|
||||||
:raw => true.
|
`:raw => true`.
|
||||||
|
|
||||||
### 1.2.3
|
### 1.2.3
|
||||||
2011-2-22
|
2011-2-22
|
||||||
|
@ -590,12 +590,12 @@ module Mongo
|
|||||||
# @option opts [Boolean ] :verbose (false) if true, provides statistics on job execution time.
|
# @option opts [Boolean ] :verbose (false) if true, provides statistics on job execution time.
|
||||||
# @option opts [Boolean] :raw (false) if true, return the raw result object from the map_reduce command, and not
|
# @option opts [Boolean] :raw (false) if true, return the raw result object from the map_reduce command, and not
|
||||||
# the instantiated collection that's returned by default. Note if a collection name isn't returned in the
|
# the instantiated collection that's returned by default. Note if a collection name isn't returned in the
|
||||||
# map-reduce output (as, for example, when using :out => {:inline => 1}), then you must specify this option
|
# map-reduce output (as, for example, when using :out => { :inline => 1 }), then you must specify this option
|
||||||
# or an ArgumentError will be raised.
|
# or an ArgumentError will be raised.
|
||||||
#
|
#
|
||||||
# @return [Collection, Hash] a Mongo::Collection object or a Hash with the map-reduce command's results.
|
# @return [Collection, Hash] a Mongo::Collection object or a Hash with the map-reduce command's results.
|
||||||
#
|
#
|
||||||
# @raise ArgumentError if you specify {:out => {:inline => true}} but don't specify :raw => true.
|
# @raise ArgumentError if you specify { :out => { :inline => true }} but don't specify :raw => true.
|
||||||
#
|
#
|
||||||
# @see http://www.mongodb.org/display/DOCS/MapReduce Offical MongoDB map/reduce documentation.
|
# @see http://www.mongodb.org/display/DOCS/MapReduce Offical MongoDB map/reduce documentation.
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user