Bump version and introduce version file

This commit is contained in:
Sam Saffron 2021-08-10 12:57:31 +10:00
parent f6559105f1
commit a1131d15bb
No known key found for this signature in database
GPG Key ID: B9606168D2FFD9F5
4 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Version 2.2.5
10-August-2021
- FIX: handle HEIC/HEIF rotation angle
Version 2.2.4
02-June-2021

View File

@ -1,6 +1,8 @@
require_relative "lib/fastimage/version"
Gem::Specification.new do |s|
s.name = %q{fastimage}
s.version = "2.2.4"
s.version = FastImage::VERSION
s.required_ruby_version = '>= 1.9.2'
s.authors = ["Stephen Sykes"]
@ -14,6 +16,7 @@ Gem::Specification.new do |s|
"MIT-LICENSE",
"README.textile",
"lib/fastimage.rb",
"lib/fastimage/version.rb",
]
s.homepage = %q{http://github.com/sdsykes/fastimage}
s.rdoc_options = ["--charset=UTF-8"]

View File

@ -61,6 +61,7 @@ require 'pathname'
require 'zlib'
require 'base64'
require 'uri'
require_relative 'fastimage/version'
# see http://stackoverflow.com/questions/5208851/i/41048816#41048816
if RUBY_VERSION < "2.2"

3
lib/fastimage/version.rb Normal file
View File

@ -0,0 +1,3 @@
class FastImage
VERSION = "2.2.5"
end