This file contains 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:26:18 guard.1 | /Users/emmanueldelgado/Projects/theproject/app/models/card.rb:54: warning: already initialized constant Fonts |
This file contains 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
(stable_spree_version) 184m $ cuke features/people_signs_up.feature:9 | |
Using the default profile... | |
WARNING: No DRb server is running. Running features locally: | |
[DEPRECATION WARNING] Nested I18n namespace lookup under "activerecord.attributes.spree/order" is no longer supported | |
.....F-QFont::setPixelSize: Pixel size <= 0 (0) | |
(::) failed steps (::) | |
expected: "/sales" |
This file contains 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
require 'fast_spec_helper' | |
require 'layout_helper' | |
require 'fvaults/acts/localizable' | |
describe LayoutHelper do | |
let(:mixee) do | |
mixee = Class.new | |
mixee.send :include, LayoutHelper | |
mixee.new | |
end |
This file contains 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
................................................................................................./Users/emmanueldelgado/.rbenv/versions/1.9.3-rc1/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `block in require': iconv will be deprecated in the future, use String#encode instead. | |
.......................................................................................................................................................................................................................................................................................................................................................................................................................................................F---------F.........F.....F......F.........F.........F...F---------...F------------------------------------------------------------------------......F...F...F---------------------------------------------------- | |
(::) failed steps (::) | |
this.getWindow() is null (Sel |
This file contains 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
require 'rubygems' | |
require 'redis' | |
redis = Redis.new | |
redis.set 'items', 10 | |
threads = [] | |
ARGV[0].to_i.times do |time| |
This file contains 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 ActionController | |
class Base | |
def self.protect_from_forgery; end | |
def self.before_filter(args); end | |
def self.layout(args); end | |
end | |
end | |
RSpec.configure do |config| | |
config.mock_with :rr |
This file contains 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
Booma::Application.routes.draw do | |
unless Rails.env.test? | |
authenticate :admin_user do | |
mount Resque::Server.new, :at => "/gh_resque" | |
end | |
end | |
match '/auth/:provider/callback' => 'authentications#create' | |
match '/auth/destroy' => 'authentications#destroy' |
This file contains 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
var ranges = { | |
'cero': [0, 0], | |
'white': [1, 21], | |
'red': [22, 100]}; | |
var value = 11; | |
for (x in ranges) { | |
if (value >= ranges[x][0] && value <= ranges[x][1]) { | |
console.log(x) | |
break; |
This file contains 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
/* line 5, /Users/emmanueldelgado/Projects/hybridgroup/gh/app/assets/stylesheets/users.css.scss */ | |
#account-settings { | |
padding: 20px; | |
} | |
/* line 8, /Users/emmanueldelgado/Projects/hybridgroup/gh/app/assets/stylesheets/users.css.scss */ | |
#account-settings .left-column { | |
display: inline; | |
float: left; | |
margin-right: 4px; | |
width: 50px; |
This file contains 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
# Access USER info without authenticating yourself | |
ruby-1.8.7-p334 :003 > client = Octokit::Client.new(:login => 'clutchapp') | |
=> #<Octokit::Client:0x10514a568 @endpoint="https://github.com/", @user_agent="Octokit Ruby Gem 0.6.3", @format=:json, @adapter=:net_http, @version=2, @oauth_token=nil, @token=nil, @password=nil, @login="clutchapp", @proxy=nil> | |
ruby-1.8.7-p334 :004 > client.user | |
Octokit::Unauthorized: GET https://github.com/api/v2/json/user/show: 401: <#Hashie::Mash error="not authorized"> | |
from /Users/emmanueldelgado/.rvm/gems/ruby-1.8.7-p334@clutch/gems/hybridgroup-octokit-0.6.3/lib/faraday/response/raise_error.rb:11:in `on_complete' | |
from /Users/emmanueldelgado/.rvm/gems/ruby-1.8.7-p334@clutch/gems/faraday-0.6.1/lib/faraday/response.rb:9:in `call' | |
from /Users/emmanueldelgado/.rvm/gems/ruby-1.8.7-p334@clutch/gems/faraday-0.6.1/lib/faraday/response.rb:62:in `on_complete' | |
from /Users/emmanueldelgado/.rvm/gems/ruby-1.8.7-p334@clutch/gems/faraday-0.6.1/lib/faraday/response.rb:8:in `call' | |
from /Users |