solid_errors 0.2.12 → 0.2.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ccc8ad479ed32a3559f65375ac4c3f74d9b263dfac3fd2d0579e78bc0ee9bf2
4
- data.tar.gz: 8e932117d39b287935da62426a48c459719947ce63bf44e0525b9c505fcf0961
3
+ metadata.gz: da52f15792663e83fe083c13693e9bf3524e30082e22bbbdf739a621242a7cce
4
+ data.tar.gz: 5687c4e73ebf8f8b3e9c3ca46a5ef596cc13e7396ae768c3344820070e74d19c
5
5
  SHA512:
6
- metadata.gz: 4e172a9c712315dec9d54e0aa2a200019b7b299de5c3e01f35e867b5809319c6c0a3b3b74b15e85f19e075794c3ca56f157d6bf527d5f48aac7ef612273f5f12
7
- data.tar.gz: 7c660fb4aaca38cac84b3ad9c38cf01fd201fe67141e5f26bd42e56782827bbc469918c1518b8e3afd8eb4d25a29bb45a8c4bf90d5ee78b42b33454656c594e9
6
+ metadata.gz: 2ddf5b8c2efceeda9705b1c16e980a74962817613300576b6d374fe7fe9ceae835c79d31ace8b7072807d512167b0be7c3795c81ceeb5c36933aad822a4a956f
7
+ data.tar.gz: 73a14cc66c3dbed34d04a178d6bd079ba9e7232fe8d141b41d49f79a41b59f5ae0f09bff68cce843487f80eaf95cf8ab2a1004304ac7bb7a5f6f0b59db2ce1df
@@ -543,6 +543,40 @@
543
543
  --tw-backdrop-sepia:
544
544
  }
545
545
 
546
+ .container{
547
+ width: 100%
548
+ }
549
+
550
+ @media (min-width: 640px){
551
+ .container{
552
+ max-width: 640px
553
+ }
554
+ }
555
+
556
+ @media (min-width: 768px){
557
+ .container{
558
+ max-width: 768px
559
+ }
560
+ }
561
+
562
+ @media (min-width: 1024px){
563
+ .container{
564
+ max-width: 1024px
565
+ }
566
+ }
567
+
568
+ @media (min-width: 1280px){
569
+ .container{
570
+ max-width: 1280px
571
+ }
572
+ }
573
+
574
+ @media (min-width: 1536px){
575
+ .container{
576
+ max-width: 1536px
577
+ }
578
+ }
579
+
546
580
  .sr-only{
547
581
  position: absolute;
548
582
  width: 1px;
@@ -764,6 +798,11 @@
764
798
  border-color: rgb(209 213 219 / var(--tw-border-opacity))
765
799
  }
766
800
 
801
+ .border-blue-500{
802
+ --tw-border-opacity: 1;
803
+ border-color: rgb(59 130 246 / var(--tw-border-opacity))
804
+ }
805
+
767
806
  .bg-gray-100{
768
807
  --tw-bg-opacity: 1;
769
808
  background-color: rgb(243 244 246 / var(--tw-bg-opacity))
@@ -788,6 +827,36 @@
788
827
  background-color: rgb(30 41 59 / var(--tw-bg-opacity))
789
828
  }
790
829
 
830
+ .bg-blue-100{
831
+ --tw-bg-opacity: 1;
832
+ background-color: rgb(219 234 254 / var(--tw-bg-opacity))
833
+ }
834
+
835
+ .bg-red-100{
836
+ --tw-bg-opacity: 1;
837
+ background-color: rgb(254 226 226 / var(--tw-bg-opacity))
838
+ }
839
+
840
+ .bg-yellow-100{
841
+ --tw-bg-opacity: 1;
842
+ background-color: rgb(254 249 195 / var(--tw-bg-opacity))
843
+ }
844
+
845
+ .text-blue-800{
846
+ --tw-text-opacity: 1;
847
+ color: rgb(30 64 175 / var(--tw-text-opacity))
848
+ }
849
+
850
+ .text-red-800{
851
+ --tw-text-opacity: 1;
852
+ color: rgb(153 27 27 / var(--tw-text-opacity))
853
+ }
854
+
855
+ .text-yellow-800{
856
+ --tw-text-opacity: 1;
857
+ color: rgb(133 77 14 / var(--tw-text-opacity))
858
+ }
859
+
791
860
  .p-4{
792
861
  padding: 1rem
793
862
  }
@@ -994,7 +1063,7 @@
994
1063
  </style>
995
1064
  </head>
996
1065
  <body class="pb-4">
997
- <main class="container mt-2">
1066
+ <main class="container mx-auto mt-2">
998
1067
  <%= content_for?(:content) ? yield(:content) : yield %>
999
1068
  </main>
1000
1069
 
@@ -18,7 +18,11 @@
18
18
  </td>
19
19
  <td class="relative whitespace-nowrap py-4 pl-3 pr-4 text-right text-sm font-medium sm:pr-3">
20
20
  <%= 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 %>
21
- Resolve<span class="sr-only">, Error #<%= error.id %></span>
21
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-check2-circle" viewBox="0 0 16 16">
22
+ <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"/>
23
+ <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"/>
24
+ </svg>
25
+ <span>Resolve<span class="sr-only">, Error #<%= error.id %></span></span>
22
26
  <% end %>
23
27
  </td>
24
28
  </tr>
@@ -60,6 +60,7 @@
60
60
  <%= SolidErrors::Error.human_attribute_name(:severity) %>
61
61
  </dt>
62
62
  <dd class="inline-flex items-center gap-1">
63
+ <%= @error.emoji %>
63
64
  <span class="<%= @error.badge_classes %>">
64
65
  <%= @error.severity %>
65
66
  </span>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidErrors
4
- VERSION = "0.2.12"
4
+ VERSION = "0.2.14"
5
5
  end
data/lib/solid_errors.rb CHANGED
@@ -3,8 +3,6 @@
3
3
  require_relative "solid_errors/version"
4
4
  require_relative "solid_errors/sanitizer"
5
5
  require_relative "solid_errors/subscriber"
6
- require_relative "solid_errors/backtrace"
7
- require_relative "solid_errors/backtrace_line"
8
6
  require_relative "solid_errors/engine"
9
7
 
10
8
  module SolidErrors
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.12
4
+ version: 0.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Margheim
@@ -35,6 +35,8 @@ files:
35
35
  - Rakefile
36
36
  - app/controllers/solid_errors/application_controller.rb
37
37
  - app/controllers/solid_errors/errors_controller.rb
38
+ - app/models/solid_errors/backtrace.rb
39
+ - app/models/solid_errors/backtrace_line.rb
38
40
  - app/models/solid_errors/error.rb
39
41
  - app/models/solid_errors/occurrence.rb
40
42
  - app/models/solid_errors/record.rb
@@ -50,8 +52,6 @@ files:
50
52
  - lib/generators/solid_errors/install/install_generator.rb
51
53
  - lib/generators/solid_errors/install/templates/create_solid_errors_tables.rb.erb
52
54
  - lib/solid_errors.rb
53
- - lib/solid_errors/backtrace.rb
54
- - lib/solid_errors/backtrace_line.rb
55
55
  - lib/solid_errors/engine.rb
56
56
  - lib/solid_errors/sanitizer.rb
57
57
  - lib/solid_errors/subscriber.rb
File without changes
File without changes