diff --git a/.gitignore b/.gitignore index 2cd62c6..af652cd 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,8 @@ Gemfile.lock tmp ## PROJECT::SPECIFIC -ext/phashion_ext/include/ -ext/phashion_ext/lib/ +ext/phashion_ext +!ext/phashion_ext/extconf.rb +!ext/phashion_ext/phashion_ext.c +!ext/phashion_ext/pHash-0.9.6.tar.gz lib/phashion_ext.bundle diff --git a/CHANGES.md b/CHANGES.md index 3630b18..262eae6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,12 @@ History ========= +1.1.0 +----- +* Converted to Minitest (issue #35) +* Added Phashion.distance_from method (issue #30) +* Add Sqlite3 extension to handle distance calculations (issue #27) + 1.0.8 ------ * Renamed the pHashion tar.gz archive as "pHash-0.9.6.tar.gz" to solve/enable install from github diff --git a/lib/phashion/version.rb b/lib/phashion/version.rb new file mode 100644 index 0000000..4a9d183 --- /dev/null +++ b/lib/phashion/version.rb @@ -0,0 +1,3 @@ +module Phashion + VERSION = '1.1.0' +end diff --git a/phashion.gemspec b/phashion.gemspec index 83b6779..135a646 100644 --- a/phashion.gemspec +++ b/phashion.gemspec @@ -1,12 +1,15 @@ # -*- encoding: utf-8 -*- - +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'phashion/version' + Gem::Specification.new do |s| - s.name = %q{phashion} - s.version = "1.0.8" + s.name = 'phashion' + s.version = Phashion::VERSION s.authors = ["Mike Perham"] s.email = ["mperham@gmail.com"] - s.description = %q{Simple wrapper around the pHash library} - s.homepage = %q{http://github.com/westonplatter/phashion} + s.description = 'Simple wrapper around the pHash library' + s.homepage = 'http://github.com/westonplatter/phashion' s.extensions = ["ext/phashion_ext/extconf.rb"] s.files = `git ls-files`.split("\n")