dispel 0.0.5 → 0.0.6

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: de17287d9f03852de60c12126d238d54a1442d3e
4
- data.tar.gz: e8caec9258f89ecf0c91fd7a15d84031d65266b1
3
+ metadata.gz: 6ecadebe079deacb457b479d83b66f202e0cc2c0
4
+ data.tar.gz: ad611215a06e5293d7c54bbc46559c3b2e4c8a9a
5
5
  SHA512:
6
- metadata.gz: b1d1c178063d7a471d7589cdee3eb2185045c252b9eb0743570aab1ef2c7d1963e51e9a9d2a7a934955af96138bf8d6ec9fdde48d79d0541838a043b1cd5815e
7
- data.tar.gz: 21efb3b26874b6534c95a5cacd962e40373c57cf160ddf8988e8690c9bdbc5a54c240630c90ac467345b73575efb25520b565f34ebe9483333f375c4219cc81a
6
+ metadata.gz: a95f740558a17c26cd482dde46a1efa12a3c52de1d826dafdb82558c910223b602be2c2462189cb6dcb4a2d59612d7c390121e14805b669937e7d927d581d0d6
7
+ data.tar.gz: ebb46e93dee1ee14cf2ec1a891cd6091ddbac71d6eaf8095d2ec16b1e2334db53a078aba414da5fc9d7078b65542fd84bc8e87f22099b9bb5d2398c41f7f6a47
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -21,7 +21,8 @@ module Dispel
21
21
  next unless styles
22
22
 
23
23
  # change to style at start and recalculate one after the end
24
- points_of_change = styles.map{|s,c| [c.first, c.max + 1] }.flatten.uniq
24
+ points_of_change = styles.map{|s,c| c.min ? [c.min, c.max + 1] : nil }.flatten.compact.uniq
25
+ next if points_of_change.empty?
25
26
 
26
27
  flat = []
27
28
 
@@ -1,3 +1,3 @@
1
1
  module Dispel
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dispel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
metadata.gz.sig CHANGED
Binary file