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 gemspec to match our other gems #10

Merged
merged 1 commit into from
Jun 14, 2019

Conversation

Cruikshanks
Copy link
Member

This updates the gemspec file content and format to match that used in Defra Ruby Style and Defra Ruby Validators. Specific changes are

  • update to the $LOAD_PATH statement at top of file. Don't actually know which is better, this change is just about consistency
  • spec.name in our other gems is snake case rather than kebab case so updated to match
  • spec.summary and spec.description have been expanded
  • spec.email is set to @Cruikshanks. In lieu of a central mailbox anything Ruby based released to rubygems uses the @environment-agency.gov.uk address in case we receive any requests for info. We certainly can't use private email addresses
  • spec.files has switched from 'add files except' to be 'add only these files'
  • updated the spec.respond_to? to be consistent. Again don't know which is best, this change is just about consistency
  • dropped the explicit dev dependency for rubocop. It comes in via defra_ruby_style (though we seem to also declare it in defra_ruby_validators so that will be fixed asap as well!)

@Cruikshanks Cruikshanks added the housekeeping Changes such as refactoring label Jun 14, 2019
@Cruikshanks Cruikshanks self-assigned this Jun 14, 2019
This updates the gemspec file content and format to match that used in [Defra Ruby Style](https://github.com/DEFRA/defra-ruby-style) and [Defra Ruby Validators](https://github.com/DEFRA/defra-ruby-validators). Specific changes are

- `spec.name` in our other gems is snake case rather than kebab case so updated to match
- `spec.summary` and `spec.description` have been expanded
- `spec.email` is set to @Cruikshanks. In lieu of a central mailbox anything Ruby based released to rubygems uses the @environment-agency.gov.uk address in case we receive any requests for info. We certainly can't use private email addresses
- `spec.files` has switched from 'add files except' to be 'add only these files'
- updated the `spec.respond_to?` to be consistent. Again don't know which is best, this change is just about consistency
- dropped the explicit dev dependency for `rubocop`. It comes in via `defra_ruby_style` (though we seem to also declare it in `defra_ruby_validators` so that will be fixed asap as well!)
@Cruikshanks
Copy link
Member Author

Using my ⚡️POWERS⚡️ to merge this in so we can have a version released to Rubygems and ready for using next week.

@Cruikshanks Cruikshanks merged commit e96aa0b into master Jun 14, 2019
@Cruikshanks Cruikshanks deleted the make-gemspec-consistent branch June 14, 2019 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
housekeeping Changes such as refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant