forked from spree/spree
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a combination of 27 commits. * Move search base fron frontend to core * Move Spree::Money from frontend to core * move mailers to core * Move mailer views to core * Require core not models in frontend gemspec * Fix require in product_filter_spec * frontend stuff now lives at lib/spree/frontend * Core engine is now once again for isolating the engine namespace * Move user class extensions to core * Move UserBanners to Core * Frontend now prepends routes to core * Rename Core references in Frontend to Frontend * Fix spree_frontend gemspec * Fix spree_core.gemspec * Remove unnecessary scopes file * Rename spree/core.rb inside frontend to spree/frontend.rb * Fix ControllerHelpers reference in Spree::BaseController * Fix require to action_callbacks withn Admin::ResourceController * Fix module reference for ControllerHelpers inside Spree::StoreController * Fix testing_support requires within spec_helper * Fix requires in frontend.rb * Moved ControllerHelpers back into Core. * This is because API no longer depends on frontend * Move SSL requirement into core from frontend * Add require for cancan inside core.rb * Add frontend to travis * Add spree_core.rb * Add frontend to Rakefile
- Loading branch information
Showing
56 changed files
with
160 additions
and
189 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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
eval(File.read(File.dirname(__FILE__) + '/../common_spree_dependencies.rb')) | ||
|
||
gem 'spree_models', :path => "../models" | ||
gem 'spree_core', :path => "../core" | ||
|
||
gemspec |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 @@ | ||
Spree::Core::Engine.routes.draw do | ||
# These routes now come from the Spree::Frontend component. | ||
# Look in frontend/config/routes.rb for the routes. | ||
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
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
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
2 changes: 2 additions & 0 deletions
2
...lib/spree/core/controller_helpers/auth.rb → ...lib/spree/core/controller_helpers/auth.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,3 +1,5 @@ | ||
require 'spree/core/ssl_requirement' | ||
|
||
module Spree | ||
module Core | ||
module ControllerHelpers | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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 |
---|---|---|
|
@@ -3,17 +3,16 @@ version = File.read(File.expand_path("../../SPREE_VERSION", __FILE__)).strip | |
|
||
Gem::Specification.new do |s| | ||
s.platform = Gem::Platform::RUBY | ||
s.name = 'spree_models' | ||
s.name = 'spree_core' | ||
s.version = version | ||
s.summary = 'ActiveRecord models for Spree.' | ||
s.description = 'Required dependency for Spree' | ||
s.summary = 'The barebones necessary for Spree.' | ||
s.description = 'The barebones necessary for Spree.' | ||
|
||
s.required_ruby_version = '>= 1.8.7' | ||
s.author = 'Sean Schofield' | ||
s.email = '[email protected]' | ||
s.homepage = 'http://spreecommerce.com' | ||
s.license = %q{BSD-3} | ||
s.rubyforge_project = 'spree_core' | ||
|
||
s.files = Dir['LICENSE', 'README.md', 'app/**/*', 'config/**/*', 'lib/**/*', 'db/**/*', 'vendor/**/*'] | ||
s.require_path = 'lib' | ||
|
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,6 +1,6 @@ | ||
eval(File.read(File.dirname(__FILE__) + '/../common_spree_dependencies.rb')) | ||
|
||
gem 'spree_models', :path => '../models' | ||
gem 'spree_core', :path => '../core' | ||
gem 'spree_api', :path => '../api' | ||
|
||
gemspec |
File renamed without changes.
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,6 +1,6 @@ | ||
/* | ||
* This is a manifest file that includes stylesheets for spree_core | ||
* This is a manifest file that includes stylesheets for spree_frontend | ||
*= require normalize | ||
*= require skeleton | ||
*= require store/screen | ||
*/ | ||
*/ |
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,4 +1,4 @@ | ||
Spree::Core::Engine.routes.draw do | ||
Spree::Core::Engine.routes.prepend do | ||
|
||
root :to => 'home#index' | ||
|
||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.