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

Fix CI [ part 2 ] #645

Merged
merged 3 commits into from
Aug 15, 2024
Merged

Fix CI [ part 2 ] #645

merged 3 commits into from
Aug 15, 2024

Conversation

chaadow
Copy link

@chaadow chaadow commented Aug 15, 2024

No description provided.

@chaadow chaadow force-pushed the update_ci branch 4 times, most recently from f9dc26d to d31f93d Compare August 15, 2024 00:54
@chaadow
Copy link
Author

chaadow commented Aug 15, 2024

@seuros All good the CI is green!

@@ -4,7 +4,7 @@
module BestInPlace
class Railtie < ::Rails::Railtie #:nodoc:
config.after_initialize do
BestInPlace::ViewHelpers = ActionView::Base.new({}, {}, "")
BestInPlace::ViewHelpers = ActionView::Base.respond_to?(:empty) ? ActionView::Base.empty : ActionView::Base.new
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this condition ? I think all versions need .empty

ActiveSupport.on_load(:action_controller) do
ActionView::Base.send(:include, BestInPlace::Helper)

ActionController::Base.send(:include, BestInPlace::ControllerExtensions)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be just "include BestInPlace.

- rails_7.0
- rails_7.1
- rails_7.2
- rails_edge
env:
RAILS_ENV: test
DISPLAY: ":99.0"
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.rails }}.gemfile
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@seuros
Copy link
Collaborator

seuros commented Aug 15, 2024

Thanks for fixing the build.

I tried to fix it from the browser and github went offline haha

@seuros seuros merged commit f494b4f into bernat:master Aug 15, 2024
12 checks passed
@seuros
Copy link
Collaborator

seuros commented Aug 15, 2024

Do we need to merge anything or any open PR ?

Else I we can bump major version and release.

@chaadow
Copy link
Author

chaadow commented Aug 15, 2024

@seuros that's what i'm trying to figure out, just give me an hour or so and I'll let you know

@chaadow
Copy link
Author

chaadow commented Aug 15, 2024

Thanks for merging!

@chaadow
Copy link
Author

chaadow commented Aug 15, 2024

@seuros I think we can release for now, everything works on my production app, the most important bits have already been handled in my PR.
If need be, we can release other PRs later after they've been rebased and CI is green on them

@seuros
Copy link
Collaborator

seuros commented Aug 15, 2024

Released as 4.0.0

@chaadow
Copy link
Author

chaadow commented Aug 15, 2024

Thanks!

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.

2 participants