effective_resources 2.42.0 → 2.43.0

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: c322710a6dffa4c2e384fd31e06b0226826e3bc364277abdaac8a71e6d9adfc6
4
- data.tar.gz: cbf12a724542c9148a8ce95a0dadf5f9e86748af998faded9f912839dba43a5f
3
+ metadata.gz: 9822c0ccd8c4f40015db2c2dc53d66dfa389598a2b3bd7107a83c512b2ac885b
4
+ data.tar.gz: 9deec203839ffee37e989d6269845b1c97300d9157c26573b25692627de50db6
5
5
  SHA512:
6
- metadata.gz: 7f601bd8c2e4efb5d74e92f701a3b5288b83ed5e38924cb8ef548c868f9c1ec19edec48adea1c8ce78cf6b9e9551a0eab958bf804f0781477e2fd1b887e3c128
7
- data.tar.gz: 5e84dc97c1ced2733f1981e5a8a23c9e142d217d1b604d08ff3624483e6df8368c302d2f17a43e67af178a59f1241476c3ce8f4fbad1b3ec890246aa07c119cb
6
+ metadata.gz: cd1ee67d96e1d6455cef7725a831cab2de85fff98dc6e7eb70ddb85f84a675f01347bf8ab87ed7eb8ba0681a7a56fe89072a7d80b56393f8de4402a981b13e59
7
+ data.tar.gz: d23f1e7f12439df619f86fd15d721a18d2f58617efa33869e8ada60aafa98760ed27f5507307a127bf16c0c8591d7628ffb5b5389856f436aa3a6aa8e1915a58
@@ -38,7 +38,7 @@ module EffectiveResourcesWizardHelper
38
38
  if (current || disabled)
39
39
  content_tag(:a, label, class: klass)
40
40
  else
41
- link_to(label, path || wizard_path(nav_step), class: klass, 'data-turbolinks': false)
41
+ link_to(label, path || wizard_path(nav_step), class: klass, 'data-turbolinks': false, 'data-turbo': false)
42
42
  end
43
43
  end
44
44
 
@@ -55,10 +55,6 @@ module EffectiveDeviseUser
55
55
  errors.add(:alternate_email, 'cannot be the same as email') if email.strip.downcase == alternate_email.strip.downcase
56
56
  end
57
57
 
58
- validate(if: -> { first_name.present? && last_name.present? }) do
59
- errors.add(:last_name, "can't match first name") if first_name == last_name
60
- end
61
-
62
58
  # Uniqueness validation of emails and alternate emails across all users
63
59
  validate(if: -> { respond_to?(:alternate_email) }) do
64
60
  records = self.class.where.not(id: id)
@@ -1,3 +1,3 @@
1
1
  module EffectiveResources
2
- VERSION = '2.42.0'.freeze
2
+ VERSION = '2.43.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.42.0
4
+ version: 2.43.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect