Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-09-01T05:00:23-07:00 - details
Regenerate gemspec
Piotr Solnica - 2011-09-01T05:00:08-07:00 - details
Set dependency on activemodel to ~> 3.1.0
Xavier Shay - 2011-07-23T02:28:43-07:00 - details
Last commit was wrong, failed to change the ~> to a >= in the gem version constraint.
Xavier Shay - 2011-07-23T02:20:05-07:00 - details
Relax gemspec for Rails 3.1 compat. There are no breaking changes in the latest ActiveModel.
Piotr Solnica - 2011-04-28T07:39:28-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:32:00-07:00 - details
Version bump to 1.1.1
Dan Kubb - 2011-03-19T21:04:34-07:00 - details
Removed dependency on rubygems ~> 1.4 * The dependency really was only a development dependency, not a runtime, and my intention was not to require ~> 1.4 always. In development mode when test-unit is installed it will attempt to install hoe, and it will fail if rubygems is less than 1.4.
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-05-23T08:58:44-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Piotr Solnica - 2011-04-29T01:37:07-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:39:30-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:32:06-07:00 - details
Version bump to 1.1.1
Piotr Solnica - 2011-04-25T04:09:47-07:00 - details
Bump DO version to 0.10.4.rc
Dan Kubb - 2011-04-08T22:51:27-07:00 - details
Conditionally add the #adjust method to the DO adapter is it's being used
Dan Kubb - 2011-04-08T22:46:16-07:00 - details
Minor style changes
Dan Kubb - 2011-04-08T22:45:00-07:00 - details
Update code to match conventions in InMemoryAdapter extension * Conditionally add YamlAdapter#adjust if the adapter is being used
Matthew Boehlig - 2011-04-05T22:40:59-07:00 - details
Add adjust support for yaml-adapter
Dan Kubb - 2011-04-08T22:29:49-07:00 - details
Updated specs to work with in_memory adapter
Dan Kubb - 2011-04-08T22:18:30-07:00 - details
Stripped whitespace
Michael Rykov - 2010-11-03T15:08:09-07:00 - details
Add adjust support for InMemoryAdapter
Michael Rykov - 2010-11-02T19:46:51-07:00 - details
Add COALESCE to default NULL columns to 0
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-05-23T08:58:49-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Piotr Solnica - 2011-04-29T01:37:12-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:39:31-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:32:13-07:00 - details
Version bump to 1.1.1
Dan Kubb - 2011-04-08T21:37:28-07:00 - details
Started refactoring specs to use let/subject * Still more refactoring needed
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-05-23T08:58:52-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Piotr Solnica - 2011-04-29T01:37:17-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:39:32-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:32:20-07:00 - details
Version bump to 1.1.1
Dan Kubb - 2011-03-22T23:33:43-07:00 - details
Use Hash[] instead of DataMapper::Ext::Array.to_hash
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-05-23T08:58:55-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Piotr Solnica - 2011-04-29T01:37:21-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:39:34-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:32:26-07:00 - details
Version bump to 1.1.1
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Dan Kubb - 2011-09-01T09:46:44-07:00 - details
Stripped whitespace
Emmanuel Gomez - 2011-07-06T02:18:57-07:00 - details
Merge pull request #11 from emmanuel/master Really unbreak the gemspec this time. I tested it in my fork.
Emmanuel Gomez - 2011-07-06T02:13:51-07:00 - details
Jeepers. Finish unbreaking the gemspec. I hope. I guess I don't know how to test the gemspec, short of installing it (but not into a bundle via :path, because that doesn't validate the gemspec).
Emmanuel Gomez - 2011-07-06T02:09:01-07:00 - details
Merge pull request #10 from emmanuel/master Unbreak the gemspec.
Emmanuel Gomez - 2011-07-06T02:08:15-07:00 - details
Unbreak the gemspec. Which I also broke in my recent reorganizing.
Emmanuel Gomez - 2011-07-06T01:43:18-07:00 - details
Merge pull request #9 from emmanuel/master My previous refactor broke dm-constraints (despite tests passing). This fixes it again.
Emmanuel Gomez - 2011-07-06T01:37:31-07:00 - details
Fix a big bug introduced in my recent refactor. I had misread the previous implementation, and it seemed sensible to tie constraint creation to model migration. But no, there's a reason that constraints are all removed before migrating down, and all added after migrating up.
Emmanuel Gomez - 2011-06-28T16:01:49-07:00 - details
Merge pull request #7 from emmanuel/feature/rewrite
Emmanuel Gomez - 2011-06-28T16:00:57-07:00 - details
Mark @api private methods as such.
Emmanuel Gomez - 2011-06-25T00:12:31-07:00 - details
Integrate dkubb's remaining suggestions. Better command/query separation (commands return self), pseudo-namespace methods piled into Model and Relationship. And one of my own, drop '!' on non-public auto_migrate methods, because there is no non-destructive alternative, that's just the behavior of the command.
Emmanuel Gomez - 2011-06-25T00:09:36-07:00 - details
Remove dead comment.
Emmanuel Gomez - 2011-06-25T00:09:16-07:00 - details
Correct documented type of arg.
Emmanuel Gomez - 2011-06-25T00:08:51-07:00 - details
Align assignments.
Emmanuel Gomez - 2011-06-24T17:25:22-07:00 - details
Add an @todo to rename #auto_migrate_down_constraints!.
Emmanuel Gomez - 2011-06-24T17:24:52-07:00 - details
ManyToOne inherits from OneToMany; make sure the latter is loaded first.
Emmanuel Gomez - 2011-06-24T17:24:26-07:00 - details
Move adapter support modules into their new home.
Emmanuel Gomez - 2011-06-24T16:57:29-07:00 - details
Update require spec to reflect normal use of Model.append_extensions.
Emmanuel Gomez - 2011-06-24T16:25:09-07:00 - details
Reformat lambda in spec.
Emmanuel Gomez - 2011-06-24T16:25:00-07:00 - details
Simplify JRuby check.
Emmanuel Gomez - 2011-06-24T15:54:49-07:00 - details
Clean up variable names, alignment, docs in adapter modules.
Emmanuel Gomez - 2011-06-24T15:53:50-07:00 - details
First step (a big one) towards a partial re-write.
Piotr Solnica - 2011-05-23T08:58:58-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Piotr Solnica - 2011-04-29T01:37:26-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:39:35-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:32:32-07:00 - details
Version bump to 1.1.1
Xavier Shay - 2011-03-22T18:05:00-07:00 - details
Slightly better formatting, replaced farming examples because they stress me out. Sorry they are a bit more boring now.
Xavier Shay - 2011-03-22T18:02:23-07:00 - details
Proper formatting for code examples
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-07-24T23:07:30-07:00 - details
Regenerate gemspec
Piotr Solnica - 2011-07-24T04:15:39-07:00 - details
Fixed Model.allowed_writer_methods spec
Emmanuel Gomez - 2011-07-23T18:22:11-07:00 - details
Rename Resource::State -> Resource::PersistenceState. Also rename accessor: Resource#persisted_state -> #persistence_state and add previous accessor as a deprecated alias in dm-core/backwards.rb.
Dan Kubb - 2011-07-22T12:24:47-07:00 - details
Removed another redundant DataMapper.finalize call from the specs
Dan Kubb - 2011-07-22T12:21:41-07:00 - details
Always finalize within an adapter spec block * Remove redundant explicit finalization
Dan Kubb - 2011-07-22T12:21:13-07:00 - details
Only force auto-migratition for alternate repositories if the model supports it
Dan Kubb - 2011-07-20T19:22:49-07:00 - details
Setup the allowed writer method in Model#finalize * This is superior to memoizing the value because Model#finalize should only be called when the model has all the properties/methods added to it. * Models must be finalize before instances being used. This was always always the contract, however the specs never enforced that. Now that this change is applied Model#finalize *must* be performed before using the initialized objects. Fixed the specs to comply with this.
Dan Kubb - 2011-07-20T19:09:37-07:00 - details
Added != as an invalid writer method
Dan Kubb - 2011-07-20T18:53:52-07:00 - details
Extracted common functionality Model#finalize to separate methods * Make sure OneToMany::Relationship#finalize calls #inverse.finalize in case the inverse relationship is not in the child_model RelationshipSet. * Removed duplicate functionality from Model#assert_valid and just call #finalize directly.
Dan Kubb - 2011-07-20T18:04:19-07:00 - details
Explicitly auto-migrate models in alternate repositories * No longer rely on the broken behaviour of auto-migration where it will automatically add every model to every repository.
Dan Kubb - 2011-07-18T21:04:33-07:00 - details
Update Resource#attributes= to not use Module#public_method_defined? * The Module#public_method_defined? method creates an unnecessary Symbol object under the hood for non-existent methods, while this new approach does not.
Dan Kubb - 2011-07-18T20:51:21-07:00 - details
Stripped whitespace
Emmanuel Gomez - 2011-07-06T11:01:36-07:00 - details
Merge pull request #129 from leereilly/my_new_branch Documentation update; call super when overriding accessors
Lee Reilly - 2011-07-01T18:52:39-07:00 - details
Removed first call to `super`
Lee Reilly - 2011-07-01T18:50:04-07:00 - details
Corrected a spelling mistake
Lee Reilly - 2011-07-01T18:49:34-07:00 - details
Switched `@title = new_title` with `super(new_title)`
Lee Reilly - 2011-06-30T21:38:47-07:00 - details
Added note to documentation; call super when overriding accessors to ensure validators are still active
Emmanuel Gomez - 2011-06-27T00:35:09-07:00 - details
Merge pull request #115 from emmanuel/feature/minimize_chainable_use Minimize chainable use
Dan Kubb - 2011-06-22T17:35:03-07:00 - details
Use #finalize from the 1:m instead of an explicit one in the 1:1 relationship
Emmanuel Gomez - 2011-06-22T01:12:11-07:00 - details
Merge pull request #126 from emmanuel/feature/finalize_api Decentralize DataMapper.finalize to Model#finalize and Relationship#final
Emmanuel Gomez - 2011-06-22T01:10:22-07:00 - details
Add a note about using Relationship#inverse? in OneToMany::Relationship#finalize.
Emmanuel Gomez - 2011-06-22T01:09:39-07:00 - details
Designate Model#finalize and Relationship#finalize as @api public.
Emmanuel Gomez - 2011-06-21T23:15:52-07:00 - details
Reduce duplication a little in Model#finalize.
Emmanuel Gomez - 2011-06-21T17:40:34-07:00 - details
Remove TODO regarding Model#finalize @api semipublic designation.
Dan Kubb - 2011-06-19T00:36:47-07:00 - details
Updated gemspec
Dan Kubb - 2011-06-18T23:19:44-07:00 - details
Copy default values to class options * Added specs for Property .options methods * Set the String property's default length in the class * The Property::String::DEFAULT_LENGTH constant should not be used directly but rather the class method should be that returns the default string length. * Property.options should return hash entries that are explicitly set to nil * Set the precision/scale explicitly for Float and Decimal * Do not yet first min/max values for all Numerics, use behaviour similar to original code.
Dan Kubb - 2011-06-18T23:51:38-07:00 - details
Fixed broken shared property spec * The property options use the type options as defaults *then* merge in the user supplied options, not the other way around.
Dan Kubb - 2011-06-19T00:09:04-07:00 - details
Minor code formatting change in specs
Dan Kubb - 2011-06-17T09:53:02-07:00 - details
DataMapper::Ext.blank? uses the object#blank? method if it exits * This allows custom objects to define their own #blank? method to specify the context in which they would like be considered blank and not-blank.
Emmanuel Gomez - 2011-06-17T02:12:03-07:00 - details
Decentralize DataMapper.finalize -> Model#finalize and Relationship#finalize.
Dan Kubb - 2011-05-25T10:36:13-07:00 - details
Revert "Merge pull request #21 from jwkoelewijn/relationships" This reverts commit a077b66c7c8e0f23d28f47aa27f8831b47ba7363, reversing changes made to 3adb14528e0eef2be488d879677e73b2cbd94093.
Dan Kubb - 2011-05-24T00:25:16-07:00 - details
Merge pull request #21 from jwkoelewijn/relationships Applied dkubbs patch from http://pastie.org/1625163 to fix relationships
Piotr Solnica - 2011-05-23T01:51:32-07:00 - details
Bump DO dep to 0.10.6 in Gemfile
Emmanuel Gomez - 2011-05-20T08:35:12-07:00 - details
Remove needless Chainable in Property.
Emmanuel Gomez - 2011-05-20T08:33:45-07:00 - details
Clean up Discriminator: remove needless Chainable & eval.
Emmanuel Gomez - 2011-05-20T08:30:22-07:00 - details
Merge two #chainable calls in ManyToMany::Relationship.
Emmanuel Gomez - 2011-05-20T08:29:49-07:00 - details
Eliminate some needless usage of Chainable.
snusnu - 2011-05-05T04:30:08-07:00 - details
Bump to DO ~> 0.10.5 and DM ~> 1.1.1 in the Gemfile
Piotr Solnica - 2011-04-29T01:37:31-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:39:37-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:36:48-07:00 - details
Version bump to 1.1.1
Piotr Solnica - 2011-04-28T02:05:13-07:00 - details
Point to GH issues in README instead of LightHouse
snusnu - 2011-04-27T16:24:07-07:00 - details
Make bundle exec rake spec default to the in_memory adapter
snusnu - 2011-04-27T16:22:39-07:00 - details
Silence Gem::Specification#has_rdoc warning Silences the following warning (rubygems-1.7.2): NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01.
jwkoelewijn - 2011-04-26T04:05:30-07:00 - details
Applied dkubbs patch from http://pastie.org/1624973 to fix relationships being overwritten in more complex, composed models. Added a spec for it as well
Piotr Solnica - 2011-04-25T04:03:11-07:00 - details
Bump DO version to 0.10.4.rc
Piotr Solnica - 2011-04-22T05:31:16-07:00 - details
Fixed property creation for repositories other than the default [#1506 state:resolved]
Dan Kubb - 2011-04-14T21:51:51-07:00 - details
Fixed bug in Resource#[]= when the property is unknown
Dan Kubb - 2011-04-14T21:40:57-07:00 - details
Fixed bug in Resource#[] when the property is unknown
Dan Kubb - 2011-04-08T23:21:52-07:00 - details
Comparison operators should handle case where expectation is nil * While this should be rare, this does occur in the dm-is-list specs when testing against the yaml/in_memory adapters. * Possible optimization in the future might be to add #valid? methods to each gt/gte/lt/lte Comparison operator that returns false if the expected value is nil. This will cause the query to never execute, saving the comparison operator from being called when in an invalid state. The object may still need to handle invalid states when called stand-alone through.
Dan Kubb - 2011-04-08T23:13:00-07:00 - details
Minor spec cleanup
Piotr Solnica - 2011-04-08T10:54:25-07:00 - details
Updated Property API docs
Piotr Solnica - 2011-04-07T10:32:21-07:00 - details
Use a boolean map to make things a bit faster
Piotr Solnica - 2011-04-07T04:23:51-07:00 - details
Boolean#typecast refactor with a small perf improvement
Piotr Solnica - 2011-04-07T03:30:29-07:00 - details
Minor formatting fix
snusnu - 2011-04-04T05:35:14-07:00 - details
Update the gemspec
Piotr Solnica - 2011-04-03T03:00:30-07:00 - details
Move require statements to dm-core for consistency sake
Piotr Solnica - 2011-04-03T02:29:43-07:00 - details
Removed obsolete TODOs
Piotr Solnica - 2011-03-28T22:24:34-07:00 - details
Include question-mark method names in property name validation This makes sure that when you try to declare a boolean property with a name "foo" and there's already a method called "foo?" it will raise an exception informing you that the name is not valid.
Piotr Solnica - 2011-03-26T01:31:30-07:00 - details
Allow to specify adapter version in gemfile
Dan Kubb - 2011-03-25T23:01:21-07:00 - details
Revert "Don't mark queries that link 0..1 relationships as unique" This reverts commit 22eb40047da63b4c3f32d4bb8573bf8637e8c05a.
Dan Kubb - 2011-03-23T22:54:57-07:00 - details
Should equalize on state, preferably what was passed to the constructor * A Property could be defined that has the same name as another, but different options. * A comparison object has no need to use the slug since that is class specific, and the class' #hash is already factored in.
Dan Kubb - 2011-03-23T19:32:04-07:00 - details
Allow :unique to be propagated down to inferred FKs in m:1 relationships
Dan Kubb - 2011-03-23T19:21:48-07:00 - details
Minor formatting fix
Dan Kubb - 2011-03-23T00:12:33-07:00 - details
Use Hash[] instead of DataMapper::Ext::Array.to_hash
Dan Kubb - 2011-03-22T23:09:42-07:00 - details
Minor simplification of PassThroughLoadDump#load
Dan Kubb - 2011-03-22T23:07:33-07:00 - details
Style. Minor formatting fix
Postmodern - 2011-03-19T15:23:34-07:00 - details
Added the UnderscoredAndPluralizedWithoutLeadingModule naming convention.
cohuman - 2011-03-17T11:44:06-07:00 - details
Remove descendants default scope from discriminators at root level Signed-off-by: Dan Kubb <dan.kubb@gmail.com>
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-05-23T01:30:36-07:00 - details
Bump DO dep to 0.10.6
snusnu - 2011-05-05T05:28:36-07:00 - details
Bump DM dependencies to ~> 1.1.1
snusnu - 2011-05-05T05:28:24-07:00 - details
Silence Gem::Specification#has_rdoc warning Silences the following warning (rubygems-1.7.2): NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Piotr Solnica - 2011-05-03T00:17:12-07:00 - details
Bump DO dep to 0.10.5
Piotr Solnica - 2011-04-29T06:43:14-07:00 - details
Silence DO deprecation warnings
Piotr Solnica - 2011-04-29T01:32:12-07:00 - details
Bump DO to 0.10.4 final
Piotr Solnica - 2011-04-28T07:39:38-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:32:49-07:00 - details
Version bump to 1.1.1
Piotr Solnica - 2011-04-25T04:11:18-07:00 - details
Bump DO version to 0.10.4.rc
Dan Kubb - 2011-03-23T00:04:35-07:00 - details
Use Hash[] instead of DataMapper::Ext::Array.to_hash
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Dan Kubb - 2011-07-27T20:56:55-07:00 - details
Finalize the models before using them
snusnu - 2011-05-05T05:26:53-07:00 - details
Bump DM dependencies to ~> 1.1.1
snusnu - 2011-05-05T05:26:43-07:00 - details
Silence Gem::Specification#has_rdoc warning Silences the following warning (rubygems-1.7.2): NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Piotr Solnica - 2011-04-28T07:39:39-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:32:57-07:00 - details
Version bump to 1.1.1
Dan Kubb - 2011-03-23T00:03:11-07:00 - details
Use Hash[] instead of DataMapper::Ext::Array.to_hash
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-05-23T09:00:41-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Piotr Solnica - 2011-04-29T01:37:37-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:39:41-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:33:05-07:00 - details
Version bump to 1.1.1
Dan Kubb - 2011-04-09T20:32:55-07:00 - details
Revert "Removed unecessary auto-migration" This reverts commit bdee9c1afc27494a40333a704287c85bdf08f071. * It turns out this is necessary for the RDBMS based adapters
Dan Kubb - 2011-04-08T23:40:20-07:00 - details
Removed unecessary auto-migration * This is taken care of by the supported_by helper
Dan Kubb - 2011-04-08T23:33:59-07:00 - details
Updated specs to work with in_memory and yaml adapters
Dan Kubb - 2011-03-23T00:01:23-07:00 - details
Use Hash[] instead of DataMapper::Ext::Array.to_hash
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-05-23T09:00:44-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Piotr Solnica - 2011-04-29T01:37:41-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:39:42-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:33:12-07:00 - details
Version bump to 1.1.1
Dan Kubb - 2011-04-08T23:59:38-07:00 - details
Replace hard-coded ids with category name in specs
Dan Kubb - 2011-03-23T00:00:14-07:00 - details
Use Hash[] instead of DataMapper::Ext::Array.to_hash
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-05-23T09:00:47-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Piotr Solnica - 2011-04-29T01:37:46-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:39:43-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:33:18-07:00 - details
Version bump to 1.1.1
Piotr Solnica - 2011-04-04T01:29:02-07:00 - details
Remove obsolete require of inflector
Piotr Solnica - 2011-03-23T05:06:44-07:00 - details
No need to declare a fk property since belongs_to does that
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-05-23T09:00:51-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Piotr Solnica - 2011-04-29T01:37:51-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:39:45-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:33:24-07:00 - details
Version bump to 1.1.1
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-05-23T09:00:54-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Piotr Solnica - 2011-04-29T01:37:55-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:39:46-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:33:30-07:00 - details
Version bump to 1.1.1
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-05-23T09:00:57-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Piotr Solnica - 2011-04-29T01:37:59-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:39:47-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:33:36-07:00 - details
Version bump to 1.1.1
burningTyger - 2011-04-16T14:43:45-07:00 - details
fix typo in the docs and add to summary
Xavier Shay - 2011-03-23T23:21:04-07:00 - details
Allow a :constraint option to be set for compatibility with dm-constraints. Big ups to Mat Holroyd for the inspiration.
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-05-23T09:01:01-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Piotr Solnica - 2011-04-29T01:38:05-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:39:49-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:33:43-07:00 - details
Version bump to 1.1.1
Dan Kubb - 2011-03-25T22:48:30-07:00 - details
Temporarily disable spec that fails with the latest DO + JRuby in --1.9 mode * The next pending DO release will resolve this problem, so I'm temporarily disabling this failing spec. Once it is released this will be reverted.
Dan Kubb - 2011-03-22T23:58:50-07:00 - details
Use Hash[] instead of DataMapper::Ext::Array.to_hash
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Dan Kubb - 2011-09-01T10:00:39-07:00 - details
Stripped whitespace
Xavier Shay - 2011-08-07T19:14:40-07:00 - details
Merge branch allowing table engine to be specified for MySQL.
Ian MacLeod - 2011-03-21T21:18:11-07:00 - details
Give MySQL adapters the ability to specify a default storage engine for migrations
Ian MacLeod - 2011-03-21T20:44:15-07:00 - details
Add support to specify table options when creating a table via migrations. (For things like specifying MySQL storage engines, etc)
Xavier Shay - 2011-08-07T18:55:13-07:00 - details
Merge branch 'pull-request-28'
Eric Gjertsen - 2011-08-02T15:05:55-07:00 - details
add tasks to example Rakefile based on Padrino's dm tasks
Eric Gjertsen - 2011-08-01T03:43:49-07:00 - details
Add Rakefile to examples
Jordan Ritter - 2011-07-01T23:22:48-07:00 - details
Respect repository scope when specified. Previously, given configured repositories :a and :b, auto_{upgrade,migrate}!(:a) would affect :b also.
Dan Kubb - 2011-06-17T09:29:46-07:00 - details
Silence deprecation warning from specs
Dan Kubb - 2011-06-17T08:44:16-07:00 - details
Use the property class methods instead of the DEFAULT_* constants * When the Property::String.length is overridden the constant value will not update, and will be (incorrectly) used in the migration. * Stop memoizing the type_map to allow overridden property options to be used.
Dan Kubb - 2011-06-17T08:43:13-07:00 - details
Minor whitespace fixes
Dan Kubb - 2011-06-09T00:54:08-07:00 - details
Removed conditional VALUE_METHOD for JRuby
Piotr Solnica - 2011-05-23T09:01:05-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Piotr Solnica - 2011-04-29T01:38:10-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:39:50-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:33:49-07:00 - details
Version bump to 1.1.1
Piotr Solnica - 2011-04-25T06:50:07-07:00 - details
Bump DO version to 0.10.4.rc
Piotr Solnica - 2011-04-01T03:18:25-07:00 - details
Fixed sqlite specs
Carl Hörberg - 2011-03-31T13:33:03-07:00 - details
Added test for alter column
Carl Hörberg - 2011-03-31T13:31:51-07:00 - details
Added to_sql to TableModifier to be able to test the generated sql
Carl Hörberg - 2011-03-30T12:43:05-07:00 - details
Fixed alter column for postgres
Dan Kubb - 2011-03-24T22:40:59-07:00 - details
Updated example to use a Proc instead of Time.now inline in the class
Dan Kubb - 2011-03-18T21:18:56-07:00 - details
Add JRUBY_VERSION qualifier to spec * This spec identified a problem in the 1.5.x series, and we had to wait for 1.6 to be released before the fix could be confirmed. Now that it's out, and confirmed, mark this as pending on when JRUBY_VERSION is less than 1.6.
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-05-23T01:33:23-07:00 - details
Bump DO dep to 0.10.6
snusnu - 2011-05-05T04:40:10-07:00 - details
Bump to dm-do-adapter and dm-migrations ~> 1.1.1
snusnu - 2011-05-05T04:39:33-07:00 - details
Silence Gem::Specification#has_rdoc warning Silences the following warning (rubygems-1.7.2): NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Piotr Solnica - 2011-05-03T00:17:13-07:00 - details
Bump DO dep to 0.10.5
Piotr Solnica - 2011-04-29T01:32:13-07:00 - details
Bump DO to 0.10.4 final
Piotr Solnica - 2011-04-28T07:39:52-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:33:55-07:00 - details
Version bump to 1.1.1
Piotr Solnica - 2011-04-25T04:07:12-07:00 - details
Bump DO version to 0.10.4.rc
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-05-23T09:01:10-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Piotr Solnica - 2011-04-29T01:38:16-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:39:53-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:34:01-07:00 - details
Version bump to 1.1.1
Piotr Solnica - 2011-05-23T01:33:23-07:00 - details
Bump DO dep to 0.10.6
Piotr Solnica - 2011-05-03T00:17:13-07:00 - details
Bump DO dep to 0.10.5
Piotr Solnica - 2011-04-29T01:32:13-07:00 - details
Bump DO to 0.10.4 final
Piotr Solnica - 2011-04-28T07:39:54-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:34:07-07:00 - details
Version bump to 1.1.1
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-05-23T01:33:24-07:00 - details
Bump DO dep to 0.10.6
snusnu - 2011-05-05T04:59:12-07:00 - details
Bump DM dependencies to ~> 1.1.1
snusnu - 2011-05-05T04:58:16-07:00 - details
Silence Gem::Specification#has_rdoc warning Silences the following warning (rubygems-1.7.2): NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Piotr Solnica - 2011-05-03T00:17:13-07:00 - details
Bump DO dep to 0.10.5
Piotr Solnica - 2011-04-29T01:32:13-07:00 - details
Bump DO to 0.10.4 final
Piotr Solnica - 2011-04-28T07:39:56-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:34:13-07:00 - details
Version bump to 1.1.1
Piotr Solnica - 2011-04-25T04:07:55-07:00 - details
Bump DO version to 0.10.4.rc
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Dan Kubb - 2011-09-01T09:59:54-07:00 - details
Stripped whitespace
Piotr Solnica - 2011-09-01T05:04:04-07:00 - details
Regenerate gemspec
Piotr Solnica - 2011-09-01T05:03:51-07:00 - details
Adjust rails deps to ~> 3.1.0
Rohan Deshpande - 2011-08-10T12:47:11-07:00 - details
Add URI support in database.yml
Dan Kubb - 2011-07-27T20:52:32-07:00 - details
Finalize before auto-migrating
Xavier Shay - 2011-07-23T02:15:38-07:00 - details
Allow rails 3.1 in the gemspec. This commit also requires the same update to be applied to the dm-active_model gemspec.
Xavier Shay - 2011-07-23T02:15:23-07:00 - details
Use newer railties methods for config.paths and config.app_generators that are equivalent to the old versions. The old versions are deprecated in Rails 3.1.
Dan Kubb - 2011-07-21T09:10:06-07:00 - details
Merge pull request #22 from two-bit-fool/master fix deprecated syntax on rake task
Matt Smith - 2011-07-18T12:23:17-07:00 - details
fix deprecated rake syntax (:needs)
Martin Gamsjaeger - 2011-07-05T03:25:19-07:00 - details
Merge pull request #18 from mkristian/master Allow to configure the default IM repository
Kristian Meier - 2011-07-04T20:27:50-07:00 - details
added scope for identiymap middleware
snusnu - 2011-06-28T12:37:39-07:00 - details
Assign a DateTime object to SessionStore#updated_at Fixes #15
Piotr Solnica - 2011-05-23T09:01:13-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Martin Gamsjaeger - 2011-05-05T03:42:46-07:00 - details
Add Corin Lawson to the list of contributors
Martin Gamsjaeger - 2011-05-05T03:40:21-07:00 - details
Merge pull request #5 from maxsum-corin/master Allow to configure field_naming_conventions the same way resource_naming_conventions can be configured
Corin Lawson - 2011-05-04T20:06:16-07:00 - details
Added resource_naming_convention
Corin Lawson - 2011-05-04T20:02:11-07:00 - details
Added support for field_naming_convention
Corin Lawson - 2011-05-04T20:00:42-07:00 - details
Added field_naming_convention
Piotr Solnica - 2011-04-29T01:38:21-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:39:57-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:34:19-07:00 - details
Version bump to 1.1.1
Piotr Solnica - 2011-04-27T01:05:25-07:00 - details
Merged pull request #4 from postmodern/postmodern. Have the db:migrate task call either db:migrate:up or db:autoupgrade
Postmodern - 2011-04-26T19:36:09-07:00 - details
Have the db:migrate task call either db:migrate:up (explicit-migrations) or db:autoupgrade (auto-migrations), depending on whether there are migration files in 'db/migrations/'. * This allows for the db:migrate task to be invoked on dm-rails projects by other tasks or deploy scripts.
snusnu - 2011-04-01T16:15:57-07:00 - details
Make Rails::DataMapper::Storage#drop|create a noop This ensures that calling these methods won't explode when called on adapters that don't support these operations
Xavier Shay - 2011-03-25T17:28:36-07:00 - details
Remove the note about a dm-migrations bug, it was fixed in 1.1
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Dan Kubb - 2011-07-27T20:48:34-07:00 - details
Make sure to finalize the models before using them
snusnu - 2011-05-05T05:22:03-07:00 - details
Bump DM dependencies to ~> 1.1.1
snusnu - 2011-05-05T05:21:46-07:00 - details
Silence Gem::Specification#has_rdoc warning Silences the following warning (rubygems-1.7.2): NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Piotr Solnica - 2011-04-29T01:32:13-07:00 - details
Bump DO to 0.10.4 final
Piotr Solnica - 2011-04-28T07:39:59-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:34:25-07:00 - details
Version bump to 1.1.1
irjudson - 2011-04-14T16:23:54-07:00 - details
Removed .freeze, it blows up the @uri.dup in the connection file. This appears to be because of the new Addressable.URI defaults. I could be wrong.
Piotr Solnica - 2011-04-04T13:58:55-07:00 - details
Removed obsolete require of inflector
Dan Kubb - 2011-03-22T23:54:40-07:00 - details
Use Hash[] instead of DataMapper::Ext::Array.to_hash
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Emmanuel Gomez - 2011-08-05T09:18:42-07:00 - details
Fix shared spec example to work with new dm-validations.
Piotr Solnica - 2011-06-09T22:49:11-07:00 - details
Load json gem for jruby too (in Gemfile)
Piotr Solnica - 2011-05-25T02:59:32-07:00 - details
Add json_pure dep for mswin and json for ruby_18 platforms
Piotr Solnica - 2011-05-25T01:53:24-07:00 - details
Use multi_json for better multi-platform support
Piotr Solnica - 2011-05-23T09:08:11-07:00 - details
Bump json dep to ~> 1.5.1
Piotr Solnica - 2011-05-23T09:01:20-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Piotr Solnica - 2011-04-29T01:38:26-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:40:00-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:34:31-07:00 - details
Version bump to 1.1.1
Dan Kubb - 2011-03-28T21:41:18-07:00 - details
Only define #to_yaml when the body will be executed * When Psych is being used we delegate to super anyway, so there's no point in explicitly defining #to_yaml unless it's being used.
Dan Kubb - 2011-03-28T21:35:16-07:00 - details
Minor formatting fix
Dan Kubb - 2011-03-28T21:33:46-07:00 - details
Apparently this is all I need to do to handle parsing the YAML output
Dan Kubb - 2011-03-28T21:29:24-07:00 - details
Remove autotest specific folders
Dan Kubb - 2011-03-28T21:23:22-07:00 - details
Fixed #to_yaml to (mostly) work with Psych and JRuby in --1.9 mode * Split YAML serialization into #to_yaml and #encode_with. When Psych is being used, #to_yaml calls #encode_with directly, otherwise it sets up some YAML output state then delegates to #encode_with. * Some functionality, like specifying :only or :methods when using #to_yaml in Psych cannot be done in a straight-forward manner. For example, when serializing a Collection, without storing things in an temp ivar, you cannot pass down the options to each resource. I don't know what the work-around for this will be when it comes time to fix it. * Made sure other #to_yaml methods were paired with #encode_with * Added YARD docs to YAML serializer * Removed unecessary Serializer.dm_validations_loaded? method. I prefer explicit conditionals for dynamic module definitions.
Dan Kubb - 2011-03-27T22:37:30-07:00 - details
Removed unecessary test from #to_yaml * The previous code would silently ignore cases where an unknown method is passed in via the :methods option. I would rather have the method raise an exception catching my mistake than act like nothing happened.
Dan Kubb - 2011-03-27T22:35:57-07:00 - details
Clean up Serializer::Collection#to_yaml
Dan Kubb - 2011-03-27T22:35:12-07:00 - details
Clean up Serializer#to_yaml
Dan Kubb - 2011-03-26T01:02:02-07:00 - details
Register the tag name with YAML * Honestly I'm not sure if this is required, but it seemed to be important from the docs. Left a comment for someone who knows more about YAML than I do to answer. I really wish the APIs for Psych and YAML were more in sync, or at least there was some sort of guide so that it'd be clear how to support both versions at once. I'd even settle for some sort of porting guide and I could figure it out from there. Unfortunately no one has really written anything like this; we can't be the first project to hit this problem, can we? I hope not, but if no one has any ideas I'll ask Aaron how we can go about supporting legacy/edge YAML versions at once in DM.
Dan Kubb - 2011-03-26T01:01:23-07:00 - details
Move the tag name to a constant, have a helper method used in #to_yaml
Dan Kubb - 2011-03-26T00:35:31-07:00 - details
Added tag to YAML output
Dan Kubb - 2011-03-22T23:53:29-07:00 - details
Use Hash[] instead of DataMapper::Ext::Array.to_hash
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-05-23T01:31:10-07:00 - details
Bump DO dep to 0.10.6
snusnu - 2011-05-05T05:13:45-07:00 - details
Bump DM dependencies to ~> 1.1.1
snusnu - 2011-05-05T05:13:30-07:00 - details
Silence Gem::Specification#has_rdoc warning Silences the following warning (rubygems-1.7.2): NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Piotr Solnica - 2011-05-03T00:17:13-07:00 - details
Bump DO dep to 0.10.5
Piotr Solnica - 2011-04-29T01:32:13-07:00 - details
Bump DO to 0.10.4 final
Piotr Solnica - 2011-04-28T07:40:01-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:34:37-07:00 - details
Version bump to 1.1.1
Piotr Solnica - 2011-04-25T04:05:49-07:00 - details
Bump DO version to 0.10.4.rc
Dan Kubb - 2011-06-01T08:35:54-07:00 - details
Merge pull request #1 from JamesGecko/master Use DataMapper::Ext.blank? instead of String#blank? * String#blank? will not work unless Extlib or ActiveSupport is present, and we don't want to rely on those as dependencies.
JamesGecko - 2011-06-01T08:27:42-07:00 - details
Using isolated blank.
JamesGecko - 2011-05-31T14:42:59-07:00 - details
Changing blank? to empty?
Piotr Solnica - 2011-05-23T01:34:18-07:00 - details
Bump DO dep to 0.10.6
Piotr Solnica - 2011-05-03T00:17:13-07:00 - details
Bump DO dep to 0.10.5
Piotr Solnica - 2011-04-29T01:32:13-07:00 - details
Bump DO to 0.10.4 final
Piotr Solnica - 2011-04-28T07:40:03-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:34:44-07:00 - details
Version bump to 1.1.1
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Dan Kubb - 2011-06-14T22:10:10-07:00 - details
Minor simplification of conditions to skip loading ParseTree
Dan Kubb - 2011-06-14T22:07:14-07:00 - details
Merge pull request #7 from kyledrake/master ParseTree is gone for Ruby 1.9, silence warning
Piotr Solnica - 2011-05-23T09:01:26-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Piotr Solnica - 2011-04-29T01:38:32-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:40:04-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:34:50-07:00 - details
Version bump to 1.1.1
Kyle Drake - 2011-04-10T18:18:55-07:00 - details
Only show ParseTree warning if using Ruby before 1.9
Kyle Drake - 2011-04-10T17:21:29-07:00 - details
Silence ParseTree warning, as it won't be available for Ruby 1.9. Still informs via self.key_for
Alex Coles - 2011-03-25T04:08:18-07:00 - details
Bracket out loading of ParseTree on JRuby * See https://github.com/datamapper/dm-sweatshop/commit/b33f039c1bfab679c8118a15ebf24d4082e77a15#commitcomment-315042 Signed-off-by: Alex Coles <alex@alexbcoles.com>
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-05-23T09:01:30-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Piotr Solnica - 2011-04-29T01:38:37-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:40:06-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:34:56-07:00 - details
Version bump to 1.1.1
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-05-23T09:01:33-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Piotr Solnica - 2011-04-29T01:38:42-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:40:07-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:35:02-07:00 - details
Version bump to 1.1.1
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Piotr Solnica - 2011-05-23T09:01:37-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Piotr Solnica - 2011-04-29T01:38:50-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:40:08-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:35:08-07:00 - details
Version bump to 1.1.1
Dan Kubb - 2011-09-01T09:58:29-07:00 - details
Bumped json gem dependency
Dan Kubb - 2011-09-01T09:57:59-07:00 - details
Stripped whitespace
Dan Kubb - 2011-09-01T09:27:21-07:00 - details
Bumped gem dependencies
Dan Kubb - 2011-09-01T09:07:05-07:00 - details
Bumped stringex dependency * Fixes some problems with specs on 1.9.2
Piotr Solnica - 2011-09-01T04:50:58-07:00 - details
Regenerate gemspec
Piotr Solnica - 2011-09-01T04:50:38-07:00 - details
Bump bcrypt-ruby version dependency to ~> 3.0.0
Piotr Solnica - 2011-07-24T23:09:53-07:00 - details
Update paranoid base to work with renamed persistence state class
Piotr Solnica - 2011-07-12T03:12:38-07:00 - details
Merge pull request #40 from d11wtq/fix/epoch-time Make EpochTime considerably less broken ;)
Chris Corbyn - 2011-07-11T05:06:31-07:00 - details
Tweak to support receiving UNIX timestamps in string form and typecast them accordingly
Chris Corbyn - 2011-07-11T04:57:14-07:00 - details
Working version of EpochTime with more unit/integration test coverage
Chris Corbyn - 2011-07-11T04:38:09-07:00 - details
This is currently (very) broken. EpochTime behaves correctly, but dm-migrations sees it as a TIME, not an INT
Dan Kubb - 2011-06-27T15:14:30-07:00 - details
Changed defined?('RUBY_ENGINE') to defined?(RUBY_ENGINE) * This always returns true because it's checking to see if the literal String is defined, which it always is.
Jordan Ritter - 2011-06-27T11:51:18-07:00 - details
Break out DirtyMinder tests into their own spec, and exclude RBX. FIXME's explain why.
Jordan Ritter - 2011-06-27T11:19:53-07:00 - details
DirtyMinder only needs to hook Property#set!.
Jordan Ritter - 2011-06-27T10:01:03-07:00 - details
Remove a few TODOs.
Jordan Ritter - 2011-06-27T09:58:41-07:00 - details
Revert "Further simplification to DirtyMinder". The commit broke Resource#reload + State#rollback for all versions of ruby: instance.json = { :foo => :bar } instance.save instance.json[:foo] = :ooga instance.reload # at this point, instance.json[:foo].should == :bar # but: instance.json == nil # => true This reverts commit 356a30514a5d8b63bb99d53c8b33de4841364d21.
Dan Kubb - 2011-06-23T12:31:40-07:00 - details
Merge pull request #36 from emmanuel/master Slightly cleaner fix for my recent breakage
Emmanuel Gomez - 2011-06-23T12:00:15-07:00 - details
Use @public interfaces between gems (get dm-types out of the validations business).
Dan Kubb - 2011-06-22T18:40:02-07:00 - details
Minor code formatting change
Dan Kubb - 2011-06-22T18:39:15-07:00 - details
Silenced spec warnings by removing unused block variable
Dan Kubb - 2011-06-22T18:36:18-07:00 - details
Fixed failing specs
Dan Kubb - 2011-06-21T13:58:36-07:00 - details
Merge pull request #35 from emmanuel/master Fix breakage introduced by my changes to dm-validations
Emmanuel Gomez - 2011-06-21T10:58:54-07:00 - details
Update to reflect recent change in dm-validations. Change in dm-validations was to an `@api private` method, but I don't see how to remove the coupling between dm-types and dm-validations without invasive changes.
Jordan Ritter - 2011-06-09T09:13:52-07:00 - details
Added a few more tests, including one that demos a recent breakage (pending).
Dan Kubb - 2011-06-09T00:23:37-07:00 - details
Further simplification to DirtyMinder * No need to set the resource to a specific value before triggering dirty tracking, and just set it to nil. * No need to track "before" since all we really care about is it's hash value * No need to track "after" either since that's just self and we can get at it anytime.
Dan Kubb - 2011-06-08T23:42:53-07:00 - details
Use string class_eval to simplify hook module declaration * Call super with nothing is the same as passing up the args/block explicitly * No point in setting args or blk since they aren't going to be used within the method. This does not affect the arguments super is called with.
Dan Kubb - 2011-06-08T23:42:01-07:00 - details
In 1.9 #instance_methods are Symbols, in 1.8 Strings. Always match on strings.
Dan Kubb - 2011-06-08T22:42:48-07:00 - details
Merge pull request #33 from jpr5/indirect_change_detection Add basic support for Resource#dirty? upon indirect property mutation.
Jordan Ritter - 2011-06-08T17:01:50-07:00 - details
Change approach to from mutating copy to mutating self. This fixes the problem that external object references wouldn't receive the new value, even though you definitely set it: copy = instance.json copy[:some] = :value instance.json[:some] == :value => true copy[:some] == :value => false # fk! This also alleviates the need to alias the original methods.
Jordan Ritter - 2011-06-08T15:26:43-07:00 - details
Use Duck typing to look up which set of mutation methods to hook. Versus using the absolute class type, which might have inherited/mixed in the class we'd hook.
Jordan Ritter - 2011-06-08T15:25:28-07:00 - details
Complete the list of mutation methods for Hash and Array (1.8 & 1.9).
Jordan Ritter - 2011-06-08T17:05:43-07:00 - details
Support blocks beging passed in to mutation methods.
Jordan Ritter - 2011-06-08T15:24:20-07:00 - details
Change hooking name to reflect what it actually does (not wrapping).
Jordan Ritter - 2011-06-08T08:50:45-07:00 - details
Change tests of unimplemented features to ``pending''. (per dkubb's suggestion)
Jordan Ritter - 2011-06-07T18:04:07-07:00 - details
Add basic support for Resource#dirty? upon indirect property mutation. At a conceptual level, DataMapper relies on the outright assignment of a value to a property as a trigger for when to determine if a property has changed (and thus whether the Resource is dirty). This is one of the uses of the State concept. If a Property is a internally represented by a "complex type" (taken in this case to mean "a class that provides indirect mutation methods outside the scope of what DataMapper sees"), and the Property is changed via one of those methods, DataMapper won't be aware of the change, won't consider the Resource dirty, and ultimately won't persist the changed Property. Unfortunately, this means that something simple like the following is true, even though you'd expect otherwise: model.json_property['some_field'] = 'some_new_value' model.save model.reload puts model.json_property['some_field'] # => nil This patch adds basic monitoring functionality to these "complex types", such that using an indirect mutation method will "trigger" DataMapper to evaluate dirty-ness for the Property (and thus the Resource). NOTE: The approach for detecting Property dirty-ness appears to work in any case of nested object indirect mutation (using #hash to compare top-level object before & after values). However, because DataMapper currently has to be "triggered" to evaluate dirty-ness when a mutation happens (in order to populate {original,dirty}_attributes, which #dirty? checks), and because Resource#save will no-op unless Resource#dirty? == true, this implementation won't catch the indirect mtuation of a nested object. But, it catches the common case (above), so it's a start.
Piotr Solnica - 2011-05-25T10:16:41-07:00 - details
Add back json dependency
Piotr Solnica - 2011-05-25T01:49:37-07:00 - details
Use multi_json for better multi-platform support
Piotr Solnica - 2011-05-23T09:05:46-07:00 - details
Bump json dep to ~> 1.5.1
Piotr Solnica - 2011-05-23T09:04:23-07:00 - details
Bump DO dep to 0.10.6 in the Gemfile
Emmanuel Gomez - 2011-05-17T12:56:32-07:00 - details
Remove unneeded ancestors check in Enum. This is in the Enum#initialize method, how could this test ever be false? In other words, how could any instance that doesn't inherit from Property::Enum execute the Property::Enum#initialize method?
Emmanuel Gomez - 2011-05-09T00:05:02-07:00 - details
Fix paranoid attribute inheritance.
Emmanuel Gomez - 2011-05-09T00:02:30-07:00 - details
Add failing specs for paranoid attribute inheritance.
Piotr Solnica - 2011-05-09T00:59:44-07:00 - details
Use STI in paranoid property specs
Ian MacLeod - 2011-05-08T02:49:29-07:00 - details
Make paranoid properties STI-aware so you can properly destroy them. Fixes #15
Piotr Solnica - 2011-04-29T01:38:55-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:40:10-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:35:14-07:00 - details
Version bump to 1.1.1
Dan Kubb - 2011-03-25T19:45:16-07:00 - details
Temporarily remove JRuby --1.9 failures until bugs in stringex are fixed
Dan Kubb - 2011-03-25T19:43:32-07:00 - details
Minor formatting fix in specs
Postmodern - 2011-03-25T14:57:24-07:00 - details
Added lib/dm-types/api_key.rb to the gemspec.
Postmodern - 2011-03-23T09:51:46-07:00 - details
Use described_class in the specs.
Postmodern - 2011-03-23T09:50:36-07:00 - details
Use subject/let in specs.
Postmodern - 2011-03-23T09:48:43-07:00 - details
Mark the APIKey property as unique.
Postmodern - 2011-03-23T09:48:28-07:00 - details
Wrap APIKey.generate in a proc { }.
Postmodern - 2011-03-21T15:45:40-07:00 - details
Added DataMapper::Property::APIKey.
Dan Kubb - 2011-03-20T22:18:00-07:00 - details
Style. Prefer raising without using the exception constructors
Dan Kubb - 2011-03-20T22:16:01-07:00 - details
Only test that the dumped YAML strings can be loaded * This is a case where we were testing the implementation of the YAML library, when all we really care about is that the YAML value we persist can be parsed later. Just matching on the YAML strings is flawed too, since there can be variations in formats between different versions/libraries, so these specs will fail when output changes slightly (which was the case when testing against JRuby 1.6.0 in --1.9 mode)
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
Dan Kubb - 2011-09-01T09:59:13-07:00 - details
Stripped whitespace
Xavier Shay - 2011-08-06T16:54:00-07:00 - details
Merge branch 'pull-request-39'
Kabari - 2011-08-05T09:45:57-07:00 - details
Fix validates_format_of with URI type
Xavier Shay - 2011-07-31T17:34:29-07:00 - details
Disable unicode matching of emails on 1.9.3 because otherwise an error is raised an the entire library is unuseable. This is caused by a regression in 1.9.3, a link to the bug report is in the source. References #36.
Xavier Shay - 2011-07-31T17:16:02-07:00 - details
JRUBY5622 bug still not fixed in 1.6.3.
Dan Kubb - 2011-07-30T16:14:16-07:00 - details
Make sure the anonymous model defines a primary key
Dan Kubb - 2011-07-29T15:23:10-07:00 - details
Specify class name for the anonymous models * This is currently required by DataMapper.finalize. This restriction may be relaxed in the future, but for now it's a requirement.
Dan Kubb - 2011-07-27T20:42:04-07:00 - details
Make sure anonymous models have names
Dan Kubb - 2011-07-27T20:40:37-07:00 - details
Make sure to finalize before auto-migrating
Dan Kubb - 2011-07-27T20:23:32-07:00 - details
Reset the model property back to the original * This test sets the model to something that is invalid
Dan Kubb - 2011-07-27T19:48:19-07:00 - details
Stripped whitespace
Piotr Solnica - 2011-07-11T01:43:01-07:00 - details
Merge pull request #34 from jnicklas/master Do not optimize away checking non-dirty attributes
Anders Törnqvist and Jonas Nicklas - 2011-07-08T02:37:14-07:00 - details
Do not optimize away checking non-dirty attributes There are a lot of situations where this is a bad move and can lead to invalid data in the database. The attached testcase is a simple example of this problem, where a change to another field invalidates the resource. DM will now happily save this resource, even though it is quite clearly invalid. We also removed the check where valid? isn't called at all if the model isn't dirty. It's not safe to assume that the model is valid just because there are no dirty attributes, the validations of the model class may have changed since the model was added to the DB. With the current architecture there is no way of even checking *if* such invalid models exist.
Martin Gamsjaeger - 2011-06-20T03:27:34-07:00 - details
Merge pull request #31 from pol/master Improving the documentation for validates_within
Pol Llovet - 2011-06-20T01:36:57-07:00 - details
Improve documentation for validates_within
Dan Kubb - 2011-06-14T22:20:14-07:00 - details
Updated gemspec
Xavier Shay - 2011-06-14T02:32:53-07:00 - details
Merge remote branch 'emmanuel/feature/externalize_auto_validation'
Emmanuel Gomez - 2011-06-12T23:41:53-07:00 - details
Move variable definition out of the loop in ContextualValidators#add.
Emmanuel Gomez - 2011-06-12T23:41:04-07:00 - details
Rename AutoValidations.generate_for -> generate_for_property.
Emmanuel Gomez - 2011-06-12T23:40:31-07:00 - details
Mark some methods' @api designation.
Emmanuel Gomez - 2011-06-12T23:39:53-07:00 - details
Reorder require statements.
Emmanuel Gomez - 2011-06-12T23:38:23-07:00 - details
Move Object#try_call to support/object.rb.
Emmanuel Gomez - 2011-06-12T22:38:38-07:00 - details
Rename @model -> @validators in specs dealing with ContextualValidator objects.
Emmanuel Gomez - 2011-06-12T22:38:01-07:00 - details
Mark Context.stack @api private, and replace it with Context.any?.
Emmanuel Gomez - 2011-06-12T22:37:09-07:00 - details
Move context out of support.
Emmanuel Gomez - 2011-06-12T22:13:36-07:00 - details
Hook auto validations on Model#property instead of Property.new.
Emmanuel Gomez - 2011-06-12T01:26:51-07:00 - details
Clean a little cruft from AutoValidations.
Emmanuel Gomez - 2011-06-12T00:49:54-07:00 - details
Move AutoValidations responsibilities out of Model.
Emmanuel Gomez - 2011-06-12T00:33:36-07:00 - details
Move PropertyExtensions#new into AutoValidations.
Emmanuel Gomez - 2011-06-12T00:29:19-07:00 - details
Reformat DataMapper::Validations#save_self.
Emmanuel Gomez - 2011-06-12T00:17:04-07:00 - details
Mark Object#try_call as `@api private`.
Xavier Shay - 2011-06-02T17:10:38-07:00 - details
jRuby 1.6.1 did not resolve bug 5622 around unicode regex character properties, and there is still no target version assigned to it. For now bumping the conditional to 1.6.2, but I think it should probably be removed given I don't expect it to be fixed in that version either.
Xavier Shay - 2011-06-02T16:29:17-07:00 - details
Merge emmanuel's refactorings: - #25 emmanuel/feature/clean_and_refactor - #26 emmanuel/feature/remove_chainable - #28 emmanuel/feature/externalize_responsibilities - #29 emmanuel/feature/refactor_context Conflicts: lib/dm-validations.rb lib/dm-validations/support/context.rb
Emmanuel Gomez - 2011-06-01T00:42:39-07:00 - details
Add more comments about `#valid_for_#{context}?`.
Emmanuel Gomez - 2011-05-31T13:28:05-07:00 - details
Add & clean up a few comments.
Emmanuel Gomez - 2011-05-31T13:22:43-07:00 - details
Rename a couple of methods on ContextualValidators for clarity. Also remove now unused instance methods from Validations::Context.
Emmanuel Gomez - 2011-05-31T13:10:59-07:00 - details
Replace calls to Validations::Context#validation_context. Replaced with calls to Validations::Context.in_context.
Emmanuel Gomez - 2011-05-31T13:01:18-07:00 - details
Add some docs & notes to Context module.
Emmanuel Gomez - 2011-05-31T13:01:05-07:00 - details
Move some methods from Resource (Context module) to ContextualValidators.
Emmanuel Gomez - 2011-05-31T12:57:13-07:00 - details
Moved some methods in Validations::Context from instance methods to static methods.
Emmanuel Gomez - 2011-05-30T22:44:00-07:00 - details
Add ContextualValidators#[], which delegates to @attributes. This lets you access validators by property name (eg., `User.validators[:email]`, which could be handy when reflecting on validations by property name. For example, when generating form hints or client-side validations.
Emmanuel Gomez - 2011-05-30T22:41:35-07:00 - details
ContextualValidators is there to track context, so why track it in GenericValidator, too?
Emmanuel Gomez - 2011-05-30T22:39:36-07:00 - details
Add a variable, rename another and move a comment in and around ContextualValidators#execute.
Emmanuel Gomez - 2011-05-30T22:38:51-07:00 - details
GenericValidator#options is there; use it.
Emmanuel Gomez - 2011-05-30T22:38:02-07:00 - details
Use ContextualValidators#add in Validations::ClassMethods#inherited.
Emmanuel Gomez - 2011-05-30T22:05:23-07:00 - details
Clean up and add some more docs for ContextualValidators#add.
Emmanuel Gomez - 2011-05-30T11:37:21-07:00 - details
Add a TODO note.
Emmanuel Gomez - 2011-05-30T10:15:51-07:00 - details
Decompose one example in association_validation_spec.rb.
Emmanuel Gomez - 2011-05-30T10:15:33-07:00 - details
Tweak BlockValidator#initialize.
Emmanuel Gomez - 2011-05-30T10:14:47-07:00 - details
Use ContextualValidator#attributes to cache validators by attribute name.
Emmanuel Gomez - 2011-05-30T10:14:12-07:00 - details
Fix args passed from validates_with_block to validators.add.
Emmanuel Gomez - 2011-05-30T10:12:55-07:00 - details
Document ContextualValidator#normalize_options.
Emmanuel Gomez - 2011-05-30T10:12:20-07:00 - details
Make ContextualValidator#initialize model arg optional.
Emmanuel Gomez - 2011-05-30T02:06:54-07:00 - details
Add some comments to Validations.create_context_instance_methods.
Emmanuel Gomez - 2011-05-30T02:06:30-07:00 - details
Index ContextualValidator by validated attribute as well as context.
Emmanuel Gomez - 2011-05-30T02:06:02-07:00 - details
Switch over to using ContextualValidator#add.
Emmanuel Gomez - 2011-05-25T17:27:21-07:00 - details
Externalize Model#add_validator_to_context, #create_context_instance_methods, and #opts_from_validator_args. Moved them out to DataMapper::Validations, because they're certainly not core responsibilities of Model.
Emmanuel Gomez - 2011-05-30T02:04:07-07:00 - details
Add ContextualValidators#add to replace Model#add_validator to context.
Emmanuel Gomez - 2011-05-30T01:54:33-07:00 - details
Try using an OrderedSet for the validators in a context.
Emmanuel Gomez - 2011-05-30T01:53:24-07:00 - details
Initialize ContextualValidators with the model they are validating.
Emmanuel Gomez - 2011-05-23T14:47:24-07:00 - details
Remove unneeded Chainable from DataMapper::Validations.
Emmanuel Gomez - 2011-05-25T17:29:38-07:00 - details
Move Resource#validation_property to GenericValidator#get_resource_property.
Emmanuel Gomez - 2011-05-25T17:30:20-07:00 - details
Extract GenericValidator#evaluate_conditional_clause.
Emmanuel Gomez - 2011-05-25T17:27:58-07:00 - details
Replace method with a local variable (in the one place it is used).
Emmanuel Gomez - 2011-05-23T15:32:03-07:00 - details
Override Propery.new with a module instead of reopening it.
Emmanuel Gomez - 2011-05-23T14:50:47-07:00 - details
Call Property.accept_options instead of reopening.
Emmanuel Gomez - 2011-05-23T15:47:53-07:00 - details
Add @api YARD docs/comments.
Emmanuel Gomez - 2011-05-23T14:44:00-07:00 - details
Extract #validators_for_resource and #load_validated_properties from ContextualValidators#execute.
Piotr Solnica - 2011-04-29T01:39:02-07:00 - details
Bump DO to 0.10.4 final in Gemfile
Piotr Solnica - 2011-04-28T07:40:11-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:35:21-07:00 - details
Version bump to 1.1.1
Xavier Shay - 2011-04-25T17:09:59-07:00 - details
Merged pull request #12 from pol/master. Minor Documentation Correction
Pol Llovet - 2011-04-25T15:19:41-07:00 - details
Corrected minor documentation error.
Piotr Solnica - 2011-04-21T04:02:57-07:00 - details
Bump jruby email regexp condition to 1.6.1
Xavier Shay - 2011-04-08T23:55:51-07:00 - details
Allow Set objects to be passed to the :set option of a within validator. Fixes #11.
Dan Kubb - 2011-03-20T19:17:21-07:00 - details
Changed comment on how to handle removing the logic branch later * A revert probably won't work due to some of the local changes, so I didn't want to confuse my future self, or anyone else, with instructions that won't work when the time comes.
Dan Kubb - 2011-03-20T19:15:54-07:00 - details
Changed variable to match it's purpose more closely
Dan Kubb - 2011-03-20T19:07:12-07:00 - details
Changes are noted, removed comments that are no longer necessary
Dan Kubb - 2011-03-20T19:02:34-07:00 - details
Style. Add two spaces before inline comments
Dan Kubb - 2011-03-20T18:59:02-07:00 - details
Use single quotes for strings not using variable interpolation * This is a personal convention I use, not for performance reasons, but to demonstrate my intention more clearly; that I do not mean for any variable interpolation to occur within the string, and that it can be taken as a literal when reading the code. I know some languages, like perl, the convention is to use single quotes like this because on microbenchmarks it's been shown to be more efficient. I must admit my original practice was borrowed from this cargo-culted behavior in perl, but I've found that using single quotes by default and only use double quotes when I'm doing variable interpolation has been good for comprehension.
Dan Kubb - 2011-03-20T18:57:05-07:00 - details
Removed unecessary variable interpolation
Dan Kubb - 2011-03-20T18:55:44-07:00 - details
Further qualify guard clause to only match JRuby <= 1.6.0 in --1.9 mode
Dan Kubb - 2011-03-20T18:53:02-07:00 - details
Fixed email regexp to use strict start/end of string anchors * Prevents bug where email would be considered valid if it ends in a newline and contains other text afterwards.
Dan Kubb - 2011-03-20T18:48:13-07:00 - details
Code formatting change for email regexp
Dan Kubb - 2011-03-20T18:44:02-07:00 - details
Stripped whitespace
Xavier Shay - 2011-03-20T16:48:54-07:00 - details
jruby 1.9 exhibits weird behaviour on the ValidationErrors enumerator, but it's ok because there's a nicer way to write this code that works for everybody.
Xavier Shay - 2011-03-20T16:22:47-07:00 - details
Work-around a bug in jruby 1.9 that was raising an exception on the EmailAddress regex
Xavier Shay - 2011-03-20T16:01:14-07:00 - details
Combine unicode property for lower and upper characters into the one property
Xavier Shay - 2011-03-17T15:22:56-07:00 - details
Revert #full_message refactor, it breaks the specs
Xavier Shay - 2011-03-17T15:19:38-07:00 - details
Merge branch 'postmodern' of https://github.com/postmodern/dm-validations Conflicts: lib/dm-validations/contextual_validators.rb lib/dm-validations/validation_errors.rb lib/dm-validations/validators/generic_validator.rb
Dan Kubb - 2011-09-01T10:48:46-07:00 - details
Upgraded gem dependencies
snusnu - 2011-05-05T05:16:34-07:00 - details
Bump DM dependencies to ~> 1.1.1
snusnu - 2011-05-05T05:16:21-07:00 - details
Silence Gem::Specification#has_rdoc warning Silences the following warning (rubygems-1.7.2): NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Piotr Solnica - 2011-04-29T01:32:14-07:00 - details
Bump DO to 0.10.4 final
Piotr Solnica - 2011-04-28T07:40:13-07:00 - details
Regenerated gemspec for 1.1.1
Piotr Solnica - 2011-04-28T07:35:27-07:00 - details
Version bump to 1.1.1
Dan Kubb - 2011-03-22T23:34:38-07:00 - details
Stringify Class/Module names when persisting