-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
misc(clickhouse): Use official clickhouse-activerecord gem (#2750)
## Context Two pull requests opened on the `clickhouse-active` records repository were merged lately. - PNixx/clickhouse-activerecord#158 - PNixx/clickhouse-activerecord#169 Since now all mandatory pieces that we require to use it in production are here, we can use the official gem rather than the fork. ## Description This PR replaces `gem 'clickhouse-activerecord', git: 'https://github.com/getlago/clickhouse-activerecord.git'` with `gem "clickhouse-activerecord", "~> 1.2.0"`
- Loading branch information
1 parent
d635a7d
commit d8c51c8
Showing
2 changed files
with
88 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,134 +1,134 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'https://rubygems.org' | ||
source "https://rubygems.org" | ||
git_source(:github) { |repo| "https://github.com/#{repo}.git" } | ||
|
||
ruby '3.3.4' | ||
ruby "3.3.4" | ||
|
||
# Core | ||
gem 'aasm' | ||
gem 'activejob-uniqueness', require: 'active_job/uniqueness/sidekiq_patch' | ||
gem 'bootsnap', require: false | ||
gem 'clockwork', require: false | ||
gem 'parallel' | ||
gem 'puma', '~> 6.4' | ||
gem 'rails', '~> 7.1.3.4' | ||
gem 'redis' | ||
gem 'sidekiq' | ||
gem "aasm" | ||
gem "activejob-uniqueness", require: "active_job/uniqueness/sidekiq_patch" | ||
gem "bootsnap", require: false | ||
gem "clockwork", require: false | ||
gem "parallel" | ||
gem "puma", "~> 6.4" | ||
gem "rails", "~> 7.1.3.4" | ||
gem "redis" | ||
gem "sidekiq" | ||
|
||
# Security | ||
gem 'bcrypt' | ||
gem 'googleauth', '~> 1.11.0' | ||
gem 'jwt' | ||
gem 'oauth2' | ||
gem 'rack-cors' | ||
gem "bcrypt" | ||
gem "googleauth", "~> 1.11.0" | ||
gem "jwt" | ||
gem "oauth2" | ||
gem "rack-cors" | ||
|
||
# Database | ||
gem 'after_commit_everywhere' | ||
gem 'clickhouse-activerecord', git: 'https://github.com/getlago/clickhouse-activerecord.git' | ||
gem 'discard', '~> 1.2' | ||
gem 'kaminari-activerecord' | ||
gem 'paper_trail', '~> 15.1' | ||
gem 'pg' | ||
gem 'ransack', '~> 4.1.0' | ||
gem 'scenic' | ||
gem 'with_advisory_lock' | ||
gem 'strong_migrations' | ||
gem "after_commit_everywhere" | ||
gem "clickhouse-activerecord", "~> 1.2.0" | ||
gem "discard", "~> 1.2" | ||
gem "kaminari-activerecord" | ||
gem "paper_trail", "~> 15.1" | ||
gem "pg" | ||
gem "ransack", "~> 4.1.0" | ||
gem "scenic" | ||
gem "with_advisory_lock" | ||
gem "strong_migrations" | ||
|
||
# Currencies, Countries, Timezones... | ||
gem 'bigdecimal' | ||
gem 'countries' | ||
gem 'money-rails' | ||
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby] | ||
gem "bigdecimal" | ||
gem "countries" | ||
gem "money-rails" | ||
gem "tzinfo-data", platforms: %i[mingw mswin x64_mingw jruby] | ||
|
||
# GraphQL | ||
gem 'graphql' | ||
gem 'graphql-pagination' | ||
gem "graphql" | ||
gem "graphql-pagination" | ||
|
||
# Payment processing | ||
gem 'adyen-ruby-api-library' | ||
gem 'gocardless_pro', '~> 2.34' | ||
gem 'stripe' | ||
gem "adyen-ruby-api-library" | ||
gem "gocardless_pro", "~> 2.34" | ||
gem "stripe" | ||
|
||
# Analytics | ||
gem 'activejob-traceable' | ||
gem 'analytics-ruby', '~> 2.4.0', require: 'segment/analytics' | ||
gem "activejob-traceable" | ||
gem "analytics-ruby", "~> 2.4.0", require: "segment/analytics" | ||
|
||
# Logging | ||
gem 'lograge' | ||
gem 'logstash-event' | ||
gem "lograge" | ||
gem "logstash-event" | ||
|
||
# HTTP and Multipart support | ||
gem 'multipart-post' | ||
gem 'mutex_m' | ||
gem "multipart-post" | ||
gem "mutex_m" | ||
|
||
# Monitoring | ||
gem 'newrelic_rpm' | ||
gem 'opentelemetry-exporter-otlp' | ||
gem 'opentelemetry-instrumentation-all' | ||
gem 'opentelemetry-sdk' | ||
gem 'sentry-rails', '~> 5.18.0' | ||
gem 'sentry-ruby', '~> 5.18.0' | ||
gem 'sentry-sidekiq', '~> 5.18.0' | ||
gem "newrelic_rpm" | ||
gem "opentelemetry-exporter-otlp" | ||
gem "opentelemetry-instrumentation-all" | ||
gem "opentelemetry-sdk" | ||
gem "sentry-rails", "~> 5.18.0" | ||
gem "sentry-ruby", "~> 5.18.0" | ||
gem "sentry-sidekiq", "~> 5.18.0" | ||
|
||
# Storage | ||
gem 'aws-sdk-s3', require: false | ||
gem 'google-cloud-storage', require: false | ||
gem "aws-sdk-s3", require: false | ||
gem "google-cloud-storage", require: false | ||
|
||
# Templating | ||
gem 'slim' | ||
gem 'slim-rails' | ||
gem "slim" | ||
gem "slim-rails" | ||
|
||
# Kafka | ||
gem 'karafka', '~> 2.4.0' | ||
gem 'karafka-web', '~> 0.9.0' | ||
gem "karafka", "~> 2.4.0" | ||
gem "karafka-web", "~> 0.9.0" | ||
|
||
# Taxes | ||
gem 'valvat', require: false | ||
gem "valvat", require: false | ||
|
||
# Data Export | ||
gem 'csv', '~> 3.0' | ||
gem "csv", "~> 3.0" | ||
|
||
group :development, :test, :staging do | ||
gem 'factory_bot_rails' | ||
gem 'faker' | ||
gem 'timecop' | ||
gem "factory_bot_rails" | ||
gem "faker" | ||
gem "timecop" | ||
end | ||
|
||
group :development, :test do | ||
gem 'byebug' | ||
gem 'clockwork-test' | ||
gem 'debug', platforms: %i[mri mingw x64_mingw], require: false | ||
gem 'dotenv' | ||
gem 'i18n-tasks', git: 'https://github.com/glebm/i18n-tasks.git' | ||
gem 'rspec-rails' | ||
gem 'simplecov', require: false | ||
gem 'webmock' | ||
gem 'rubocop-rails' | ||
gem 'rubocop-graphql', require: false | ||
gem 'rubocop-performance', require: false | ||
gem 'rubocop-rspec', require: false | ||
gem 'rubocop-thread_safety', require: false | ||
gem 'awesome_print' | ||
gem "byebug" | ||
gem "clockwork-test" | ||
gem "debug", platforms: %i[mri mingw x64_mingw], require: false | ||
gem "dotenv" | ||
gem "i18n-tasks", git: "https://github.com/glebm/i18n-tasks.git" | ||
gem "rspec-rails" | ||
gem "simplecov", require: false | ||
gem "webmock" | ||
gem "rubocop-rails" | ||
gem "rubocop-graphql", require: false | ||
gem "rubocop-performance", require: false | ||
gem "rubocop-rspec", require: false | ||
gem "rubocop-thread_safety", require: false | ||
gem "awesome_print" | ||
end | ||
|
||
group :test do | ||
gem 'database_cleaner-active_record' | ||
gem 'guard-rspec', require: false | ||
gem 'rspec-graphql_matchers' | ||
gem 'shoulda-matchers' | ||
gem "database_cleaner-active_record" | ||
gem "guard-rspec", require: false | ||
gem "rspec-graphql_matchers" | ||
gem "shoulda-matchers" | ||
end | ||
|
||
group :development do | ||
gem 'bullet' | ||
gem 'coffee-rails' | ||
gem 'graphiql-rails', git: 'https://github.com/rmosolgo/graphiql-rails.git' | ||
gem "bullet" | ||
gem "coffee-rails" | ||
gem "graphiql-rails", git: "https://github.com/rmosolgo/graphiql-rails.git" | ||
|
||
gem "standard", require: false | ||
gem 'annotate' | ||
gem "annotate" | ||
|
||
gem 'sass-rails' | ||
gem 'uglifier' | ||
gem "sass-rails" | ||
gem "uglifier" | ||
|
||
gem 'ruby-lsp-rails', require: false | ||
gem "ruby-lsp-rails", require: false | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters