- fix remaining broken translations
- re-sync the i18n locales in spree_i18n (remove defunct keys, add new ones, etc.)
- upgrade guide
- updated release notes
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
javascript:(function(){ | |
var enc=encodeURIComponent, | |
w=window, | |
frames=w.frames, | |
d=document, | |
tn=w.getSelection?w.getSelection():(d.getSelection)?d.getSelection():(d.selection?d.selection.createRange().text:0), | |
pu=w.location.href, | |
isGMail=w.location.host.match(/mail\.google\.com/), | |
tt=pt=d.title, | |
subjSpans=d.getElementsByClassName("hP"),i,url; |
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
{ | |
"message": "order:new", | |
"payload": { | |
"order": { | |
"channel": "Amazon", | |
"email": "test1@test.com", | |
"currency": "USD", | |
"line_items": [ | |
{ | |
"price": 19.99, |
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
Spree::Admin::ProductsController.class_eval do | |
# don't try and load data before import action either | |
before_filter :load_data, :except => [:index, :import] | |
def import | |
# do stuff | |
end | |
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
class CreateSubscriptions < ActiveRecord::Migration | |
def self.up | |
create_table :subscriptions do |t| | |
t.date :start_date | |
t.date :end_date | |
t.integer :duration | |
t.string :interval | |
t.string :state | |
t.references :user | |
t.references :variant |
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
source 'https://rubygems.org' | |
gem 'rails', '3.2.8' | |
# Bundle edge Rails instead: | |
# gem 'rails', :git => 'git://github.com/rails/rails.git' | |
gem 'mysql2' | |
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
#!/bin/bash | |
# Restarts Pow when DNS fails to resolve | |
lsof | grep 20560 | awk '{print $2}' | xargs kill -9 | |
launchctl unload ~/Library/LaunchAgents/cx.pow.powd.plist | |
launchctl load ~/Library/LaunchAgents/cx.pow.powd.plist |
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 'spec_helper' | |
describe Spree::TaxRate do | |
context 'validation' do | |
it { should validate_presence_of(:tax_category_id) } | |
end | |
context "match" do | |
let(:zone) { Factory(:zone) } |
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
Devise::FailureApp.class_eval do | |
def http_auth? | |
return false | |
end | |
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
before(:each) do | |
@user = mock_model(User).as_null_object | |
end | |
let(:inventory_unit) { mock_model(InventoryUnit).as_null_object } | |
describe "GET index" do | |
let(:collection) { mock("collection") } | |
before { controller.stub :collection => collection } |
NewerOlder