Skip to content

Commit

Permalink
Upgrading to spree 2-2-2
Browse files Browse the repository at this point in the history
Refactoring on tests
Update README
  • Loading branch information
ddomingues committed Dec 12, 2014
1 parent 9894b8e commit 0236589
Show file tree
Hide file tree
Showing 50 changed files with 894 additions and 380 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
.DS_Store
.idea
.project
.sass-cache
coverage
Gemfile.lock
tmp
nbproject
pkg
*.swp
spec/test_app
spec/dummy
1 change: 1 addition & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--color
7 changes: 7 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
source 'https://rubygems.org'

gem 'spree', github: 'spree/spree', branch: '2-2-stable'
# Provides basic authentication functionality for testing parts of your engine
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '2-2-stable'

gemspec
320 changes: 320 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,320 @@
GIT
remote: git://github.com/spree/spree.git
revision: accd271e961e14a095540ef8b2f47b955b538774
branch: 2-2-stable
specs:
spree (2.2.9.beta)
spree_api (= 2.2.9.beta)
spree_backend (= 2.2.9.beta)
spree_cmd (= 2.2.9.beta)
spree_core (= 2.2.9.beta)
spree_frontend (= 2.2.9.beta)
spree_sample (= 2.2.9.beta)
spree_api (2.2.9.beta)
rabl (= 0.9.3)
spree_core (= 2.2.9.beta)
versioncake (~> 1.2.0)
spree_backend (2.2.9.beta)
jquery-rails (~> 3.1.2)
jquery-ui-rails (~> 4.1.0)
select2-rails (~> 3.4.7)
spree_api (= 2.2.9.beta)
spree_core (= 2.2.9.beta)
spree_cmd (2.2.9.beta)
thor (~> 0.14)
spree_core (2.2.9.beta)
activemerchant (~> 1.43.1)
acts_as_list (= 0.3.0)
awesome_nested_set (~> 3.0.0.rc.3)
aws-sdk (= 1.27.0)
cancan (~> 1.6.10)
deface (~> 1.0.0)
ffaker (~> 1.16)
font-awesome-rails (~> 4.0)
friendly_id (~> 5.0.4)
highline (~> 1.6.18)
httparty (~> 0.11)
i18n (= 0.6.9)
json (~> 1.7)
kaminari (~> 0.15.0)
monetize
paperclip (~> 3.4.1)
paranoia (~> 2.0)
rails (~> 4.0.12)
ransack (~> 1.1.0)
state_machine (= 1.2.0)
stringex (~> 1.5.1)
truncate_html (= 0.9.2)
spree_frontend (2.2.9.beta)
canonical-rails (~> 0.0.4)
jquery-rails (~> 3.1.2)
spree_api (= 2.2.9.beta)
spree_core (= 2.2.9.beta)
stringex (~> 1.5.1)
spree_sample (2.2.9.beta)
spree_core (= 2.2.9.beta)

GIT
remote: git://github.com/spree/spree_auth_devise.git
revision: 01901766a2562026e2f3eb523a3f0f9bea8ae31e
branch: 2-2-stable
specs:
spree_auth_devise (2.2.0)
cancan (~> 1.6.10)
devise (~> 3.2.3)
devise-encryptable (= 0.1.2)
json
multi_json
spree_core (~> 2.2.0)

PATH
remote: .
specs:
spree_waiting_list (1.0.0)
haml (~> 4.0.6)
spree_core (~> 2.2.2)

