-
Notifications
You must be signed in to change notification settings - Fork 56
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
Jeff Dutil
committed
Apr 6, 2013
1 parent
201b137
commit 5dfdfd5
Showing
17 changed files
with
49 additions
and
46 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
source 'http://rubygems.org' | ||
|
||
gem "spree_auth_devise", :git => 'git://github.com/spree/spree_auth_devise.git', :branch => '1-3-stable' | ||
gem 'spree', github: 'spree/spree' | ||
gem "spree_auth_devise", github: 'spree/spree_auth_devise' | ||
|
||
gemspec |
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 |
---|---|---|
|
@@ -14,20 +14,23 @@ In your application Gemfile, add this gem after the Spree gem: | |
gem 'spree' | ||
gem 'spree_product_groups', :git => '[email protected]:spree/spree_product_groups.git' | ||
``` | ||
|
||
Then run: | ||
|
||
``` | ||
$ bundle | ||
$ rails g spree_product_groups:install | ||
```shell | ||
bundle | ||
rails g spree_product_groups:install | ||
``` | ||
|
||
Testing | ||
------- | ||
|
||
Be sure to bundle your dependencies and then create a dummy test app for the specs to run against. | ||
|
||
$ bundle | ||
$ bundle exec rake test_app | ||
$ bundle exec rspec spec | ||
```shell | ||
bundle | ||
bundle exec rake test_app | ||
bundle exec rspec spec | ||
``` | ||
|
||
Copyright (c) 2012 Spree Commerce, released under the New BSD License | ||
Copyright (c) 2012-2013 Spree Commerce, released under the New BSD License |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
require 'spree_core' | ||
require 'spree_promo' | ||
require 'spree_product_groups/engine' |
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,7 +1,7 @@ | ||
FactoryGirl.define do | ||
factory :product_scope, :class => Spree::ProductScope do | ||
product_group { Factory(:product_group) } | ||
name 'on_hand' | ||
product_group { create(:product_group) } | ||
name 'with_ids' | ||
arguments 'some arguments' | ||
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
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
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,6 @@ | ||
# valid factory tests | ||
RSpec::Matchers.define :have_valid_factory do |factory_name| | ||
match do |model| | ||
Factory(factory_name).new_record?.should be_false | ||
create(factory_name).new_record?.should be_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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,18 +11,18 @@ Gem::Specification.new do |s| | |
s.email = '[email protected]' | ||
s.homepage = 'http://www.spreecommerce.com' | ||
|
||
#s.files = `git ls-files`.split("\n") | ||
#s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") | ||
s.files = `git ls-files`.split("\n") | ||
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") | ||
s.require_path = 'lib' | ||
s.requirements << 'none' | ||
|
||
s.add_dependency 'spree_core', '~> 1.3.0' | ||
s.add_dependency 'spree_promo', '~> 1.3.0' | ||
s.add_dependency 'spree_core', '~> 2.0.0.beta' | ||
|
||
s.add_development_dependency 'capybara', '1.0.1' | ||
s.add_development_dependency 'factory_girl', '~> 2.6' | ||
s.add_development_dependency 'factory_girl', '~> 4.2' | ||
s.add_development_dependency 'ffaker' | ||
s.add_development_dependency 'rspec-rails', '~> 2.7' | ||
s.add_development_dependency 'shoulda-matchers' | ||
s.add_development_dependency 'spree_auth_devise' | ||
s.add_development_dependency 'sqlite3' | ||
end |