Skip to content

Instantly share code, notes, and snippets.

@solnic
Created May 23, 2011 11:14
Show Gist options
  • Save solnic/986558 to your computer and use it in GitHub Desktop.
Save solnic/986558 to your computer and use it in GitHub Desktop.
DataMapper commits between 1.1.0 and 1.1.1

dm-active_model

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.

dm-adjust

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

dm-aggregates

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

dm-ar-finders

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

dm-cli

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

dm-constraints

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

dm-core

Piotr Solnica - 2011-05-23T01:51:32-07:00 - details

Bump DO dep to 0.10.6 in Gemfile

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.

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>

dm-do-adapter

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

dm-ferret-adapter

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

dm-is-list

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

dm-is-nested_set

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

dm-is-remixable

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

dm-is-searchable

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

dm-is-state_machine

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

dm-is-tree

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.

dm-is-versioned

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

dm-migrations

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.

dm-mysql-adapter

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

dm-observer

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

dm-oracle-adapter

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

dm-postgres-adapter

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

dm-rails

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

dm-rest-adapter

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

dm-serializer

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

dm-sqlite-adapter

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

dm-sqlserver-adapter

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

dm-sweatshop

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

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>

dm-tags

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

dm-timestamps

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

dm-transactions

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

dm-types

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)

dm-validations

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

dm-yaml-adapter

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment