On Tuesday, November 6, 2012 4:08:35 PM UTC-8, Jeremy Evans wrote:
>
> The core_refinements extension is available at 
> http://pastie.org/pastes/5337588/text, and should be placed in 
> lib/sequel/extensions/core_refinements.rb somewhere in your ruby load path 
> if you want to use it.  You'll also want to set the 
> SEQUEL_NO_CORE_EXTENSIONS constant or environment variable before requiring 
> Sequel so that the core extensions are not loaded.  As refinements are 
> still an experimental feature in ruby 2.0 preview1, and it is possible they 
> will be removed entirely before ruby 2.0 final, I have decided not to 
> commit this extension to the Sequel repository yet.  If the ruby core team 
> decides to include refinements in ruby 2.0 final, I will be committing this 
> extension to Sequel.
>

Here's a diff for the addition of the core_refinements extension, with 
specs and updates to the pg_* extensions so that they add appropriate 
refinements: http://pastie.org/pastes/5543974/text

This has been tested against ruby 2.0.0-preview2.  After the release of 
preview2, refinements have changed and now need to be activated manually.  
For that reason, I've decided not to merge this commit yet.  It'll probably 
be merged next month after it has been tested against 2.0.0-rc1.

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sequel-talk/-/LO8FL253a5kJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to