Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
157 changes: 81 additions & 76 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -79,21 +79,21 @@ GEM
gyoku (>= 0.4.0)
nokogiri
ast (2.4.3)
autoprefixer-rails (10.4.19.0)
autoprefixer-rails (10.4.21.0)
execjs (~> 2)
awesome_print (1.9.2)
base64 (0.2.0)
base64 (0.3.0)
bcrypt (3.1.20)
bigdecimal (3.1.9)
bigdecimal (3.3.1)
bindex (0.8.1)
bootsnap (1.18.4)
bootsnap (1.18.6)
msgpack (~> 1.2)
bootstrap-datepicker-rails (1.10.0.1)
railties (>= 3.0)
bootstrap-sass (3.4.1)
autoprefixer-rails (>= 5.2.1)
sassc (>= 2.0.0)
brakeman (7.0.0)
brakeman (7.1.0)
racc
builder (3.3.0)
bundler-audit (0.9.2)
Expand All @@ -111,7 +111,7 @@ GEM
xpath (~> 3.2)
case_transform (0.2)
activesupport
chartkick (5.1.4)
chartkick (5.2.1)
childprocess (5.1.0)
logger (~> 1.5)
climate_control (1.2.0)
Expand All @@ -124,10 +124,10 @@ GEM
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.3.4)
connection_pool (2.5.0)
connection_pool (2.5.4)
crass (1.0.6)
csv (3.3.3)
date (3.4.1)
csv (3.3.5)
date (3.5.0)
declarative (0.0.20)
devise (4.9.4)
bcrypt (~> 3.0)
Expand All @@ -136,58 +136,59 @@ GEM
responders
warden (~> 1.2.3)
devise-bootstrap-views (0.0.11)
diff-lcs (1.6.1)
diff-lcs (1.6.2)
domain_name (0.6.20240107)
dotenv (3.1.7)
dotenv (3.1.8)
erb (5.1.3)
erubi (1.13.1)
execjs (2.10.0)
fakefs (2.8.0)
faraday (2.12.2)
faraday (2.14.0)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-net_http (3.4.0)
faraday-net_http (3.4.1)
net-http (>= 0.5.0)
ffi (1.17.1)
ffi (1.17.2)
gems (1.3.0)
globalid (1.2.1)
globalid (1.3.0)
activesupport (>= 6.1)
google-api-client (0.53.0)
google-apis-core (~> 0.1)
google-apis-generator (~> 0.1)
google-apis-core (0.16.0)
google-apis-core (0.18.0)
addressable (~> 2.5, >= 2.5.1)
googleauth (~> 1.9)
httpclient (>= 2.8.3, < 3.a)
mini_mime (~> 1.0)
mutex_m
representable (~> 3.0)
retriable (>= 2.0, < 4.a)
google-apis-discovery_v1 (0.19.0)
google-apis-discovery_v1 (0.20.0)
google-apis-core (>= 0.15.0, < 2.a)
google-apis-generator (0.16.0)
google-apis-generator (0.18.0)
activesupport (>= 5.0)
gems (~> 1.2)
google-apis-core (>= 0.15.0, < 2.a)
google-apis-discovery_v1 (~> 0.18)
thor (>= 0.20, < 2.a)
google-cloud-env (2.2.2)
google-cloud-env (2.3.1)
base64 (~> 0.2)
faraday (>= 1.0, < 3.a)
google-logging-utils (0.1.0)
googleauth (1.14.0)
google-logging-utils (0.2.0)
googleauth (1.15.1)
faraday (>= 1.0, < 3.a)
google-cloud-env (~> 2.2)
google-logging-utils (~> 0.1)
jwt (>= 1.4, < 3.0)
jwt (>= 1.4, < 4.0)
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
signet (>= 0.16, < 2.a)
gyoku (1.4.0)
builder (>= 2.1.2)
rexml (~> 3.0)
http-accept (1.7.0)
http-cookie (1.0.8)
http-cookie (1.1.0)
domain_name (~> 0.5)
httpclient (2.9.0)
mutex_m
Expand All @@ -206,15 +207,15 @@ GEM
jquery-rails
railties (>= 3.1)
sass-rails
jquery-rails (4.6.0)
jquery-rails (4.6.1)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json (2.10.2)
json (2.15.2)
jsonapi-renderer (0.2.2)
jwt (2.10.1)
jwt (3.1.2)
base64
language_server-protocol (3.17.0.4)
language_server-protocol (3.17.0.5)
launchy (3.1.1)
addressable (~> 2.8)
childprocess (~> 5.0)
Expand All @@ -232,10 +233,11 @@ GEM
rb-inotify (~> 0.9, >= 0.9.10)
local_time (3.0.3)
logger (1.7.0)
loofah (2.24.0)
loofah (2.24.1)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
mail (2.8.1)
mail (2.9.0)
logger
mini_mime (>= 0.1.1)
net-imap
net-pop
Expand All @@ -244,22 +246,22 @@ GEM
actionmailer (>= 3.2.13)
json (>= 1.7.7)
rest-client (>= 1.6.7)
marcel (1.0.4)
matrix (0.4.2)
marcel (1.1.0)
matrix (0.4.3)
method_source (1.1.0)
mime-types (3.6.2)
mime-types (3.7.0)
logger
mime-types-data (~> 3.2015)
mime-types-data (3.2025.0325)
mime-types-data (~> 3.2025, >= 3.2025.0507)
mime-types-data (3.2025.0924)
mini_mime (1.1.5)
mini_portile2 (2.8.8)
minitest (5.25.5)
mini_portile2 (2.8.9)
minitest (5.26.0)
msgpack (1.8.0)
multi_json (1.15.0)
multi_json (1.17.0)
mutex_m (0.3.0)
net-http (0.6.0)
net-http (0.7.0)
uri
net-imap (0.5.6)
net-imap (0.5.12)
date
net-protocol
net-pop (0.1.2)
Expand All @@ -271,26 +273,26 @@ GEM
netrc (0.11.0)
netsuite (0.9.3)
savon (>= 2.3.0, != 2.13.0)
newrelic_rpm (9.17.0)
nio4r (2.7.4)
newrelic_rpm (9.22.0)
nio4r (2.7.5)
nkf (0.2.0)
nokogiri (1.18.6)
nokogiri (1.18.10)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
nori (2.7.1)
bigdecimal
orm_adapter (0.5.0)
os (1.1.4)
package_json (0.1.0)
package_json (0.1.1)
paper_trail (12.3.0)
activerecord (>= 5.2)
request_store (~> 1.1)
parallel (1.26.3)
parser (3.3.7.3)
parallel (1.27.0)
parser (3.3.10.0)
ast (~> 2.4.1)
racc
pg (1.5.9)
prism (1.4.0)
pg (1.6.2)
prism (1.6.0)
pry (0.15.2)
coderay (~> 1.1)
method_source (~> 1.0)
Expand All @@ -299,15 +301,15 @@ GEM
pry (>= 0.13, < 0.16)
pry-rails (0.3.11)
pry (>= 0.13.0)
psych (5.2.3)
psych (5.2.6)
date
stringio
public_suffix (6.0.1)
puma (6.6.0)
public_suffix (6.0.2)
puma (7.1.0)
nio4r (~> 2.0)
racc (1.8.1)
rack (2.2.13)
rack-mini-profiler (3.3.1)
rack (2.2.21)
rack-mini-profiler (4.0.1)
rack (>= 1.2.0)
rack-proxy (0.7.7)
rack
Expand All @@ -333,7 +335,7 @@ GEM
actionpack (>= 5.0.1.rc1)
actionview (>= 5.0.1.rc1)
activesupport (>= 5.0.1.rc1)
rails-dom-testing (2.2.0)
rails-dom-testing (2.3.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
Expand All @@ -352,15 +354,17 @@ GEM
rake (>= 12.2)
thor (~> 1.0)
rainbow (3.1.1)
rake (13.2.1)
rake (13.3.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rdoc (6.13.1)
rdoc (6.15.1)
erb
psych (>= 4.0.0)
redis-client (0.24.0)
tsort
redis-client (0.26.1)
connection_pool
regexp_parser (2.10.0)
regexp_parser (2.11.3)
representable (3.2.0)
declarative (< 0.1.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
Expand All @@ -376,13 +380,13 @@ GEM
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
retriable (3.1.2)
rexml (3.4.1)
rspec-core (3.13.3)
rexml (3.4.4)
rspec-core (3.13.6)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.3)
rspec-expectations (3.13.5)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.2)
rspec-mocks (3.13.7)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-rails (6.1.5)
Expand All @@ -393,7 +397,7 @@ GEM
rspec-expectations (~> 3.13)
rspec-mocks (~> 3.13)
rspec-support (~> 3.13)
rspec-support (3.13.2)
rspec-support (3.13.6)
rubocop (1.75.1)
json (~> 2.3)
language_server-protocol (~> 3.17.0.2)
Expand Down Expand Up @@ -432,7 +436,7 @@ GEM
nokogiri (>= 1.8.1)
nori (~> 2.4)
wasabi (>= 3.7, < 6)
sdoc (2.6.1)
sdoc (2.6.5)
rdoc (>= 5.0)
select2-rails (4.0.13)
semantic_range (3.1.0)
Expand All @@ -448,16 +452,16 @@ GEM
logger
rack (>= 2.2.4)
redis-client (>= 0.22.2)
signet (0.19.0)
signet (0.21.0)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.a)
jwt (>= 1.5, < 3.0)
jwt (>= 1.5, < 4.0)
multi_json (~> 1.10)
spreadsheet (1.3.4)
bigdecimal
logger
ruby-ole
spring (4.3.0)
spring (4.4.0)
sprockets (3.7.5)
base64
concurrent-ruby (~> 1.0)
Expand All @@ -467,22 +471,23 @@ GEM
activesupport (>= 6.1)
sprockets (>= 3.0.0)
stateful_enum (0.7.0)
stringio (3.1.6)
thor (1.3.2)
tilt (2.6.0)
timeout (0.4.3)
stringio (3.1.7)
thor (1.4.0)
tilt (2.6.1)
timeout (0.4.4)
trailblazer-option (0.1.2)
tsort (0.2.0)
turbolinks (2.5.4)
coffee-rails
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
uber (0.1.0)
uglifier (4.2.1)
execjs (>= 0.3.0, < 3)
unicode-display_width (3.1.4)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
uri (1.0.3)
unicode-display_width (3.2.0)
unicode-emoji (~> 4.1)
unicode-emoji (4.1.0)
uri (1.1.0)
warden (1.2.9)
rack (>= 2.0.9)
wasabi (5.1.0)
Expand All @@ -494,13 +499,13 @@ GEM
activemodel (>= 6.0.0)
bindex (>= 0.4.0)
railties (>= 6.0.0)
websocket-driver (0.7.7)
websocket-driver (0.8.0)
base64
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
xpath (3.2.0)
nokogiri (~> 1.8)
zeitwerk (2.7.2)
zeitwerk (2.7.3)

PLATFORMS
ruby
Expand Down
3 changes: 2 additions & 1 deletion app/models/net_suite_integration/constituent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ def initialize(netsuite_record)
end

def donor?
@netsuite_record.custom_field_list.custentity_npo_constituent_profile.value.any? { |x| x.name.strip == "Donor" }
@netsuite_record.custom_field_list.custentity_npo_constituent_profile.value.any? { |x| x.name.strip == "Donor" } ||
@netsuite_record.custom_field_list.custom_field_list.custentity_npo_txn_classification.value.any? { |x| x.name.strip == "Major Donor" }
end

def organization?
Expand Down