dispel 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/dispel/style_map.rb +1 -1
- data/lib/dispel/tools.rb +0 -4
- data/lib/dispel/version.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b769c54e5ce615be2c2e8222e9dddb0dab23f10f
|
4
|
+
data.tar.gz: 2cf99d0728018e78d2077206c8a8c811512cf7df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2309d2fdebf6c2230e6791602f1545145310b1e778a7d571b1473fcf6cee9688ebddf9dfe6157a3af1f85a1186f8100c2c032b5f5784dc4399611fbdd2347688
|
7
|
+
data.tar.gz: bb2d751bea5cc6631977f48c914e2437329904f081c43e013a00b2d25ee1e38b757976535ec55e0bc18ece16019aa6ed25004ddc2b7378a87c71297b9261c0d0
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/dispel/style_map.rb
CHANGED
@@ -21,7 +21,7 @@ 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,
|
24
|
+
points_of_change = styles.map{|s,c| [c.first, c.max + 1] }.flatten.uniq
|
25
25
|
|
26
26
|
flat = []
|
27
27
|
|
data/lib/dispel/tools.rb
CHANGED
@@ -12,10 +12,6 @@ module Dispel
|
|
12
12
|
result.empty? ? [''] : result
|
13
13
|
end
|
14
14
|
|
15
|
-
def last_element(range)
|
16
|
-
range.exclude_end? ? range.last.pred : range.last
|
17
|
-
end
|
18
|
-
|
19
15
|
# http://grosser.it/2010/12/31/ruby-string-indexes-indices-find-all-indexes-in-a-string
|
20
16
|
def indexes(string, needle)
|
21
17
|
found = []
|
data/lib/dispel/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
29
29
|
y0kCSWmK6D+x/SbfS6r7Ke07MRqziJdB9GuE1+0cIRuFh8EQ+LN6HXCKM5pon/GU
|
30
30
|
ycwMXfl0
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
32
|
+
date: 2014-01-31 00:00:00.000000000 Z
|
33
33
|
dependencies: []
|
34
34
|
description:
|
35
35
|
email: michael@grosser.it
|
metadata.gz.sig
CHANGED
Binary file
|