typingpool 0.7.2 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
1
- <% if voices_count > 0 %>
1
+ <% if voices_count.to_i > 0 %>
2
2
  <h3>Names</h3>
3
3
  <p>There are <%= voices_count %> speakers:
4
4
  <ul>
5
- <% 1.upto(voices_count) do |i| %>
5
+ <% 1.upto(voices_count.to_i) do |i| %>
6
6
  <li><strong><%= send("voice#{i}") %></strong><% if send("voice#{i}title").to_s.empty? %><% if i == 1 %>, the person asking the questions<% end %><% else %>, <%= send("voice#{i}title") %><% end %>.
7
7
  <% end %>
8
8
  </ul>
@@ -1,8 +1,8 @@
1
- <% if voices_count > 0 %>
1
+ <% if voices_count.to_i > 0 %>
2
2
  <h3>Names</h3>
3
3
  <p>There are <%= voices_count %> speakers:
4
4
  <ul>
5
- <% 1.upto(voices_count) do |i| %>
5
+ <% 1.upto(voices_count.to_i) do |i| %>
6
6
  <li><strong><%= send("voice#{i}") %></strong><% unless send("voice#{i}title").to_s.empty? %>, <%= send("voice#{i}title") %><% end %>.
7
7
  <% end %>
8
8
  </ul>
data/lib/typingpool.rb CHANGED
@@ -487,7 +487,7 @@
487
487
  # license. See LICENSE for details.
488
488
 
489
489
  module Typingpool
490
- VERSION = '0.7.2'
490
+ VERSION = '0.7.3'
491
491
  require 'typingpool/error'
492
492
  require 'typingpool/utility'
493
493
  require 'typingpool/config'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typingpool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: