Permalink
Browse files

Add terminal newlines

  • Loading branch information...
1 parent b408bbd commit 7cf2ff401c8ec3ccffb731ca8281a140edef2d85 @dtrasbo committed Feb 29, 2012
Showing with 14 additions and 7 deletions.
  1. +2 −1 LICENSE
  2. +2 −1 Rakefile
  3. +2 −1 lib/formatize.rb
  4. +2 −1 lib/formatize/helper.rb
  5. +2 −1 lib/formatize/version.rb
  6. +2 −1 test/formatize/helper_test.rb
  7. +2 −1 test/test_helper.rb
View
@@ -19,4 +19,5 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
+OTHER DEALINGS IN THE SOFTWARE.
+
View
@@ -5,4 +5,5 @@ Rake::TestTask.new(:test) do |t|
t.pattern = 'test/**/*_test.rb'
end
-task :default => :test
+task :default => :test
+
View
@@ -2,4 +2,5 @@
ActiveSupport.on_load(:action_view) do
include Formatize::Helper
-end
+end
+
@@ -88,4 +88,5 @@ def markdown(text, *options)
(text.blank? ? "" : BlueCloth.new(text).to_html).html_safe
end
end
-end
+end
+
@@ -1,3 +1,4 @@
module Formatize
VERSION = '1.0.1'
-end
+end
+
@@ -98,4 +98,5 @@ def test_markdown_should_not_sanitize_safe_input
def test_markdown_with_hard_breaks
assert_equal("<p>This is one scary world.</p>\n\n<p>True.</p>", markdown("This is one scary world.\n\nTrue."))
end
-end
+end
+
View
@@ -3,4 +3,5 @@
require 'bundler'
Bundler.setup
require 'action_view'
-require 'formatize'
+require 'formatize'
+

0 comments on commit 7cf2ff4

Please sign in to comment.