Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bisscomm/spree_refinery_resources
Attach Refinery::Resource files to a Spree::Product
https://github.com/bisscomm/spree_refinery_resources
Last synced: 3 months ago
JSON representation
Attach Refinery::Resource files to a Spree::Product
- Host: GitHub
- URL: https://github.com/bisscomm/spree_refinery_resources
- Owner: bisscomm
- Created: 2015-08-06T19:14:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-16T20:05:38.000Z (over 9 years ago)
- Last Synced: 2024-08-03T18:13:13.855Z (7 months ago)
- Language: Ruby
- Homepage:
- Size: 156 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-refinerycms - spree_refinery_resources - Attach resources (files) to a Spree::Product ([Spree e-commerce](https://github.com/spree/spree) + Refinery extensions)
README
Spree Refinery Resources
======================[![Build Status](https://travis-ci.org/bisscomm/spree_refinery_resources.svg?branch=master)](https://travis-ci.org/refinery/refinerycms) [![Code Climate](https://codeclimate.com/github/bisscomm/spree_refinery_resources/badges/gpa.svg)](https://codeclimate.com/github/bisscomm/spree_refinery_resources) [![Test Coverage](https://codeclimate.com/github/bisscomm/spree_refinery_resources/badges/coverage.svg)](https://codeclimate.com/github/bisscomm/spree_refinery_resources/coverage)
This extension add the ability to attach `Refinery::Resource` files to a `Spree::Product`.
Installation
------------Add spree_refinery_resources to your Gemfile:
```ruby
gem 'spree_refinery_resources'
```Bundle your dependencies and run the installation generator:
```shell
bundle
bundle exec rails g spree_refinery_resources: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_refinery_resources/factories'
```Copyright (c) 2015 Bissonnette Communications Impact, released under the New BSD License