tr8n_core 4.0.15 → 4.0.16

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a2def42aeb5f7a9db181e11820706c776b25c39d
4
- data.tar.gz: ca1a86232f404f20f535c505776a7ed830702601
3
+ metadata.gz: 1f42d555219e71bb58c86535e4a8c992e3343032
4
+ data.tar.gz: a11497c6e6f55880a9c73132130051d4401228c1
5
5
  SHA512:
6
- metadata.gz: 24bf342e459a7e25dfe655cbf0b04501cafdb2eab2a61ec42462f8c5a32cfec7c1ee5fed09cacda32777cbdc58e2ceb2c173c704e4ef2bb68aeec655e0401bd4
7
- data.tar.gz: 1c98540b86f0a09490a9d1790333f67c5443315e60526f88585f9c7f2bf715b120094bbe609def68f38c380d064c73851cab8c3ecb19ba2f56db0e592681bf1d
6
+ metadata.gz: 5146a1907d0e0685615814e640f1a07b02d091c4f5f184a6e79a7b844cfe55a0cb552296302120a8374a531e8d0467a45199dbc63110a1d71a43d0ca37720d7c
7
+ data.tar.gz: 352115940aba499f2ea752c5a9c980e2f51cb66c4ae49f6c7a74af6fade8138f299c6b79b53aec8ff9679f8c4bd336e37b6f6c7d7c2265b5e3dc0abfb77ebbe4
@@ -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('' + index, '')
297
+ name = name.gsub(index.to_s, '')
298
298
  end
299
299
  name += (index + 1).to_s
300
300
  return contextualize(name, context)
@@ -30,5 +30,5 @@
30
30
  #++
31
31
 
32
32
  module Tr8nCore
33
- VERSION = '4.0.15'
33
+ VERSION = '4.0.16'
34
34
  end
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.15
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-04 00:00:00.000000000 Z
11
+ date: 2014-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday