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

Correct Roo::VERSION #148

Closed
wants to merge 1 commit into from
Closed

Correct Roo::VERSION #148

wants to merge 1 commit into from

Conversation

jphastings
Copy link
Contributor

Figured out how fix #147 easily :)

@@ -1,6 +1,6 @@
module Roo

VERSION = '1.12.1'
VERSION = File.read(File.join(__dir__, "../VERSION")) rescue "0.0.0-unknown"
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you remove the rescue? If the file is missing it should fail noisily so we know about it.

@simonoff
Copy link
Member

Why not remove this file and not create lib/roo/version.rb where set this version. And remove jeveler as requirement. I don't see any reason to use it now when bundler doing the same.

@jphastings
Copy link
Contributor Author

Entirely possible (and my preferred route; I'm not a big fan of Jeweler) but changing something as basic as the build tool is something I'd like to leave to the maintainer - it has impact beyond just the state of the code!

@Empact
Copy link
Contributor

Empact commented Nov 15, 2014

Switched to bundler's gem builder - thanks for the suggestion @simonoff

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.

Roo::VERSION is hardcoded and incorrect
3 participants