testimonials 0.7.4 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 34e1f1ffb9b1e7217fed8e7400d9fdc4daca3a55cbbd9de83cc0cf2673d56d34
4
- data.tar.gz: 7a10eae3c313e84bcee8d214a27c6f7ee869fd72e2ad2d43fbf88fb5538278af
3
+ metadata.gz: e16b76775e1ff90ce9376d7f853f76b5efd889769248040e6f2d128615bb5ac2
4
+ data.tar.gz: b55bdbffecb5fa8f65026465266ed39f1767935de3d72b1cb85e6a9f1c79ed6e
5
5
  SHA512:
6
- metadata.gz: 815b0b61911a5003afa4998cef859063d050a1695b110410070cad97d6f630ed223632ec35290a1c0996ee357860ce9967edfd328c009f3255cba05cd5afb009
7
- data.tar.gz: c9abcab68c1a3a1e38d67a90c4cc2a01b98627b0df7f4be7405bee09fe4b66b99e0aaefe18ee6b667ae7709b0e88e6396980823512b504309438b81e03033c3d
6
+ metadata.gz: 2de8f2e8eba6981a7aebf1cd8e0a5e3ec0c2834080a4b634142a874ad35bef7e1db5ae9cc968ed94e768220bc07eb3ddee81506a99953abf6a698790b082cf57
7
+ data.tar.gz: 13a1041471b5cc2963fa97269b87040fb55a4d6c34bb03b6cfa5c1ad7bddde8fd5d9299a09443aeca173395b7505fb511edce860c4394a31726abede70fe4864
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.5
4
+
5
+ - Moved the selected testimonial status and rating into the main metadata card,
6
+ removing the extra detail-pane header from the admin review view.
7
+ - Fixed the trusted publishing workflow by building and pushing the gem
8
+ directly with RubyGems OIDC credentials after the test suite passes.
9
+
3
10
  ## 0.7.4
4
11
 
5
12
  - Added `config.admin_layout`, letting host apps render the testimonial and NPS
@@ -1,22 +1,22 @@
1
1
  <section class="testimonial-panel">
2
- <div class="panel-head">
3
- <h1 class="title-row">
4
- <span class="badge status-<%= testimonial.status %>">
5
- <%= t("testimonials.statuses.#{testimonial.status}", default: testimonial.status.humanize) %>
6
- </span>
7
- <% if testimonial.featured? %>
8
- <span class="badge status-approved">⭐ <%= t('testimonials.dashboard.featured', default: 'Featured') %></span>
9
- <% end %>
10
- <% if testimonial.rating %>
11
- <span class="stars"><%= '★' * testimonial.rating %><span class="off"><%= '★' * (5 - testimonial.rating) %></span></span>
12
- <% end %>
13
- <span class="case-id">#<%= testimonial.id %></span>
14
- </h1>
15
- </div>
16
-
17
2
  <div class="detail-scroll">
18
3
  <div class="card pad">
19
4
  <dl>
5
+ <dt><%= t('testimonials.dashboard.testimonial', default: 'Testimonial') %></dt>
6
+ <dd><span class="case-id">#<%= testimonial.id %></span></dd>
7
+ <dt><%= t('testimonials.dashboard.status', default: 'Status') %></dt>
8
+ <dd>
9
+ <span class="badge status-<%= testimonial.status %>">
10
+ <%= t("testimonials.statuses.#{testimonial.status}", default: testimonial.status.humanize) %>
11
+ </span>
12
+ <% if testimonial.featured? %>
13
+ <span class="badge status-approved"><%= t('testimonials.dashboard.featured', default: 'Featured') %></span>
14
+ <% end %>
15
+ </dd>
16
+ <% if testimonial.rating %>
17
+ <dt><%= t('testimonials.dashboard.rating', default: 'Rating') %></dt>
18
+ <dd><span class="stars"><%= '★' * testimonial.rating %><span class="off"><%= '★' * (5 - testimonial.rating) %></span></span></dd>
19
+ <% end %>
20
20
  <dt><%= t('testimonials.dashboard.from', default: 'From') %></dt>
21
21
  <dd>
22
22
  <% if testimonial.avatar_attached? %>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Testimonials
4
- VERSION = '0.7.4'
4
+ VERSION = '0.7.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testimonials
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaroslav Shmarov