This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source :gemcutter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.swp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new_method = User.method(:new) | |
User.stub(:new).and_return do |*args| | |
instance = new_method.call *args | |
instance.stub(:project_changes).with(@project.to_param).and_return(@changes_array) | |
instance | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Resque | |
module Tools | |
extend self | |
def remove_idle_keys | |
affected = 0 | |
if ::Resque.info[:pending] == 0 | |
keys = ::Resque.redis.keys.grep(/loners/) | |
affected = keys.reduce(affected) do |r,key|· |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rvm 1.9.2@rack-examples --create |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User.ensure_index [[:email, 1], [:login_token, 1]] | |
User.ensure_index :api_key | |
User.ensure_index :updated_at | |
#TrackedProject.ensure_index :updated_at | |
#GitTracker.ensure_index :track_at | |
Project.ensure_index :change_ids | |
# ({:project_id=>BSON::ObjectId('4dc4304f25faf20bcc000002'), | |
# :$or=>[ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
** [18:00:39 2011-05-08] 2778: resque-1.15.0: Forked 2787 at 1304895639 | |
Tracker '4dc72078cdaa390a01000016', '4dc7207bcdaa390a01000018' failed: wrong number of arguments (2 for 1) | |
/Users/emmanueldelgado/.rvm/gems/ruby-1.8.7-p334@clutch/gems/ticketmaster-0.5.6/lib/ticketmaster/common.rb:78:in `respond_to?' | |
/Users/emmanueldelgado/.rvm/gems/ruby-1.8.7-p334@clutch/gems/ticketmaster-0.5.6/lib/ticketmaster/common.rb:78:in `respond_to?' | |
/Users/emmanueldelgado/Projects/hybridgroup/clutch/lib/models/ticket.rb:44:in `create_from' | |
/Users/emmanueldelgado/Projects/hybridgroup/clutch/lib/models/tracked_project.rb:88:in `ticket!' | |
/Users/emmanueldelgado/Projects/hybridgroup/clutch/lib/models/ticket_master_tracker.rb:54:in `wiretap!' | |
/Users/emmanueldelgado/Projects/hybridgroup/clutch/lib/models/ticket_master_tracker.rb:51:in `each' | |
/Users/emmanueldelgado/Projects/hybridgroup/clutch/lib/models/ticket_master_tracker.rb:51:in `wiretap!' | |
/Users/emmanueldelgado/.rvm/gems/ruby-1.8.7-p334@clutch/gems/mongo_mapper-0.8.6/lib/mongo_ma |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A | |
/app/.bundle/gems/ruby/1.8/gems/activeresource-3.0.7/lib/active_resource/connection.rb:118:in `request' | |
/app/.bundle/gems/ruby/1.8/gems/activeresource-3.0.7/lib/active_resource/connection.rb:79:in `get' | |
/app/.bundle/gems/ruby/1.8/gems/activeresource-3.0.7/lib/active_resource/connection.rb:217:in `with_auth' | |
/app/.bundle/gems/ruby/1.8/gems/activeresource-3.0.7/lib/active_resource/connection.rb:79:in `get' | |
/app/.bundle/gems/ruby/1.8/gems/activeresource-3.0.7/lib/active_resource/base.rb:857:in `find_every' | |
/app/.bundle/gems/ruby/1.8/gems/activeresource-3.0.7/lib/active_resource/base.rb:777:in `find' | |
/app/.bundle/gems/ruby/1.8/gems/ticketmaster-kanbanpad-0.3.3/lib/provider/comment.rb:22:in `search' | |
/app/.bundle/gems/ruby/1.8/gems/ticketmaster-kanbanpad-0.3.3/lib/provider/comment.rb:18:in `find_by_attributes' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Octokit::Forbidden | |
Error | |
GET https://github.com/api/v2/json/issues/comments/rails/rails/584: 403: <#Hashie::Mash error=["API Rate Limit Exceeded for xn"]> | |
/app/.bundle/gems/ruby/1.8/gems/hybridgroup-octokit-0.6.3/lib/faraday/response/raise_error.rb:13:in `on_complete' | |
/app/.bundle/gems/ruby/1.8/gems/faraday-0.6.1/lib/faraday/response.rb:9:in `call' | |
/app/.bundle/gems/ruby/1.8/gems/faraday-0.6.1/lib/faraday/response.rb:62:in `on_complete' | |
/app/.bundle/gems/ruby/1.8/gems/faraday-0.6.1/lib/faraday/response.rb:8:in `call' | |
/app/.bundle/gems/ruby/1.8/gems/faraday-0.6.1/lib/faraday/request.rb:88:in `run' | |
/app/.bundle/gems/ruby/1.8/gems/faraday-0.6.1/lib/faraday/request.rb:28:in `run' |