effective_resources 2.25.11 → 2.25.12

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: e7440ef830150c8ec4c369c08cb58cc5bb3415caab9db4faea965c3cb7e11e0c
4
- data.tar.gz: bf4772a488fd33850bcc4c516ff9b46091a257d1ebbe2549a84dfc09b15f011f
3
+ metadata.gz: 7189c9b0628e5f84b362ccfc62a80e26bf349fb0477dcdaef239f1eabbd3b3f4
4
+ data.tar.gz: 8a4a392131be33cd557d9d752698125b735610685bbb10c9035102d8c7cd624a
5
5
  SHA512:
6
- metadata.gz: fee2257076e00d82dbf4a09a012a8a6a8030555bcaf99686830870a75789ecea932c2d935191936c074515c0b94c0008c8a06e351559cf7696b7c04bc3bf8778
7
- data.tar.gz: fb387e13667ba8ca83f0a6101e3fed16dbf2f484f03391edebec5c4786d38f1f3f73b071d72598292ed3c3e16313749606314e59155290832db74d44c604a0e9
6
+ metadata.gz: 58b7e2293d65db01e5683cc9505e0bca06d97be8cf32c9d48246882a747ff35d4c3c4b920150264e5ee98ea8353e4c5710d6dc6607505b372be005d374fcd8ed
7
+ data.tar.gz: 1f1ce662f557191eb973733ae430ba5a5563bc740d4bb8b8041b25bdfeceea559ee05b37d256b89f0828f9ac79d59dfd232201eb8979c08bf2d324a650513466
@@ -56,7 +56,7 @@ module Effective
56
56
 
57
57
  messages << e.message if messages.blank? && e && e.respond_to?(:message)
58
58
 
59
- messages.to_sentence.presence
59
+ messages.uniq.to_sentence.presence
60
60
  end
61
61
 
62
62
  def action_verb(action)
@@ -278,7 +278,7 @@ module EffectiveResourcesHelper
278
278
  raise("expected a title for step #{step}") unless title.present?
279
279
 
280
280
  link = if edit_effective_wizard? && resource.is_a?(controller.resource_klass) && resource.can_visit_step?(step)
281
- link_to('Edit', wizard_path(step), title: "Edit #{title}", class: 'btn btn-secondary')
281
+ link_to('Edit', wizard_path(step), title: "Edit #{title}", class: 'btn btn-secondary mb-2')
282
282
  end
283
283
 
284
284
  content_tag(:div, class: 'card mb-4') do
@@ -1,3 +1,3 @@
1
1
  module EffectiveResources
2
- VERSION = '2.25.11'.freeze
2
+ VERSION = '2.25.12'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.25.11
4
+ version: 2.25.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-01 00:00:00.000000000 Z
11
+ date: 2024-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails