I hereby claim:
- I am neverett on github.
- I am neverett (https://keybase.io/neverett) on keybase.
- I have a public key ASCU_cEnSp9UmMTwn5PXaRwvA8nu46psID32-5pdQADR6Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# Usage: gitio URL [CODE] | |
# | |
# Turns a github.com URL | |
# into a git.io URL | |
# | |
# Copies the git.io URL to your clipboard. | |
url = ARGV[0] | |
code = ARGV[1] |
some public text |
# Rails 3.2.14 | |
[27] pry(Spree):1> order | |
=> #<Spree::Order id: 4, number: "R668780026", item_total: #<BigDecimal:c3126b0,'0.15992E3',18(36)>, total: #<BigDecimal:c3566a8,'0.14393E3',18(36)>, state: "cart", adjustment_total: #<BigDecimal:c35684c,'-0.1599E2',18(18)>, user_id: 1, completed_at: nil, bill_address_id: nil, ship_address_id: nil, payment_total: #<BigDecimal:c356504,'0.0',9(36)>, shipping_method_id: nil, shipment_state: "pending", payment_state: "balance_due", email: "spree@example.com", special_instructions: nil, created_at: "2013-08-02 06:11:13", updated_at: "2013-08-02 15:45:51", currency: "USD", last_ip_address: "127.0.0.1", created_by_id: 1> | |
[28] pry(Spree):1> shipment | |
=> #<Spree::Shipment id: 22, tracking: nil, number: "H47677816488", cost: nil, shipped_at: nil, order_id: 4, address_id: nil, state: "pending", created_at: "2013-08-02 18:14:03", updated_at: "2013-08-02 18:14:03", stock_location_id: nil> | |
[29] pry(Spree):1> order.adjustments.create({source: shipment, label: "ha", amount: 0}, without |
# Rails 3.2.14 | |
[27] pry(Spree):1> order | |
=> #<Spree::Order id: 4, number: "R668780026", item_total: #<BigDecimal:c3126b0,'0.15992E3',18(36)>, total: #<BigDecimal:c3566a8,'0.14393E3',18(36)>, state: "cart", adjustment_total: #<BigDecimal:c35684c,'-0.1599E2',18(18)>, user_id: 1, completed_at: nil, bill_address_id: nil, ship_address_id: nil, payment_total: #<BigDecimal:c356504,'0.0',9(36)>, shipping_method_id: nil, shipment_state: "pending", payment_state: "balance_due", email: "spree@example.com", special_instructions: nil, created_at: "2013-08-02 06:11:13", updated_at: "2013-08-02 15:45:51", currency: "USD", last_ip_address: "127.0.0.1", created_by_id: 1> | |
[28] pry(Spree):1> shipment | |
=> #<Spree::Shipment id: 22, tracking: nil, number: "H47677816488", cost: nil, shipped_at: nil, order_id: 4, address_id: nil, state: "pending", created_at: "2013-08-02 18:14:03", updated_at: "2013-08-02 18:14:03", stock_location_id: nil> | |
[29] pry(Spree):1> order.adjustments.create({source: shipment, label: "ha", amount: 0}, without |
# Rails 3.2.14 | |
[27] pry(Spree):1> order | |
=> #<Spree::Order id: 4, number: "R668780026", item_total: #<BigDecimal:c3126b0,'0.15992E3',18(36)>, total: #<BigDecimal:c3566a8,'0.14393E3',18(36)>, state: "cart", adjustment_total: #<BigDecimal:c35684c,'-0.1599E2',18(18)>, user_id: 1, completed_at: nil, bill_address_id: nil, ship_address_id: nil, payment_total: #<BigDecimal:c356504,'0.0',9(36)>, shipping_method_id: nil, shipment_state: "pending", payment_state: "balance_due", email: "spree@example.com", special_instructions: nil, created_at: "2013-08-02 06:11:13", updated_at: "2013-08-02 15:45:51", currency: "USD", last_ip_address: "127.0.0.1", created_by_id: 1> | |
[28] pry(Spree):1> shipment | |
=> #<Spree::Shipment id: 22, tracking: nil, number: "H47677816488", cost: nil, shipped_at: nil, order_id: 4, address_id: nil, state: "pending", created_at: "2013-08-02 18:14:03", updated_at: "2013-08-02 18:14:03", stock_location_id: nil> | |
[29] pry(Spree):1> order.adjustments.create({source: shipment, label: "ha", amount: 0}, without |
# Rails 3.2.14 | |
[27] pry(Spree):1> order | |
=> #<Spree::Order id: 4, number: "R668780026", item_total: #<BigDecimal:c3126b0,'0.15992E3',18(36)>, total: #<BigDecimal:c3566a8,'0.14393E3',18(36)>, state: "cart", adjustment_total: #<BigDecimal:c35684c,'-0.1599E2',18(18)>, user_id: 1, completed_at: nil, bill_address_id: nil, ship_address_id: nil, payment_total: #<BigDecimal:c356504,'0.0',9(36)>, shipping_method_id: nil, shipment_state: "pending", payment_state: "balance_due", email: "spree@example.com", special_instructions: nil, created_at: "2013-08-02 06:11:13", updated_at: "2013-08-02 15:45:51", currency: "USD", last_ip_address: "127.0.0.1", created_by_id: 1> | |
[28] pry(Spree):1> shipment | |
=> #<Spree::Shipment id: 22, tracking: nil, number: "H47677816488", cost: nil, shipped_at: nil, order_id: 4, address_id: nil, state: "pending", created_at: "2013-08-02 18:14:03", updated_at: "2013-08-02 18:14:03", stock_location_id: nil> | |
[29] pry(Spree):1> order.adjustments.create({source: shipment, label: "ha", amount: 0}, without |
things here |
# Rails 3.2.14 | |
[27] pry(Spree):1> order | |
=> #<Spree::Order id: 4, number: "R668780026", item_total: #<BigDecimal:c3126b0,'0.15992E3',18(36)>, total: #<BigDecimal:c3566a8,'0.14393E3',18(36)>, state: "cart", adjustment_total: #<BigDecimal:c35684c,'-0.1599E2',18(18)>, user_id: 1, completed_at: nil, bill_address_id: nil, ship_address_id: nil, payment_total: #<BigDecimal:c356504,'0.0',9(36)>, shipping_method_id: nil, shipment_state: "pending", payment_state: "balance_due", email: "spree@example.com", special_instructions: nil, created_at: "2013-08-02 06:11:13", updated_at: "2013-08-02 15:45:51", currency: "USD", last_ip_address: "127.0.0.1", created_by_id: 1> | |
[28] pry(Spree):1> shipment | |
=> #<Spree::Shipment id: 22, tracking: nil, number: "H47677816488", cost: nil, shipped_at: nil, order_id: 4, address_id: nil, state: "pending", created_at: "2013-08-02 18:14:03", updated_at: "2013-08-02 18:14:03", stock_location_id: nil> | |
[29] pry(Spree):1> order.adjustments.create({source: shipment, label: "ha", amount: 0}, without |