showbuilder 0.0.9 → 0.0.10
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.
- data/lib/showbuilder/i18n_text.rb +3 -3
- metadata +4 -4
@@ -1,10 +1,10 @@
|
|
1
1
|
module Showbuilder
|
2
2
|
module I18nText
|
3
|
-
|
3
|
+
|
4
4
|
def show_current_itext(text_id, *args)
|
5
5
|
case text_id
|
6
6
|
when Array
|
7
|
-
text_id = text_id.join('
|
7
|
+
text_id = text_id.join('_')
|
8
8
|
end
|
9
9
|
|
10
10
|
current_text_id = if show_current_itext_base
|
@@ -12,7 +12,7 @@ module Showbuilder
|
|
12
12
|
else
|
13
13
|
text_id
|
14
14
|
end
|
15
|
-
|
15
|
+
|
16
16
|
show_itext current_text_id, *args
|
17
17
|
end
|
18
18
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: showbuilder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 10
|
10
|
+
version: 0.0.10
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ery Wang, Mario Du
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-08-21 00:00:00 Z
|
19
19
|
dependencies: []
|
20
20
|
|
21
21
|
description: A Rails View Helper. Show model/s as view, form, table.
|