Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 220 lines (182 sloc) 6.21 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219
2.4.1
- Handling tag values of the form x/0 correct.
  Thanks to Picturelife for a clever solution to solve this.
- Some internal housekeeping.

2.4.0
- New method MiniExiftool#copy_tags_from.
  Many thanks to cgat for the hint and implementing a first
  approach.
- Saver handling of encoding problems.
- Approving documentation.
- Using regtest for integration testing.
- Some internal refactorings.

2.3.0
- New options :exif_encoding, :iptc_encodings,
  :xmp_encodings etc. to change specific encodings
  See -charset option of the exiftool commandline
  application
- Some internal improvements

2.2.1
- Bugfix: Ignore filename specific tags to avoid encoding
  confusions.

2.2.0
The Encoding Release
- New option :replace_invalid_chars to handle "bad data"
  invalid byte sequences in UTF-8
  Thanks to Chris Salzberg (aka shioyama) and
  Robert May (aka robotmay) for precious hints
- Support of different encodings for commandline params
  and filenames (neccessary to support Windows)
  to allow filenames with special chars
  Thanks to uwe58 and others for hints
- Doing different commandline escaping for windows and POSIX
  systems
  Thanks to Michael Dungan for the hint
- Update Tutorial

2.1.0
- insert require 'json'
- Drop option :convert_encoding (use Ruby String
  methods instead)
- Make the test_access_coordinate work on different
  exiftool version.

2.0.0
- Drop Ruby 1.8 compatibility.
- Using JSON to parse exiftool output (need
  exiftool 7.65 or higher).

1.7.0
- Support exiftool -c option for formatting GPS
  coordinates.
  Thanks to Lee Horrocks for the patch.
- Switching from shellwords to manual escaping.
  Hopefully it works now on Windows systems.
  Thanks to uwe58 and jpg0 for the hints.

1.6.0
- Type conversion in MiniExiftool.from_hash.
  Thanks to Ethan Soutar-Rau for the merge request.
- Switching to rim. (No longer troubles with echoe.)
- Exiftool version detection delayed.
  Thanks to Sebastian Skałacki for the merge request.
- New method MiniExiftool#save!
  Cherry-picked commit from Wil Gieseler.

1.5.1
- Make rational values work on Ruby 1.8.7.

1.5.0
- Supporting exiftool command-line option -m.
  rubyforge request [#29587]
  Thanks to Michael Grove for reporting.
- Supporting rational values.

1.4.4
- Fix escaping of values for older versions of Shellwords.

1.4.3
- Fixing rubyforge bug [#29596] (Quotes in values)
  Thanks to Michael Grove for reporting

1.4.2
- Add .yardopts file to gem.

1.4.1
- Update documentation for using yard.

1.4.0
- Allow symbols for tag access with [].
- Refactoring tests.

1.3.1
- Remove TestEscapeFilename test and releating test photo
  because the latter produces errors on windows systems.
- Version check in prerelease task.

1.3.0
- MiniExiftool is now ready for Ruby 1.9
  All tests in the test suite pass. :)

1.2.2
- Fixing ptore directory naming convention for darwin.
  Thanks to Denis Barushev for the hint.

1.2.1
- Switching to echoe.
- Update e-mail address.

1.2.0
- Fixing time zone handling.
  Thanks to ccoenen for the hint.

1.1.0
- Escaping filenames in shell commands
  Thanks to Michael Hoy for the hint and implementing a patch which was
  the base for this fix.

1.0.2
- Fixing warings
  Thanks to Peter-Hinrich Krogmann for the hint.

1.0.1
- Fixing bug [#22726]
  Making MiniExiftool::Error public.
  Thanks to Mathias Stjernstrom for sending a patch.

1.0.0
- Be aware changing in the interface:
  - List tags (e.g. Keywords, SupplementalCategories) are now handled as
    arrays.
  - Tag SubjectLocation is not longer an array value but a string value!

0.7.0
- Changing composite behaviour: Composite tags are now included as standard!
- New method MiniExiftool.opts which returns a hash of the standard
  options used for MiniExiftool.new
- New option :convert_encoding for MiniExiftool.new which uses the -L-option
  of the exiftool command-line application (see online documentation for it)
  Thanks to Henning Kulander for the causing of this change.

0.6.0
- New methods for serialization:
  - MiniExiftool.from_hash
  - MiniExiftool.from_yaml
  - MiniExiftool#to_hash
  - MiniExiftool#to_yaml
  Thanks to Andrew Bennett for the initial idea of YAML-serialization
- Refactoring of tests
- Small documetation update

0.5.1
- Warning "parenthesize argument(s) for future version" removed
  Thanks to Greg from knobby.ws

0.5.0
- New option :timestamps to create DateTime objects instead of Time objects
  for timestamps (Fixing bug #16328)
- Invalid values of timestamps (i.e. 0000:00:00 00:00:00) are now mapped
  to false

0.4.1
- Compatibility for Ruby 1.9

0.4.0
- MiniExiftool::Error inherits now from StandardError
- Alternative installation via setup.rb
- Bugfix
  Saving of non-read tags doesn't work with tags with hyphen
  Thanks to Robin Romahn for reporting the bug
- New methods: MiniExiftool.all_tags and MiniExiftool.original_tag
- Interna: Original tag names (all and writable) are now saved via pstore in
  a file for better performance

0.3.1
- Typos fixed

0.3.0
- Documentation completed and a Mini Tutorial added
- Interface changes:
  - Test if a value for a tag can be saved is now done in
    MiniExiftool#save
    => There is no check at the moment you set a value:
       the tag occurs in MiniExiftool#changed_values
    => While calling MiniExiftool#save errors can occur (see next point)
  - MiniExiftool#save is a transaction: if one or more error occurs the file is
    not changed! In such a case the errors can be found in MiniExiftool#errors
  - Parameter opts of MiniExiftool.initialize is now a Hash with two options:
    - :numerical => read metadata as numerical values
    - :composite => read also composite tags
- Tests added

0.2.0
- Better error handling (i.e. error messages)
- Checking if the exiftool command can be executed at loading the lib
- New class method exiftool_version
- Added tests
- Documentation completed

0.1.2
- Bugfix for Windows (Tempfile)
  Thanks to Jérome Soika for testing
- Regexes optimized (a little bit)
- New class-method MiniExiftool.writable_tags

0.1.1
- Fixing bug [#8073]
  Handling the '-' in tag Self-timer
  Thanks to Eric Young

0.1.0
- New method "revert"
- More tests

0.0.1
- Initial release
Something went wrong with that request. Please try again.