i18n_screwdriver 10.1.0 → 10.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +67 -66
- data/lib/i18n_screwdriver/version.rb +1 -1
- data/lib/i18n_screwdriver.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c76a63cbd817ba6e15240a91877a53a8f8ddd3dc81a353703ed6044caa010764
|
4
|
+
data.tar.gz: 8628c7a72b2ed6e1e52d2791828a1be3b9bfff2e9c207d932b3b2cfae8b07bd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0c5c0bbd1a10bc862431c572f655227e376520c2582b1b379efdb80216c063752e1a586f3596771894b16dc8a66ae41d43ab7fdf52458b98c5954d1849d3f96
|
7
|
+
data.tar.gz: 37ca83a723cfb167badcef53af3535ed4eb3bbc2c9ffe2269072c57f0ca6fad1da0017a57a75a0d390523e3c0aa37185677eeaa490271cfa2617ae5fbc47147a
|
data/Gemfile.lock
CHANGED
@@ -1,98 +1,99 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
i18n_screwdriver (
|
4
|
+
i18n_screwdriver (10.1.0)
|
5
5
|
rails (>= 3.0.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: http://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actioncable (5.
|
11
|
-
actionpack (= 5.
|
12
|
-
nio4r (
|
10
|
+
actioncable (5.1.5)
|
11
|
+
actionpack (= 5.1.5)
|
12
|
+
nio4r (~> 2.0)
|
13
13
|
websocket-driver (~> 0.6.1)
|
14
|
-
actionmailer (5.
|
15
|
-
actionpack (= 5.
|
16
|
-
actionview (= 5.
|
17
|
-
activejob (= 5.
|
14
|
+
actionmailer (5.1.5)
|
15
|
+
actionpack (= 5.1.5)
|
16
|
+
actionview (= 5.1.5)
|
17
|
+
activejob (= 5.1.5)
|
18
18
|
mail (~> 2.5, >= 2.5.4)
|
19
19
|
rails-dom-testing (~> 2.0)
|
20
|
-
actionpack (5.
|
21
|
-
actionview (= 5.
|
22
|
-
activesupport (= 5.
|
20
|
+
actionpack (5.1.5)
|
21
|
+
actionview (= 5.1.5)
|
22
|
+
activesupport (= 5.1.5)
|
23
23
|
rack (~> 2.0)
|
24
|
-
rack-test (
|
24
|
+
rack-test (>= 0.6.3)
|
25
25
|
rails-dom-testing (~> 2.0)
|
26
26
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
27
|
-
actionview (5.
|
28
|
-
activesupport (= 5.
|
27
|
+
actionview (5.1.5)
|
28
|
+
activesupport (= 5.1.5)
|
29
29
|
builder (~> 3.1)
|
30
|
-
|
30
|
+
erubi (~> 1.4)
|
31
31
|
rails-dom-testing (~> 2.0)
|
32
32
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
33
|
-
activejob (5.
|
34
|
-
activesupport (= 5.
|
33
|
+
activejob (5.1.5)
|
34
|
+
activesupport (= 5.1.5)
|
35
35
|
globalid (>= 0.3.6)
|
36
|
-
activemodel (5.
|
37
|
-
activesupport (= 5.
|
38
|
-
activerecord (5.
|
39
|
-
activemodel (= 5.
|
40
|
-
activesupport (= 5.
|
41
|
-
arel (~>
|
42
|
-
activesupport (5.
|
36
|
+
activemodel (5.1.5)
|
37
|
+
activesupport (= 5.1.5)
|
38
|
+
activerecord (5.1.5)
|
39
|
+
activemodel (= 5.1.5)
|
40
|
+
activesupport (= 5.1.5)
|
41
|
+
arel (~> 8.0)
|
42
|
+
activesupport (5.1.5)
|
43
43
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
44
44
|
i18n (~> 0.7)
|
45
45
|
minitest (~> 5.1)
|
46
46
|
tzinfo (~> 1.1)
|
47
|
-
arel (
|
47
|
+
arel (8.0.0)
|
48
48
|
builder (3.2.3)
|
49
49
|
byebug (9.0.6)
|
50
50
|
concurrent-ruby (1.0.5)
|
51
|
+
crass (1.0.3)
|
51
52
|
diff-lcs (1.2.5)
|
52
|
-
|
53
|
-
globalid (0.4.
|
53
|
+
erubi (1.7.0)
|
54
|
+
globalid (0.4.1)
|
54
55
|
activesupport (>= 4.2.0)
|
55
|
-
i18n (0.
|
56
|
-
|
56
|
+
i18n (0.9.5)
|
57
|
+
concurrent-ruby (~> 1.0)
|
58
|
+
loofah (2.2.0)
|
59
|
+
crass (~> 1.0.2)
|
57
60
|
nokogiri (>= 1.5.9)
|
58
|
-
mail (2.
|
59
|
-
|
60
|
-
method_source (0.
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
bundler (>= 1.3.0, < 2.0)
|
82
|
-
railties (= 5.0.2)
|
61
|
+
mail (2.7.0)
|
62
|
+
mini_mime (>= 0.1.1)
|
63
|
+
method_source (0.9.0)
|
64
|
+
mini_mime (1.0.0)
|
65
|
+
mini_portile2 (2.3.0)
|
66
|
+
minitest (5.11.3)
|
67
|
+
nio4r (2.2.0)
|
68
|
+
nokogiri (1.8.2)
|
69
|
+
mini_portile2 (~> 2.3.0)
|
70
|
+
rack (2.0.4)
|
71
|
+
rack-test (0.8.2)
|
72
|
+
rack (>= 1.0, < 3)
|
73
|
+
rails (5.1.5)
|
74
|
+
actioncable (= 5.1.5)
|
75
|
+
actionmailer (= 5.1.5)
|
76
|
+
actionpack (= 5.1.5)
|
77
|
+
actionview (= 5.1.5)
|
78
|
+
activejob (= 5.1.5)
|
79
|
+
activemodel (= 5.1.5)
|
80
|
+
activerecord (= 5.1.5)
|
81
|
+
activesupport (= 5.1.5)
|
82
|
+
bundler (>= 1.3.0)
|
83
|
+
railties (= 5.1.5)
|
83
84
|
sprockets-rails (>= 2.0.0)
|
84
|
-
rails-dom-testing (2.0.
|
85
|
-
activesupport (>= 4.2.0
|
86
|
-
nokogiri (
|
85
|
+
rails-dom-testing (2.0.3)
|
86
|
+
activesupport (>= 4.2.0)
|
87
|
+
nokogiri (>= 1.6)
|
87
88
|
rails-html-sanitizer (1.0.3)
|
88
89
|
loofah (~> 2.0)
|
89
|
-
railties (5.
|
90
|
-
actionpack (= 5.
|
91
|
-
activesupport (= 5.
|
90
|
+
railties (5.1.5)
|
91
|
+
actionpack (= 5.1.5)
|
92
|
+
activesupport (= 5.1.5)
|
92
93
|
method_source
|
93
94
|
rake (>= 0.8.7)
|
94
95
|
thor (>= 0.18.1, < 2.0)
|
95
|
-
rake (12.
|
96
|
+
rake (12.3.0)
|
96
97
|
rspec (3.4.0)
|
97
98
|
rspec-core (~> 3.4.0)
|
98
99
|
rspec-expectations (~> 3.4.0)
|
@@ -109,17 +110,17 @@ GEM
|
|
109
110
|
sprockets (3.7.1)
|
110
111
|
concurrent-ruby (~> 1.0)
|
111
112
|
rack (> 1, < 3)
|
112
|
-
sprockets-rails (3.2.
|
113
|
+
sprockets-rails (3.2.1)
|
113
114
|
actionpack (>= 4.0)
|
114
115
|
activesupport (>= 4.0)
|
115
116
|
sprockets (>= 3.0.0)
|
116
|
-
thor (0.
|
117
|
+
thor (0.20.0)
|
117
118
|
thread_safe (0.3.6)
|
118
|
-
tzinfo (1.2.
|
119
|
+
tzinfo (1.2.5)
|
119
120
|
thread_safe (~> 0.1)
|
120
121
|
websocket-driver (0.6.5)
|
121
122
|
websocket-extensions (>= 0.1.0)
|
122
|
-
websocket-extensions (0.1.
|
123
|
+
websocket-extensions (0.1.3)
|
123
124
|
|
124
125
|
PLATFORMS
|
125
126
|
ruby
|
@@ -130,4 +131,4 @@ DEPENDENCIES
|
|
130
131
|
rspec
|
131
132
|
|
132
133
|
BUNDLED WITH
|
133
|
-
1.
|
134
|
+
1.16.0
|
data/lib/i18n_screwdriver.rb
CHANGED
@@ -44,8 +44,8 @@ module I18nScrewdriver
|
|
44
44
|
|
45
45
|
def self.grab_texts_to_be_translated(string)
|
46
46
|
[].tap do |texts|
|
47
|
-
texts.concat(string.scan(/_\((?<!\\)"(.*?)(?<!\\)"
|
48
|
-
texts.concat(string.scan(/_\((?<!\\)'(.*?)(?<!\\)'
|
47
|
+
texts.concat(string.scan(/_\((?<!\\)"(.*?)(?<!\\)"/).map{ |v| unescape_string(v[0]) })
|
48
|
+
texts.concat(string.scan(/_\((?<!\\)'(.*?)(?<!\\)'/).map{ |v| unescape_string(v[0]) })
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
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: 10.
|
4
|
+
version: 10.2.0
|
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: 2018-
|
12
|
+
date: 2018-04-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
105
|
version: '0'
|
106
106
|
requirements: []
|
107
107
|
rubyforge_project: i18n_screwdriver
|
108
|
-
rubygems_version: 2.7.
|
108
|
+
rubygems_version: 2.7.6
|
109
109
|
signing_key:
|
110
110
|
specification_version: 4
|
111
111
|
summary: make translating with rails i18n fun again
|