GEM
remote: https://rubygems.org/
specs:
actionmailer (4.0.12)
actionpack (= 4.0.12)
mail (~> 2.5, >= 2.5.4)
actionpack (4.0.12)
activesupport (= 4.0.12)
builder (~> 3.1.0)
erubis (~> 2.7.0)
rack (~> 1.5.2)
rack-test (~> 0.6.2)
active_utils (2.2.3)
activesupport (>= 2.3.11)
i18n
activemerchant (1.43.3)
active_utils (~> 2.0, >= 2.0.1)
activesupport (>= 2.3.14, < 5.0.0)
builder (>= 2.1.2, < 4.0.0)
i18n (~> 0.5)
json (~> 1.7)
money (< 7.0.0)
nokogiri (~> 1.4)
activemodel (4.0.12)
activesupport (= 4.0.12)
builder (~> 3.1.0)
activerecord (4.0.12)
activemodel (= 4.0.12)
activerecord-deprecated_finders (~> 1.0.2)
activesupport (= 4.0.12)
arel (~> 4.0.0)
activerecord-deprecated_finders (1.0.3)
activesupport (4.0.12)
i18n (~> 0.6, >= 0.6.9)
minitest (~> 4.2)
multi_json (~> 1.3)
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
acts_as_list (0.3.0)
activerecord (>= 3.0)
arel (4.0.2)
awesome_nested_set (3.0.1)
activerecord (>= 4.0.0, < 5)
aws-sdk (1.27.0)
json (~> 1.4)
nokogiri (>= 1.4.4)
uuidtools (~> 2.1)
bcrypt (3.1.9)
builder (3.1.4)
cancan (1.6.10)
canonical-rails (0.0.7)
rails (>= 3.1, < 5.0)
capybara (2.4.4)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
childprocess (0.5.5)
ffi (~> 1.0, >= 1.0.11)
climate_control (0.0.3)
activesupport (>= 3.0)
cocaine (0.5.5)
climate_control (>= 0.0.3, < 1.0)
coffee-rails (4.1.0)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.3.0)
coffee-script-source
execjs
coffee-script-source (1.8.0)
colorize (0.7.3)
database_cleaner (1.3.0)
deface (1.0.1)
colorize (>= 0.5.8)
nokogiri (~> 1.6.0)
polyglot
rails (>= 3.1)
devise (3.2.4)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
thread_safe (~> 0.1)
warden (~> 1.2.3)
devise-encryptable (0.1.2)
devise (>= 2.1.0)
diff-lcs (1.2.5)
docile (1.1.5)
erubis (2.7.0)
execjs (2.2.2)
factory_girl (4.5.0)
activesupport (>= 3.0.0)
ffaker (1.25.0)
ffi (1.9.6)
font-awesome-rails (4.2.0.0)
railties (>= 3.2, < 5.0)
friendly_id (5.0.4)
activerecord (>= 4.0.0)
haml (4.0.6)
tilt
highline (1.6.21)
hike (1.2.3)
httparty (0.13.3)
json (~> 1.8)
multi_xml (>= 0.5.2)
i18n (0.6.9)
jquery-rails (3.1.2)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (4.1.2)
railties (>= 3.1.0)
json (1.8.1)
kaminari (0.15.1)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
mail (2.6.3)
mime-types (>= 1.16, < 3)
mime-types (2.4.3)
mini_portile (0.6.1)
minitest (4.7.5)
monetize (1.0.0)
money (~> 6.4.0)
money (6.4.0)
i18n (>= 0.6.4, <= 0.7.0.beta1)
multi_json (1.10.1)
multi_xml (0.5.5)
nokogiri (1.6.5)
mini_portile (~> 0.6.0)
orm_adapter (0.5.0)
paperclip (3.4.2)
activemodel (>= 3.0.0)
activerecord (>= 3.0.0)
activesupport (>= 3.0.0)
cocaine (~> 0.5.0)
mime-types
paranoia (2.0.4)
activerecord (~> 4.0)
polyamorous (0.6.4)
activerecord (>= 3.0)
polyglot (0.3.5)
rabl (0.9.3)
activesupport (>= 2.3.14)
rack (1.5.2)
rack-test (0.6.2)
rack (>= 1.0)
rails (4.0.12)
actionmailer (= 4.0.12)
actionpack (= 4.0.12)
activerecord (= 4.0.12)
activesupport (= 4.0.12)
bundler (>= 1.3.0, < 2.0)
railties (= 4.0.12)
sprockets-rails (~> 2.0)
railties (4.0.12)
actionpack (= 4.0.12)
activesupport (= 4.0.12)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.4.2)
ransack (1.1.0)
actionpack (>= 3.0)
activerecord (>= 3.0)
polyamorous (~> 0.6.0)
rspec-collection_matchers (1.1.2)
rspec-expectations (>= 2.99.0.beta1)
rspec-core (2.99.2)
rspec-expectations (2.99.2)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.99.2)
rspec-rails (2.99.0)
actionpack (>= 3.0)
activemodel (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-collection_matchers
rspec-core (~> 2.99.0)
rspec-expectations (~> 2.99.0)
rspec-mocks (~> 2.99.0)
rubyzip (1.1.6)
sass (3.2.19)
sass-rails (4.0.5)
railties (>= 4.0.0, < 5.0)
sass (~> 3.2.2)
sprockets (~> 2.8, < 3.0)
sprockets-rails (~> 2.0)
select2-rails (3.4.9)
sass-rails
thor (~> 0.14)
selenium-webdriver (2.44.0)
childprocess (~> 0.5)
multi_json (~> 1.0)
rubyzip (~> 1.0)
websocket (~> 1.0)
simplecov (0.9.1)
docile (~> 1.1.0)
multi_json (~> 1.0)
simplecov-html (~> 0.8.0)
simplecov-html (0.8.0)
sprockets (2.12.3)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.2.2)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
sqlite3 (1.3.10)
state_machine (1.2.0)
stringex (1.5.1)
thor (0.19.1)
thread_safe (0.3.4)
tilt (1.4.1)
truncate_html (0.9.2)
tzinfo (0.3.42)
uuidtools (2.1.5)
versioncake (1.2.0)
actionpack (>= 3.2)
activesupport (>= 3.2)
railties (>= 3.2)
tzinfo
warden (1.2.3)
rack (>= 1.0)
websocket (1.2.1)
xpath (2.0.0)
nokogiri (~> 1.3)

PLATFORMS
ruby

DEPENDENCIES
capybara (~> 2.1)
coffee-rails
database_cleaner
factory_girl (~> 4.4)
ffaker
rspec-rails (~> 2.13)
sass-rails
selenium-webdriver
simplecov
spree!
spree_auth_devise!
spree_waiting_list!
sqlite3
32 changes: 30 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,37 @@ Users and guests can request to be notified via email when a product/variant com


Installation
=======
------------

Instructions to go here
Add spree_waiting_list to your Gemfile:

```ruby
gem 'spree_waiting_list'
```

Bundle your dependencies and run the installation generator:

```shell
bundle
bundle exec rails g spree_waiting_list:install
```

Testing
-------

First bundle your dependencies, then run `rake`. `rake` will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using `rake test_app`.

```shell
bundle
bundle exec rake
```

When testing your applications integration with this extension you may use it's factories.
Simply add this require statement to your spec_helper:

```ruby
require 'spree_waiting_list/factories'
```


Copyright (c) 2011 Joshua Nussbaum, released under the New BSD License
Loading

0 comments on commit 0236589

Please sign in to comment.