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 to v1.6.26 #20

Merged
merged 81 commits into from
Jan 18, 2024
Merged

Update to v1.6.26 #20

merged 81 commits into from
Jan 18, 2024

Conversation

jagthedrummer
Copy link
Contributor

No description provided.

depfu bot and others added 30 commits November 22, 2023 06:18
Co-authored-by: jagthedrummer <jagthedrummer@users.noreply.github.com>
* better summaries

* [CI] Run CORE tests in GitHub Actions

* fix

* not required since we have a default value

* use the right name

* core super scaffolding tests

* update the name

* Link the core repo if we're using it

* disable Circle workflow

* maybe this

* nope, just disabled the Circle webhook in GH
* [CI] Handle HIDE_THINGS differently in tests

* linter

* why is this test failing...

* a little clean up
It seems that `factory_bot_rails` unexpectedly introduced a breaking
change. thoughtbot/factory_bot#1602

For now I'm just going to avoid that version while we decide what to do
about it: bullet-train-co/bullet_train-core#707
In order to get the CI workflow to run after we create the upgrade PR we need to create the PR using a PAT. (Weird GitHub Actions rules... 🤷)
Co-authored-by: jagthedrummer <jagthedrummer@users.noreply.github.com>
depfu bot and others added 28 commits December 21, 2023 06:16
Co-authored-by: jagthedrummer <jagthedrummer@users.noreply.github.com>
* Silence erroneous backtrace lines from `device_test`

Fixes bullet-train-co/bullet_train#1082

The `instance_eval` line in `device_test` adds 2 frames in the backtrace which test errors will erroneously point back to.
So we silence those 2 frames.

* Redirect `device_test` definitions to correct test file.

All this is because Rails' `test` method uses `define_method`, which will report this file as the `source_location`
and not the target test file where the test is actually defined.

`define_method` cannot be passed the correct location, we must use `class_eval` with a source string of Ruby for that.
But using a string means we can't refer to the block, like `define_method(name, &block)` would.

So we inject a module that we define methods via `test` to pass the block to, then we override that
via `class_eval` to point it to the correct location.

* Add back TODO comment

* Standard is wrong, gotta disable.
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
* Enable Action Model scaffolding with bin/super-scaffold

* Remove colorize method from bin/super-scaffold

* Require colorize and output error message as red in bin/super-scaffold
* Separate db lookup and link resolution

* Separate db lookup and link resolution

* Separate db look and link resolution in system tests
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
* Update Ruby to version 3.3.0

* Update nokogiri and bootsnap for compatibility with Ruby 3.3.0 (#1271)

* Update Ruby to version 3.3.0

* Update nokogiri to 1.16.0 for Ruby 3.3.0

* Update bootsnap to v1.17.1

---------

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Green <jagthedrummer@gmail.com>

---------

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Zayas <g-zayas@hotmail.com>
Co-authored-by: Jeremy Green <jagthedrummer@gmail.com>
* Bump ruby to 3.3 for GitHub Actions

* actually, just allow it to follow .ruby-version
Co-authored-by: jagthedrummer <jagthedrummer@users.noreply.github.com>
Co-authored-by: jagthedrummer <jagthedrummer@users.noreply.github.com>
@jagthedrummer jagthedrummer merged commit beef224 into main Jan 18, 2024
9 checks passed
@jagthedrummer jagthedrummer deleted the jeremy/v1.6.26 branch January 18, 2024 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants