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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDRhNDUzYmIxNGU3NDhiZDM5MjI3M2M2ZmRkMjBiZTY2NTgxYzk4MQ==
4
+ MGQ0ZThmNzhlZDlkODFjNDRkYjM3MWVkNWJmYWUyNGIzMTQzYTRhNQ==
5
5
  data.tar.gz: !binary |-
6
- MGM2NmUwODU5OWIzNzk0YTdkMjVmNzdiNjkzYmQ4MWM2ODdjMzk2Mg==
6
+ ODczMmU1MGE4M2ZmNTVjMGFlOTY1NzIyN2RkYTlmM2M3YmFiZDJmMQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YzYxZjU1M2U0M2EwMGIxMWIyZTU3ZmVmZTJkNGJjNDk1MTI1NjljZTdiZGUw
10
- OWE3N2RkMTYxOWM4Mjk3ZmJiNTM5ZDgzNDc1MGY3YjYyZWU0MWE1NTc1ZjAw
11
- ZmIxZmRlMzYxYmQ1NzNhMzZiYjE0NjJkOWFhMDhlYzBiMGFkZGY=
9
+ NjNjYjA1YjVjYmVhOGEyNDYwOTRkOGM0OGQyZWFlOGM0ZjUzZWU2MTY1YTA3
10
+ ODA3MzY4NWM1N2M4YTI1NzY5MWJhNThmNzg4NGUxMWZlODQ4MjIyOWVmY2Q5
11
+ OTE1NWJkOGUwOTI2YmNhZmUyMDg2NzZmNmQwNzg3NTU0ZDVjZjc=
12
12
  data.tar.gz: !binary |-
13
- Mzg0OWJmOTE4ZmQ5NDAzNmU1MWRmYTU2MjVkODUxNDUyOGM5M2UxZjlkYjEx
14
- NzNhNmI3ZWRlNzA1NDJkZDIxMzEzYjg5NmJjYmViMzA4NmI0YThkYzgxYjcy
15
- YWY2NjQxNmUxODFlNWFmYTk2YWIyNzNmNzE3YzQ1ZjljYzQ3MmY=
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
- Bundle your dependencies and run the installation generator:
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
- Testing
23
- -------
24
-
25
- Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.
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
- ```shell
28
- bundle
29
- bundle exec rake test_app
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], released under the New BSD License
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.1'
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'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_recently_sold_products
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: '0.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - deepalic