{"shas":[["76ea5e868f25f849d14fa0419364964e97dfa717","73d5a973309600d751c48b4d7ca5056cb0dd5483@gmail.com","Added bson_ext, rspec2, and autotest to Gemfile","Jordan West"],["e2cd0f70c54ab39c7fcca0f35d0658112640ca75","73d5a973309600d751c48b4d7ca5056cb0dd5483@gmail.com","move Base methods into Mongomatic module, begin using rspec, some other changes (see entire commit for details)\n\nBeginning processes of making Mongomatic an includable module instead of a Base to subclass. Moved all functions (except #transaction, becasue it doesn't belong in main module) out of Mongomatic::Base and into Mongomatic module (plan is to move things out of this module into some sub-modules to clean it up, later). The move maintains backward compatibility so far by including the Mongomatic module in Base. The only thing that seems to be broken (when running the old tests) are the typed field checks, but I removed those explicitly so its expected. Note: I'm not sure how we want to handle backwards compat, if at all with the old _typed_field_ DSL (being replaced by _attribute_ DSL). \n\nAlso, began writing specs to replace existing unit tests. Leaving the old tests around for now so we can try to maintain some semblance of backwards compat. \n\nSome other changes along the way: \n\n* fixed bugs in #has_key? when accessing an array of embedded documents by index. it now should work as expected for all dotted keys\n* fixed bugs in #value_for_key and #set_value_for_key when dealing with arrays of embedded documents (small improvements on Tony Schneider's fix\n* #[], #[]= now support use of mongodb dot notation when accessing keys. They are aliases for #value_for_key and #set_value_for_key respectively\n* .count now uses collection.count. This is a minor improvement but reduces overhead of creating a useless Mongomatic::Cursor\n* reload now uses find_one instead of find\n* broke the to be deprecated/removed(?) typed_field syntax","Jordan West"],["8a5b343286ab62fde2951d4b423a447b5039b601","73d5a973309600d751c48b4d7ca5056cb0dd5483@gmail.com","updated TODO","Jordan West"],["7bd052477df7f2dfa5e818432ee038bc64cbaba6","73d5a973309600d751c48b4d7ca5056cb0dd5483@gmail.com","one more minor TODO change","Jordan West"],["a52eeedeb5eb950bd800388d4ff24093fd49b706","73d5a973309600d751c48b4d7ca5056cb0dd5483@gmail.com","moved Mongomatic::ClassMethods to its own file so mongomatic.rb isn't so bloated","Jordan West"],["2c5989e86833c0aca51d141469f865e9f246cdc7","73d5a973309600d751c48b4d7ca5056cb0dd5483@gmail.com","Gemfile.lock","Jordan West"],["de55dd33c811109bde9c00f6755b4c5a3e6142b5","73d5a973309600d751c48b4d7ca5056cb0dd5483@gmail.com","Move instance methods to seperate module. \n\nAlso, stop using class << self for module functions in Mongomatic module","Jordan West"],["06af7c1684b55cc3074afcf07306bfc6dbb129d4","73d5a973309600d751c48b4d7ca5056cb0dd5483@gmail.com","modifiers now work when including Mongomatic module\n\nWrote spec/mongomatic/modifiers_spec.rb to replace test/test_modifiers.rb\n\nOther Changes: \n\n* Moved Mongomatic::Util#create_array to Mongomatic::Modifiers since its the only file it is used in. Mongomatic::Util is probably useless now\n* Mongomatic::Base no longer includes Mongomatic::Util but no backwards compat. is lost","Jordan West"],["3073d58f923c14123243682871272cc5c39f18bf","73d5a973309600d751c48b4d7ca5056cb0dd5483@gmail.com","removed lib/mongomatic/util.rb (its empty now)","Jordan West"],["b486778d0ae370ca341add11aa46ead283be3b14","73d5a973309600d751c48b4d7ca5056cb0dd5483@gmail.com","put ActiveModelCompliancy back in when including Mongomatic module","Jordan West"],["527f5865a4fdc9b90bddae9914b723babc5b9dbd","73d5a973309600d751c48b4d7ca5056cb0dd5483@gmail.com","updated TODO","Jordan West"],["8f2b0507fb2dea10167e6a76f7cb4e408519f365","73d5a973309600d751c48b4d7ca5056cb0dd5483@gmail.com","begin implementing attribute DSL\n\n* Only supporting top-level keys currently, using dotted keys will result in unexpected/untested behavior\n* Supports getter/setter method for each attribute \n* Supports optional type casting on-load and when setting values (though no type checking). nil values are ignored in casts","Jordan West"],["c3245c4c0185c8b0e9aafb56006f7a440ec8a775","73d5a973309600d751c48b4d7ca5056cb0dd5483@gmail.com","Added Boolean to supported types in attribute DSL (also fixed bug, from original Bool type converter, when converting to FalseClass, in the process)","Jordan West"],["19f5d831213c73dcb19c2c893aed602f732654e4","73d5a973309600d751c48b4d7ca5056cb0dd5483@gmail.com","added specs for using \":typed => Hash\" in attribute DSL","Jordan West"],["12c376b07e4a5548f2e20d89c93dedbeea8a76e1","73d5a973309600d751c48b4d7ca5056cb0dd5483@gmail.com","rewrote some of the existing type casting specs","Jordan West"],["c25ed7600c46ea740541f12299fb47d913e8b7a1","73d5a973309600d751c48b4d7ca5056cb0dd5483@gmail.com","added specs for type conversion to Symbol, Regexp, Array","Jordan West"]],"ref":"refs/heads/master","size":16,"head":"c25ed7600c46ea740541f12299fb47d913e8b7a1","push_id":32670653}