diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 465afdd..9a8d0aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,8 +12,6 @@ jobs: strategy: matrix: ruby: - - 3.0.3 - - 3.0.6 - 3.1.4 - 3.2.2 diff --git a/Gemfile.lock b/Gemfile.lock index 44af62f..fd3261b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - plug (0.2.0) + plug (0.2.3) aasm activeresource haml-rails diff --git a/app/views/plug/features/index.html.haml b/app/views/plug/features/index.html.haml index 301f109..3a2822d 100644 --- a/app/views/plug/features/index.html.haml +++ b/app/views/plug/features/index.html.haml @@ -31,7 +31,7 @@ - @features.each do |feature| %tr %td= link_to sanitize(feature.name), edit_feature_path(feature), class: 'strong' - %td= sanitize(feature.description) + %td= sanitize(feature.description, tags: %w(a p), attributes: %w(href)) %td= feature.slug %td{ width: 150, align: 'center' } - if feature.state == 'enabled' diff --git a/app/views/plug/site_notices/index.html.haml b/app/views/plug/site_notices/index.html.haml index 7510f57..3ccf78c 100644 --- a/app/views/plug/site_notices/index.html.haml +++ b/app/views/plug/site_notices/index.html.haml @@ -27,7 +27,7 @@ - @site_notices.each do |site_notice| %tr %td= link_to sanitize(site_notice.name), edit_site_notice_path(site_notice), class: 'strong' - %td= sanitize(site_notice.notice.html_safe) + %td= sanitize(site_notice.notice.html_safe, tags: %w(a p), attributes: %w(href)) %td= site_notice.slug %td{ width: 150, align: 'center' } - if site_notice.state == 'enabled' diff --git a/lib/plug/version.rb b/lib/plug/version.rb index b355d63..8ce3bc0 100644 --- a/lib/plug/version.rb +++ b/lib/plug/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Plug - VERSION = '0.2.0' # Update version in package.json too + VERSION = '0.2.3' # Update version in package.json too end diff --git a/package.json b/package.json index fc1f622..a2a085e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@digitalnz/plug", - "version": "0.2.0", + "version": "0.2.3", "description": "A Rails engine to turn on/off features (Feature flipper).", "main": "src/base.js", "files": [