grayphash 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/grayphash/extconf.rb +5 -0
- metadata +2 -2
data/ext/grayphash/extconf.rb
CHANGED
@@ -7,5 +7,10 @@ extension_name = 'grayphash'
|
|
7
7
|
# The destination
|
8
8
|
#dir_config(extension_name)
|
9
9
|
|
10
|
+
if RUBY_PLATFORM =~ /mingw/
|
11
|
+
paths = ["/usr/local/lib", "/usr/pkg/lib", "/usr/lib"]
|
12
|
+
find_library("gdi32", "SetDIBitsToDevice", *paths)
|
13
|
+
end
|
14
|
+
|
10
15
|
# Do the work
|
11
16
|
create_makefile("#{extension_name}/#{extension_name}")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grayphash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-30 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: pHash image wrapper
|
15
15
|
email: tauraloke@gmail.com
|