i wonder what i am doing wrong with octopus

This commit is contained in:
Josh Kalderimis 2013-05-02 17:08:31 +02:00
parent afddbb76ba
commit ab2714621f
3 changed files with 45 additions and 35 deletions

View File

@ -21,9 +21,9 @@ gem 'gh', github: 'rkh/gh'
gem 'bunny' gem 'bunny'
gem 'dalli' gem 'dalli'
gem 'pry' gem 'pry'
gem 'metriks', '0.9.9.2' gem 'metriks', '0.9.9.2'
gem 'ar-octopus', github: 'tchandy/octopus', require: 'octopus' gem 'ar-octopus', github: 'tchandy/octopus', require: 'octopus'
group :test do group :test do
gem 'rspec', '~> 2.11' gem 'rspec', '~> 2.11'

View File

@ -1,10 +1,10 @@
GIT GIT
remote: git://github.com/getsentry/raven-ruby.git remote: git://github.com/getsentry/raven-ruby.git
revision: e520389a56d099276c167d8b442967c7fa549ecd revision: 267b33417a3ed43f552911cf353561a641ba9fb2
specs: specs:
sentry-raven (0.4.3) sentry-raven (0.4.6)
faraday (>= 0.7.6) faraday (>= 0.7.6)
hashie hashie (>= 1.1.0)
multi_json (~> 1.0) multi_json (~> 1.0)
uuidtools uuidtools
@ -17,9 +17,9 @@ GIT
GIT GIT
remote: git://github.com/rkh/gh.git remote: git://github.com/rkh/gh.git
revision: c14f7619d24ff3aa156dae1ec3e6bd1f2734cd61 revision: ff93c759591a66c9d5250cada5234d2adde95dd3
specs: specs:
gh (0.11.0) gh (0.11.1)
addressable addressable
backports backports
faraday (~> 0.8) faraday (~> 0.8)
@ -53,7 +53,7 @@ GIT
GIT GIT
remote: git://github.com/travis-ci/travis-core.git remote: git://github.com/travis-ci/travis-core.git
revision: 75986691f25bd5533fa812dbe81638c7d1da3651 revision: d3f5fd82fe81f5bfa97d810f90838a1dbeda6e17
specs: specs:
travis-core (0.0.1) travis-core (0.0.1)
actionmailer (~> 3.2.12) actionmailer (~> 3.2.12)
@ -82,7 +82,7 @@ GIT
GIT GIT
remote: git://github.com/travis-ci/travis-support.git remote: git://github.com/travis-ci/travis-support.git
revision: db10b27101763f39d46075ded19bcf4bb845b1ff revision: 1f705a2ce4bcc42c642b337f117073abedef971b
specs: specs:
travis-support (0.0.1) travis-support (0.0.1)
@ -138,7 +138,7 @@ GEM
multi_json (~> 1.0) multi_json (~> 1.0)
addressable (2.3.4) addressable (2.3.4)
arel (3.0.2) arel (3.0.2)
atomic (1.1.7) atomic (1.1.8)
avl_tree (1.1.3) avl_tree (1.1.3)
backports (2.8.2) backports (2.8.2)
builder (3.0.4) builder (3.0.4)
@ -155,17 +155,20 @@ GEM
activerecord activerecord
rake rake
database_cleaner (0.8.0) database_cleaner (0.8.0)
diff-lcs (1.2.1) diff-lcs (1.2.4)
dotenv (0.7.0)
erubis (2.7.0) erubis (2.7.0)
eventmachine (1.0.0) eventmachine (1.0.3)
facter (1.6.17) facter (1.7.0)
factory_girl (2.4.2) factory_girl (2.4.2)
activesupport activesupport
faraday (0.8.7) faraday (0.8.7)
multipart-post (~> 1.1) multipart-post (~> 1.1)
foreman (0.61.0) ffi (1.8.1)
foreman (0.63.0)
dotenv (>= 0.7)
thor (>= 0.13.6) thor (>= 0.13.6)
hashie (2.0.0) hashie (2.0.4)
hashr (0.0.22) hashr (0.0.22)
hike (1.2.2) hike (1.2.2)
hitimes (1.2.1) hitimes (1.2.1)
@ -174,7 +177,10 @@ GEM
i18n (0.6.1) i18n (0.6.1)
journey (1.0.4) journey (1.0.4)
json (1.7.7) json (1.7.7)
listen (0.7.2) listen (1.0.3)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
rb-kqueue (>= 0.2)
mail (2.5.3) mail (2.5.3)
i18n (>= 0.4.0) i18n (>= 0.4.0)
mime-types (~> 1.16) mime-types (~> 1.16)
@ -185,29 +191,29 @@ GEM
atomic (~> 1.0) atomic (~> 1.0)
avl_tree (~> 1.1.2) avl_tree (~> 1.1.2)
hitimes (~> 1.1) hitimes (~> 1.1)
mime-types (1.22) mime-types (1.23)
mocha (0.13.2) mocha (0.13.3)
metaclass (~> 0.0.1) metaclass (~> 0.0.1)
multi_json (1.7.2) multi_json (1.7.2)
multipart-post (1.2.0) multipart-post (1.2.0)
net-http-persistent (2.8) net-http-persistent (2.8)
net-http-pipeline (1.0.1) net-http-pipeline (1.0.1)
newrelic_rpm (3.6.1.85.beta) newrelic_rpm (3.6.1.88)
pg (0.13.2) pg (0.13.2)
polyglot (0.3.3) polyglot (0.3.3)
pry (0.9.12) pry (0.9.12.1)
coderay (~> 1.0.5) coderay (~> 1.0.5)
method_source (~> 0.8) method_source (~> 0.8)
slop (~> 3.4) slop (~> 3.4)
puma (1.6.3) puma (2.0.1)
rack (~> 1.2) rack (>= 1.1, < 2.0)
pusher (0.11.3) pusher (0.11.3)
multi_json (~> 1.0) multi_json (~> 1.0)
signature (~> 0.1.6) signature (~> 0.1.6)
rack (1.4.5) rack (1.4.5)
rack-cache (1.2) rack-cache (1.2)
rack (>= 0.4) rack (>= 0.4)
rack-protection (1.3.2) rack-protection (1.5.0)
rack rack
rack-ssl (1.3.3) rack-ssl (1.3.3)
rack rack
@ -222,31 +228,35 @@ GEM
thor (>= 0.14.6, < 2.0) thor (>= 0.14.6, < 2.0)
rake (0.9.6) rake (0.9.6)
rb-fsevent (0.9.3) rb-fsevent (0.9.3)
rb-inotify (0.9.0)
ffi (>= 0.5.0)
rb-kqueue (0.2.0)
ffi (>= 0.5.0)
rdoc (3.12.2) rdoc (3.12.2)
json (~> 1.4) json (~> 1.4)
redcarpet (2.2.2) redcarpet (2.2.2)
redis (3.0.3) redis (3.0.4)
redis-namespace (1.2.1) redis-namespace (1.2.1)
redis (~> 3.0.0) redis (~> 3.0.0)
rerun (0.8.0) rerun (0.8.1)
listen listen (>= 1.0.3)
rollout (1.1.0) rollout (1.1.0)
rspec (2.13.0) rspec (2.13.0)
rspec-core (~> 2.13.0) rspec-core (~> 2.13.0)
rspec-expectations (~> 2.13.0) rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0) rspec-mocks (~> 2.13.0)
rspec-core (2.13.0) rspec-core (2.13.1)
rspec-expectations (2.13.0) rspec-expectations (2.13.0)
diff-lcs (>= 1.1.3, < 2.0) diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.13.0) rspec-mocks (2.13.1)
sidekiq (2.5.4) sidekiq (2.5.4)
celluloid (~> 0.12.0) celluloid (~> 0.12.0)
connection_pool (~> 0.9.2) connection_pool (~> 0.9.2)
multi_json (~> 1) multi_json (~> 1)
redis (~> 3) redis (~> 3)
redis-namespace redis-namespace
signature (0.1.6) signature (0.1.7)
sinatra (1.3.4) sinatra (1.3.6)
rack (~> 1.4) rack (~> 1.4)
rack-protection (~> 1.3) rack-protection (~> 1.3)
tilt (~> 1.3, >= 1.3.3) tilt (~> 1.3, >= 1.3.3)
@ -257,7 +267,7 @@ GEM
rack-test rack-test
sinatra (~> 1.3.0) sinatra (~> 1.3.0)
tilt (~> 1.3) tilt (~> 1.3)
slop (3.4.3) slop (3.4.4)
sprockets (2.2.2) sprockets (2.2.2)
hike (~> 1.2) hike (~> 1.2)
multi_json (~> 1.0) multi_json (~> 1.0)
@ -268,15 +278,15 @@ GEM
eventmachine (>= 0.12.6) eventmachine (>= 0.12.6)
rack (>= 1.0.0) rack (>= 1.0.0)
thor (0.14.6) thor (0.14.6)
tilt (1.3.7) tilt (1.4.0)
timers (1.1.0) timers (1.1.0)
treetop (1.4.12) treetop (1.4.12)
polyglot polyglot
polyglot (>= 0.3.1) polyglot (>= 0.3.1)
tzinfo (0.3.37) tzinfo (0.3.37)
uuidtools (2.1.3) uuidtools (2.1.4)
yajl-ruby (1.1.0) yajl-ruby (1.1.0)
yard (0.8.4.1) yard (0.8.6.1)
PLATFORMS PLATFORMS
ruby ruby

View File

@ -120,7 +120,7 @@ module Travis::Api
Travis::Amqp.config = Travis.config.amqp Travis::Amqp.config = Travis.config.amqp
Travis::Database.connect Travis::Database.connect
Octopus.setup do |config| ::Octopus.setup do |config|
config.shards = { :follower => Travis.config.database_follower } config.shards = { :follower => Travis.config.database_follower }
config.environments = [:production] config.environments = [:production]
end end