effective_resources 2.7.1 → 2.7.2

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: 8a66af4a785aeb664dcd50caa4d838c301f6d8652475a35278dc4580c527ad74
4
- data.tar.gz: 77058779dd017ad9cfb78b01299f321af5de6eb5f5bcb95878f7b57e256ec9d6
3
+ metadata.gz: 7672ef626e66ae80fbb5b19feda283a58aab1d739f3dc753c012fffe6892d113
4
+ data.tar.gz: 0b5e7f03c53fbd78bff223c787753b3d391ff202f103d7cf3f063efb31fef5cb
5
5
  SHA512:
6
- metadata.gz: 7282c9e47327b814f1c8a5bbf4291aa5956ad2fcd13bafadeecbd33d2ce49a19c6dbb89c8d585b12b2a1988e3e32e22bc56340643f536251fd31f3c4c7854d20
7
- data.tar.gz: d17c9a25dc8c09992eea1d640ecf9eaa103747ef338745e27d44595300ebfddbd021c6657c56931a7d80b0816c5ff25f9ef209c062cbb3a02469d6b24bfaec71
6
+ metadata.gz: dc20991a7fd54070688e1ef3d9a3e1d818088ef714ce3da408e2b1ba6269f173944314c49a94236c9c9755f563476bb720979c857ff3e1744764b0f5d1eb13d1
7
+ data.tar.gz: 686c3ce4f47647496bf7e411d6cc6313c018ed8d84aab9abcf1488a96fb88a9f150b105ab26a2f0a371d236f07447258a92cc385601cce3c8ade89a2b649d784
@@ -53,7 +53,7 @@ module ActsAsPurchasableWizard
53
53
 
54
54
  # Make sure all Fees are valid
55
55
  fees.each do |fee|
56
- raise('expected a valid fee') unless fee.valid?
56
+ raise("expected a valid fee but #{fee.id} had errors #{fee.errors.inspect}") unless fee.valid?
57
57
  end
58
58
 
59
59
  # A membership could go from individual to organization
@@ -72,6 +72,38 @@ module EffectiveDeviseUser
72
72
  [:email, :password, :password_confirmation, :first_name, :last_name, :name, :login]
73
73
  end
74
74
 
75
+ def filter_parameters
76
+ [
77
+ :encrypted_password,
78
+ :reset_password_token,
79
+ :reset_password_sent_at,
80
+ :remember_created_at,
81
+ :sign_in_count,
82
+ :current_sign_in_at,
83
+ :last_sign_in_at,
84
+ :current_sign_in_ip,
85
+ :last_sign_in_ip,
86
+ :invitation_token,
87
+ :invitation_created_at,
88
+ :invitation_sent_at,
89
+ :invitation_accepted_at,
90
+ :invitation_limit,
91
+ :invited_by_type,
92
+ :invited_by_id,
93
+ :invitations_count,
94
+ :uid,
95
+ :provider,
96
+ :access_token,
97
+ :refresh_token,
98
+ :token_expires_at,
99
+ :avatar_url,
100
+ :roles_mask,
101
+ :confirmation_sent_at,
102
+ :confirmed_at,
103
+ :unconfirmed_email
104
+ ]
105
+ end
106
+
75
107
  def from_omniauth(auth, params)
76
108
  invitation_token = (params.presence || {})['invitation_token']
77
109
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveResources
2
- VERSION = '2.7.1'.freeze
2
+ VERSION = '2.7.2'.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.7.1
4
+ version: 2.7.2
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: 2023-04-05 00:00:00.000000000 Z
11
+ date: 2023-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails