Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: solidusio/solidus_support
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.1
Choose a base ref
...
head repository: solidusio/solidus_support
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Loading
52 changes: 39 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -8,28 +8,54 @@ orbs:
solidusio_extensions: solidusio/extensions@volatile

jobs:
run-specs-with-postgres:
executor: solidusio_extensions/postgres
run-specs:
parameters:
solidus:
type: string
default: main
db:
type: string
default: "postgres"
ruby:
type: string
default: "3.2"
executor:
name: solidusio_extensions/<< parameters.db >>
ruby_version: << parameters.ruby >>
steps:
- solidusio_extensions/run-tests
run-specs-with-mysql:
executor: solidusio_extensions/mysql
steps:
- solidusio_extensions/run-tests
- checkout
- solidusio_extensions/run-tests-solidus-<< parameters.solidus >>

workflows:
"Run specs on supported Solidus versions":
jobs:
- run-specs-with-postgres
- run-specs-with-mysql
"Weekly run specs against master":
- run-specs:
name: &name "run-specs-solidus-<< matrix.solidus >>-ruby-<< matrix.ruby >>-db-<< matrix.db >>"
matrix:
parameters: { solidus: ["main"], ruby: ["3.2"], db: ["postgres"] }
- run-specs:
name: *name
matrix:
parameters: { solidus: ["current"], ruby: ["3.1"], db: ["mysql"] }
- run-specs:
name: *name
matrix:
parameters: { solidus: ["older"], ruby: ["3.0"], db: ["sqlite"] }

"Weekly run specs against main":
triggers:
- schedule:
cron: "0 0 * * 4" # every Thursday
filters:
branches:
only:
- master
- main
jobs:
- run-specs-with-postgres
- run-specs-with-mysql
- run-specs:
name: *name
matrix:
parameters: { solidus: ["main"], ruby: ["3.2"], db: ["postgres"] }
- run-specs:
name: *name
matrix:
parameters: { solidus: ["current"], ruby: ["3.1"], db: ["mysql"] }
18 changes: 1 addition & 17 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
_extends: .github
113 changes: 1 addition & 112 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,114 +1,3 @@
# Changelog

## [v0.5.0](https://github.com/solidusio/solidus_support/tree/v0.5.0) (2020-02-18)

[Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.4.1...v0.5.0)

**Merged pull requests:**

- Load Solidus engine extension files automatically [\#42](https://github.com/solidusio/solidus_support/pull/42) ([aldesantis](https://github.com/aldesantis))
- Deprecate SolidusSupport.solidus\_gem\_version [\#37](https://github.com/solidusio/solidus_support/pull/37) ([kennyadsl](https://github.com/kennyadsl))

## [v0.4.1](https://github.com/solidusio/solidus_support/tree/v0.4.1) (2020-01-16)

[Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.4.0...v0.4.1)

**Closed issues:**

- Should use require\_dependency instead of require/load [\#34](https://github.com/solidusio/solidus_support/issues/34)
- Add a LICENSE [\#20](https://github.com/solidusio/solidus_support/issues/20)

**Merged pull requests:**

- Update solidus\_dev\_support [\#41](https://github.com/solidusio/solidus_support/pull/41) ([aldesantis](https://github.com/aldesantis))
- Replace manual cache checks w/ require\_dependency [\#39](https://github.com/solidusio/solidus_support/pull/39) ([elia](https://github.com/elia))
- Fixes isse when zeitwerk is not enabled [\#38](https://github.com/solidusio/solidus_support/pull/38) ([softr8](https://github.com/softr8))
- Spring cleaning [\#33](https://github.com/solidusio/solidus_support/pull/33) ([aldesantis](https://github.com/aldesantis))

## [v0.4.0](https://github.com/solidusio/solidus_support/tree/v0.4.0) (2019-12-16)

[Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.3.2...v0.4.0)

**Closed issues:**

- Configure CircleCI [\#30](https://github.com/solidusio/solidus_support/issues/30)
- Models::SolidusGlobalize::Spree::TaxonomyDecorator \(NameError\) [\#26](https://github.com/solidusio/solidus_support/issues/26)

**Merged pull requests:**

- Fix issues with test runs [\#32](https://github.com/solidusio/solidus_support/pull/32) ([aldesantis](https://github.com/aldesantis))
- Add CircleCI configuration [\#31](https://github.com/solidusio/solidus_support/pull/31) ([aldesantis](https://github.com/aldesantis))
- Introduce solidus\_extension\_dev\_tools [\#29](https://github.com/solidusio/solidus_support/pull/29) ([aldesantis](https://github.com/aldesantis))
- Remove support for testing and extensions [\#28](https://github.com/solidusio/solidus_support/pull/28) ([MinasMazar](https://github.com/MinasMazar))
- Add SolidusSupport::EngineExtension::Decorators to load decorators [\#27](https://github.com/solidusio/solidus_support/pull/27) ([kennyadsl](https://github.com/kennyadsl))
- Add support for Codecov [\#24](https://github.com/solidusio/solidus_support/pull/24) ([aldesantis](https://github.com/aldesantis))
- Add `capybara-screenshot` dependency [\#23](https://github.com/solidusio/solidus_support/pull/23) ([spaghetticode](https://github.com/spaghetticode))

## [v0.3.2](https://github.com/solidusio/solidus_support/tree/v0.3.2) (2019-08-08)

[Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.2.1...v0.3.2)

**Merged pull requests:**

- Do not reset spree preferences starting from v2.9 [\#22](https://github.com/solidusio/solidus_support/pull/22) ([kennyadsl](https://github.com/kennyadsl))
- Update Travis config [\#19](https://github.com/solidusio/solidus_support/pull/19) ([aitbw](https://github.com/aitbw))
- Override Capybara JS driver via `CAPYBARA\_DRIVER` ENV variable [\#18](https://github.com/solidusio/solidus_support/pull/18) ([spaghetticode](https://github.com/spaghetticode))
- Migrate from Poltergeist to Headless Chrome [\#16](https://github.com/solidusio/solidus_support/pull/16) ([aitbw](https://github.com/aitbw))
- Remove running rubocop on rake task [\#14](https://github.com/solidusio/solidus_support/pull/14) ([kennyadsl](https://github.com/kennyadsl))
- Cleanup extension [\#13](https://github.com/solidusio/solidus_support/pull/13) ([kennyadsl](https://github.com/kennyadsl))
- Fix how we compare gem versions to determine new gateway code usage [\#12](https://github.com/solidusio/solidus_support/pull/12) ([kennyadsl](https://github.com/kennyadsl))
- Add payment method parent class [\#8](https://github.com/solidusio/solidus_support/pull/8) ([tvdeyen](https://github.com/tvdeyen))
- Improve gem documentation [\#7](https://github.com/solidusio/solidus_support/pull/7) ([kennyadsl](https://github.com/kennyadsl))

## [v0.2.1](https://github.com/solidusio/solidus_support/tree/v0.2.1) (2018-02-22)

[Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.2.0...v0.2.1)

**Merged pull requests:**

- Ensure database cleaning is very last in each spec [\#9](https://github.com/solidusio/solidus_support/pull/9) ([jhawthorn](https://github.com/jhawthorn))

## [v0.2.0](https://github.com/solidusio/solidus_support/tree/v0.2.0) (2017-10-25)

[Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.1.5...v0.2.0)

**Merged pull requests:**

- Rename FactoryBot [\#6](https://github.com/solidusio/solidus_support/pull/6) ([tvdeyen](https://github.com/tvdeyen))
- Remove unused files [\#5](https://github.com/solidusio/solidus_support/pull/5) ([tvdeyen](https://github.com/tvdeyen))

## [v0.1.5](https://github.com/solidusio/solidus_support/tree/v0.1.5) (2017-07-27)

[Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.1.4...v0.1.5)

## [v0.1.4](https://github.com/solidusio/solidus_support/tree/v0.1.4) (2017-07-26)

[Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.1.3...v0.1.4)

## [v0.1.3](https://github.com/solidusio/solidus_support/tree/v0.1.3) (2017-07-26)

[Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.1.2...v0.1.3)

**Merged pull requests:**

- Add a basic spec\_helper for extensions to include [\#2](https://github.com/solidusio/solidus_support/pull/2) ([jhawthorn](https://github.com/jhawthorn))

## [v0.1.2](https://github.com/solidusio/solidus_support/tree/v0.1.2) (2017-07-24)

[Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.1.1...v0.1.2)

**Merged pull requests:**

- Add SolidusSupport.payment\_source\_parent\_class [\#1](https://github.com/solidusio/solidus_support/pull/1) ([jordan-brough](https://github.com/jordan-brough))

## [v0.1.1](https://github.com/solidusio/solidus_support/tree/v0.1.1) (2017-05-03)

[Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.1.0...v0.1.1)

## [v0.1.0](https://github.com/solidusio/solidus_support/tree/v0.1.0) (2017-03-21)

[Full Changelog](https://github.com/solidusio/solidus_support/compare/b34d603b2b603e8799ce801913b577322bd39bdc...v0.1.0)



\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
See https://github.com/solidusio/solidus_support/releases or [OLD_CHANGELOG.md](OLD_CHANGELOG.md) for older versions.
16 changes: 14 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

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

case ENV['DB']
@@ -12,7 +12,19 @@ when 'mysql'
when 'postgresql'
gem 'pg'
else
gem 'sqlite3'
gem 'sqlite3', '~> 1.4'
end

gemspec

# There is an issue with Sprockets 4 not accepting a custom path for
# the assets manifest, which doesn't play well with in-memory dummy
# apps such as the one we use in this gem.

# A fix was provided for sprockets-rails[1] but it was not accepted
# yet.

# [1]: rails/sprockets-rails#446
#
# Please do not remove this line until we have a solution.
gem 'sprockets', '~> 3'
Loading