forked from AlchemyCMS/alchemy_cms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '5.0-stable' of github.com:AlchemyCMS/alchemy_cms into a…
…ctive-storage-integration * '5.0-stable' of github.com:AlchemyCMS/alchemy_cms: (34 commits) Bump version to v5.0.10 Add crop_resize Dragonfly processor make the admin error tracker customizable Bump npm package Bump version to v5.0.9 Adjust tinymce skin assets urls again Bump npm package version to v5.0.8 Bump version to v5.0.8 Set stampable user_class_name without root identifier Use relative path for tinymce font-face Bump version to v5.0.7 Make sure to install correct npm package Bump version to v5.0.6 Use self_and_ancestors in page_active? helper Bump version to v5.0.5 Bump NPM package version to 5.0.4 Backport AlchemyCMS#2115 to v5.0 Fixes i18n Jest specs expose translations in global Alchemy js object, AlchemyCMS#2113 Fixate Dragonfly to < 1.4 ...
- Loading branch information
Showing
48 changed files
with
442 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,8 @@ jobs: | |
- '5.2' | ||
- '6.0' | ||
ruby: | ||
- '2.5.x' | ||
- '2.6.x' | ||
- '2.7.x' | ||
database: | ||
- mysql | ||
- postgresql | ||
|
@@ -43,14 +43,14 @@ jobs: | |
MYSQL_ROOT_PASSWORD: password | ||
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=5 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v2.3.4 | ||
- name: Set up Ruby | ||
uses: actions/setup-ruby@v1 | ||
uses: actions/setup-ruby@v1.1.2 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
- name: Restore apt cache | ||
id: apt-cache | ||
uses: actions/cache@preview | ||
uses: actions/cache@v2.1.3 | ||
with: | ||
path: /home/runner/apt/cache | ||
key: ${{ runner.os }}-apt-${{ matrix.database }} | ||
|
@@ -75,7 +75,7 @@ jobs: | |
gem install bundler | ||
- name: Restore Ruby Gems cache | ||
id: cache | ||
uses: actions/cache@preview | ||
uses: actions/cache@v2.1.3 | ||
with: | ||
path: vendor/bundle | ||
key: ${{ runner.os }}-bundle-${{ matrix.ruby }}-${{ matrix.rails }}-${{ matrix.database }}-${{ hashFiles('**/Gemfile') }} | ||
|
@@ -87,7 +87,7 @@ jobs: | |
bundle install --jobs 4 --retry 3 --path vendor/bundle | ||
- name: Restore node modules cache | ||
id: yarn-cache | ||
uses: actions/cache@preview | ||
uses: actions/cache@v2.1.3 | ||
with: | ||
path: spec/dummy/node_modules | ||
key: ${{ runner.os }}-yarn-dummy-${{ hashFiles('./package.json') }} | ||
|
@@ -97,12 +97,12 @@ jobs: | |
run: | | ||
bundle exec rake alchemy:spec:prepare | ||
- name: Run tests & publish code coverage | ||
uses: paambaati/codeclimate-action@v2.5.7 | ||
uses: paambaati/codeclimate-action@v2.7.5 | ||
env: | ||
CC_TEST_REPORTER_ID: bca4349e32f97919210ac8a450b04904b90683fcdd57d65a22c0f5065482bc22 | ||
with: | ||
coverageCommand: bundle exec rspec | ||
- uses: actions/upload-artifact@master | ||
- uses: actions/upload-artifact@main | ||
if: failure() | ||
with: | ||
name: Screenshots | ||
|
@@ -112,9 +112,9 @@ jobs: | |
env: | ||
NODE_ENV: test | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v2.3.4 | ||
- name: Restore node modules cache | ||
uses: actions/cache@preview | ||
uses: actions/cache@v2.1.3 | ||
with: | ||
path: node_modules | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('./package.json') }} | ||
|
@@ -124,11 +124,3 @@ jobs: | |
run: yarn install | ||
- name: Run jest | ||
run: yarn jest | ||
- name: Run jest & publish code coverage | ||
uses: paambaati/[email protected] | ||
env: | ||
CC_TEST_REPORTER_ID: bca4349e32f97919210ac8a450b04904b90683fcdd57d65a22c0f5065482bc22 | ||
with: | ||
coverageLocations: | ||
./coverage/lcov.info:lcov | ||
coverageCommand: yarn jest --collectCoverage --coverageDirectory=coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% content = local_assigns[:content] || local_assigns[:essence_picture_view] %> | ||
<%= Alchemy::EssencePictureView.new( | ||
content, | ||
local_assigns[:options], | ||
local_assigns[:html_options] | ||
).render %> | ||
local_assigns[:options] || {}, | ||
local_assigns[:html_options] || {} | ||
).render %> |
Oops, something went wrong.