effective_resources 2.18.1 → 2.18.3

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: 1d6cd13282f95cf3ec83e83274b89a6b2efa95750d85ff9b0c2bfed5d46eefe2
4
- data.tar.gz: fd91b723775200c44d90440fdd661a6882f759af1ac6d2dbf28ca0b1c15f1075
3
+ metadata.gz: ea57d3f23e61f43abd4e0ff00964090ad1bfb395c5373d8b00fe6c0eddf6cd90
4
+ data.tar.gz: 18ff0a66af3512a12ab8feb4742aea894b5be29a84347990c1d1fb8d9a31324f
5
5
  SHA512:
6
- metadata.gz: 49a7b12ff5a0902003b80966d3fa5102ccb31210315fb90e0e00d39161ff4ae23e42985bfc23d3a09e1e5d8ef5214cdf727543633b0a482af0c63f252ba5b5b6
7
- data.tar.gz: 11dfc8a21c8c83553451a0ea6507ea54ccaee9707aa4b3718ee9a15f4febcd11cb7ae9e668916c18efb8e16e9ab416046852fae90f4f7be3b34b9107fc43916e
6
+ metadata.gz: 33196e45ae8c5505267223ab4d16cc90204c70360df828d4edbc26dca946bb1ff3b49e2ec4bc234118f7bed95aeecf34ef13ea4f2296e80f134b07012a51c583
7
+ data.tar.gz: cbbc3a05bbb0e78cd0c1039a80b8c55855918945c8e3d2e2fb9d697ab62e3342d45b140d33aa4f672ef8aa1445748c56a8c70d618c073853814f971ddd5428c1
@@ -31,7 +31,135 @@ module ActsAsSlugged
31
31
  end
32
32
 
33
33
  def excluded_slugs
34
- ::ActiveRecord::Base.connection.tables.map { |x| x }.compact
34
+ [
35
+ "admin",
36
+ "resources",
37
+ "schema_migrations",
38
+ "ar_internal_metadata",
39
+ "active_storage_blobs",
40
+ "active_storage_attachments",
41
+ "active_storage_variant_records",
42
+ "orders",
43
+ "action_text_rich_texts",
44
+ "order_items",
45
+ "carts",
46
+ "cart_items",
47
+ "customers",
48
+ "subscriptions",
49
+ "products",
50
+ "addresses",
51
+ "qb_requests",
52
+ "qb_tickets",
53
+ "logs",
54
+ "qb_logs",
55
+ "qb_order_items",
56
+ "qb_realms",
57
+ "qb_receipts",
58
+ "qb_receipt_items",
59
+ "pages",
60
+ "page_banners",
61
+ "page_sections",
62
+ "carousel_items",
63
+ "posts",
64
+ "email_templates",
65
+ "statuses",
66
+ "memberships",
67
+ "membership_histories",
68
+ "membership_statuses",
69
+ "organizations",
70
+ "applicant_educations",
71
+ "applicant_experiences",
72
+ "representatives",
73
+ "applicant_endorsements",
74
+ "applicant_equivalences",
75
+ "applicant_course_areas",
76
+ "applicant_course_names",
77
+ "applicant_courses",
78
+ "applicant_reviews",
79
+ "documents",
80
+ "classified_wizards",
81
+ "committees",
82
+ "committee_members",
83
+ "committee_folders",
84
+ "committee_files",
85
+ "events",
86
+ "event_tickets",
87
+ "event_registrants",
88
+ "event_products",
89
+ "event_registrations",
90
+ "event_notifications",
91
+ "rings",
92
+ "ring_wizards",
93
+ "stamps",
94
+ "stamp_wizards",
95
+ "active_storage_extensions",
96
+ "cpd_categories",
97
+ "cpd_activities",
98
+ "cpd_special_rules",
99
+ "cpd_special_rule_mates",
100
+ "cpd_statement_activities",
101
+ "cpd_statements",
102
+ "cpd_audit_levels",
103
+ "cpd_audit_level_sections",
104
+ "cpd_audit_level_questions",
105
+ "cpd_audit_level_question_options",
106
+ "cpd_audits",
107
+ "cpd_audit_reviews",
108
+ "cpd_audit_review_items",
109
+ "cpd_audit_responses",
110
+ "cpd_audit_response_options",
111
+ "cpd_bulk_audits",
112
+ "mailchimp_list_members",
113
+ "chats",
114
+ "chat_users",
115
+ "chat_messages",
116
+ "cpd_targets",
117
+ "cpd_cycles",
118
+ "event_addons",
119
+ "mailchimp_lists",
120
+ "reports",
121
+ "report_columns",
122
+ "report_scopes",
123
+ "notifications",
124
+ "alerts",
125
+ "permalinks",
126
+ "tags",
127
+ "taggings",
128
+ "pg_search_documents",
129
+ "fees",
130
+ "applicant_references",
131
+ "classifieds",
132
+ "notification_logs",
133
+ "polls",
134
+ "poll_notifications",
135
+ "poll_questions",
136
+ "poll_question_options",
137
+ "ballots",
138
+ "ballot_responses",
139
+ "ballot_response_options",
140
+ "cpd_rules",
141
+ "cpd_metrics",
142
+ "cpd_metric_rule_mates",
143
+ "cpd_metric_statement_activity_mates",
144
+ "membership_categories",
145
+ "applicant_course_confirmations",
146
+ "applicant_advisor_consents",
147
+ "lares",
148
+ "epr_cycles",
149
+ "epr_projects",
150
+ "epr_charts",
151
+ "epr_chart_cells",
152
+ "certificates",
153
+ "firm_users",
154
+ "users",
155
+ "categories",
156
+ "eprs",
157
+ "epr_documents",
158
+ "firms",
159
+ "applicants",
160
+ "fee_payments"
161
+ ]
162
+ #::ActiveRecord::Base.connection.tables.map { |x| x }.compact
35
163
  end
36
164
  end
37
165
 
@@ -35,7 +35,7 @@ module ActsAsStatused
35
35
  end
36
36
 
37
37
  if EffectiveResources.serialize_with_coder?
38
- serialize :status_steps, type: Hash, coder: YAML, default: Hash.new
38
+ serialize :status_steps, type: Hash, coder: YAML
39
39
  else
40
40
  serialize :status_steps, Hash
41
41
  end
@@ -165,6 +165,10 @@ module ActsAsStatused
165
165
  self.class.const_get(:STATUSES)
166
166
  end
167
167
 
168
+ def status_steps
169
+ Hash(self[:status_steps])
170
+ end
171
+
168
172
  def all_statuses
169
173
  status_keys
170
174
  end
@@ -56,7 +56,7 @@ module ActsAsWizard
56
56
  end
57
57
 
58
58
  if EffectiveResources.serialize_with_coder?
59
- serialize :wizard_steps, type: Hash, coder: YAML, default: Hash.new
59
+ serialize :wizard_steps, type: Hash, coder: YAML
60
60
  else
61
61
  serialize :wizard_steps, Hash
62
62
  end
@@ -74,6 +74,10 @@ module ActsAsWizard
74
74
  self.class.const_get(:WIZARD_STEPS).keys
75
75
  end
76
76
 
77
+ def wizard_steps
78
+ Hash(self[:wizard_steps])
79
+ end
80
+
77
81
  def all_steps
78
82
  wizard_step_keys
79
83
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveResources
2
- VERSION = '2.18.1'.freeze
2
+ VERSION = '2.18.3'.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.18.1
4
+ version: 2.18.3
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-11-28 00:00:00.000000000 Z
11
+ date: 2023-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails