add new lines 😓

This commit is contained in:
Vasiliy Ermolovich 2012-04-25 23:12:30 +03:00
parent 492a6a5bc4
commit 24ba88eb1c
15 changed files with 12 additions and 15 deletions

View File

@ -8,4 +8,3 @@ require 'draper/view_context'
require 'draper/decorated_enumerable_proxy'
require 'draper/rspec_integration' if defined?(RSpec) and RSpec.respond_to?(:configure)
require 'draper/railtie' if defined?(Rails)

View File

@ -2,4 +2,4 @@ module Draper::HelperSupport
def decorate(input, &block)
capture { block.call(input.decorate) }
end
end
end

View File

@ -8,4 +8,4 @@ module Draper
end
end
end
end
end

View File

@ -19,4 +19,3 @@ module Draper
end
end
end

View File

@ -29,4 +29,4 @@ class <%= resource_name.singularize.camelize %>Decorator < ApplicationDecorator
# h.content_tag :span, time.strftime("%a %m/%d/%y"),
# :class => 'timestamp'
# end
end
end

View File

@ -9,4 +9,3 @@ class <%= resource_name.singularize.camelize %>DecoratorTest < ActiveSupport::Te
# assert true
# end
end

View File

@ -36,4 +36,4 @@ module Draper
end
end
end
end

View File

@ -25,4 +25,4 @@ class ApplicationDecorator < Draper::Base
# def updated_at
# formatted_timestamp(model.updated_at)
# end
end
end

View File

@ -12,4 +12,4 @@ class Rails::DecoratorGenerator < Draper::DecoratorGenerator
end
end
end
end

View File

@ -1,4 +1,4 @@
module ActiveRecord
class Base
end
end
end

View File

@ -17,4 +17,4 @@ class FastProduct < ActiveRecord::Base
def hello_world
"Hello, World"
end
end
end

View File

@ -2,4 +2,4 @@ module ApplicationHelper
def hello_world
"Hello, World!"
end
end
end

View File

@ -2,4 +2,4 @@ class Decorator < Draper::Base
def self.own_class_method
"own class method"
end
end
end

View File

@ -1,3 +1,3 @@
class DecoratorWithAllows < Draper::Base
allows :goodnight_moon
end
end

View File

@ -1,4 +1,4 @@
require './spec/support/samples/product_decorator'
class SpecificProductDecorator < ProductDecorator
end
end