psd_native 1.1.1 → 1.1.2

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
  SHA1:
3
- metadata.gz: 3ca7170880c6cfc11f56e1299059a9926bdac2e0
4
- data.tar.gz: 6ed9335c31bf6f9513cfd2bbf5a35dfec8c526a5
3
+ metadata.gz: bea0e25c39742ccaf28c7bf0cd34a3938e397a9a
4
+ data.tar.gz: cc3cacc75a358e8ef1a59493d296aaaaa69c20bb
5
5
  SHA512:
6
- metadata.gz: 5f7e6354f464fe99c4183c4b13d248cb07c82b541e7fdedf44da2632ebb53b63fa89dff365933a5a0b2c5beb62c7969611232ea8e926ce36f41d134a25b44c5e
7
- data.tar.gz: e59760913c83add6f05131651c5adb41f0e1ed1da7a112d7a4cbe1757c6de071a1f9dcd73b3c7b1914babe7534ae853e8962da48ed4687b7fcb9a5e84e0ef0b8
6
+ metadata.gz: 86d5f4cea7ce4f8e6b5023696ddbc14ad5271a693c1513458b982705488fce2eb5a67ed06007c7779b417ba8a4a300168341365c5b6285010e8fb5790dfcd2cb
7
+ data.tar.gz: 33666649eb4fb4af8978e64befc1200a85f72b1c019001ac308f6655bcdaa52cb85553366da2ffd799bcccc6c5852df14378fb8cb84a8f5db7209119104acb5c
@@ -31,8 +31,8 @@ VALUE psd_native_mask_apply_bang(VALUE self) {
31
31
  layer_x = doc_x - layer_left;
32
32
  layer_y = doc_y - layer_top;
33
33
 
34
- if (layer_x < 0 || layer_x > layer_width || layer_y < 0 || layer_y > layer_height) continue;
35
-
34
+ if (layer_x < 0 || layer_x >= layer_width || layer_y < 0 || layer_y >= layer_height) continue;
35
+
36
36
  color = FIX2UINT(rb_funcall(canvas, rb_intern("[]"), 2, INT2FIX(layer_x), INT2FIX(layer_y)));
37
37
 
38
38
  if (doc_x < 0 || doc_x >= doc_width || doc_y < 0 || doc_y > doc_height) {
@@ -1,3 +1,3 @@
1
1
  module PSDNative
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: psd_native
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan LeFevre