Added ability to define custom pstore_file_path#21
Added ability to define custom pstore_file_path#21shawnpyle wants to merge 4 commits intojanfri:masterfrom
Conversation
|
Thanks a lot for your effort. I have not much time at the moment. I try to look on it in the next weeks. |
|
No worries. Thanks for considering.
|
|
It is not a good idea to change the complete path to the PStore file because if you install a newer version of exiftool you use an outdated version of the PStore file (the exiftool version is coded into the basename of the file). Therefore in my solution I have added the possibility to change the directory (not the complete path) where mini_exiftool stores the PStore files. MiniExiftool.pstore_dir = 'path/to/my/pstore/dir'The changes are included in mini_exiftool version 2.5.0. I don't need a gemspec file because I use rim for all my needs of project management, from spell checking to releasing. :-) Btw: mini_exiftool is licensed under the LGPL. If you want to use your own fork / your own gemspec it has to be also licensed under the LGPL. I hope this help you. Best regards. |
Thanks for this useful project!
This should allow setting of a custom path for the pstore file. Using this with Rails was problematic due to the fact that the file was placed in the home directory of a user and not accessible by other users.
I also added a gemspec so I could install it via Gemfile. Out of curiosity, how are you publishing this as a gem without a gemspec?