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 gemspec #146

Merged
merged 5 commits into from Mar 5, 2020
Merged

Fix gemspec #146

merged 5 commits into from Mar 5, 2020

Conversation

deivid-rodriguez
Copy link
Contributor

@deivid-rodriguez deivid-rodriguez commented Mar 5, 2020

I noticed that the gem fails to be built on current master like this:

$ gem build ruby-graphviz.gemspec
NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01.
Gem::Specification#rubyforge_project= called from ruby-graphviz.gemspec:23.
NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2018-12-01.
Gem::Specification#has_rdoc= called from ruby-graphviz.gemspec:24.
WARNING:  See https://guides.rubygems.org/specification-reference/ for help
ERROR:  While executing gem ... (Gem::InvalidSpecificationException)
    ["AUTHORS.rdoc", "CHANGELOG.rdoc", "COPYING.rdoc", "README.rdoc"] are not files

This PR fixes the gemspec so that it can be built again, and it also adds a few other tiny improvements to it.

Closes #141.

Avoids the following warnings when building the gem:

```
NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01.
Gem::Specification#rubyforge_project= called from ruby-graphviz.gemspec:23.
NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2018-12-01.
Gem::Specification#has_rdoc= called from ruby-graphviz.gemspec:24.
```
In 9437b34.

Without these gemspec updates, the gem fails to be built with the
following error:

```
ERROR:  While executing gem ... (Gem::InvalidSpecificationException)
    ["AUTHORS.rdoc", "CHANGELOG.rdoc", "COPYING.rdoc", "README.rdoc"] are not files
```
@glejeune glejeune merged commit 3ab01db into glejeune:master Mar 5, 2020
@deivid-rodriguez deivid-rodriguez deleted the fix_gemspec branch March 5, 2020 15:41
@deivid-rodriguez
Copy link
Contributor Author

Thanks for the merge @glejeune!

Any chance of a release any time soon? I'm particularly interested in #144 because that would fix some errors we're getting in bundler when running our specs against ruby's master.

@deivid-rodriguez
Copy link
Contributor Author

Thanks for the release! :)

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.

Error building ruby-graphviz
2 participants