dither 0.1.1 → 0.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: 4231f1c2e7ec627c7d682e558f37953c38b091a5
4
- data.tar.gz: e837a08996ffd4361aca70511494c5b447e02991
3
+ metadata.gz: d8e69e75f84c1c08b9217080d64053c6ac95b9de
4
+ data.tar.gz: 46640050a152f63d9133f4569e3df302895e62a4
5
5
  SHA512:
6
- metadata.gz: 74aec8800c026499dda2152b7888ee3d673b5360351478032f57380435ffddc9c588569a5fbb56d39e4b2f97fc4b065cb8341bb9e1b38005726e3e08ecadd4a8
7
- data.tar.gz: 439a34480af8a5f705df9fbf4539e2fdb6f45810cbd79eefb899d80f2994dc01d5da29dbecdad326dcf451b42dbfd50d019635caad27d5a206185083a2a06b96
6
+ metadata.gz: 21983735f608f65761356a5e460d8f129e1b9988f6738a7e3fa7b2a0cb4a23337477f7df77b83f49b83da3942f80f5d443b67b6455458e87713ef72fcae84677
7
+ data.tar.gz: 13d6ddb17aced1811e08fe740f1c9fb2fa91f005f7b3d26cdb8dc42efbe17e6e4f771f9786a0eb44bc0c4c53daf10013c36da8eb5aac373bac126d2ac4a85154
data/dither.gemspec CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
23
23
  if RUBY_PLATFORM =~ /java/
24
24
  s.platform = "java"
25
25
  # compile dither-java on jdk 7
26
- files << "lib/dither-0.1.0.jar"
26
+ files << "lib/dither-0.1.1.jar"
27
27
  end
28
28
  s.files = files
29
29
 
@@ -68,6 +68,9 @@ module Dither
68
68
 
69
69
  def filter
70
70
  return unless constraints
71
+ comb.first.each do |pair|
72
+ scratch[pair.i] = pair.j
73
+ end
71
74
  scratch.each_with_index do |e, i|
72
75
  scratch[i] = nil if constraints.any? { |a| a.in_test_case?(e) }
73
76
  end
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Dither
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
data/lib/dither.rb CHANGED
@@ -46,7 +46,7 @@ require 'dither/aetg_pairwise'
46
46
 
47
47
  if RUBY_PLATFORM =~ /java/
48
48
  require 'java'
49
- require 'dither-0.1.0.jar'
49
+ require 'dither-0.1.1.jar'
50
50
 
51
51
  require 'dither/java_ext/dither'
52
52
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dither
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Gowan