Skip to content

Instantly share code, notes, and snippets.

View richdownie's full-sized avatar

Rich Downie richdownie

View GitHub Profile
well always
but our vendor files really should be minified
Currently we had to patch JQuery manually
which caused a minified jquery to become full blown
however minifying the entire app is probably not safe
so the dependencies should be
I know how to minify it in the settings, but I have never split it up fine grained .
So I wonder if it is even possible.
Otherwise we may need to move to grunt
Rich Downie
CLIENT_USER.create!(:FIRST_NAME => "Chip", :LAST_NAME => "Chipotle", :CLIENT_ID => "chipotle", :PHONE => "", :EMAIL => "[email protected]", :PASSWORD => "W6ph5Mm5Pz8GgiULbPgzG37mj9g=", :ENTERED_BY => 9999, :ENTERED_TIME => '2014-03-12 11:09:59', :FORGOT_PASSWORD_TIME => '1969-12-31 18:00:00', :AUTHORIZABLE_ID => 15905, :FORGOT_PASSWORD_HASH => "", :TITLE => "")
chipotle_users = CLIENT_USER.where("CLIENT_ID = 'chipotle'")
chipotle_users.each do |user|
client['Automation'].send('Cyborg', "ADDED CLIENT_USER => #{user.EMAIL}", :color => 'green')
USER_PERMISSION.create!(:USER_ID => "#{user.ID}", :PERMISSION_TYPE => "read", :PERMIT => 1, :RESOURCE_TYPE => "org", :ENTITY_ID => 2220, :WITH_CHILDREN => 1)
USER_PERMISSION.create!(:USER_ID => "#{user.ID}", :PERMISSION_TYPE => "read", :PERMIT => 1, :RESOURCE_TYPE => "page", :ENTITY_ID => 100, :WITH_CHILDREN => 1)
USER_PERMISSION.create!(:USER_ID => "#{user.ID}", :PERMISSION_TYPE => "read", :PERMIT => 1, :RESOURCE_TYPE => "page
namespace :insert_users do
desc "Directly INSERT QA Users into the database"
task :qa do
gateway = Net::SSH::Gateway.new('secret','secret',:password => "secret")
port = gateway.open('secret', secret, secret)
class CLIENT_USER < ActiveRecord::Base
self.table_name = 'CLIENT_USER'
establish_connection(:adapter=>"secret",:host=>"secret",:username => "secret",:password => "secret",:database=>"secret",:port=>secret)
end
fk_constraints_off = "SET foreign_key_checks = 0"
Given /I add a stub for "(.*)" "(.*)" with "(.*)"/i do |client, source, status|
if modal > 0 then
steps %Q{
* I wait until "modal-title" "class" renders
* I wait "1"
* I xpath "Select Client Name" "span"
* I wait "1"
* I xpath "#{client}" "div"
* I wait "1"
* I click_on "s2id_add-job-input-source" "id"
at_exit do
@browser.quit
end
richdownie@mbp ~/blackboxd/blackboxd (git::master) $ heroku logs -t
2013-10-17T00:45:14.028349+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path=/ host=blackboxd.com fwd="66.66.92.167" dyno= connect= service= status=503 bytes=
2013-10-17T00:45:14.373241+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path=/favicon.ico host=blackboxd.com fwd="66.66.92.167" dyno= connect= service= status=503 bytes=
2013-10-17T00:47:19.699140+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path=/ host=blackboxd.com fwd="66.66.92.167" dyno= connect= service= status=503 bytes=
2013-10-17T00:47:19.969894+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path=/favicon.ico host=blackboxd.com fwd="66.66.92.167" dyno= connect= service= status=503 bytes=
2013-10-17T00:49:47.611805+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP
richdownie@mbp ~/blackboxd/blackboxd (git::master) $ heroku domains
=== blackboxd Domain Names
blackboxd.com
blackboxd.herokuapp.com
www.blackboxd.com
richdownie@mbp ~/blackboxd/blackboxd (git::master) $
richdownie@mbp ~/blackboxd/blackboxd (git::master) $ heroku domains
=== blackboxd Domain Names
blackboxd.com
blackboxd.herokuapp.com
www.blackboxd.com
richdownie@mbp ~/blackboxd/blackboxd (git::master) $ host blackboxd.com
blackboxd.com has address 75.101.163.44
blackboxd.com has address 174.129.212.2
blackboxd.com has address 75.101.145.87
2013-10-04T22:20:04.161203+00:00 heroku[web.1]: Unidling
2013-10-04T22:20:04.161485+00:00 heroku[web.1]: State changed from down to starting
2013-10-04T22:20:11.976521+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 13753 -e $RAILS_ENV`
2013-10-04T22:20:20.276685+00:00 heroku[web.1]: State changed from starting to up
2013-10-04T22:20:21.415010+00:00 heroku[router]: at=info method=GET path=/ host=blackboxd.herokuapp.com fwd="50.16.177.192" dyno=web.1 connect=1ms service=250ms status=200 bytes=4542
2013-10-04T22:20:21.435359+00:00 heroku[router]: at=info method=GET path=/ host=blackboxd.herokuapp.com fwd="50.16.177.192" dyno=web.1 connect=7ms service=190ms status=200 bytes=4542
2013-10-04T22:20:21.448421+00:00 heroku[router]: at=info method=GET path=/ host=blackboxd.herokuapp.com fwd="107.22.38.83" dyno=web.1 connect=8ms service=112ms status=200 bytes=4542
2013-10-04T22:20:27.913395+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path=/ hos
richdownie@mbp ~/projects/front-end-test-cases (git::master) $ cucumber features/admin.feature:32
@chrome @firefox @IE10 @IE9
Feature: Admin Testing
Scenario: -Blacklist Word Check- # features/admin.feature:32
* I am on the admin page # features/step_definitions/selenium_webdriver.rb:13
[]
* I fill in "username" with "becca" # features/step_definitions/selenium_webdriver.rb:89
[]
* I fill in "password" with "password" # features/step_definitions/selenium_webdriver.rb:89