Earlier versions of Rmagick will not compile with newer version of imagemagick with --enable-hdri compilaton flag.
The first recommandation would be to upgrade your library to the newest version (=< 2.13.3), but for some reasons sometime it is not possible yet.
If you are Archlinux user you'll probably end with an error message like :
Can't install RMagick 2.13.2. RMagick does not work when ImageMagick is configured for High Dynamic Range Images. Don't use the --enable-hdri option when configuring ImageMagick.
If you google a bit, you'll find the imagemagick-no-hdri AUR package.
Now you clearly understand why this project is called Bintje ... ( Just kidding ... )
Using Bintje
First it needs OpenERP / OpenObject backend address, an example setup :
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Then create a Ruby Class, it could be Rails model if you want :
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This class inherits the CRUD basic methods, and have an example of custom method declaration.
You first need to include the module, once done your class will inherit module's class methods ( see documentation ), and gain the `open_object_model` class variable which is inferred from your ruby object name, but can be overriden as you can see in this gist above.
And now you can query the OpenObject Backend and obtain a BackendResponse Object ( see documentation )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Yes it is so simple ...
To get more methods, have a look to the documentation : http://rdoc.info/github/Electron-libre/bintje
The behaviour specifications extracted from Rspec tests : https://github.com/Electron-libre/bintje/wiki