i18n_screwdriver 10.0.1 → 10.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/i18n_screwdriver/version.rb +1 -1
- data/lib/i18n_screwdriver.rb +2 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e31557e1bbe7f6f4d7e96e6b7e3c86563819143f78ecacc16d8fd81e00e9a3a3
|
4
|
+
data.tar.gz: 818bf264d2097b1b8e61a90139f0908378c1fe61f15f167767b996ebdde41344
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcb39ad691db593f0bc7abcf8997d0debc20407010247e17af8d00fd144317603b744b8b5ec3c0cb71798504ddc7377c803d5984c9b1ac6ce177c6437312e7f7
|
7
|
+
data.tar.gz: 7676b4d1b857011db28f53fd9bd325f91e5a0441021ff0a4f5812cd1f500c76bb82dc76f4844c8603966557f2809b69af868db49661089fdeab6aa1da0d80fd3
|
data/lib/i18n_screwdriver.rb
CHANGED
@@ -135,10 +135,8 @@ module I18nScrewdriver
|
|
135
135
|
included_gems.each do |name|
|
136
136
|
spec = Gem.loaded_specs[name]
|
137
137
|
next puts "WARNING: gem #{name} not loaded, so it cannot be scanned for translations!" unless spec
|
138
|
-
spec.
|
139
|
-
|
140
|
-
gather_js_translations(path, texts)
|
141
|
-
end
|
138
|
+
gather_ruby_translations(spec.full_gem_path, texts, symbols)
|
139
|
+
gather_js_translations(spec.full_gem_path, texts)
|
142
140
|
end
|
143
141
|
|
144
142
|
translations = Hash[texts.uniq.map{ |text| [generate_key(text), extract_text(text)] }]
|
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.0
|
4
|
+
version: 10.1.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-02-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|