paul_revere 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -25,7 +25,7 @@ end
25
25
 
26
26
  spec = Gem::Specification.new do |s|
27
27
  s.name = "paul_revere"
28
- s.version = "0.1.3"
28
+ s.version = "0.1.4"
29
29
  s.summary = "Simple announcement plugin to include 'one off' style announcements in Rails web apps."
30
30
  s.author = "Thoughtbot"
31
31
  s.email = "support@thoughtbot.com"
@@ -1,6 +1,6 @@
1
1
  <% if current_user and current_announcement.exists? and not announcement_hidden?(current_announcement) %>
2
2
  <div id="announcement">
3
- <%= current_announcement.body %>
3
+ <%= current_announcement.body.html_safe %>
4
4
  <div class="hide">
5
5
  <%= link_to_function "hide", "hideAnnouncement('announcement_#{current_announcement.created_at}');" %>
6
6
  </div>
@@ -1,6 +1,6 @@
1
1
  <% if current_announcement.exists? and not announcement_hidden?(current_announcement) %>
2
2
  <div id="announcement">
3
- <%= current_announcement.body %>
3
+ <%= current_announcement.body.html_safe %>
4
4
  <div class="hide">
5
5
  <%= link_to_function "hide", "hideAnnouncement('announcement_#{current_announcement.created_at}');" %>
6
6
  </div>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paul_revere
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Thoughtbot