Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sample apps & use default DB setup #223

Merged
merged 10 commits into from
Oct 16, 2024
76 changes: 38 additions & 38 deletions sample-apps/delayed_job-sample/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,84 +1,84 @@
PATH
remote: ../../judoscale-delayed_job
specs:
judoscale-delayed_job (1.6.0)
judoscale-delayed_job (1.8.1)
delayed_job_active_record (>= 4.0)
judoscale-ruby (= 1.6.0)
judoscale-ruby (= 1.8.1)

PATH
remote: ../../judoscale-rails
specs:
judoscale-rails (1.6.0)
judoscale-ruby (= 1.6.0)
judoscale-rails (1.8.1)
judoscale-ruby (= 1.8.1)
railties

PATH
remote: ../../judoscale-ruby
specs:
judoscale-ruby (1.6.0)
judoscale-ruby (1.8.1)

GEM
remote: https://rubygems.org/
specs:
actionpack (7.0.8.1)
actionview (= 7.0.8.1)
activesupport (= 7.0.8.1)
actionpack (7.0.8.5)
actionview (= 7.0.8.5)
activesupport (= 7.0.8.5)
rack (~> 2.0, >= 2.2.4)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actionview (7.0.8.1)
activesupport (= 7.0.8.1)
actionview (7.0.8.5)
activesupport (= 7.0.8.5)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activemodel (7.0.8.1)
activesupport (= 7.0.8.1)
activerecord (7.0.8.1)
activemodel (= 7.0.8.1)
activesupport (= 7.0.8.1)
activesupport (7.0.8.1)
activemodel (7.0.8.5)
activesupport (= 7.0.8.5)
activerecord (7.0.8.5)
activemodel (= 7.0.8.5)
activesupport (= 7.0.8.5)
activesupport (7.0.8.5)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
base64 (0.2.0)
builder (3.2.4)
concurrent-ruby (1.2.3)
builder (3.3.0)
concurrent-ruby (1.3.4)
crass (1.0.6)
delayed_job (4.1.11)
delayed_job (4.1.12)
activesupport (>= 3.0, < 8.0)
delayed_job_active_record (4.1.8)
delayed_job_active_record (4.1.10)
activerecord (>= 3.0, < 8.0)
delayed_job (>= 3.0, < 5)
delayed_job_web (1.4.4)
activerecord (> 3.0.0)
delayed_job (> 2.0.3)
rack-protection (>= 1.5.5)
sinatra (>= 1.4.4)
erubi (1.12.0)
i18n (1.14.4)
erubi (1.13.0)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
method_source (1.1.0)
minitest (5.22.3)
mustermann (3.0.0)
minitest (5.25.1)
mustermann (3.0.3)
ruby2_keywords (~> 0.0.1)
nio4r (2.7.1)
nokogiri (1.16.4-arm64-darwin)
nio4r (2.7.3)
nokogiri (1.16.7-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.4-x86_64-darwin)
nokogiri (1.16.7-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.16.4-x86_64-linux)
nokogiri (1.16.7-x86_64-linux)
racc (~> 1.4)
pg (1.5.6)
puma (5.6.8)
pg (1.5.8)
puma (5.6.9)
nio4r (~> 2.0)
racc (1.7.3)
rack (2.2.9)
racc (1.8.1)
rack (2.2.10)
rack-protection (3.2.0)
base64 (>= 0.1.0)
rack (~> 2.2, >= 2.2.4)
Expand All @@ -91,9 +91,9 @@ GEM
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (7.0.8.1)
actionpack (= 7.0.8.1)
activesupport (= 7.0.8.1)
railties (7.0.8.5)
actionpack (= 7.0.8.5)
activesupport (= 7.0.8.5)
method_source
rake (>= 12.2)
thor (~> 1.0)
Expand All @@ -105,11 +105,11 @@ GEM
rack (~> 2.2, >= 2.2.4)
rack-protection (= 3.2.0)
tilt (~> 2.0)
thor (1.3.1)
tilt (2.3.0)
thor (1.3.2)
tilt (2.4.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
zeitwerk (2.6.13)
zeitwerk (2.7.0)

PLATFORMS
arm64-darwin-20
Expand Down
8 changes: 4 additions & 4 deletions sample-apps/delayed_job-sample/config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ default: &default
development:
<<: *default
database: judoscale_delayed_job_sample_development
username: postgres
#password:
host: localhost
#port: 5432
# username: postgres
# password:
# host: localhost
# port: 5432
10 changes: 5 additions & 5 deletions sample-apps/good_job-multi-db-sample/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
PATH
remote: ../../judoscale-good_job
specs:
judoscale-good_job (1.7.1)
judoscale-good_job (1.8.1)
good_job (>= 3.0, < 5.0)
judoscale-ruby (= 1.7.1)
judoscale-ruby (= 1.8.1)

PATH
remote: ../../judoscale-rails
specs:
judoscale-rails (1.7.1)
judoscale-ruby (= 1.7.1)
judoscale-rails (1.8.1)
judoscale-ruby (= 1.8.1)
railties

PATH
remote: ../../judoscale-ruby
specs:
judoscale-ruby (1.7.1)
judoscale-ruby (1.8.1)

GEM
remote: https://rubygems.org/
Expand Down
8 changes: 4 additions & 4 deletions sample-apps/good_job-multi-db-sample/config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ development:
primary:
<<: *default
database: judoscale_good_job_sample_primary
username: postgres
host: localhost
# username: postgres
# host: localhost
good_job_db:
<<: *default
database: judoscale_good_job_sample_good_job_db
username: postgres
host: localhost
# username: postgres
# host: localhost
migrations_paths: db/good_job_db_migrate
2 changes: 0 additions & 2 deletions sample-apps/good_job-multi-db-sample/db/good_job_db_schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
ActiveRecord::Schema[7.0].define(version: 2024_07_08_144259) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
enable_extension "timescaledb"
enable_extension "timescaledb_toolkit"

create_table "good_job_batches", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
t.datetime "created_at", null: false
Expand Down
2 changes: 0 additions & 2 deletions sample-apps/good_job-multi-db-sample/db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

72 changes: 36 additions & 36 deletions sample-apps/good_job-sample/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,89 +1,89 @@
PATH
remote: ../../judoscale-good_job
specs:
judoscale-good_job (1.7.1)
judoscale-good_job (1.8.1)
good_job (>= 3.0, < 5.0)
judoscale-ruby (= 1.7.1)
judoscale-ruby (= 1.8.1)

PATH
remote: ../../judoscale-rails
specs:
judoscale-rails (1.7.1)
judoscale-ruby (= 1.7.1)
judoscale-rails (1.8.1)
judoscale-ruby (= 1.8.1)
railties

PATH
remote: ../../judoscale-ruby
specs:
judoscale-ruby (1.7.1)
judoscale-ruby (1.8.1)

GEM
remote: https://rubygems.org/
specs:
actionpack (7.0.8.4)
actionview (= 7.0.8.4)
activesupport (= 7.0.8.4)
actionpack (7.0.8.5)
actionview (= 7.0.8.5)
activesupport (= 7.0.8.5)
rack (~> 2.0, >= 2.2.4)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actionview (7.0.8.4)
activesupport (= 7.0.8.4)
actionview (7.0.8.5)
activesupport (= 7.0.8.5)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activejob (7.0.8.4)
activesupport (= 7.0.8.4)
activejob (7.0.8.5)
activesupport (= 7.0.8.5)
globalid (>= 0.3.6)
activemodel (7.0.8.4)
activesupport (= 7.0.8.4)
activerecord (7.0.8.4)
activemodel (= 7.0.8.4)
activesupport (= 7.0.8.4)
activesupport (7.0.8.4)
activemodel (7.0.8.5)
activesupport (= 7.0.8.5)
activerecord (7.0.8.5)
activemodel (= 7.0.8.5)
activesupport (= 7.0.8.5)
activesupport (7.0.8.5)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
builder (3.3.0)
concurrent-ruby (1.3.3)
concurrent-ruby (1.3.4)
crass (1.0.6)
erubi (1.13.0)
et-orbi (1.2.11)
tzinfo
fugit (1.11.0)
fugit (1.11.1)
et-orbi (~> 1, >= 1.2.11)
raabro (~> 1.4)
globalid (1.2.1)
activesupport (>= 6.1)
good_job (4.0.1)
good_job (4.4.1)
activejob (>= 6.1.0)
activerecord (>= 6.1.0)
concurrent-ruby (>= 1.3.1)
fugit (>= 1.11.0)
railties (>= 6.1.0)
thor (>= 1.0.0)
i18n (1.14.5)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
method_source (1.1.0)
minitest (5.24.1)
nio4r (2.7.1)
nokogiri (1.16.6-arm64-darwin)
minitest (5.25.1)
nio4r (2.7.3)
nokogiri (1.16.7-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.6-x86_64-darwin)
nokogiri (1.16.7-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.16.6-x86_64-linux)
nokogiri (1.16.7-x86_64-linux)
racc (~> 1.4)
pg (1.5.6)
puma (5.6.8)
pg (1.5.8)
puma (5.6.9)
nio4r (~> 2.0)
raabro (1.4.0)
racc (1.8.0)
rack (2.2.9)
racc (1.8.1)
rack (2.2.10)
rack-test (2.1.0)
rack (>= 1.3)
rails-dom-testing (2.2.0)
Expand All @@ -93,18 +93,18 @@ GEM
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (7.0.8.4)
actionpack (= 7.0.8.4)
activesupport (= 7.0.8.4)
railties (7.0.8.5)
actionpack (= 7.0.8.5)
activesupport (= 7.0.8.5)
method_source
rake (>= 12.2)
thor (~> 1.0)
zeitwerk (~> 2.5)
rake (13.2.1)
thor (1.3.1)
thor (1.3.2)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
zeitwerk (2.6.16)
zeitwerk (2.7.0)

PLATFORMS
arm64-darwin-20
Expand Down
8 changes: 4 additions & 4 deletions sample-apps/good_job-sample/config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ default: &default
development:
<<: *default
database: judoscale_good_job_sample_development
username: postgres
#password:
host: localhost
#port: 5432
# username: postgres
# password:
# host: localhost
# port: 5432
2 changes: 0 additions & 2 deletions sample-apps/good_job-sample/db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading