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 ToutApp | |
| module Foo | |
| class Bar | |
| end | |
| end | |
| 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
| sumit:~/tout>$ (feature|stashed:5) $ ./script/awsconsole staging | |
| Warning: Permanently added 'awsdev.tout.com,23.21.128.57' (RSA) to the list of known hosts. | |
| Warning: Permanently added 'ec2-23-22-171-28.compute-1.amazonaws.com,10.32.109.123' (ECDSA) to the list of known hosts. | |
| Unfortunately, a fatal error has occurred. Please see the Bundler | |
| troubleshooting documentation at http://bit.ly/bundler-issues. Thanks! | |
| /home/tout/staging/vendor/gems/tout-text-rb_d848424d7/tout-text.gemspec:21:in ``': Cannot allocate memory - git ls-files (Errno::ENOMEM) | |
| from /home/tout/staging/vendor/gems/tout-text-rb_d848424d7/tout-text.gemspec:21:in `block in <main>' | |
| from /opt/ruby/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1368:in `initialize' | |
| from /home/tout/staging/vendor/gems/tout-text-rb_d848424d7/tout-text.gemspec:1:in `new' | |
| from /home/tout/staging/vendor/gems/tout-text-rb_d848424d7/tout-text.gemspec:1:in `<main>' |
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
| class WrongNumberOfPlayersError < StandardError ; end | |
| class NoSuchStrategyError < StandardError ; end | |
| def throw_result(m1, m2) | |
| m1.upcase! | |
| m2.upcase! | |
| raise NoSuchStrategyError unless (m1 == "R" or m1 == "P" or m1 == "S") and (m2 == "R" or m2 == "P" or m2 == "S") | |
| if m1 == "R" and m2 == "R" | |
| return 1 |
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
| commit 65b7ecd6637a6f83043c988c86c1837a87a9a027 | |
| Author: Kristine Robison <kris@tout.com> | |
| Date: Wed Aug 15 14:46:55 2012 -0700 | |
| Fixed a missing reference | |
| commit 687bac13b79723f26df8c7e0952dd46eba724db2 | |
| Author: Kristine Robison <kris@tout.com> | |
| Date: Wed Aug 15 09:35:49 2012 -0700 |
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
| sumit at Sumits MBP in ~/badfriends on rails4* | |
| $ rake rails4:check | |
| *** Mocha deprecation warning: Change `require 'mocha'` to `require 'mocha/setup'`. | |
| ** GEM COMPATIBILITY CHECK ** | |
| No gem incompatibilities found | |
| sumit at Sumits MBP in ~/badfriends on rails4* | |
| $ rake rails4:check_gems |
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
| Completed 200 OK in 61ms (Views: 0.1ms | ActiveRecord: 12.7ms) | |
| Connecting to database specified by database.yml | |
| Connecting to database specified by database.yml | |
| (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" | |
| Migrating to CreateWhiteCards (20130302084020) | |
| Migrating to CreateBlackCards (20130329130506) | |
| Migrating to CreatePlayers (20130329144540) | |
| Migrating to CreateGames (20130329152454) | |
| Migrating to CreateGamePlayers (20130330153622) | |
| Migrating to CreateRounds (20130331223328) |
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
| 2013-04-23T02:07:40.561026+00:00 app[web.1]: Started GET "/auth/facebook" for 71.202.152.243 at 2013-04-23 02:07:40 +0000 | |
| 2013-04-23T02:07:40.671382+00:00 app[web.1]: (facebook) Request phase initiated. | |
| 2013-04-23T02:07:40.714235+00:00 heroku[router]: at=info method=GET path=/auth/facebook host=badfriends.herokuapp.com fwd="71.202.152.243" dyno=web.1 connect=2ms service=212ms status=302 bytes=252 | |
| 2013-04-23T02:07:44.051594+00:00 app[web.1]: Started GET "/auth/facebook/callback?code=AQCJCF93W45_JjIlc4S1eWvM6B2AJtI2QKadU_Ja4ZidPZ8eXv2xLkeT5OL8Psw6j3Ur31QJq8rF3aDLKzixDk629omQs1Y3w2il6sKaBOgRpOQhXRZhUUR6884jYm2ii011W0rNlbzjetydiatabNN1Hty9_gRzep-aiYAglI9vxH6krJzSRe44AUHVTTkcpjo&state=c075110cdf21df01ad36dded625655a7351225a52e9b0475" for 71.202.152.243 at 2013-04-23 02:07:44 +0000 | |
| 2013-04-23T02:07:44.054710+00:00 app[web.1]: (facebook) Callback phase initiated. | |
| 2013-04-23T02:07:44.443335+00:00 app[web.1]: Parameters: {"code"=>"AQCJCF93W45_JjIlc4S1eWvM6B2AJtI2QKadU_Ja4ZidPZ8eXv2xLkeT5OL8Psw6j3Ur31QJq8rF3aDLKzixDk |
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
| { :game => | |
| { | |
| :creator_id => GUY_WHO_CREATED_THIS_ID, | |
| :game_players_attributes => [ | |
| {:player_id => PLAYER_1_ID}, | |
| {:player_id => PLAYER_2_ID}, | |
| {:player_id => PLAYER_3_ID} | |
| ] | |
| } | |
| } |
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
| <!DOCTYPE html><html><head><meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=0"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><title>Denied! - The Week in Pictures for June 3-June 9, 2013 - ESPN</title><meta property="og:title" content="Denied! - The Week in Pictures for June 3-June 9, 2013" /><meta name="description" content="LeBron James blocks Tiago Splitter's dunk attempt during Game 2 of the NBA Finals on Sunday. Miami beat the Spurs 103-84." /><meta property="og:description" content="LeBron James blocks Tiago Splitter's dunk attempt during Game 2 of the NBA Finals on Sunday. Miami beat the Spurs 103-84." /><link rel="canonical" href="http://espn.go.com/espn/photos/gallery/_/id/9359908/image/1/denied-week-pictures-june-3-june-9-2013" /><meta property="og:url" content="http://espn.go.com/espn/photos/gallery/_/id/9359908/image/1/denied-week-pictures-june-3-june-9-2013" /><meta property="og:image" content="http://a.espncdn.com/photo/2013/0609/play_wip_33.jpg" /> |
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 JsonApiHelpers | |
| def json_response | |
| @json_response ||= JSON.parse(response.body) | |
| end | |
| end | |
| RSpec.configure do |config| | |
| config.include JsonApiHelpers, type: :controller | |
| end |