Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
getting thumbnail generation working again, also switching to mongrel…
Browse files Browse the repository at this point in the history
… server
  • Loading branch information
ryanb committed Oct 22, 2010
1 parent 229c144 commit 897ee41
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -23,5 +23,5 @@ end

group :development do
gem 'capistrano'
gem 'thin'
gem 'mongrel', '1.2.0.pre2'
end
13 changes: 6 additions & 7 deletions Gemfile.lock
Expand Up @@ -45,18 +45,18 @@ GEM
net-ssh (>= 2.0.14)
net-ssh-gateway (>= 1.0.0)
chunky_png (0.10.3)
daemons (1.1.0)
daemons (1.0.10)
diff-lcs (1.1.2)
erubis (2.6.6)
abstract (>= 1.0.0)
eventmachine (0.12.10)
factory_girl (1.3.2)
factory_girl_rails (1.0)
factory_girl (~> 1.3)
rails (>= 3.0.0.beta4)
faraday (0.4.6)
addressable (>= 2.1.1)
rack (>= 1.0.1)
gem_plugin (0.2.3)
go_gtp (0.0.4)
highline (1.6.1)
i18n (0.4.1)
Expand All @@ -70,6 +70,9 @@ GEM
mime-types (1.16)
mocha (0.9.8)
rake
mongrel (1.2.0.pre2)
daemons (~> 1.0.10)
gem_plugin (~> 0.2.3)
multi_json (0.0.4)
mysql2 (0.2.4)
net-ldap (0.1.1)
Expand Down Expand Up @@ -160,10 +163,6 @@ GEM
stalker (0.5.0)
beanstalk-client
json_pure
thin (1.2.7)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
thor (0.14.3)
treetop (1.4.8)
polyglot (>= 0.3.1)
Expand All @@ -182,12 +181,12 @@ DEPENDENCIES
go_gtp (= 0.0.4)
jquery-rails
mocha
mongrel (= 1.2.0.pre2)
mysql2
nifty-generators
oily_png (= 0.1.0)
omniauth
rails (= 3.0.0)
rspec-rails (>= 2.0.1)
stalker (= 0.5.0)
thin
will_paginate (= 3.0.pre2)
2 changes: 1 addition & 1 deletion lib/game_thumb.rb
Expand Up @@ -25,7 +25,7 @@ def generate(id, size, black_positions, white_positions)
def add_stones(board, stone, positions, offset)
positions.to_s.scan(/[a-s]{2}/).each do |position|
x, y = Go::GTP::Point.new(position).to_indices
# board.compose(stone, (x * offset).round, (y * offset).round)
board.compose(stone, (x * offset).round, (y * offset).round)
end
end
end

0 comments on commit 897ee41

Please sign in to comment.