Skip to content

Commit

Permalink
Code layout
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed May 24, 2012
1 parent 1f7f92c commit 9e699c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions dimensions-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Gem::Specification.new do |gem|
gem.version = Dimensions::Rails::VERSION

gem.add_runtime_dependency 'dimensions'
gem.add_runtime_dependency 'railties', '~> 3.0'
gem.add_runtime_dependency 'actionpack', '~> 3.0'
gem.add_runtime_dependency 'activesupport', '~> 3.0'
gem.add_development_dependency 'rails', '~> 3.2.3'
gem.add_runtime_dependency 'railties', '~> 3.0'
gem.add_runtime_dependency 'actionpack', '~> 3.0'
gem.add_runtime_dependency 'activesupport', '~> 3.0'
gem.add_development_dependency 'rails', '~> 3.0'
gem.add_development_dependency 'rspec-rails', '~> 2.0'
end
2 changes: 1 addition & 1 deletion lib/dimensions-rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module Helper
#
# How this improves browser rendering?
# https://developers.google.com/speed/docs/best-practices/rendering#SpecifyImageDimensions
#
#
def image_tag source, options = {}
unless options[:size]
fs_path = asset_paths.asset_for(source, nil).to_path
Expand Down

0 comments on commit 9e699c5

Please sign in to comment.