From e9f21f3ec60ba470919bf4be8876c3f19472708c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= <f.mably@gmail.com> Date: Fri, 20 Sep 2024 18:49:11 +0200 Subject: [PATCH] Issue #3475849 by mably: Drupal 11 compatible version --- .cspell-project-words.txt | 0 .gitlab-ci.yml | 42 +++++++++++++++++++++++++++++++ ajax_command_page_reload.info.yml | 2 +- composer.json | 11 ++++---- 4 files changed, 49 insertions(+), 6 deletions(-) create mode 100644 .cspell-project-words.txt create mode 100644 .gitlab-ci.yml diff --git a/.cspell-project-words.txt b/.cspell-project-words.txt new file mode 100644 index 0000000..e69de29 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..e5075bb --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,42 @@ +################ +# GitLabCI template for Drupal projects. +# +# This template is designed to give any Contrib maintainer everything they need to test, without requiring modification. +# It is also designed to keep up to date with Core Development automatically through the use of include files that can be centrally maintained. +# As long as you include the project, ref and three files below, any future updates added by the Drupal Association will be used in your +# pipelines automatically. However, you can modify this template if you have additional needs for your project. +# The full documentation is on https://project.pages.drupalcode.org/gitlab_templates/ +################ + +# For information on alternative values for 'ref' see https://project.pages.drupalcode.org/gitlab_templates/info/templates-version/ +# To test a Drupal 7 project, change the first include filename from .main.yml to .main-d7.yml +include: + - project: $_GITLAB_TEMPLATES_REPO + ref: $_GITLAB_TEMPLATES_REF + file: + - "/includes/include.drupalci.main.yml" + - "/includes/include.drupalci.variables.yml" + - "/includes/include.drupalci.workflows.yml" + +################ +# Pipeline configuration variables are defined with default values and descriptions in the file +# https://git.drupalcode.org/project/gitlab_templates/-/blob/main/includes/include.drupalci.variables.yml +# Uncomment the lines below if you want to override any of the variables. The following is just an example. +################ +# variables: +# SKIP_ESLINT: '1' +# OPT_IN_TEST_NEXT_MAJOR: '1' +# _CURL_TEMPLATES_REF: 'main' + +# +# Start custom overrides. +# Based on https://git.drupalcode.org/project/keycdn/-/blob/8.x-1.x/.gitlab-ci.yml +# + +variables: + OPT_IN_TEST_MAX_PHP: 1 + # Broaden test coverage. + OPT_IN_TEST_PREVIOUS_MAJOR: 1 + OPT_IN_TEST_PREVIOUS_MINOR: 1 + OPT_IN_TEST_NEXT_MINOR: 1 + OPT_IN_TEST_NEXT_MAJOR: 1 diff --git a/ajax_command_page_reload.info.yml b/ajax_command_page_reload.info.yml index 53b1cbb..e3f736c 100644 --- a/ajax_command_page_reload.info.yml +++ b/ajax_command_page_reload.info.yml @@ -1,4 +1,4 @@ name: 'Ajax Command Page Reload' type: module description: 'Reload the current page from JS.' -core_version_requirement: ^8 || ^9 || ^10 +core_version_requirement: ^8 || ^9 || ^10 || ^11 diff --git a/composer.json b/composer.json index b20ed60..3dbf763 100644 --- a/composer.json +++ b/composer.json @@ -2,17 +2,18 @@ "name": "ajax_command_page_reload", "type": "drupal-module", "description": "Reload the current page from JS.", - "keywords": [], + "license": "GPL-2.0-or-later", + "minimum-stability": "dev", "homepage": "https://www.drupal.org/project/ajax_command_page_reload", "authors": [ { - "name": "PSF_", - "email": "aaaaa976@gmail.com" + "name": "psf_", + "homepage": "https://www.drupal.org/u/psf_", + "role": "Maintainer" } ], - "minimum-stability": "dev", "support": { "issues": "https://www.drupal.org/project/issues/ajax_command_page_reload", - "source": "http://cgit.drupalcode.org/ajax_command_page_reload" + "source": "https://git.drupalcode.org/project/ajax_command_page_reload" } } -- GitLab