Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

Add support for Solidus 2.0 and Rails 5 #12

Merged
merged 1 commit into from
Aug 24, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,20 @@ sudo: false
cache: bundler
language: ruby
rvm:
- 2.3.0
- 2.3.1
env:
matrix:
- SOLIDUS_BRANCH=v1.0
- SOLIDUS_BRANCH=v1.1
- SOLIDUS_BRANCH=v1.2
- SOLIDUS_BRANCH=v1.3
- SOLIDUS_BRANCH=master
- SOLIDUS_BRANCH=v1.0 DB=postgres
- SOLIDUS_BRANCH=v1.1 DB=postgres
- SOLIDUS_BRANCH=v1.2 DB=postgres
- SOLIDUS_BRANCH=v1.3 DB=postgres
- SOLIDUS_BRANCH=v1.4 DB=postgres
- SOLIDUS_BRANCH=v2.0 DB=postgres
- SOLIDUS_BRANCH=master DB=postgres
- SOLIDUS_BRANCH=v1.0 DB=mysql
- SOLIDUS_BRANCH=v1.1 DB=mysql
- SOLIDUS_BRANCH=v1.2 DB=mysql
- SOLIDUS_BRANCH=v1.3 DB=mysql
- SOLIDUS_BRANCH=v1.4 DB=mysql
- SOLIDUS_BRANCH=v2.0 DB=mysql
- SOLIDUS_BRANCH=master DB=mysql
15 changes: 11 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
source 'http://rubygems.org'
source "https://rubygems.org"

branch = ENV.fetch('SOLIDUS_BRANCH', 'master')
gem 'solidus', github: 'solidusio/solidus', branch: branch
gem "solidus", github: "solidusio/solidus", branch: branch
gem 'solidus_auth_devise'

if branch == 'master' || branch >= "v2.0"
gem "rails-controller-testing", group: :test
end

gem 'pg'
gem 'mysql2'

# Provides basic authentication functionality for testing parts of your engine
group :development, :test do
gem 'solidus_auth_devise'
gem "pry-rails"
end

gemspec
3 changes: 1 addition & 2 deletions solidus_product_feed.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ Gem::Specification.new do |s|
s.require_path = 'lib'
s.requirements << 'none'

s.add_runtime_dependency 'solidus_core', ["~> 1.0"]
s.add_runtime_dependency 'solidus_backend', ["~> 1.0"]
s.add_runtime_dependency 'solidus_backend', [">= 1.0", "< 3"]

s.add_development_dependency 'rspec-rails', '~> 3.4'
s.add_development_dependency 'rubocop', '~> 0.39.0'
Expand Down