mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 13:19:39 +02:00
Deps cleanup (#702)
This commit is contained in:
parent
4c5f8263bc
commit
98df7ccb11
6 changed files with 56 additions and 170 deletions
14
.env.example
14
.env.example
|
@ -75,17 +75,3 @@ GITHUB_REPO_BRANCH=main
|
||||||
# S3_SECRET_ACCESS_KEY=
|
# S3_SECRET_ACCESS_KEY=
|
||||||
# S3_REGION= # defaults to `us-east-1` if not set
|
# S3_REGION= # defaults to `us-east-1` if not set
|
||||||
# S3_BUCKET=
|
# S3_BUCKET=
|
||||||
|
|
||||||
# Google Cloud Storage
|
|
||||||
# =====================
|
|
||||||
# Save your JSON keyfile as `gcp-storage-keyfile.json` in the root of the project
|
|
||||||
# ACTIVE_STORAGE_SERVICE=google
|
|
||||||
# GCS_PROJECT=
|
|
||||||
# GCS_BUCKET=
|
|
||||||
|
|
||||||
# Microsoft Azure Storage
|
|
||||||
# ========================
|
|
||||||
# ACTIVE_STORAGE_SERVICE=azure
|
|
||||||
# AZURE_STORAGE_ACCOUNT_NAME=
|
|
||||||
# AZURE_STORAGE_ACCESS_KEY=
|
|
||||||
# AZURE_STORAGE_CONTAINER=
|
|
19
Gemfile
19
Gemfile
|
@ -7,7 +7,6 @@ gem "rails", github: "rails/rails", branch: "main"
|
||||||
|
|
||||||
# Drivers
|
# Drivers
|
||||||
gem "pg", "~> 1.5"
|
gem "pg", "~> 1.5"
|
||||||
gem "redis", ">= 4.0.1"
|
|
||||||
|
|
||||||
# Deployment
|
# Deployment
|
||||||
gem "puma", ">= 5.0"
|
gem "puma", ">= 5.0"
|
||||||
|
@ -33,37 +32,35 @@ gem "ransack"
|
||||||
gem "stackprof"
|
gem "stackprof"
|
||||||
gem "sentry-ruby"
|
gem "sentry-ruby"
|
||||||
gem "sentry-rails"
|
gem "sentry-rails"
|
||||||
gem "rails-settings-cached"
|
|
||||||
gem "octokit"
|
|
||||||
|
|
||||||
# Active Storage
|
# Active Storage
|
||||||
gem "aws-sdk-s3", require: false
|
gem "aws-sdk-s3", require: false
|
||||||
gem "azure-storage-blob", "~> 2.0", require: false
|
|
||||||
gem "google-cloud-storage", "~> 1.11", require: false
|
|
||||||
gem "image_processing", ">= 1.2"
|
gem "image_processing", ">= 1.2"
|
||||||
|
|
||||||
# Other
|
# Other
|
||||||
gem "bcrypt", "~> 3.1.7"
|
gem "bcrypt", "~> 3.1"
|
||||||
gem "inline_svg"
|
|
||||||
gem "tzinfo-data", platforms: %i[ windows jruby ]
|
|
||||||
gem "faraday"
|
gem "faraday"
|
||||||
|
gem "faraday-retry"
|
||||||
|
gem "inline_svg"
|
||||||
|
gem "octokit"
|
||||||
gem "pagy"
|
gem "pagy"
|
||||||
|
gem "rails-settings-cached"
|
||||||
|
gem "tzinfo-data", platforms: %i[ windows jruby ]
|
||||||
|
|
||||||
group :development, :test do
|
group :development, :test do
|
||||||
gem "debug", platforms: %i[ mri windows ]
|
gem "debug", platforms: %i[ mri windows ]
|
||||||
gem "brakeman", require: false
|
gem "brakeman", require: false
|
||||||
gem "rubocop-rails-omakase", require: false
|
gem "rubocop-rails-omakase", require: false
|
||||||
gem "dotenv-rails"
|
gem "dotenv-rails"
|
||||||
gem "letter_opener"
|
|
||||||
gem "i18n-tasks"
|
gem "i18n-tasks"
|
||||||
gem "erb_lint"
|
gem "erb_lint"
|
||||||
gem "byebug"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
group :development do
|
group :development do
|
||||||
gem "web-console"
|
|
||||||
gem "hotwire-livereload"
|
gem "hotwire-livereload"
|
||||||
|
gem "letter_opener"
|
||||||
gem "ruby-lsp-rails"
|
gem "ruby-lsp-rails"
|
||||||
|
gem "web-console"
|
||||||
end
|
end
|
||||||
|
|
||||||
group :test do
|
group :test do
|
||||||
|
|
159
Gemfile.lock
159
Gemfile.lock
|
@ -7,7 +7,7 @@ GIT
|
||||||
|
|
||||||
GIT
|
GIT
|
||||||
remote: https://github.com/rails/rails.git
|
remote: https://github.com/rails/rails.git
|
||||||
revision: a94938f10ce0f34c765028e518caed6527a31d11
|
revision: 2c79c87a1906498845542607d1293fc10acafb90
|
||||||
branch: main
|
branch: main
|
||||||
specs:
|
specs:
|
||||||
actioncable (7.2.0.alpha)
|
actioncable (7.2.0.alpha)
|
||||||
|
@ -95,7 +95,7 @@ GIT
|
||||||
railties (7.2.0.alpha)
|
railties (7.2.0.alpha)
|
||||||
actionpack (= 7.2.0.alpha)
|
actionpack (= 7.2.0.alpha)
|
||||||
activesupport (= 7.2.0.alpha)
|
activesupport (= 7.2.0.alpha)
|
||||||
irb
|
irb (~> 1.13)
|
||||||
rackup (>= 1.0.0)
|
rackup (>= 1.0.0)
|
||||||
rake (>= 12.2)
|
rake (>= 12.2)
|
||||||
thor (~> 1.0, >= 1.2.2)
|
thor (~> 1.0, >= 1.2.2)
|
||||||
|
@ -108,8 +108,8 @@ GEM
|
||||||
public_suffix (>= 2.0.2, < 6.0)
|
public_suffix (>= 2.0.2, < 6.0)
|
||||||
ast (2.4.2)
|
ast (2.4.2)
|
||||||
aws-eventstream (1.3.0)
|
aws-eventstream (1.3.0)
|
||||||
aws-partitions (1.922.0)
|
aws-partitions (1.923.0)
|
||||||
aws-sdk-core (3.193.0)
|
aws-sdk-core (3.194.0)
|
||||||
aws-eventstream (~> 1, >= 1.3.0)
|
aws-eventstream (~> 1, >= 1.3.0)
|
||||||
aws-partitions (~> 1, >= 1.651.0)
|
aws-partitions (~> 1, >= 1.651.0)
|
||||||
aws-sigv4 (~> 1.8)
|
aws-sigv4 (~> 1.8)
|
||||||
|
@ -117,23 +117,15 @@ GEM
|
||||||
aws-sdk-kms (1.80.0)
|
aws-sdk-kms (1.80.0)
|
||||||
aws-sdk-core (~> 3, >= 3.193.0)
|
aws-sdk-core (~> 3, >= 3.193.0)
|
||||||
aws-sigv4 (~> 1.1)
|
aws-sigv4 (~> 1.1)
|
||||||
aws-sdk-s3 (1.148.0)
|
aws-sdk-s3 (1.149.0)
|
||||||
aws-sdk-core (~> 3, >= 3.193.0)
|
aws-sdk-core (~> 3, >= 3.194.0)
|
||||||
aws-sdk-kms (~> 1)
|
aws-sdk-kms (~> 1)
|
||||||
aws-sigv4 (~> 1.8)
|
aws-sigv4 (~> 1.8)
|
||||||
aws-sigv4 (1.8.0)
|
aws-sigv4 (1.8.0)
|
||||||
aws-eventstream (~> 1, >= 1.0.2)
|
aws-eventstream (~> 1, >= 1.0.2)
|
||||||
azure-storage-blob (2.0.3)
|
|
||||||
azure-storage-common (~> 2.0)
|
|
||||||
nokogiri (~> 1, >= 1.10.8)
|
|
||||||
azure-storage-common (2.0.4)
|
|
||||||
faraday (~> 1.0)
|
|
||||||
faraday_middleware (~> 1.0, >= 1.0.0.rc1)
|
|
||||||
net-http-persistent (~> 4.0)
|
|
||||||
nokogiri (~> 1, >= 1.10.8)
|
|
||||||
base64 (0.2.0)
|
base64 (0.2.0)
|
||||||
bcrypt (3.1.20)
|
bcrypt (3.1.20)
|
||||||
better_html (2.0.2)
|
better_html (2.1.1)
|
||||||
actionview (>= 6.0)
|
actionview (>= 6.0)
|
||||||
activesupport (>= 6.0)
|
activesupport (>= 6.0)
|
||||||
ast (~> 2.0)
|
ast (~> 2.0)
|
||||||
|
@ -147,7 +139,6 @@ GEM
|
||||||
brakeman (6.1.2)
|
brakeman (6.1.2)
|
||||||
racc
|
racc
|
||||||
builder (3.2.4)
|
builder (3.2.4)
|
||||||
byebug (11.1.3)
|
|
||||||
capybara (3.40.0)
|
capybara (3.40.0)
|
||||||
addressable
|
addressable
|
||||||
matrix
|
matrix
|
||||||
|
@ -168,12 +159,9 @@ GEM
|
||||||
debug (1.9.2)
|
debug (1.9.2)
|
||||||
irb (~> 1.10)
|
irb (~> 1.10)
|
||||||
reline (>= 0.3.8)
|
reline (>= 0.3.8)
|
||||||
declarative (0.0.20)
|
dotenv (3.1.1)
|
||||||
digest-crc (0.6.5)
|
dotenv-rails (3.1.1)
|
||||||
rake (>= 12.0.0, < 14.0.0)
|
dotenv (= 3.1.1)
|
||||||
dotenv (3.1.0)
|
|
||||||
dotenv-rails (3.1.0)
|
|
||||||
dotenv (= 3.1.0)
|
|
||||||
railties (>= 6.1)
|
railties (>= 6.1)
|
||||||
drb (2.2.1)
|
drb (2.2.1)
|
||||||
erb_lint (0.5.0)
|
erb_lint (0.5.0)
|
||||||
|
@ -186,11 +174,12 @@ GEM
|
||||||
erubi (1.12.0)
|
erubi (1.12.0)
|
||||||
et-orbi (1.2.11)
|
et-orbi (1.2.11)
|
||||||
tzinfo
|
tzinfo
|
||||||
faraday (1.2.0)
|
faraday (2.9.0)
|
||||||
multipart-post (>= 1.2, < 3)
|
faraday-net_http (>= 2.0, < 3.2)
|
||||||
ruby2_keywords
|
faraday-net_http (3.1.0)
|
||||||
faraday_middleware (1.2.0)
|
net-http
|
||||||
faraday (~> 1.0)
|
faraday-retry (2.2.1)
|
||||||
|
faraday (~> 2.0)
|
||||||
ffi (1.16.3)
|
ffi (1.16.3)
|
||||||
fugit (1.11.0)
|
fugit (1.11.0)
|
||||||
et-orbi (~> 1, >= 1.2.11)
|
et-orbi (~> 1, >= 1.2.11)
|
||||||
|
@ -204,47 +193,12 @@ GEM
|
||||||
fugit (>= 1.1)
|
fugit (>= 1.1)
|
||||||
railties (>= 6.0.0)
|
railties (>= 6.0.0)
|
||||||
thor (>= 0.14.1)
|
thor (>= 0.14.1)
|
||||||
google-apis-core (0.14.1)
|
|
||||||
addressable (~> 2.5, >= 2.5.1)
|
|
||||||
googleauth (~> 1.9)
|
|
||||||
httpclient (>= 2.8.1, < 3.a)
|
|
||||||
mini_mime (~> 1.0)
|
|
||||||
representable (~> 3.0)
|
|
||||||
retriable (>= 2.0, < 4.a)
|
|
||||||
rexml
|
|
||||||
google-apis-iamcredentials_v1 (0.20.0)
|
|
||||||
google-apis-core (>= 0.14.0, < 2.a)
|
|
||||||
google-apis-storage_v1 (0.37.0)
|
|
||||||
google-apis-core (>= 0.14.0, < 2.a)
|
|
||||||
google-cloud-core (1.7.0)
|
|
||||||
google-cloud-env (>= 1.0, < 3.a)
|
|
||||||
google-cloud-errors (~> 1.0)
|
|
||||||
google-cloud-env (2.1.1)
|
|
||||||
faraday (>= 1.0, < 3.a)
|
|
||||||
google-cloud-errors (1.4.0)
|
|
||||||
google-cloud-storage (1.51.0)
|
|
||||||
addressable (~> 2.8)
|
|
||||||
digest-crc (~> 0.4)
|
|
||||||
google-apis-core (~> 0.13)
|
|
||||||
google-apis-iamcredentials_v1 (~> 0.18)
|
|
||||||
google-apis-storage_v1 (~> 0.37)
|
|
||||||
google-cloud-core (~> 1.6)
|
|
||||||
googleauth (~> 1.9)
|
|
||||||
mini_mime (~> 1.0)
|
|
||||||
googleauth (1.11.0)
|
|
||||||
faraday (>= 1.0, < 3.a)
|
|
||||||
google-cloud-env (~> 2.1)
|
|
||||||
jwt (>= 1.4, < 3.0)
|
|
||||||
multi_json (~> 1.11)
|
|
||||||
os (>= 0.9, < 2.0)
|
|
||||||
signet (>= 0.16, < 2.a)
|
|
||||||
hashdiff (1.1.0)
|
hashdiff (1.1.0)
|
||||||
highline (3.0.1)
|
highline (3.0.1)
|
||||||
hotwire-livereload (1.3.2)
|
hotwire-livereload (1.4.0)
|
||||||
actioncable (>= 6.0.0)
|
actioncable (>= 6.0.0)
|
||||||
listen (>= 3.0.0)
|
listen (>= 3.0.0)
|
||||||
railties (>= 6.0.0)
|
railties (>= 6.0.0)
|
||||||
httpclient (2.8.3)
|
|
||||||
i18n (1.14.4)
|
i18n (1.14.4)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
i18n-tasks (1.0.13)
|
i18n-tasks (1.0.13)
|
||||||
|
@ -269,13 +223,11 @@ GEM
|
||||||
activesupport (>= 3.0)
|
activesupport (>= 3.0)
|
||||||
nokogiri (>= 1.6)
|
nokogiri (>= 1.6)
|
||||||
io-console (0.7.2)
|
io-console (0.7.2)
|
||||||
irb (1.12.0)
|
irb (1.13.0)
|
||||||
rdoc
|
rdoc (>= 4.0.0)
|
||||||
reline (>= 0.4.2)
|
reline (>= 0.4.2)
|
||||||
jmespath (1.6.2)
|
jmespath (1.6.2)
|
||||||
json (2.7.1)
|
json (2.7.2)
|
||||||
jwt (2.8.1)
|
|
||||||
base64
|
|
||||||
language_server-protocol (3.17.0.3)
|
language_server-protocol (3.17.0.3)
|
||||||
launchy (3.0.0)
|
launchy (3.0.0)
|
||||||
addressable (~> 2.8)
|
addressable (~> 2.8)
|
||||||
|
@ -301,10 +253,8 @@ GEM
|
||||||
mocha (2.2.0)
|
mocha (2.2.0)
|
||||||
ruby2_keywords (>= 0.0.5)
|
ruby2_keywords (>= 0.0.5)
|
||||||
msgpack (1.7.2)
|
msgpack (1.7.2)
|
||||||
multi_json (1.15.0)
|
net-http (0.4.1)
|
||||||
multipart-post (2.4.0)
|
uri
|
||||||
net-http-persistent (4.0.2)
|
|
||||||
connection_pool (~> 2.2)
|
|
||||||
net-imap (0.4.10)
|
net-imap (0.4.10)
|
||||||
date
|
date
|
||||||
net-protocol
|
net-protocol
|
||||||
|
@ -331,14 +281,13 @@ GEM
|
||||||
base64
|
base64
|
||||||
faraday (>= 1, < 3)
|
faraday (>= 1, < 3)
|
||||||
sawyer (~> 0.9)
|
sawyer (~> 0.9)
|
||||||
os (1.1.4)
|
|
||||||
pagy (8.3.0)
|
pagy (8.3.0)
|
||||||
parallel (1.24.0)
|
parallel (1.24.0)
|
||||||
parser (3.3.0.5)
|
parser (3.3.1.0)
|
||||||
ast (~> 2.4.1)
|
ast (~> 2.4.1)
|
||||||
racc
|
racc
|
||||||
pg (1.5.6)
|
pg (1.5.6)
|
||||||
prism (0.24.0)
|
prism (0.27.0)
|
||||||
propshaft (0.8.0)
|
propshaft (0.8.0)
|
||||||
actionpack (>= 7.0.0)
|
actionpack (>= 7.0.0)
|
||||||
activesupport (>= 7.0.0)
|
activesupport (>= 7.0.0)
|
||||||
|
@ -346,7 +295,7 @@ GEM
|
||||||
railties (>= 7.0.0)
|
railties (>= 7.0.0)
|
||||||
psych (5.1.2)
|
psych (5.1.2)
|
||||||
stringio
|
stringio
|
||||||
public_suffix (5.0.4)
|
public_suffix (5.0.5)
|
||||||
puma (6.4.2)
|
puma (6.4.2)
|
||||||
nio4r (~> 2.0)
|
nio4r (~> 2.0)
|
||||||
raabro (1.4.0)
|
raabro (1.4.0)
|
||||||
|
@ -366,7 +315,7 @@ GEM
|
||||||
rails-html-sanitizer (1.6.0)
|
rails-html-sanitizer (1.6.0)
|
||||||
loofah (~> 2.21)
|
loofah (~> 2.21)
|
||||||
nokogiri (~> 1.14)
|
nokogiri (~> 1.14)
|
||||||
rails-i18n (7.0.8)
|
rails-i18n (7.0.9)
|
||||||
i18n (>= 0.7, < 2)
|
i18n (>= 0.7, < 2)
|
||||||
railties (>= 6.0.0, < 8)
|
railties (>= 6.0.0, < 8)
|
||||||
rails-settings-cached (2.9.4)
|
rails-settings-cached (2.9.4)
|
||||||
|
@ -383,20 +332,11 @@ GEM
|
||||||
ffi (~> 1.0)
|
ffi (~> 1.0)
|
||||||
rdoc (6.6.3.1)
|
rdoc (6.6.3.1)
|
||||||
psych (>= 4.0.0)
|
psych (>= 4.0.0)
|
||||||
redis (5.2.0)
|
|
||||||
redis-client (>= 0.22.0)
|
|
||||||
redis-client (0.22.1)
|
|
||||||
connection_pool
|
|
||||||
regexp_parser (2.9.0)
|
regexp_parser (2.9.0)
|
||||||
reline (0.5.3)
|
reline (0.5.4)
|
||||||
io-console (~> 0.5)
|
io-console (~> 0.5)
|
||||||
representable (3.2.0)
|
|
||||||
declarative (< 0.1.0)
|
|
||||||
trailblazer-option (>= 0.1.1, < 0.2.0)
|
|
||||||
uber (< 0.2.0)
|
|
||||||
retriable (3.1.2)
|
|
||||||
rexml (3.2.6)
|
rexml (3.2.6)
|
||||||
rubocop (1.60.2)
|
rubocop (1.63.4)
|
||||||
json (~> 2.3)
|
json (~> 2.3)
|
||||||
language_server-protocol (>= 3.17.0)
|
language_server-protocol (>= 3.17.0)
|
||||||
parallel (~> 1.10)
|
parallel (~> 1.10)
|
||||||
|
@ -404,30 +344,30 @@ GEM
|
||||||
rainbow (>= 2.2.2, < 4.0)
|
rainbow (>= 2.2.2, < 4.0)
|
||||||
regexp_parser (>= 1.8, < 3.0)
|
regexp_parser (>= 1.8, < 3.0)
|
||||||
rexml (>= 3.2.5, < 4.0)
|
rexml (>= 3.2.5, < 4.0)
|
||||||
rubocop-ast (>= 1.30.0, < 2.0)
|
rubocop-ast (>= 1.31.1, < 2.0)
|
||||||
ruby-progressbar (~> 1.7)
|
ruby-progressbar (~> 1.7)
|
||||||
unicode-display_width (>= 2.4.0, < 3.0)
|
unicode-display_width (>= 2.4.0, < 3.0)
|
||||||
rubocop-ast (1.30.0)
|
rubocop-ast (1.31.3)
|
||||||
parser (>= 3.2.1.0)
|
parser (>= 3.3.1.0)
|
||||||
rubocop-minitest (0.34.5)
|
rubocop-minitest (0.35.0)
|
||||||
rubocop (>= 1.39, < 2.0)
|
rubocop (>= 1.61, < 2.0)
|
||||||
rubocop-ast (>= 1.30.0, < 2.0)
|
rubocop-ast (>= 1.31.1, < 2.0)
|
||||||
rubocop-performance (1.20.2)
|
rubocop-performance (1.21.0)
|
||||||
rubocop (>= 1.48.1, < 2.0)
|
rubocop (>= 1.48.1, < 2.0)
|
||||||
rubocop-ast (>= 1.30.0, < 2.0)
|
rubocop-ast (>= 1.31.1, < 2.0)
|
||||||
rubocop-rails (2.23.1)
|
rubocop-rails (2.24.1)
|
||||||
activesupport (>= 4.2.0)
|
activesupport (>= 4.2.0)
|
||||||
rack (>= 1.1)
|
rack (>= 1.1)
|
||||||
rubocop (>= 1.33.0, < 2.0)
|
rubocop (>= 1.33.0, < 2.0)
|
||||||
rubocop-ast (>= 1.30.0, < 2.0)
|
rubocop-ast (>= 1.31.1, < 2.0)
|
||||||
rubocop-rails-omakase (1.0.0)
|
rubocop-rails-omakase (1.0.0)
|
||||||
rubocop
|
rubocop
|
||||||
rubocop-minitest
|
rubocop-minitest
|
||||||
rubocop-performance
|
rubocop-performance
|
||||||
rubocop-rails
|
rubocop-rails
|
||||||
ruby-lsp (0.16.2)
|
ruby-lsp (0.16.6)
|
||||||
language_server-protocol (~> 3.17.0)
|
language_server-protocol (~> 3.17.0)
|
||||||
prism (>= 0.22.0, < 0.25)
|
prism (>= 0.23.0, < 0.28)
|
||||||
sorbet-runtime (>= 0.5.10782)
|
sorbet-runtime (>= 0.5.10782)
|
||||||
ruby-lsp-rails (0.3.5)
|
ruby-lsp-rails (0.3.5)
|
||||||
ruby-lsp (>= 0.16.0, < 0.17.0)
|
ruby-lsp (>= 0.16.0, < 0.17.0)
|
||||||
|
@ -451,13 +391,8 @@ GEM
|
||||||
sentry-ruby (5.17.3)
|
sentry-ruby (5.17.3)
|
||||||
bigdecimal
|
bigdecimal
|
||||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||||
signet (0.19.0)
|
|
||||||
addressable (~> 2.8)
|
|
||||||
faraday (>= 0.17.5, < 3.a)
|
|
||||||
jwt (>= 1.5, < 3.0)
|
|
||||||
multi_json (~> 1.10)
|
|
||||||
smart_properties (1.17.0)
|
smart_properties (1.17.0)
|
||||||
sorbet-runtime (0.5.11332)
|
sorbet-runtime (0.5.11367)
|
||||||
stackprof (0.2.26)
|
stackprof (0.2.26)
|
||||||
stimulus-rails (1.3.3)
|
stimulus-rails (1.3.3)
|
||||||
railties (>= 6.0.0)
|
railties (>= 6.0.0)
|
||||||
|
@ -478,15 +413,14 @@ GEM
|
||||||
unicode-display_width (>= 1.1.1, < 3)
|
unicode-display_width (>= 1.1.1, < 3)
|
||||||
thor (1.3.1)
|
thor (1.3.1)
|
||||||
timeout (0.4.1)
|
timeout (0.4.1)
|
||||||
trailblazer-option (0.1.2)
|
|
||||||
turbo-rails (2.0.5)
|
turbo-rails (2.0.5)
|
||||||
actionpack (>= 6.0.0)
|
actionpack (>= 6.0.0)
|
||||||
activejob (>= 6.0.0)
|
activejob (>= 6.0.0)
|
||||||
railties (>= 6.0.0)
|
railties (>= 6.0.0)
|
||||||
tzinfo (2.0.6)
|
tzinfo (2.0.6)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
uber (0.1.0)
|
|
||||||
unicode-display_width (2.5.0)
|
unicode-display_width (2.5.0)
|
||||||
|
uri (0.13.0)
|
||||||
useragent (0.16.10)
|
useragent (0.16.10)
|
||||||
vcr (6.2.0)
|
vcr (6.2.0)
|
||||||
web-console (4.2.1)
|
web-console (4.2.1)
|
||||||
|
@ -517,18 +451,16 @@ PLATFORMS
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
aws-sdk-s3
|
aws-sdk-s3
|
||||||
azure-storage-blob (~> 2.0)
|
bcrypt (~> 3.1)
|
||||||
bcrypt (~> 3.1.7)
|
|
||||||
bootsnap
|
bootsnap
|
||||||
brakeman
|
brakeman
|
||||||
byebug
|
|
||||||
capybara
|
capybara
|
||||||
debug
|
debug
|
||||||
dotenv-rails
|
dotenv-rails
|
||||||
erb_lint
|
erb_lint
|
||||||
faraday
|
faraday
|
||||||
|
faraday-retry
|
||||||
good_job
|
good_job
|
||||||
google-cloud-storage (~> 1.11)
|
|
||||||
hotwire-livereload
|
hotwire-livereload
|
||||||
i18n-tasks
|
i18n-tasks
|
||||||
image_processing (>= 1.2)
|
image_processing (>= 1.2)
|
||||||
|
@ -545,7 +477,6 @@ DEPENDENCIES
|
||||||
rails!
|
rails!
|
||||||
rails-settings-cached
|
rails-settings-cached
|
||||||
ransack
|
ransack
|
||||||
redis (>= 4.0.1)
|
|
||||||
rubocop-rails-omakase
|
rubocop-rails-omakase
|
||||||
ruby-lsp-rails
|
ruby-lsp-rails
|
||||||
selenium-webdriver
|
selenium-webdriver
|
||||||
|
@ -564,4 +495,4 @@ RUBY VERSION
|
||||||
ruby 3.3.0p0
|
ruby 3.3.0p0
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.5.5
|
2.5.4
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
require "test_helper"
|
require "test_helper"
|
||||||
|
require "ostruct"
|
||||||
class ExchangeRateTest < ActiveSupport::TestCase
|
class ExchangeRateTest < ActiveSupport::TestCase
|
||||||
test "find rate in db" do
|
test "find rate in db" do
|
||||||
assert_equal exchange_rates(:day_29_ago_eur_to_usd),
|
assert_equal exchange_rates(:day_29_ago_eur_to_usd),
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
require "test_helper"
|
require "test_helper"
|
||||||
|
require "ostruct"
|
||||||
class ValueGroupTest < ActiveSupport::TestCase
|
class ValueGroupTest < ActiveSupport::TestCase
|
||||||
setup do
|
setup do
|
||||||
checking = accounts(:checking)
|
checking = accounts(:checking)
|
||||||
|
|
|
@ -45,34 +45,6 @@ class SettingsTest < ApplicationSystemTestCase
|
||||||
assert_no_text "Self-Hosting"
|
assert_no_text "Self-Hosting"
|
||||||
end
|
end
|
||||||
|
|
||||||
test "can see conditional nav items" do
|
|
||||||
ENV["SELF_HOSTING_ENABLED"] = "true"
|
|
||||||
|
|
||||||
visit root_path
|
|
||||||
sign_in @user
|
|
||||||
|
|
||||||
open_settings_from_sidebar
|
|
||||||
|
|
||||||
click_link "Self-Hosting"
|
|
||||||
assert_selector "h1", text: "Self-Hosting"
|
|
||||||
end
|
|
||||||
|
|
||||||
test "clicking back or hitting escape key takes user back page they opened settings from" do
|
|
||||||
# TODO: Implement test for back navigation and escape key functionality.
|
|
||||||
end
|
|
||||||
|
|
||||||
test "can upload profile image" do
|
|
||||||
open_settings_from_sidebar
|
|
||||||
|
|
||||||
label = find("label", text: "Choose")
|
|
||||||
|
|
||||||
attach_file(label["for"], Rails.root.join("test/fixtures/files/profile_image.png"), make_visible: true)
|
|
||||||
|
|
||||||
click_button "Save"
|
|
||||||
|
|
||||||
assert_selector("img[src*='profile_image.png']")
|
|
||||||
end
|
|
||||||
|
|
||||||
private
|
private
|
||||||
def open_settings_from_sidebar
|
def open_settings_from_sidebar
|
||||||
find("#user-menu").click
|
find("#user-menu").click
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue