i18n_screwdriver 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6e509083e21939ba66051c0566db663c310f8334
4
+ data.tar.gz: 71ef94a688304c84af2f3c040d7b33f194ac2215
5
+ SHA512:
6
+ metadata.gz: 326f0a21ddd53467a7457abdfe59a39d53f6967cc85246812523eaf992583fe1808ba5ea6a1b217c0757f9d86f02f30b564842191409a3da12af1caa6158d37c
7
+ data.tar.gz: b2cf05ae5ecf6c4a0b948417d5db451f8293183412d3560e690d20c342bae37bfbdaa14a6bcd667adb7e6d5f8d173bda39a35b7a71ce08960f77d46e61a760f0
@@ -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| v[0] })
33
- texts.concat(string.scan(/_\('([^']*)'\)/).map{ |v| 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
 
@@ -54,8 +54,8 @@ module I18nScrewdriver
54
54
  result << "\n"
55
55
  when 't'
56
56
  result << "\t"
57
- when '\\'
58
- result << '\\'
57
+ when '"', "'", '\\'
58
+ result << char
59
59
  else
60
60
  result << '\\'
61
61
  result << char
@@ -1,4 +1,4 @@
1
1
  module I18nScrewdriver
2
- VERSION = "3.0.0"
2
+ VERSION = "3.0.1"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n_screwdriver
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 3.0.0
4
+ version: 3.0.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Tobias Miesel
@@ -10,40 +9,36 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-02-06 00:00:00.000000000 Z
12
+ date: 2013-08-20 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
- type: :development
15
+ name: rspec
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - '>='
21
19
  - !ruby/object:Gem::Version
22
20
  version: '0'
21
+ type: :development
23
22
  prerelease: false
24
23
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
24
  requirements:
27
- - - ! '>='
25
+ - - '>='
28
26
  - !ruby/object:Gem::Version
29
27
  version: '0'
30
- name: rspec
31
28
  - !ruby/object:Gem::Dependency
32
- type: :runtime
29
+ name: rails
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - '>='
37
33
  - !ruby/object:Gem::Version
38
34
  version: 3.0.0
35
+ type: :runtime
39
36
  prerelease: false
40
37
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
38
  requirements:
43
- - - ! '>='
39
+ - - '>='
44
40
  - !ruby/object:Gem::Version
45
41
  version: 3.0.0
46
- name: rails
47
42
  description: make translating with rails i18n fun again
48
43
  email:
49
44
  - agileapplications@gmail.com
@@ -67,26 +62,25 @@ files:
67
62
  - lib/tasks/i18n.rake
68
63
  homepage: https://github.com/agileapplications/i18n_screwdriver
69
64
  licenses: []
65
+ metadata: {}
70
66
  post_install_message:
71
67
  rdoc_options: []
72
68
  require_paths:
73
69
  - lib
74
70
  required_ruby_version: !ruby/object:Gem::Requirement
75
- none: false
76
71
  requirements:
77
- - - ! '>='
72
+ - - '>='
78
73
  - !ruby/object:Gem::Version
79
74
  version: '0'
80
75
  required_rubygems_version: !ruby/object:Gem::Requirement
81
- none: false
82
76
  requirements:
83
- - - ! '>='
77
+ - - '>='
84
78
  - !ruby/object:Gem::Version
85
79
  version: '0'
86
80
  requirements: []
87
81
  rubyforge_project: i18n_screwdriver
88
- rubygems_version: 1.8.24
82
+ rubygems_version: 2.0.2
89
83
  signing_key:
90
- specification_version: 3
84
+ specification_version: 4
91
85
  summary: make translating with rails i18n fun again
92
86
  test_files: []