iye 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/iye.gemspec +2 -2
- data/views/categories.html.erb +1 -1
- data/views/translations.html.erb +1 -1
- metadata +3 -2
data/iye.gemspec
CHANGED
data/views/categories.html.erb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
<% categories.each do |name, category| %>
|
3
3
|
<tr class="category <%= "incomplete" unless category.complete? %>">
|
4
4
|
<td class="key">
|
5
|
-
<a class="text" href="/?filters[key]
|
5
|
+
<a class="text" href="/?filters[key]=<%= Rack::Utils.escape("^#{category.name}") %>"><%= category.name %></a>
|
6
6
|
</td>
|
7
7
|
</tr>
|
8
8
|
<% end %>
|
data/views/translations.html.erb
CHANGED
@@ -19,7 +19,7 @@
|
|
19
19
|
<td class="locale"><%= translation.locale %>:</td>
|
20
20
|
<td class="value">
|
21
21
|
<% if translation.text.nil? || translation.text.is_a?(String) %>
|
22
|
-
<input type="text" name="translations[<%= translation.name %>]" value="<%= translation.text %>" />
|
22
|
+
<input type="text" name="translations[<%= translation.name %>]" value="<%= Rack::Utils.escape_html translation.text %>" />
|
23
23
|
<% else %>
|
24
24
|
[read only]
|
25
25
|
<%= translation.text.class.name %>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iye
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-11-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cuba
|
@@ -120,3 +120,4 @@ test_files:
|
|
120
120
|
- test/unit/test_store.rb
|
121
121
|
- test/unit/test_transformation.rb
|
122
122
|
- test/unit/test_translation.rb
|
123
|
+
has_rdoc:
|