Modernize Project and use Github Actions CI#165
Conversation
6ee28e6 to
0d2ec8e
Compare
0d2ec8e to
fe9e7d7
Compare
|
@ssinghi I appreciate if you can merge this PR. 🙏 |
589258a to
54e8987
Compare
54e8987 to
0953826
Compare
- Add Github Actions CI, ensure support for latest Ruby and Rails - Remove cruft: .travis.yml, .codeclimate.yml, .hound.yml - Remove appraisal gem, use RAILS_VERSION env var in main Gemfile instead. - Drop support for Ruby prior to 2.7--2.7 is already 5+ years EOL - Remove UPGRADING message as it's very old. - Move add_development_dependency to Gemfile, as per latest recommendations - Fix issues with Rails deprecation silencing in tests
0953826 to
8f280ad
Compare
rocket-turtle
left a comment
There was a problem hiding this comment.
This looks promising. I think some more version checks could be removed. :)
| ActiveRecord::Migration.verbose = false | ||
| if ActiveRecord::VERSION::STRING >= "4.2" && | ||
| ActiveRecord::VERSION::STRING < "5.0" | ||
| if ActiveRecord::VERSION::STRING >= "4.2" && ActiveRecord::VERSION::STRING < "5.0" |
There was a problem hiding this comment.
I think that if can be removed
And there are some more version checks
And some on RUBY_VERSION in
There was a problem hiding this comment.
@rocket-turtle my goal in this PR is not to touch any of the logic. This should all be done in a follow-up PR.
There was a problem hiding this comment.
Maybe I don't understand it correct but I think the suggested changes are no logic changes they are relatet to your deprecation of ruby <2.7 and the fakt that the specs are now run with Rails 5.2+.
You already removed some version checks:
https://github.com/kreeti/kt-paperclip/pull/165/changes#diff-304c8309629b365d3f230958808b15a3277312864b20b746f31e115eb021c1ebR34
But the PR is already quit big so we can remove this stuff later. It should just not be forgotten because now its dead code.
I would like to see your changes merged, i think they help the project to get forward. :)
|
FYI this PR was merged as part of merging #166 |
Fixes #81
Fixes #126
This PR modernizes the repo without changing any actual logic or functionality.
It enables Github Actions CI which you can see passing here: johnnyshields#4
You will need to make sure to enable it on the Github project. (To avoid overpaying for CI, you can require approval to run CI on each PR.)
Specific changes: