Skip to content

Commit

Permalink
add new lines 😓
Browse files Browse the repository at this point in the history
  • Loading branch information
nashby committed Apr 25, 2012
1 parent 492a6a5 commit 24ba88e
Show file tree
Hide file tree
Showing 15 changed files with 12 additions and 15 deletions.
1 change: 0 additions & 1 deletion lib/draper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@
require 'draper/decorated_enumerable_proxy'
require 'draper/rspec_integration' if defined?(RSpec) and RSpec.respond_to?(:configure)
require 'draper/railtie' if defined?(Rails)

2 changes: 1 addition & 1 deletion lib/draper/helper_support.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module Draper::HelperSupport
def decorate(input, &block)
capture { block.call(input.decorate) }
end
end
end
2 changes: 1 addition & 1 deletion lib/draper/lazy_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ def method_missing(method_name, *args, &block)
end
end
end
end
end
1 change: 0 additions & 1 deletion lib/draper/rspec_integration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ module DecoratorExampleGroup
end
end
end

2 changes: 1 addition & 1 deletion lib/generators/draper/decorator/templates/decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ def setup
# assert true
# end
end

2 changes: 1 addition & 1 deletion lib/generators/draper/install/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ def build_application_decorator_test
end

end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ class ApplicationDecorator < Draper::Base
# def updated_at
# formatted_timestamp(model.updated_at)
# end
end
end
2 changes: 1 addition & 1 deletion lib/generators/rails/decorator_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ def build_model_and_application_decorators
end
end

end
end
2 changes: 1 addition & 1 deletion performance/active_record.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module ActiveRecord
class Base
end
end
end
2 changes: 1 addition & 1 deletion performance/models.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ def self.sample_class_method
def hello_world
"Hello, World"
end
end
end
2 changes: 1 addition & 1 deletion spec/support/samples/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module ApplicationHelper
def hello_world
"Hello, World!"
end
end
end
2 changes: 1 addition & 1 deletion spec/support/samples/decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ class Decorator < Draper::Base
def self.own_class_method
"own class method"
end
end
end
2 changes: 1 addition & 1 deletion spec/support/samples/decorator_with_allows.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
class DecoratorWithAllows < Draper::Base
allows :goodnight_moon
end
end
2 changes: 1 addition & 1 deletion spec/support/samples/specific_product_decorator.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require './spec/support/samples/product_decorator'

class SpecificProductDecorator < ProductDecorator
end
end

0 comments on commit 24ba88e

Please sign in to comment.