Remove support for uploads to RubyForge.org with gem dependencies as the site no longer exists.
Project: http://git-wip-us.apache.org/repos/asf/buildr/repo Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/4f208b7b Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/4f208b7b Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/4f208b7b Branch: refs/heads/master Commit: 4f208b7b89c7eff12d2c9aa54f1bb1c79912a21c Parents: 5759664 Author: Peter Donald <[email protected]> Authored: Wed Jun 18 22:13:20 2014 +1000 Committer: Peter Donald <[email protected]> Committed: Wed Jun 18 22:13:20 2014 +1000 ---------------------------------------------------------------------- CHANGELOG | 2 ++ lib/buildr/packaging/gems.rb | 10 ---------- 2 files changed, 2 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/buildr/blob/4f208b7b/CHANGELOG ---------------------------------------------------------------------- diff --git a/CHANGELOG b/CHANGELOG index 84192c5..4b90d55 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,6 @@ 1.4.18 (2014-06-18) +* Change: Remove support for uploads to RubyForge.org with gem dependencies + as the site no longer exists. * Change: BUILDR-664 - Update Checkstyle addon so that extra_dependencies is the project dependencies by default. Move the checkstyle dependencies to the start of the classpath to avoid problems running checkstyle. http://git-wip-us.apache.org/repos/asf/buildr/blob/4f208b7b/lib/buildr/packaging/gems.rb ---------------------------------------------------------------------- diff --git a/lib/buildr/packaging/gems.rb b/lib/buildr/packaging/gems.rb index 361c53c..da7bd06 100644 --- a/lib/buildr/packaging/gems.rb +++ b/lib/buildr/packaging/gems.rb @@ -13,7 +13,6 @@ # License for the specific language governing permissions and limitations under # the License. -autoload :RubyForge, 'rubyforge' Gem.autoload :Package, 'rubygems/package' module Buildr #:nodoc: @@ -23,23 +22,14 @@ module Buildr #:nodoc: def initialize(*args) super @spec = Gem::Specification.new - prepare do - include(changelog) if changelog - end end - attr_accessor :changelog - def spec yield @spec if block_given? @spec end def upload - rubyforge = RubyForge.new - rubyforge.login - rubyforge.userconfig.merge!('release_changes'=>changelog.to_s, 'preformatted'=>true) if changelog - rubyforge.add_release spec.rubyforge_project.downcase, spec.name.downcase, spec.version, package(:gem).to_s end private
