potracer 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/ext/potracer/potracer.c +1 -1
  2. metadata +1 -1
@@ -180,7 +180,7 @@ trace_as_array (VALUE klass)
180
180
  }
181
181
  rpath = rb_hash_new();
182
182
  rb_hash_aset(rpath, STRSYM("area"), rb_int_new(path->area));
183
- rb_hash_aset(rpath, STRSYM("sign"), rb_str_new2(path->area == '+' ? "+" : "-"));
183
+ rb_hash_aset(rpath, STRSYM("sign"), rb_str_new2(path->sign == '+' ? "+" : "-"));
184
184
  rb_hash_aset(rpath, STRSYM("parts"), rparts);
185
185
  rb_ary_push(result, rpath);
186
186
  path = path->next;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: potracer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: