8000 Update the Rakefile to not generate a gemspec by technicalpickles · Pull Request #509 · ffaker/ffaker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update the Rakefile to not generate a gemspec #509

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

Merged
merged 1 commit into from
Feb 25, 2023

Conversation

technicalpickles
Copy link
Contributor

It no longer uses jeweler, so shouldn't need to be regenerating the file.
Best practice is to have git ls-files in the gemspec itself. It will
be evaluated at the time that the gem is built, and an expanded version
of the gemspec is included in the gem.

This changes the Rakefile to remove the gemspec task, and move the logic
for determining files into the gemspec.

Some other changes related:

  • remove check for VERSION file, since no longer using jeweler
  • use gem build with --output to not require mving it after it's built
  • add -Ilib to reference task, otherwise it fails to find ffaker

Closes #190

@technicalpickles technicalpickles changed the title Update the Rakefile to not generaet a gemspec Update the Rakefile to not generate a gemspec Oct 12, 2021
@marocchino
Copy link
Member

@technicalpickles
Sorry. I put it on hold because I wasn't familiar with it. I want to merge it, can you rebase it or give the permission to edit it?

It no longer uses jeweler, so shouldn't need to be regenerating the file.
Best practice is to have `git ls-files` in the gemspec itself. It will
be evaluated at the time that the gem is built, and an expanded version
of the gemspec is included in the gem.

This changes the Rakefile to remove the gemspec task, and move the logic
for determining files into the gemspec.

Some other changes related:

- remove check for VERSION file, since no longer using jeweler
- use `gem build` with `--output` to not require mving it after it's built
- add `-Ilib` to `reference` task, otherwise it fails to find ffaker
@technicalpickles
Copy link
Contributor Author

@marocchino I've rebased, and you should already have access to make edits.

@marocchino marocchino merged commit 87671bd into ffaker:main Feb 25, 2023
@technicalpickles technicalpickles deleted the dont-generate-gemspec branch February 27, 2023 15:47
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.

Get rid of Rake task :gemspec
2 participants
0