imogen 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/imogen.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YmIyN2FkZGFmNTc2MTdhMDljZDMxOWRjMDgxMmFkOGVhZDBkYmVhNQ==
4
+ NTI4Y2ZkMGUzMGQ5Mjg4NmI3NmRmZTQxMTkyM2VlMDJlY2FiMzhmYg==
5
5
  data.tar.gz: !binary |-
6
- ODIyZmQ0NWM5ZGRjY2Y2MDY4NzY3NmQ4ZDEwMDVlNDM3OGQxNTY4Zg==
6
+ ZmQ3M2I5NDc5ZDg5MjNiNGUyYTAxZDNmNDFiZjg5NmI0ZmExMzYzNg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MmVhYjFmYmUwNmJkMGZhZjM3MjU4ZTkyNDNhOWI5N2U1ZGI5ZDA3ZTJhNTFm
10
- MjZlYWU4YjI3MjdlNjRlYjIyZmM3YzhlYTk4M2RkMDYyY2NlYTVkMmQyOTAz
11
- NzA5YzQwZjgwMTFmOWFlM2MwNDRiZWJjMzQwNTgxMjk5YzI2MjM=
9
+ NzE0NDE0N2U1Y2M5NTA5OTNkZjJhOTdjN2FjM2Y2ZTUzMmZlZGU4MTZhMGY1
10
+ NjkwN2E3NmFiNTNlZjRlYzUwOWYzYTk5MDIwNTFhZTZiZDgxMjIzNmFkNGJl
11
+ YmRkMWUzMWQwM2YyZDUwMjFjOTE3ZGY5NzE0NzNkMDJiYTMzZTg=
12
12
  data.tar.gz: !binary |-
13
- ZjRmNzUwZGZmM2RmOGI1ZmExNWIwZTk4MmNlNTE4YjNiN2UwZWZkYzBhNDc4
14
- N2EwNmQyYTg1MDNlNDE1M2YyNzRjZjBlOTY4ZDA1MjUwMDljNjJmYzVmNTEw
15
- MDhmYmU2ODM0OGIwYzRhNjliMzQ2YjVjNjQ5NjUyNGUxYzMzYjY=
13
+ ODRkMDgwMmRkMmE2YjY1ZGU5NWRlNmMxZDJhNmM5NTU2ZTQ0YWQwNDU5MzVl
14
+ YWIxZDNiM2NlYjQ5ZjBlYTUwZDRiZWE2NGU2YWJhNWYxZWY4NTQxMGVkMjcx
15
+ NWI0ODZiNjQ2NmMzMzZhOGEwOTY5ZTY3MDk2NWVkZGIzMzJiNDM=
@@ -90,7 +90,7 @@ module Imogen
90
90
  fif = format_from(src_path)
91
91
  if ((fif != :unknown) and FreeImage.FreeImage_FIFSupportsReading(fif))
92
92
  ptr = FreeImage.FreeImage_Load(fif, src_path, flags)
93
- FreeImage.check_last_error
93
+ FreeImage.check_last_error(ptr)
94
94
  return FreeImage::Bitmap.new(ptr, nil)
95
95
  end
96
96
  return nil
@@ -100,7 +100,7 @@ module Imogen
100
100
  fif = format_from(src_path)
101
101
  if ((fif != :unknown) and FreeImage.FreeImage_FIFSupportsReading(fif))
102
102
  ptr = FreeImage.FreeImage_Load(fif, src_path, flags)
103
- FreeImage.check_last_error
103
+ FreeImage.check_last_error(ptr)
104
104
  FreeImage::Bitmap.new(ptr, nil, &block)
105
105
  end
106
106
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imogen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Armintor