spree_recently_sold_products 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +15 -20
- data/spree_recently_sold_products.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MGQ0ZThmNzhlZDlkODFjNDRkYjM3MWVkNWJmYWUyNGIzMTQzYTRhNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODczMmU1MGE4M2ZmNTVjMGFlOTY1NzIyN2RkYTlmM2M3YmFiZDJmMQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NjNjYjA1YjVjYmVhOGEyNDYwOTRkOGM0OGQyZWFlOGM0ZjUzZWU2MTY1YTA3
|
10
|
+
ODA3MzY4NWM1N2M4YTI1NzY5MWJhNThmNzg4NGUxMWZlODQ4MjIyOWVmY2Q5
|
11
|
+
OTE1NWJkOGUwOTI2YmNhZmUyMDg2NzZmNmQwNzg3NTU0ZDVjZjc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZWE4YzlhMjVhNzBmZjY2YmQ0ODA4OTVlNDcxY2NlZTczMGRmNzA1MjI0Njhi
|
14
|
+
ZTRkYTAxYjFlZjgxOWQ0YWM3NjczOThjNWQ4MmQ5ZWY0YmJlY2E0ZGJmYjc2
|
15
|
+
MmZjZjAxZTY2OWU1NDgyZTJjOWVjOGIzYzEwZDE2NjdjMTkyNGU=
|
data/README.md
CHANGED
@@ -3,6 +3,11 @@ Spree Recently Sold Products
|
|
3
3
|
|
4
4
|
Compatible with spree >= 1.3.3
|
5
5
|
|
6
|
+
This extension displays a list of recently sold products on the home
|
7
|
+
page.
|
8
|
+
Currently displaying 10 recently sold products.
|
9
|
+
|
10
|
+
|
6
11
|
Installation
|
7
12
|
------------
|
8
13
|
|
@@ -12,29 +17,19 @@ Add spree_recently_sold_products to your Gemfile:
|
|
12
17
|
gem 'spree_recently_sold_products'
|
13
18
|
```
|
14
19
|
|
15
|
-
|
20
|
+
Install your dependencies
|
16
21
|
|
17
22
|
```shell
|
18
|
-
bundle
|
19
|
-
bundle exec rails g spree_recently_sold_products:install
|
23
|
+
bundle install
|
20
24
|
```
|
21
25
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
+
Customization
|
27
|
+
-------------
|
28
|
+
By default the recently sold products are displayed at the bottom. You
|
29
|
+
can change this by overriding the view in `app/overrides/spree/add_recently_sold_product.rb`
|
26
30
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
bundle exec rspec spec
|
31
|
-
```
|
32
|
-
|
33
|
-
When testing your applications integration with this extension you may use it's factories.
|
34
|
-
Simply add this require statement to your spec_helper:
|
35
|
-
|
36
|
-
```ruby
|
37
|
-
require 'spree_recently_sold_products/factories'
|
38
|
-
```
|
31
|
+
To Do
|
32
|
+
-------
|
33
|
+
1. Configuration for number of products to display.
|
39
34
|
|
40
|
-
Copyright (c) 2014 [Cuberoot Software
|
35
|
+
Copyright (c) 2014 [http://www.cuberoot.in](Cuberoot Software), released under the New BSD License
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.platform = Gem::Platform::RUBY
|
4
4
|
s.name = 'spree_recently_sold_products'
|
5
|
-
s.version = '0.
|
5
|
+
s.version = '0.2'
|
6
6
|
s.summary = 'Add gem summary here'
|
7
7
|
s.description = 'Add gem description here'
|
8
8
|
s.required_ruby_version = '>= 1.9.3'
|