Commit Graph

1748 Commits

Author SHA1 Message Date
Tyler Brock 6be68c3e24 minor: turn off travis e-mail notifications 2012-02-24 12:59:39 -05:00
Tyler Brock eb9b34c1af RUBY-413: Added support for travis-ci, fix for Gemfile conflict 2012-02-24 11:13:59 -05:00
Tyler Brock 038cbea739 Revert "Solves: "gems/mongo-1.6.0/lib/mongo/util/logging.rb:34:in `instrument': undefined method `level' for #<Mongoid::Logger:0x00000103ca7570> (NoMethodError)""
This reverts commit 775ed49e6c.

a logger should quack like a logger
2012-02-23 11:53:18 -05:00
Tyler Brock 87fd68e9d9 Merge pull request #92 from Krule/master
Logger complaining about missing method using mongoid and rails 3.1.2
2012-02-22 15:44:44 -08:00
Armin Pašalić 775ed49e6c Solves: "gems/mongo-1.6.0/lib/mongo/util/logging.rb:34:in `instrument': undefined method `level' for #<Mongoid::Logger:0x00000103ca7570> (NoMethodError)" 2012-02-22 21:26:59 +01:00
Tyler Brock 32117ac91c minor: updated README.md replica set test documentation 2012-02-22 13:58:13 -05:00
Tyler Brock c41a58d2aa minor: updated README.md test versions 2012-02-22 13:58:13 -05:00
Tyler Brock 34ccb5cb58 minor: ReplSet doc example update 2012-02-22 13:58:13 -05:00
Tyler Brock 85c8b18e23 Merge pull request #90 from comerford/patch-1
Update README.md
2012-02-22 10:35:49 -08:00
Tyler Brock 374644ba7b minor: removed Gemfile.lock 2012-02-22 13:22:30 -05:00
Tyler Brock a4343e53fe Release 1.6.0 2012-02-22 10:49:44 -05:00
Adam C e0c68881c0 Update README.md 2012-02-22 11:08:14 +00:00
Tyler Brock c802c7eba3 minor: fixes for tests in Ruby 1.8.7 2012-02-18 19:24:27 -05:00
Tyler Brock 4db19610d6 minor: documentation fixes
options -> opts in ReplSetConnection
2012-02-18 18:35:36 -05:00
Tyler Brock 8db4eb771f RUBY-378: fixed documentation and tests for new ReplSetConnection seed format
Added helper method #build_seeds to rs_test_helper
Added new test for old connection
2012-02-18 18:35:29 -05:00
Tyler Brock b70c9ce152 RUBY-406 enhancements to :secondary_only read preference
Improved implementation
-- read_preference :secondary_only is now communicated via invocation
of ReplSetConnection#checkout_secondary

Better tests
-- ensures reads go to secondaries
-- ensures reads do not go to primaries
2012-02-18 16:51:57 -05:00
Tyler Brock b9371206dc minor: improvements to ReplSetManager
add_node can now take blocks
new add_arbiter method
2012-02-18 15:00:25 -05:00
Tyler Brock 95d1129e75 minor: cleanup unused variables + methods 2012-02-17 15:18:02 -05:00
Tyler Brock a57762c797 minor: remove unused variables in Connection and ReplSetConnection Classes 2012-02-17 13:36:28 -05:00
Tyler Brock 79105f6c98 minor: documentation and test updates for RUBY-378 2012-02-16 14:31:34 -05:00
Kyle Banker b79d408a11 Enable log duration by default for :debug-level logging. 2012-02-16 14:01:09 -05:00
Kyle Banker 8bdb64721b minor: remove unused code 2012-02-16 14:01:09 -05:00
Tyler Brock a4e49d86ac Merge branch 'master' of github.com:mongodb/mongo-ruby-driver 2012-02-16 13:03:08 -05:00
Tyler Brock 098c750529 RUBY-378 minor fix to warning 2012-02-16 13:02:51 -05:00
Tyler Brock 542b8f46da RUBY-406 added ReplSetConnection read preference :secondary_only 2012-02-16 12:59:52 -05:00
Kyle Banker 0e50077ced Merge pull request #80 from VvanGemert/master
Allow GridFileSystem#delete to keep a specified number of versioned documents in GridFS rather than removing all or none.
2012-02-16 08:24:34 -08:00
Kyle Banker 3613a05461 Merge pull request #85 from shingara/log_duration
Add a log duration option.
2012-02-16 08:01:23 -08:00
Tyler Brock 78fc1debbe RUBY-378 new ReplSetConnection format 2012-02-16 10:59:09 -05:00
Kyle Banker aecad5d345 Merge pull request #88 from Oscil8/master
Add read_only option to DB#add_user
2012-02-16 07:55:22 -08:00
Tyler Brock fec284ee99 minor: small fix in replset initialization code 2012-02-16 10:36:13 -05:00
Tyler Brock bcb32e5935 minor: wait for mongod to die when we kill it during replica set tests 2012-02-15 18:17:24 -05:00
Kyle Banker dab2552b6b minor: document release process in detail. 2012-02-15 13:14:03 -05:00
Kyle Banker 02d39a75c7 minor: insert test should use w = 2 2012-02-15 12:55:14 -05:00
Kyle Banker b299986eb4 minor: don't preallocate for replica set tests 2012-02-15 12:13:47 -05:00
Tyler Brock 8c2929bd4c minor: increased sleep time on pooled insert rs test 2012-02-15 09:51:01 -05:00
Tyler Brock 1be40495c2 RUBY-412 added if statement to case T_DATA to catch unserializable time classes in Ruby >= 1.9.3 2012-02-14 16:11:52 -05:00
Tyler Brock e21adbd781 minor: possible fix for replica set refresh test not passing due to ghost members 2012-02-13 19:21:11 -05:00
Tyler Brock a3fa4892a6 minor: fix for test_accessors replica set test -- should not test tags on server < 2.0 2012-02-13 18:49:56 -05:00
Tyler Brock c6af6041e7 Merge branch 'master' of github.com:mongodb/mongo-ruby-driver 2012-02-13 17:57:38 -05:00
Tyler Brock c954b75030 RUBY-411 refactored ReplSetConnection#setup to remove code duplication 2012-02-13 17:57:23 -05:00
Kyle Banker b4079a22f9 minor: disable replica set threading test 2012-02-13 16:43:22 -05:00
Tyler Brock c871a645ad Merge branch 'master' of github.com:mongodb/mongo-ruby-driver 2012-02-13 15:23:48 -05:00
Tyler Brock 21ad1e9aef RUBY-409 fixed test for ordered hash to actually used Array instead of hash 2012-02-13 15:19:59 -05:00
Tyler Brock d19c679d67 Merge pull request #89 from benatkin/patch-1
typo in docs/WRITE_CONCERN.md
2012-02-12 20:58:40 -08:00
Benjamin Atkin b2455431a6 typo in docs/WRITE_CONCERN.md 2012-02-12 20:11:11 -07:00
Ariel Salomon a89492d1f8 Add documentation for read_only parameter 2012-02-12 14:25:39 -08:00
Ariel Salomon 9eadb3c24a Add read_only parameter to add_user 2012-02-12 13:30:21 -08:00
Tyler Brock 4a92a1e498 minor: fix for version_string in ReplSetManager 2012-02-10 15:43:01 -05:00
Tyler Brock 4317c9d1b0 minor: allow customization of mongod via environment var for testing via jenkins 2012-02-10 15:07:26 -05:00
Tyler Brock 08ca57b92c minor: cleanup rakefile, bamboo -> jenkins, broke out uninstall of bson_ext 2012-02-10 11:17:33 -05:00