-
-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix-encoded-image-opts-with-indifferent-ac…
…cess
- Loading branch information
Showing
469 changed files
with
7,310 additions
and
6,063 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
defaults |
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 |
---|---|---|
|
@@ -41,7 +41,7 @@ jobs: | |
MYSQL_PASSWORD: password | ||
MYSQL_DATABASE: alchemy_cms_dummy_test | ||
MYSQL_ROOT_PASSWORD: password | ||
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3 | ||
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=5 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Ruby | ||
|
@@ -85,11 +85,21 @@ jobs: | |
timeout-minutes: 10 | ||
run: | | ||
bundle install --jobs 4 --retry 3 --path vendor/bundle | ||
- name: Restore node modules cache | ||
id: yarn-cache | ||
uses: actions/cache@preview | ||
with: | ||
path: node_modules | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/package.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Install yarn | ||
run: yarn install | ||
- name: Prepare database | ||
run: | | ||
bundle exec rake alchemy:spec:prepare | ||
- name: Run tests & publish code coverage | ||
uses: paambaati/[email protected].5 | ||
uses: paambaati/[email protected].7 | ||
env: | ||
CC_TEST_REPORTER_ID: bca4349e32f97919210ac8a450b04904b90683fcdd57d65a22c0f5065482bc22 | ||
with: | ||
|
@@ -99,3 +109,28 @@ jobs: | |
with: | ||
name: Screenshots | ||
path: spec/dummy/tmp/screenshots | ||
Jest: | ||
runs-on: ubuntu-latest | ||
env: | ||
NODE_ENV: test | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Restore node modules cache | ||
uses: actions/cache@preview | ||
with: | ||
path: node_modules | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/package.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Install yarn | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"semi": false, | ||
"trailingComma": "none", | ||
"vueIndentScriptAndStyle": true, | ||
"arrowParens": "always" | ||
} |
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,33 +1,34 @@ | ||
# frozen_string_literal: true | ||
source 'https://rubygems.org' | ||
source "https://rubygems.org" | ||
|
||
gemspec | ||
|
||
rails_version = ENV.fetch('RAILS_VERSION', 6.0).to_f | ||
gem 'rails', "~> #{rails_version}.0" | ||
rails_version = ENV.fetch("RAILS_VERSION", 6.0).to_f | ||
gem "rails", "~> #{rails_version}.0" | ||
|
||
if ENV['DB'].nil? || ENV['DB'] == 'sqlite' | ||
gem 'sqlite3', rails_version > 5.0 ? '~> 1.4.1' : '~> 1.3.6' | ||
if ENV["DB"].nil? || ENV["DB"] == "sqlite" | ||
gem "sqlite3", "~> 1.4.1" | ||
end | ||
gem 'mysql2', '~> 0.5.1' if ENV['DB'] == 'mysql' | ||
gem 'pg', '~> 1.0' if ENV['DB'] == 'postgresql' | ||
gem "mysql2", "~> 0.5.1" if ENV["DB"] == "mysql" | ||
gem "pg", "~> 1.0" if ENV["DB"] == "postgresql" | ||
|
||
group :development, :test do | ||
if ENV['GITHUB_ACTIONS'] | ||
gem 'sassc', '~> 2.1.0' # https://github.com/sass/sassc-ruby/issues/146 | ||
if ENV["GITHUB_ACTIONS"] | ||
gem "sassc", "~> 2.3.0" # https://github.com/sass/sassc-ruby/issues/146 | ||
else | ||
gem 'launchy' | ||
gem 'annotate' | ||
gem 'bumpy' | ||
gem 'yard' | ||
gem 'redcarpet' | ||
gem 'pry-byebug' | ||
gem 'rubocop', '~> 0.80.1', require: false | ||
gem 'listen' | ||
gem 'localeapp', '~> 3.0', require: false | ||
gem 'dotenv', '~> 2.2' | ||
gem 'github_fast_changelog', require: false | ||
gem 'active_record_query_trace', require: false | ||
gem 'rack-mini-profiler', require: false | ||
gem "launchy" | ||
gem "annotate" | ||
gem "bumpy" | ||
gem "yard" | ||
gem "redcarpet" | ||
gem "pry-byebug" | ||
gem "rubocop", "~> 0.82.0", require: false | ||
gem "listen" | ||
gem "localeapp", "~> 3.0", require: false | ||
gem "dotenv", "~> 2.2" | ||
gem "github_fast_changelog", require: false | ||
gem "active_record_query_trace", require: false | ||
gem "rack-mini-profiler", require: false | ||
gem "rufo", require: false | ||
end | ||
end |
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 |
---|---|---|
|
@@ -8,10 +8,10 @@ Gem::Specification.new do |gem| | |
gem.version = Alchemy::VERSION | ||
gem.platform = Gem::Platform::RUBY | ||
gem.authors = ['Thomas von Deyen', 'Robin Boening', 'Marc Schettke', 'Hendrik Mans', 'Carsten Fregin', 'Martin Meyerhoff'] | ||
gem.email = ['[email protected]'] | ||
gem.email = ['[email protected]'] | ||
gem.homepage = 'https://alchemy-cms.com' | ||
gem.summary = 'A powerful, userfriendly and flexible CMS for Rails 5' | ||
gem.description = 'Alchemy is a powerful, userfriendly and flexible Rails 5 CMS.' | ||
gem.summary = 'A powerful, userfriendly and flexible CMS for Rails' | ||
gem.description = 'Alchemy is a powerful, userfriendly and flexible Rails CMS.' | ||
gem.requirements << 'ImageMagick (libmagick), v6.6 or greater.' | ||
gem.required_ruby_version = '>= 2.3.0' | ||
gem.license = 'BSD New' | ||
|
@@ -32,7 +32,7 @@ Gem::Specification.new do |gem| | |
gem.add_runtime_dependency 'kaminari', ['~> 1.1'] | ||
gem.add_runtime_dependency 'originator', ['~> 3.1'] | ||
gem.add_runtime_dependency 'non-stupid-digest-assets', ['~> 1.0.8'] | ||
gem.add_runtime_dependency 'rails', ['>= 5.0.0', '< 6.1'] | ||
gem.add_runtime_dependency 'rails', ['>= 5.2.0', '< 6.1'] | ||
gem.add_runtime_dependency 'ransack', ['>= 1.8', '< 3.0'] | ||
gem.add_runtime_dependency 'request_store', ['~> 1.2'] | ||
gem.add_runtime_dependency 'responders', ['>= 2.0', '< 4.0'] | ||
|
@@ -41,6 +41,7 @@ Gem::Specification.new do |gem| | |
gem.add_runtime_dependency 'simple_form', ['>= 4.0', '< 6'] | ||
gem.add_runtime_dependency 'sprockets', ['>= 3.0', '< 5'] | ||
gem.add_runtime_dependency 'turbolinks', ['>= 2.5'] | ||
gem.add_runtime_dependency 'webpacker', ['>= 4.0', '< 6'] | ||
|
||
gem.add_development_dependency 'capybara', ['~> 3.0'] | ||
gem.add_development_dependency 'capybara-screenshot', ['~> 1.0'] | ||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
app/assets/javascripts/alchemy/alchemy.translations.js.coffee
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.