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
Script started on Wed 06 Jan 2016 09:22:55 AM EST | |
[1m[7m%[27m[1m[0m ]2;~/tmp]1;~/tmp [0m[27m[24m[J[36m~/tmp [39m [K[?1h= [0m[27m[24m[J[36m~/tmp [39m [1m[31m❯[33m❯[32m❯[39m[0m [Kscript new-solidus-test.log[27Drm -rf[17C [23Dls[2Cl [18Dbundle exec rails new new-solidus-test[?1l> [0m[27m[24m[J[36m~/tmp [39m [1m[31m❯[33m❯[32m❯[39m[0m bundle exec rails new new-solidus-test[K | |
]2;bundle]1;bundle[31mCould not find rake-10.4.2 in any of the sources[0m | |
[33mRun `bundle install` to install missing gems.[0m | |
[1m[7m%[27m[1m[0m |
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
RSpec.describe 'test' do | |
it 'compares with eq' do | |
expect(BigDecimal.new('19.99')).to eq BigDecimal.new('19.99') | |
end | |
class Foo | |
def price | |
BigDecimal.new('19.99') | |
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
2015-09-25 08:38:01 --> gem (65bb8d45@gateway/web/freenode/ip.101.187.141.69) has joined #solidus.io | |
2015-09-25 08:38:47 gem Hi Solidus dudes, few questions from a merchant if you don't mind... | |
2015-09-25 08:44:36 gmacdougall gem: go for it | |
2015-09-25 08:46:49 gem Thank you! Ok, Multi-Store...we currently have setup easypost for our shipping labels etc, but this would only be for AU and need to setup a 3PL (like Shipwire) for USA store...is this as simple as setting up different shipping methods? As I don't see option to pick 'zones' in the store & domains options | |
2015-09-25 08:48:18 gmacdougall do you want to sell this through a different domain? | |
2015-09-25 08:48:36 gmacdougall exampe: store.com vs. store.com.au? | |
2015-09-25 08:50:16 gem hmmm...I am not sure what is best practice..a different domain or subdomain i.e. store.com and store.com/au or au.store.com | |
2015-09-25 08:50:38 gem that might be a question for the marketing/seo experts | |
2015-09-25 08:50:53 gmacdougall are they going to be selling the same s |
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
<html><body> | |
<svg | |
xmlns="http://www.w3.org/2000/svg" | |
height="152" | |
width="176"> | |
<polygon points="44,0 132,0 176,76 132,152 44,152 0,76" fill="yellow"/> | |
<text |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# config/initializers/reimbursement_hook.rb | |
Rails.application.config.to_prepare do | |
Spree::Reimbursement.reimbursement_success_hooks = [ | |
->(reimbursement) { puts reimbursement } | |
] | |
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
# config/initializers/spree.rb | |
Spree.config do |config| | |
config.check_for_spree_alerts = false | |
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
anyone: init 1860 ken justin ian | |
# first auction | |
# ken starts | |
ken: bid 20 | |
justin: bid 25 | |
ian: bid 30 | |
ken: bid 40 | |
justin: bid 45 | |
ian: bid 50 | |
ken: bid 55 |
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
results = [] | |
File.foreach('log') do |line| | |
hash = eval(line.split(' INFO -- : ').last) | |
results << hash | |
end | |
results.select! { |h| h["browsernizer"]["version"] == "39.0.2171.95" } | |
require 'pry' | |
binding.pry |
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
Started GET "/products/second-skin-platinum-trunk" for 127.0.0.1 at 2015-07-02 15:07:31 -0400 | |
[1m[36mSpree::Page Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spree_pages` WHERE `spree_pages`.`visible` = 1 AND ((`spree_pages`.`slug` = 'products/second-skin-platinum-trunk' OR `spree_pages`.`slug` = '/products/second-skin-platinum-trunk')) ORDER BY position ASC LIMIT 1[0m | |
Processing by Spree::ProductsController#show as HTML | |
Parameters: {"id"=>"second-skin-platinum-trunk"} | |
[1m[35mSpree::Order Load (0.4ms)[0m SELECT `spree_orders`.* FROM `spree_orders` WHERE `spree_orders`.`id` = 5360423 AND `spree_orders`.`currency` = 'USD' LIMIT 1 | |
[1m[36mSpree::Adjustment Load (0.3ms)[0m [1mSELECT `spree_adjustments`.* FROM `spree_adjustments` WHERE `spree_adjustments`.`adjustable_type` = 'Spree::Order' AND `spree_adjustments`.`adjustable_id` IN (5360423) ORDER BY spree_adjustments.created_at ASC[0m | |
[1m[35mSpree::Preference Load (0.2ms)[0m SELECT `spree_preferences`.* FROM `spree_preferences` WHERE `s |