ManageIQ / polisher

Polisher is a Ruby module and set of utilities aimed to assisting the post-publishing packaging process for Ruby gems and applications.
MIT License
14 stars 14 forks source link

Fix referencing consts from RPM::Spec #108

Closed strzibny closed 10 years ago

strzibny commented 10 years ago

Trying to update the spec file after all my other submitted fixes are used I still get:

$  ~/projects/polisher/bin/ruby_rpm_spec_updater.rb rubygem-sup.spec 
/home/strzibny/.gem/ruby/gems/polisher-0.10.2/lib/polisher/rpm/updates_spec.rb:98:in `update_metadata_contents': uninitialized constant Polisher::RPM::UpdatesSpec::SPEC_VERSION_MATCHER (NameError)

This PR fixes the issue.

coveralls commented 10 years ago

Coverage Status

Coverage remained the same when pulling e86e3a37c2a508c23b723579929fe78e14f13e37 on strzibny:fix-consts into 3bd13a6c5939faa2199270f7c09a60f39c8d16b9 on ManageIQ:master.

miq-bot commented 10 years ago

Checked commit https://github.com/strzibny/polisher/commit/e86e3a37c2a508c23b723579929fe78e14f13e37 with rubocop 0.21.0 1 file checked, 0 offenses detected Everything looks good. :+1:

movitto commented 10 years ago

Looks good, thx for the fix (and others)