Skip to content

Commit

Permalink
Merge pull request #272 from UnifiedPost/feature/rubygem_include_version
Browse files Browse the repository at this point in the history
Add the version of the gem to the provides
  • Loading branch information
jordansissel committed Oct 4, 2012
2 parents fbb9f4b + c3fcb81 commit 32edfef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fpm/package/gem.rb
Expand Up @@ -136,7 +136,7 @@ def load_package_info(gem_path)

# By default, we'll usually automatically provide this, but in the case that we are
# composing multiple packages, it's best to explicitly include it in the provides list.
self.provides << "#{self.name}"
self.provides << "#{self.name} = #{self.version}"

spec.runtime_dependencies.map do |dep|
# rubygems 1.3.5 doesn't have 'Gem::Dependency#requirement'
Expand Down

0 comments on commit 32edfef

Please sign in to comment.