Sha256: cd8f82ba399dee4e603306f59f2d7716cb0886e0a649970dbed1efbca79ef4dd

Contents?: true

Size: 381 Bytes

Versions: 239

Compression:

Stored size: 381 Bytes

Contents

#!/usr/bin/env ruby

module Rake

  # Manage several publishers as a single entity.
  class CompositePublisher
    def initialize
      @publishers = []
    end
    
    # Add a publisher to the composite.
    def add(pub)
      @publishers << pub
    end
    
    # Upload all the individual publishers.
    def upload
      @publishers.each { |p| p.upload }
    end
  end

end


Version data entries

239 entries across 184 versions & 17 rubygems

Version Path
middleman-0.13.1 lib/middleman/vendor/gems/ruby/1.9.1/gems/rake-0.8.7/lib/rake/contrib/compositepublisher.rb
middleman-0.13.1 lib/middleman/vendor/gems/ruby/1.8/gems/rake-0.8.7/lib/rake/contrib/compositepublisher.rb
middleman-0.12.2 lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/compositepublisher.rb
echoe-4.1 vendor/rake/lib/rake/contrib/compositepublisher.rb
middleman-0.12.1 lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/compositepublisher.rb
middleman-0.12.0.pre3 lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/compositepublisher.rb
middleman-0.12.0.pre2 lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/compositepublisher.rb
middleman-0.12.0.pre lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/compositepublisher.rb
echoe-4.0 vendor/rake/lib/rake/contrib/compositepublisher.rb
merb-core-1.1.0.pre spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake/contrib/compositepublisher.rb
middleman-0.10.17 vendor/gems/gems/rake-0.8.7/lib/rake/contrib/compositepublisher.rb
middleman-0.10.16 vendor/gems/gems/rake-0.8.7/lib/rake/contrib/compositepublisher.rb
middleman-0.10.15 vendor/gems/gems/rake-0.8.7/lib/rake/contrib/compositepublisher.rb
middleman-0.10.14 vendor/gems/gems/rake-0.8.7/lib/rake/contrib/compositepublisher.rb
echoe-3.2 vendor/rake/lib/rake/contrib/compositepublisher.rb
drake-0.8.1.10.0.1 lib/rake/contrib/compositepublisher.rb
drake-0.8.1.11.0.1 lib/rake/contrib/compositepublisher.rb
drake-0.8.2.0.0.2 lib/rake/contrib/compositepublisher.rb
drake-0.8.2.1.0.10 lib/rake/contrib/compositepublisher.rb
drake-0.8.2.1.0.11 lib/rake/contrib/compositepublisher.rb