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

Move dev dependencies to Gemfile and lock rubocop version #90

Merged
merged 2 commits into from
Apr 28, 2021

Conversation

DannyBen
Copy link
Contributor

As discussed in #89, this PR offers a little housekeeping:

  • Move dev dependencies from gemspec to Gemfile
  • Add Gemfile.lock to .gitignore
  • Lock rubycop version to the version that worked the last time someone used it, so that it is not blocking CI tests.

@DannyBen
Copy link
Contributor Author

I see that tests are passing (except Ruby 3.0, as expected).
Once this is merged, we can proceed with #89 and hopefully #91.

Copy link
Owner

@kenpratt kenpratt left a comment

Choose a reason for hiding this comment

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

Thanks for noticing & fixing this.

gem 'pry'
gem 'rake'
gem 'rdoc'
gem 'rspec'
Copy link
Owner

Choose a reason for hiding this comment

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

What do you think about putting major versions here (eg gem 'rspec', '~> 3.0')? Not necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I my opinion, absolutely not necessary. In all my gems I am using the same approach. We want devs to always use the latest. This way, you make it a habbit to occasionally do bundle update and bundle outdated, to ensure everything is new.

The only reason to occasionally lock versions, is when something is broken and we do not have time to fix it.

I am no expert on these matters - but this is how I roll.

Copy link
Owner

Choose a reason for hiding this comment

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

Got it, that sounds good to me.

@kenpratt kenpratt merged commit af27e78 into kenpratt:master Apr 28, 2021
@kenpratt kenpratt mentioned this pull request Apr 28, 2021
@DannyBen DannyBen deleted the fix/dependencies branch April 28, 2021 20:57
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.

None yet

2 participants