forked from spree-contrib/spree-multi-domain
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Denis 'jumph4x
authored and
jumph4x
committed
Mar 23, 2012
1 parent
bc10a3f
commit 1071e98
Showing
62 changed files
with
819 additions
and
288 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--color | ||
--format | ||
progress | ||
--backtrace |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
source 'http://rubygems.org' | ||
|
||
gem 'rails' | ||
|
||
if RUBY_VERSION < "1.9" | ||
gem "ruby-debug" | ||
else | ||
gem "ruby-debug19" | ||
end | ||
|
||
gemspec | ||
gem 'spree' | ||
gem 'ffaker' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,243 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
spree_multi_domain (1.3.05) | ||
spree_core (~> 1.0.3) | ||
|
||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
actionmailer (3.1.4) | ||
actionpack (= 3.1.4) | ||
mail (~> 2.3.0) | ||
actionpack (3.1.4) | ||
activemodel (= 3.1.4) | ||
activesupport (= 3.1.4) | ||
builder (~> 3.0.0) | ||
erubis (~> 2.7.0) | ||
i18n (~> 0.6) | ||
rack (~> 1.3.6) | ||
rack-cache (~> 1.1) | ||
rack-mount (~> 0.8.2) | ||
rack-test (~> 0.6.1) | ||
sprockets (~> 2.0.3) | ||
active_utils (1.0.3) | ||
activesupport (>= 2.3.11) | ||
i18n | ||
activemerchant (1.20.1) | ||
active_utils (>= 1.0.1) | ||
activesupport (>= 2.3.11) | ||
braintree (>= 2.0.0) | ||
builder (>= 2.0.0) | ||
i18n | ||
json (>= 1.5.1) | ||
money (<= 3.7.1) | ||
activemodel (3.1.4) | ||
activesupport (= 3.1.4) | ||
builder (~> 3.0.0) | ||
i18n (~> 0.6) | ||
activerecord (3.1.4) | ||
activemodel (= 3.1.4) | ||
activesupport (= 3.1.4) | ||
arel (~> 2.2.3) | ||
tzinfo (~> 0.3.29) | ||
activeresource (3.1.4) | ||
activemodel (= 3.1.4) | ||
activesupport (= 3.1.4) | ||
activesupport (3.1.4) | ||
multi_json (~> 1.0) | ||
acts_as_list (0.1.4) | ||
archive-tar-minitar (0.5.2) | ||
arel (2.2.3) | ||
bcrypt-ruby (3.0.1) | ||
braintree (2.14.0) | ||
builder (>= 2.0.0) | ||
builder (3.0.0) | ||
cancan (1.6.7) | ||
capybara (1.0.1) | ||
mime-types (>= 1.16) | ||
nokogiri (>= 1.3.3) | ||
rack (>= 1.0.0) | ||
rack-test (>= 0.5.4) | ||
selenium-webdriver (~> 2.0) | ||
xpath (~> 0.1.4) | ||
childprocess (0.3.1) | ||
ffi (~> 1.0.6) | ||
cocaine (0.2.1) | ||
columnize (0.3.6) | ||
deface (0.8.0) | ||
nokogiri (~> 1.5.0) | ||
rails (>= 3.0.9) | ||
devise (1.4.8) | ||
bcrypt-ruby (~> 3.0) | ||
orm_adapter (~> 0.0.3) | ||
warden (~> 1.0.3) | ||
diff-lcs (1.1.3) | ||
erubis (2.7.0) | ||
factory_girl (2.6.4) | ||
activesupport (>= 2.3.9) | ||
ffaker (1.12.1) | ||
ffi (1.0.11) | ||
highline (1.6.8) | ||
hike (1.2.1) | ||
i18n (0.6.0) | ||
jquery-rails (1.0.19) | ||
railties (~> 3.0) | ||
thor (~> 0.14) | ||
json (1.6.5) | ||
kaminari (0.13.0) | ||
actionpack (>= 3.0.0) | ||
activesupport (>= 3.0.0) | ||
railties (>= 3.0.0) | ||
linecache19 (0.5.12) | ||
ruby_core_source (>= 0.1.4) | ||
mail (2.3.3) | ||
i18n (>= 0.4.0) | ||
mime-types (~> 1.16) | ||
treetop (~> 1.4.8) | ||
meta_search (1.1.1) | ||
actionpack (~> 3.1.0) | ||
activerecord (~> 3.1.0) | ||
activesupport (~> 3.1.0) | ||
polyamorous (~> 0.5.0) | ||
mime-types (1.18) | ||
money (3.7.1) | ||
i18n (~> 0.4) | ||
multi_json (1.1.0) | ||
nested_set (1.6.8) | ||
activerecord (>= 3.0.0) | ||
railties (>= 3.0.0) | ||
nokogiri (1.5.2) | ||
orm_adapter (0.0.6) | ||
paperclip (2.5.0) | ||
activerecord (>= 2.3.0) | ||
activesupport (>= 2.3.2) | ||
cocaine (>= 0.0.2) | ||
mime-types | ||
polyamorous (0.5.0) | ||
activerecord (~> 3.0) | ||
polyglot (0.3.3) | ||
rack (1.3.6) | ||
rack-cache (1.2) | ||
rack (>= 0.4) | ||
rack-mount (0.8.3) | ||
rack (>= 1.0.0) | ||
rack-ssl (1.3.2) | ||
rack | ||
rack-test (0.6.1) | ||
rack (>= 1.0) | ||
rails (3.1.4) | ||
actionmailer (= 3.1.4) | ||
actionpack (= 3.1.4) | ||
activerecord (= 3.1.4) | ||
activeresource (= 3.1.4) | ||
activesupport (= 3.1.4) | ||
bundler (~> 1.0) | ||
railties (= 3.1.4) | ||
railties (3.1.4) | ||
actionpack (= 3.1.4) | ||
activesupport (= 3.1.4) | ||
rack-ssl (~> 1.3.2) | ||
rake (>= 0.8.7) | ||
rdoc (~> 3.4) | ||
thor (~> 0.14.6) | ||
rake (0.9.2.2) | ||
rdoc (3.12) | ||
json (~> 1.4) | ||
rspec (2.9.0) | ||
rspec-core (~> 2.9.0) | ||
rspec-expectations (~> 2.9.0) | ||
rspec-mocks (~> 2.9.0) | ||
rspec-core (2.9.0) | ||
rspec-expectations (2.9.0) | ||
diff-lcs (~> 1.1.3) | ||
rspec-mocks (2.9.0) | ||
rspec-rails (2.9.0) | ||
actionpack (>= 3.0) | ||
activesupport (>= 3.0) | ||
railties (>= 3.0) | ||
rspec (~> 2.9.0) | ||
ruby-debug-base19 (0.11.25) | ||
columnize (>= 0.3.1) | ||
linecache19 (>= 0.5.11) | ||
ruby_core_source (>= 0.1.4) | ||
ruby-debug19 (0.11.6) | ||
columnize (>= 0.3.1) | ||
linecache19 (>= 0.5.11) | ||
ruby-debug-base19 (>= 0.11.19) | ||
ruby_core_source (0.1.5) | ||
archive-tar-minitar (>= 0.5.2) | ||
rubyzip (0.9.6.1) | ||
selenium-webdriver (2.20.0) | ||
childprocess (>= 0.2.5) | ||
ffi (~> 1.0) | ||
multi_json (~> 1.0) | ||
rubyzip | ||
spree (1.0.3) | ||
spree_api (= 1.0.3) | ||
spree_auth (= 1.0.3) | ||
spree_cmd (= 1.0.3) | ||
spree_core (= 1.0.3) | ||
spree_dash (= 1.0.3) | ||
spree_promo (= 1.0.3) | ||
spree_sample (= 1.0.3) | ||
spree_api (1.0.3) | ||
spree_auth (= 1.0.3) | ||
spree_core (= 1.0.3) | ||
spree_auth (1.0.3) | ||
cancan (= 1.6.7) | ||
devise (= 1.4.8) | ||
spree_core (= 1.0.3) | ||
spree_cmd (1.0.3) | ||
spree_core (1.0.3) | ||
activemerchant (= 1.20.1) | ||
acts_as_list (= 0.1.4) | ||
deface (>= 0.7.2) | ||
ffaker (~> 1.12.0) | ||
highline (= 1.6.8) | ||
jquery-rails (>= 1.0.18, <= 1.0.19) | ||
kaminari (>= 0.13.0) | ||
meta_search (= 1.1.1) | ||
nested_set (= 1.6.8) | ||
paperclip (= 2.5.0) | ||
rails (>= 3.1.1, <= 3.1.4) | ||
state_machine (= 1.1.1) | ||
stringex (~> 1.3.0) | ||
spree_dash (1.0.3) | ||
spree_core (= 1.0.3) | ||
spree_promo (1.0.3) | ||
spree_auth (= 1.0.3) | ||
spree_core (= 1.0.3) | ||
spree_sample (1.0.3) | ||
spree_core (= 1.0.3) | ||
sprockets (2.0.3) | ||
hike (~> 1.2) | ||
rack (~> 1.0) | ||
tilt (~> 1.1, != 1.3.0) | ||
sqlite3 (1.3.5) | ||
state_machine (1.1.1) | ||
stringex (1.3.2) | ||
thor (0.14.6) | ||
tilt (1.3.3) | ||
treetop (1.4.10) | ||
polyglot | ||
polyglot (>= 0.3.1) | ||
tzinfo (0.3.32) | ||
warden (1.0.6) | ||
rack (>= 1.0) | ||
xpath (0.1.4) | ||
nokogiri (~> 1.3) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
capybara (= 1.0.1) | ||
factory_girl | ||
ffaker | ||
rails | ||
rspec-rails (~> 2.7) | ||
ruby-debug19 | ||
spree | ||
spree_multi_domain! | ||
sqlite3 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
"0.30.x" => { :branch => "0-30-x" } | ||
"0.40.x" => { :branch => "0-40-stable" } | ||
"0.50.x" => { :branch => "0-40-stable" } | ||
"1.0.x" => { :branch => "master"} | ||
"0.70.x" => { :branch => "0-60-stable" } | ||
"0.60.x" => { :branch => "0-60-stable" } | ||
"0.70.x" => { :branch => "master" } | ||
"0.50.x" => { :branch => "0-40-stable" } | ||
"0.40.x" => { :branch => "0-40-stable" } | ||
"0.30.x" => { :branch => "0-30-x" } |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
6 changes: 1 addition & 5 deletions
6
...rs/admin/products_controller_decorator.rb → ...ee/admin/products_controller_decorator.rb
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
Admin::ProductsController.class_eval do | ||
Spree::Admin::ProductsController.class_eval do | ||
update.before :set_stores | ||
|
||
create.before :add_to_all_stores | ||
|
||
private | ||
def set_stores | ||
@product.store_ids = nil unless params[:product].key? :store_ids | ||
end | ||
|
||
def add_to_all_stores | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class Spree::Admin::StoresController < Spree::Admin::ResourceController | ||
|
||
end |
Oops, something went wrong.