Sha256: 6ca7146ff9bc1bd25c434ee2d0cdd1c95e7c475385f5042bfa78c38dd6768e9d
Contents?: true
Size: 569 Bytes
Versions: 4
Compression:
Stored size: 569 Bytes
Contents
require 'bundler' module Bundler class GemHelper def build_gem_with_built_spec spec = Gem::Specification.load(spec_path) spec_ruby = spec.to_ruby original_spec_path = spec_path + ".original" FileUtils.mv(spec_path, original_spec_path) File.open(spec_path, "wb"){|f| f.write(spec_ruby)} build_gem_without_built_spec ensure FileUtils.mv(original_spec_path, spec_path) end alias build_gem_without_built_spec build_gem alias build_gem build_gem_with_built_spec end end Bundler::GemHelper.install_tasks
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
librarian-0.1.0 | Rakefile |
librarian-0.1.0.beta.1 | Rakefile |
librarian-0.0.26 | Rakefile |
librarian-0.0.25 | Rakefile |