xmpleton 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/xmpleton.rb +2 -0
  3. data/xmpleton.gemspec +1 -1
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/lib/xmpleton.rb CHANGED
@@ -3,6 +3,8 @@ require 'nokogiri'
3
3
  module Xmpleton
4
4
  class Reader
5
5
  def initialize(image_file)
6
+ image_file = image_file.clone
7
+ image_file.rewind
6
8
  binary_data = image_file.read
7
9
  xmp_start = binary_data.index '<x:xmpmeta'
8
10
  xmp_end = binary_data.index('</x:xmpmeta>')
data/xmpleton.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{xmpleton}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Jeremy Holland}]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: xmpleton
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jeremy Holland
@@ -104,7 +104,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
104
  requirements:
105
105
  - - ">="
106
106
  - !ruby/object:Gem::Version
107
- hash: -4346935104123546877
107
+ hash: -2494141119079000151
108
108
  segments:
109
109
  - 0
110
110
  version: "0"