Skip to content

Commit

Permalink
Gemfile update, allow larger image sizes per upcoming Day One release
Browse files Browse the repository at this point in the history
  • Loading branch information
ttscoff committed Jul 7, 2013
1 parent d5643e4 commit 7211b60
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@ source 'https://rubygems.org'
gem 'feed-normalizer'
gem 'twitter'
gem 'twitter_oauth'
gem 'system_timer'

2 changes: 1 addition & 1 deletion lib/dayone.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def process_image(image)
return false if match.nil?
ext = match[1]
@log.info("Resizing image #{File.basename(orig)}")
res = %x{sips -Z 1600 "#{orig}" 2>&1}
res = %x{sips -Z 2100 "#{orig}" 2>&1}
unless ext =~ /\.jpg$/
case ext
when '.jpeg'
Expand Down

0 comments on commit 7211b60

Please sign in to comment.