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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f12f6298829730eee57b1dc523b3621a3090528b87dd0f3d5a9cd456c96b6447
4
- data.tar.gz: bf3b0d4d9bfed53cc67d586f21bb50968adb863b66cf2c84784c8890b4f9656f
3
+ metadata.gz: e31557e1bbe7f6f4d7e96e6b7e3c86563819143f78ecacc16d8fd81e00e9a3a3
4
+ data.tar.gz: 818bf264d2097b1b8e61a90139f0908378c1fe61f15f167767b996ebdde41344
5
5
  SHA512:
6
- metadata.gz: c121b47b02b10ad85f20606145440a74ebd8f93b681ea9140a8602154de551260f2c07a4533f6522c9cff53b7efd881f7eb79acdbd6e0da1fd6a3e1813f2fc0f
7
- data.tar.gz: 938f54db4cfecce6cb9d2f69ce393ed6f6a9379a29bccaf670719fefe80f5e28fd932d48b94cc8f0aa86a598876ab9e659d67fad9a63d42e7d4a3b973e9e23ee
6
+ metadata.gz: bcb39ad691db593f0bc7abcf8997d0debc20407010247e17af8d00fd144317603b744b8b5ec3c0cb71798504ddc7377c803d5984c9b1ac6ce177c6437312e7f7
7
+ data.tar.gz: 7676b4d1b857011db28f53fd9bd325f91e5a0441021ff0a4f5812cd1f500c76bb82dc76f4844c8603966557f2809b69af868db49661089fdeab6aa1da0d80fd3
@@ -1,3 +1,3 @@
1
1
  module I18nScrewdriver
2
- VERSION = "10.0.1"
2
+ VERSION = "10.1.0"
3
3
  end
@@ -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.full_require_paths.each do |path|
139
- gather_ruby_translations(path, texts, symbols)
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.1
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-01-10 00:00:00.000000000 Z
12
+ date: 2018-02-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec