plain_speech_balloon 0.0.50 → 0.0.51

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,19 +1,19 @@
1
- <% if elm.speech.quotes.blank? -%>
1
+ <% if element.speech.quotes.blank? -%>
2
2
  <% else -%>
3
3
  <style>
4
4
  <!--
5
- #<%= elm.speech.tag_id('scenario') -%>:before {
6
- content:"<%= elm.speech.arrayed_quotes[0] -%>";
5
+ #<%= element.speech.dom_item_id('scenario') -%>:before {
6
+ content:"<%= element.speech.arrayed_quotes[0] -%>";
7
7
  }
8
- #<%= elm.speech.tag_id('scenario') -%>:after {
9
- content:"<%= elm.speech.arrayed_quotes[1] -%>";
8
+ #<%= element.speech.dom_item_id('scenario') -%>:after {
9
+ content:"<%= element.speech.arrayed_quotes[1] -%>";
10
10
  }
11
11
  -->
12
12
  </style>
13
13
  <% end -%>
14
- <div id="<%= elm.balloon.tag_id('scenario') -%>" class="plain_speech_balloon-balloon-scenario">
15
- <%= h(elm.caption) %>
16
- </div>
17
- <div id="<%= elm.speech.tag_id('scenario') -%>" class="plain_speech_balloon-speech-scenario">
18
- <%= h(elm.speech.content) %>
19
- </div>
14
+ <%= content_tag :div, '', element.balloon.tag_attributes('scenario', :class => "circle_speech_balloon-balloon-scenario") do %>
15
+ <%= h(element.caption) %>
16
+ <% end %>
17
+ <%= content_tag :div, '', element.speech.tag_attributes('scenario', :class => "circle_speech_balloon-speech-scenario") do %>
18
+ <%= h(element.speech.content) %>
19
+ <% end %>
@@ -1,3 +1,3 @@
1
1
  module PlainSpeechBalloon
2
- VERSION = "0.0.50"
2
+ VERSION = "0.0.51"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plain_speech_balloon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.50
4
+ version: 0.0.51
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: 2013-12-23 00:00:00.000000000 Z
12
+ date: 2014-03-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sqlite3