Skip to content
Browse files

bump to 0.2.3.7

  • Loading branch information...
1 parent e2bf3fd commit 5004c4604346223e91af5419771582f8aa27e7ee @zenhob zenhob committed Feb 23, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 Rakefile
  2. +2 −2 test/formatting_test.rb
View
4 Rakefile
@@ -3,7 +3,7 @@ require 'rake/testtask'
spec = Gem::Specification.new do |s|
s.name = "model_formatting"
- s.version = "0.2.3.6"
+ s.version = "0.2.3.7"
s.author = "ENTP"
s.email = "company@entp.com"
s.homepage = "http://github.com/entp"
@@ -17,7 +17,7 @@ spec = Gem::Specification.new do |s|
s.add_dependency("activerecord", "~>2.3.9")
s.add_dependency("activesupport", "~>2.3.9")
s.add_dependency("tidy_ffi", "~>0.1.2")
- s.add_development_dependency("jeremymcanally-context", "0.5.5")
+ s.add_development_dependency("jeremymcanally-context", "~>0.5.5")
s.add_development_dependency("jeremymcanally-matchy", "~>0.1.0")
end
View
4 test/formatting_test.rb
@@ -49,9 +49,9 @@ class Simple < Base
it "preserves leading spaces in code blocks" do
record = Simple.new
- record.body = " code\n more code\n\nnot code\n\n"
+ record.body = "this\n\n code\n more code\n\nnot code\n\n"
record.save
- record.formatted_body.should == %(<div><pre>\n<code>code\nmore code</code>\n</pre>\n<p>not code</p></div>)
+ record.formatted_body.should == %(<div><p>this</p>\n<pre>\n<code>code\nmore code</code>\n</pre>\n<p>not code</p></div>)
end
it "converts unicode characters to html entities" do

0 comments on commit 5004c46

Please sign in to comment.
Something went wrong with that request. Please try again.