Florian
unread,Nov 8, 2010, 6:11:06 PM11/8/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Picky-Ruby
Hi Picky users
Version 0.11.1 has just been released. Apart from better error
reporting in several Rake tasks, it has undergone a major internal
rewrite.
What does this mean for you, dear user?
categories of indexes are not defined like this anymore:
index(:name, some_source, category(:other_name, ...),
category(:some_other_name,...))
but rather more explicit:
my_lovely_index = index :name, some_source
my_lovely_index.category :other_name, ...
my_lovely_index.category :some_other_name, ...
Alternatively, you can use the fluid interface if you really liked the
old style:
index(:name, some_source).
category(:other_name, ...).
category(:some_other_name, ...)
Please give feedback if you have something to say, I'm always glad to
hear it.
The reason for this is that I'd give up a little nice-lookingness for
a bit more power and versatility under the hood.
For example, this change eases the complexity of the underlying code
and really facilitates the making of features such as:
- Location encoding, which you can hopefully expect soon.
and
- Geocoding, which should be based on Location encoding, with some
funktabulous calculations added. (Crossing tentacles that it's easy)
But first, if there aren't any objections to the API, I'll move to
1.0.0. Can't wait!
And that's it for now. Stay tuned for more :)
Picky
*vanishes in a puff of pink mist*