-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 duplicate
- Loading branch information
Showing
30 changed files
with
311 additions
and
230 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 @@ | ||
github: [parndt, bricesanchez] |
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,53 @@ | ||
name: CI | ||
|
||
on: [push] | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
database: [ mysql, postgresql ] | ||
extension: [ core, dragonfly, images, pages, resources ] | ||
ruby: [ "2.7.x", "2.6.x" ] | ||
fail-fast: false | ||
max-parallel: 10 | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
BUNDLE_JOBS: 4 | ||
BUNDLE_PATH: vendor/bundle | ||
CI: true | ||
DB: ${{ matrix.database }} | ||
MYSQL_PASSWORD: root | ||
PGHOST: localhost | ||
PGUSER: postgres | ||
RAILS_ENV: test | ||
|
||
name: ${{ matrix.extension }} ${{ matrix.ruby }} ${{ matrix.database }} | ||
steps: | ||
- uses: actions/setup-ruby@v1.0.0 | ||
with: | ||
version: ${{ matrix.ruby }} | ||
- uses: actions/checkout@v2 | ||
- run: sudo apt-get update && sudo apt-get install libpq-dev libmysqlclient-dev libsqlite3-dev -y | ||
- run: sudo systemctl start mysql.service | ||
- id: cache-bundler | ||
uses: actions/cache@v2 | ||
with: | ||
path: vendor/bundle | ||
key: ${{ matrix.ruby }}-gem-${{ matrix.database }}-${{ hashFiles('Gemfile') }} | ||
- run: bundle install --without development --path vendor/bundle | ||
- run: bin/rake refinery:testing:dummy_app | ||
env: | ||
PGPORT: ${{ job.services.postgres.ports[5432] }} | ||
|
||
- run: bin/rspec ${{ matrix.extension }}/spec | ||
env: | ||
PGPORT: ${{ job.services.postgres.ports[5432] }} | ||
RETRY_COUNT: 3 | ||
|
||
services: | ||
postgres: | ||
image: postgres:11.5 | ||
ports: ["5432:5432"] | ||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 |
This file was deleted.
Oops, something went wrong.
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,25 +1,25 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIEMjCCApqgAwIBAgIBATANBgkqhkiG9w0BAQsFADAjMSEwHwYDVQQDDBhnZW1z | ||
L0RDPXAvREM9YXJuZHQvREM9aW8wHhcNMTgxMDI5MDk0MjQ5WhcNMTkxMDI5MDk0 | ||
MjQ5WjAjMSEwHwYDVQQDDBhnZW1zL0RDPXAvREM9YXJuZHQvREM9aW8wggGiMA0G | ||
CSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQClF0/voptshDoTILFgUjvkViCOPe3W | ||
uuDwfSep+gc5AI83MmrmonN3L/dwm60D3HhZOtVt9el1n5E5b5aPzJngjdF9sFPX | ||
OIx3UlYde+WkzbG4iR2U0/8dMZ6DYuz6ijgPEpU1UKodUJVqEmt3Vc+rzDET9zoK | ||
TkIALNbSaV2G32ZDhoabeQJoJ0ce/2vjDqhM7awG7CYGRqRq4c0NOKKm0bGh+LOo | ||
vQNDvRjXPs0yp5i3keCgf6IcQ26nluqILYGPjuTExJj+k6AKfq6SPWDVtzSqdfiH | ||
STs/W85rwrKdLfEzfXxNsHvJ6Ryx+0A0hsNbfTTOhp4dkYm/6fyOejp7Of7qWRw/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SMdsyWkZ7V | ||
9OmLt2rg75Sct6h2220lO5ySqYtqAXuOMBDGv5L0zLalx1g8LACA7uILTKVWh8B8 | ||
Hsej0MQ3drCB1eA4c9OXdCUQJnY2aLTq3uNvTbZvoTgWK55eq3KLBJ4zzoKZ4tBX | ||
/HIFI/fEwYlI1Ji3oikUrHkc4rWgaQ== | ||
-----END CERTIFICATE----- |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,43 +1,43 @@ | ||
# Encoding: UTF-8 | ||
require File.expand_path('../../core/lib/refinery/version', __FILE__) | ||
# frozen_string_literal: true | ||
|
||
require File.expand_path('../core/lib/refinery/version', __dir__) | ||
|
||
version = Refinery::Version.to_s | ||
rails_version = ['>= 6.0.0', '< 7'] | ||
|
||
Gem::Specification.new do |s| | ||
s.platform = Gem::Platform::RUBY | ||
s.name = %q{refinerycms-core} | ||
s.name = 'refinerycms-core' | ||
s.version = version | ||
s.summary = %q{Core extension for Refinery CMS} | ||
s.description = %q{The core of Refinery CMS. This handles the common functionality and is required by most extensions} | ||
s.email = %q{refinerycms@p.arndt.io} | ||
s.homepage = %q{https://www.refinerycms.com} | ||
s.rubyforge_project = %q{refinerycms} | ||
s.authors = ['Philip Arndt', 'Uģis Ozols', 'Rob Yurkowski'] | ||
s.license = %q{MIT} | ||
s.require_paths = %w(lib) | ||
s.summary = 'Core extension for Refinery CMS' | ||
s.description = 'The core of Refinery CMS. This handles the common functionality and is required by most extensions' | ||
s.email = 'gems@p.arndt.io' | ||
s.homepage = 'https://www.refinerycms.com' | ||
s.authors = ['Philip Arndt', 'David Jones', 'Uģis Ozols', 'Brice Sanchez'] | ||
s.license = 'MIT' | ||
s.require_paths = %w[lib] | ||
|
||
s.files = `git ls-files`.split("\n") | ||
s.test_files = `git ls-files -- spec/*`.split("\n") | ||
|
||
s.required_ruby_version = Refinery::Version.required_ruby_version | ||
|
||
s.add_dependency 'refinerycms-i18n', ['~> 5.0', '>= 5.0.1'] | ||
s.add_dependency 'railties', rails_version | ||
s.add_dependency 'activerecord', rails_version | ||
s.add_dependency 'actionpack', rails_version | ||
s.add_dependency 'truncate_html', '~> 0.9' | ||
s.add_dependency 'will_paginate', '~> 3.1', '>= 3.1.0' | ||
s.add_dependency 'sass-rails', '>= 4.0', '< 7' | ||
s.add_dependency 'font-awesome-sass', '>= 4.3.0', '< 5.0' | ||
s.add_dependency 'activerecord', rails_version | ||
s.add_dependency 'coffee-rails', ['~> 4.0', '>= 4.0.0'] | ||
s.add_dependency 'decorators', '~> 2.0', '>= 2.0.0' | ||
s.add_dependency 'font-awesome-sass', '>= 4.3.0', '< 5.0' | ||
s.add_dependency 'jquery-rails', '~> 4.3', '>= 4.3.1' | ||
s.add_dependency 'jquery-ui-rails', '~> 6.0', '>= 6.0.0' | ||
s.add_dependency 'decorators', '~> 2.0', '>= 2.0.0' | ||
s.add_dependency 'railties', rails_version | ||
s.add_dependency 'refinerycms-i18n', ['~> 5.0', '>= 5.0.1'] | ||
s.add_dependency 'sass-rails', '>= 4.0', '< 7' | ||
s.add_dependency 'truncate_html', '~> 0.9' | ||
s.add_dependency 'will_paginate', '~> 3.1', '>= 3.1.0' | ||
s.add_dependency 'zilch-authorisation', '~> 0', '>= 0.0.1' | ||
|
||
s.cert_chain = [File.expand_path("../../certs/parndt.pem", __FILE__)] | ||
if $0 =~ /gem\z/ && ARGV.include?("build") && ARGV.include?(__FILE__) | ||
s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") | ||
s.cert_chain = [File.expand_path('../certs/parndt.pem', __dir__)] | ||
if $PROGRAM_NAME =~ /gem\z/ && ARGV.include?('build') && ARGV.include?(__FILE__) | ||
s.signing_key = File.expand_path('~/.ssh/gem-private_key.pem') | ||
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
Oops, something went wrong.