tr8n_core 4.0.15 → 4.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tr8n/tokenizers/dom.rb +1 -1
- data/lib/tr8n_core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f42d555219e71bb58c86535e4a8c992e3343032
|
4
|
+
data.tar.gz: a11497c6e6f55880a9c73132130051d4401228c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5146a1907d0e0685615814e640f1a07b02d091c4f5f184a6e79a7b844cfe55a0cb552296302120a8374a531e8d0467a45199dbc63110a1d71a43d0ca37720d7c
|
7
|
+
data.tar.gz: 352115940aba499f2ea752c5a9c980e2f51cb66c4ae49f6c7a74af6fade8138f299c6b79b53aec8ff9679f8c4bd336e37b6f6c7d7c2265b5e3dc0abfb77ebbe4
|
data/lib/tr8n/tokenizers/dom.rb
CHANGED
@@ -294,7 +294,7 @@ module Tr8n
|
|
294
294
|
matches = name.match(/\d+$/)
|
295
295
|
if matches and matches.length > 0
|
296
296
|
index = matches[matches.length-1].to_i
|
297
|
-
name = name.gsub(
|
297
|
+
name = name.gsub(index.to_s, '')
|
298
298
|
end
|
299
299
|
name += (index + 1).to_s
|
300
300
|
return contextualize(name, context)
|
data/lib/tr8n_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tr8n_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Berkovich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|