render-component 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/render/component/helper.rb +3 -1
- data/lib/render/component/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4fd5976b891198d080d5d1c742b1197a73108af
|
4
|
+
data.tar.gz: 713228a9b3d10a0105284db3a7a6a9c012b9e127
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d168b4d99f14c48743d315374d6066b0a2589f5ecdd7f8cb469f37e926d3939d372796acaca56313ef35cd9a8813697a78cf9429117bd4cb3f6b2d49ab15a80
|
7
|
+
data.tar.gz: 7288c76b6670d61d91aca9fd0b1e396a9202eb261155cc5c05492404845da85b0d0f78ed294820eb3eea2f0898b017165565413bd9f9820a6a08c540a467d2bf
|
@@ -1,8 +1,10 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
1
3
|
module Render::Component
|
2
4
|
module Helper
|
3
5
|
|
4
6
|
def render_component(component, attributes = {})
|
5
|
-
Client.new.obtain_component(component, attributes)
|
7
|
+
Client.new.obtain_component(component, attributes).force_encoding(Encoding::UTF_8)
|
6
8
|
end
|
7
9
|
module_function :render_component
|
8
10
|
end
|