i18n_screwdriver 4.0.0 → 4.0.1

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: 3b179342ac69a06ad03d10ab4a0424425aff3e70
4
- data.tar.gz: a297fa182258a5797556d89ade2b6f3d12da91c7
3
+ metadata.gz: aa74a6062e9864af1bb45c22d657f7957f9dbc40
4
+ data.tar.gz: 028c089def491881debbc089ab1ea2147bbb39ce
5
5
  SHA512:
6
- metadata.gz: 8daaa73824b66d11c1973720d885a7b7324c87d57b6008318bab1c46a9be95a087d3d7c34018be89e8ca47da2f8d3449d2009e8d4d610fddb30610704c1f0ac4
7
- data.tar.gz: c0315f66acb6c611152c91a81849184585d8a3f68f006aacf0fa2b30d32b4d625b40d29b7d046c87149b52af4c4961750651ba1552d698345f5b866635d01f22
6
+ metadata.gz: db9824837d925ad5f78fa884cf91f89e881d4bfe9e23fdb5591c0f2b33289df450c6b66c1386d9dc141d4af0ce76b66283d31b2c4bc2c861b31d68514264db5c
7
+ data.tar.gz: d9c7ae8651ae29c68a1958ef3249a10b7a3596e7af6698b1f9ac031c3a40e2e814586d0695dd22fac989e222c237d1d07139540e5341fad342e8e72904ad327d
@@ -29,8 +29,8 @@ module I18nScrewdriver
29
29
 
30
30
  def self.grab_texts_to_be_translated(string)
31
31
  [].tap do |texts|
32
- texts.concat(string.scan(/_\("(.*?)"\)/).map{ |v| unescape_string(v[0]) })
33
- texts.concat(string.scan(/_\('(.*?)'\)/).map{ |v| unescape_string(v[0]) })
32
+ texts.concat(string.scan(/_\((?<!\\)"(.*?)(?<!\\)"\)/).map{ |v| unescape_string(v[0]) })
33
+ texts.concat(string.scan(/_\((?<!\\)'(.*?)(?<!\\)'\)/).map{ |v| unescape_string(v[0]) })
34
34
  end
35
35
  end
36
36
 
@@ -1,4 +1,4 @@
1
1
  module I18nScrewdriver
2
- VERSION = "4.0.0"
2
+ VERSION = "4.0.1"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n_screwdriver
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Miesel
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-09-02 00:00:00.000000000 Z
12
+ date: 2013-11-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  version: '0'
80
80
  requirements: []
81
81
  rubyforge_project: i18n_screwdriver
82
- rubygems_version: 2.0.2
82
+ rubygems_version: 2.1.9
83
83
  signing_key:
84
84
  specification_version: 4
85
85
  summary: make translating with rails i18n fun again