solid_errors 0.2.10 → 0.2.11

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: c1c9029bc8c5276a99554deef068a88762065cd253da50d5f21829d77a194fd0
4
- data.tar.gz: 85a4febc8cf45b4ed68016f9bfa86e20bcd3e7faea814d8a3fe7d3d43a41820f
3
+ metadata.gz: '033943c98cec3b0ad1b2f5154c957ba896f2aa8c9deabb5928cd9dec42bae938'
4
+ data.tar.gz: 020f8653b236de3d3cd0128bccbe8b9998d790b92a562f8c65a55de717a996b2
5
5
  SHA512:
6
- metadata.gz: 9f744e2fc5a1c74010ba87f61a07f3c78fb640fe9d3f15df4446767c9c5d019bbf1b07dd35d574b77d51283e61a1d3a94077ec03f154256707cff1d4883968ea
7
- data.tar.gz: 323bc750873ab6b797a9d14f737ee95d5d69a9a86f44b58016d856dc4dce26f6af40b87c8f2d067cbf029c46e13fc829f1530fe9bca578c14c0d7ba2b053262a
6
+ metadata.gz: 042ef5b51655eb86a095a284db8bfc3714bd0d3ed56ddaf4883ea9ab3f48f269cf9de1a980d5addd46a00612770846d7b35cc331bd840a5bea936b9d328ea194
7
+ data.tar.gz: f2655775dcd4ce7e7ca32cdb25a663a3a42a71a8788dafa90a06f3f1857fe13a9df88df4320abc8c228050fb0748a45ec174080bdc5e7a88dea27d00e862f8b4
@@ -1,12 +1,16 @@
1
1
  <div class="inline-flex items-center justify-start flex-wrap gap-3 whitespace-nowrap">
2
- <% if current_controller.errors? && !current_action.errors_index? %>
3
- <%= link_to errors_path, class: "inline-flex items-center justify-center gap-2 font-medium cursor-pointer border rounded-lg py-3 px-5 bg-gray-100 text-initial border-gray-300 hover:ring-gray-200 hover:ring-8" do %>
4
- <%= bootstrap_svg "arrow-left" %>
5
- <span>Back to errors</span>
6
- <% end %>
2
+ <%= link_to errors_path, class: "inline-flex items-center justify-center gap-2 font-medium cursor-pointer border rounded-lg py-3 px-5 bg-gray-100 text-initial border-gray-300 hover:ring-gray-200 hover:ring-8" do %>
3
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-left" viewBox="0 0 16 16">
4
+ <path fill-rule="evenodd" d="M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8"/>
5
+ </svg>
6
+ <span>Back to errors</span>
7
7
  <% end %>
8
8
 
9
9
  <%= button_to error_path(error), method: :patch, class: "inline-flex items-center justify-center gap-2 font-medium cursor-pointer border rounded-lg py-3 px-5 bg-transparent text-blue-500 border-blue-500 hover:ring-blue-200 hover:ring-8", params: { error: { resolved_at: Time.now } } do %>
10
- Resolve Error<span class="sr-only"> #<%= error.id %></span>
10
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-check2-circle" viewBox="0 0 16 16">
11
+ <path d="M2.5 8a5.5 5.5 0 0 1 8.25-4.764.5.5 0 0 0 .5-.866A6.5 6.5 0 1 0 14.5 8a.5.5 0 0 0-1 0 5.5 5.5 0 1 1-11 0"/>
12
+ <path d="M15.354 3.354a.5.5 0 0 0-.708-.708L8 9.293 5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0z"/>
13
+ </svg>
14
+ <span>Resolve Error<span class="sr-only"> #<%= error.id %></span></span>
11
15
  <% end %>
12
16
  </div>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidErrors
4
- VERSION = "0.2.10"
4
+ VERSION = "0.2.11"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solid_errors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Margheim