stbimage 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f161bb612911051438045d1e2bbc1b9f317e9f67e4f018bb80beec9c8a63858
|
4
|
+
data.tar.gz: 50b048e52a2991b135f416b82ea937c8e24b0adac9f05b97bcf3509bb16b5185
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5740266226e0fc8172979a758ecd719db09cce49bb8ded18fd43aa3001ae06d704cb2fa6606ae18342bf95c87bf2cfd544b1d74b16896a701cc7ccd7ee04e69a
|
7
|
+
data.tar.gz: ee86a36e31f69327aaca6d84685881134cbcad9f0f4af1ff33a6e8037e84ee70b195f1ea5d7401a7ea1dcd515ede2f29f1fe5d36cbbade529cfd666390d9eca7
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/stbimage.rb
CHANGED
@@ -40,10 +40,10 @@ module STBIMAGE
|
|
40
40
|
# puts "You have a 64-bit Architecture ruby"
|
41
41
|
if RUBY_PLATFORM =~ /mswin/ || RUBY_PLATFORM =~ /mingw/
|
42
42
|
# puts "With Windows"
|
43
|
-
lib, path = 'stbDLL_x64.dll', "#{__dir__}
|
43
|
+
lib, path = 'stbDLL_x64.dll', "#{__dir__}/dlls"
|
44
44
|
elsif RUBY_PLATFORM =~ /linux/ || RUBY_PLATFORM =~ /cygwin/
|
45
45
|
# puts "With Linux"
|
46
|
-
lib, path = 'libstb_x64.so', "#{__dir__}
|
46
|
+
lib, path = 'libstb_x64.so', "#{__dir__}/dlls"
|
47
47
|
elsif RUBY_PLATFORM =~ /darwin/
|
48
48
|
# puts "With macOS"
|
49
49
|
else
|
@@ -53,7 +53,7 @@ module STBIMAGE
|
|
53
53
|
elsif RUBY_PLATFORM =~ /arm/
|
54
54
|
|
55
55
|
# puts "You have a arm architecture"
|
56
|
-
lib, path = 'libstb_arm.so', "#{__dir__}
|
56
|
+
lib, path = 'libstb_arm.so', "#{__dir__}/dlls"
|
57
57
|
|
58
58
|
elsif RUBY_PLATFORM =~ /java/
|
59
59
|
|
@@ -64,10 +64,10 @@ module STBIMAGE
|
|
64
64
|
# puts "You have a 32-bit Architecture ruby"
|
65
65
|
if RUBY_PLATFORM =~ /mswin/ || RUBY_PLATFORM =~ /mingw/
|
66
66
|
# puts "With Windows"
|
67
|
-
lib, path = 'stbDLL_x86.dll', "#{__dir__}
|
67
|
+
lib, path = 'stbDLL_x86.dll', "#{__dir__}/dlls"
|
68
68
|
elsif RUBY_PLATFORM =~ /linux/ || RUBY_PLATFORM =~ /cygwin/
|
69
69
|
# puts "With Linux"
|
70
|
-
lib, path = 'libstb_x86.so', "#{__dir__}
|
70
|
+
lib, path = 'libstb_x86.so', "#{__dir__}/dlls"
|
71
71
|
elsif RUBY_PLATFORM =~ /darwin/
|
72
72
|
# puts "With macOS"
|
73
73
|
else
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stbimage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Keresztes
|
@@ -20,11 +20,11 @@ extensions: []
|
|
20
20
|
extra_rdoc_files: []
|
21
21
|
files:
|
22
22
|
- README.md
|
23
|
-
- dlls/libstb_arm.so
|
24
|
-
- dlls/libstb_x64.so
|
25
|
-
- dlls/libstb_x86.so
|
26
|
-
- dlls/stbDLL_x64.dll
|
27
|
-
- dlls/stbDLL_x86.dll
|
23
|
+
- lib/dlls/libstb_arm.so
|
24
|
+
- lib/dlls/libstb_x64.so
|
25
|
+
- lib/dlls/libstb_x86.so
|
26
|
+
- lib/dlls/stbDLL_x64.dll
|
27
|
+
- lib/dlls/stbDLL_x86.dll
|
28
28
|
- lib/stbimage.rb
|
29
29
|
- stb-source/stb_image.c
|
30
30
|
- stb-source/stb_image.h
|