zlocalize 6.0.8 → 6.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/zlocalize/source_processor.rb +7 -0
- data/lib/zlocalize/translation_file.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5bdb63373ea3f28f85783a225ebd23994ca94471002daa8b807a45cb0bedea09
|
|
4
|
+
data.tar.gz: 7c437e2684b8bb3e9849fac615360fd8b905c01f0672d0a8ba4be08ff5ae43b6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 594c2d4bede9156ba7b889dd14037f3a0884740cf46c0a8e22630e0a3e106ad8ece94acc822041cf4817d9a783f216c0c8afcb9b7fb6a3e166ce55d2a12e3451
|
|
7
|
+
data.tar.gz: 1c938f2f00cbeab214cf20aea705004190bfe74afc434d9409e1395d6bedd9fc5dd3ce221f6eeab93de218a3eb60cb9581729b24e378127fb986f17300ab66a9
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
require 'parser/all'
|
|
2
|
+
# NOTE: This prevents Rails test environment to complain about this:
|
|
3
|
+
# `ActionView::Template::Error: undefined method 'new' for module Erubi`
|
|
4
|
+
# somehow Bundler or the autoload mechanism gets confused about which Erubi
|
|
5
|
+
# implementation is defined
|
|
6
|
+
unless defined?(ActionView::Template::Handlers::ERB::Erubi)
|
|
7
|
+
require 'action_view/template/handlers/erb/erubi'
|
|
8
|
+
end
|
|
2
9
|
require 'action_view/template/handlers/erb/erubi'
|
|
3
10
|
require File.join(File.dirname(__FILE__),'translation_file')
|
|
4
11
|
require File.join(File.dirname(__FILE__),'harvester')
|