Sha256: cfdce798e949b437f09699e91afae5dbf86d977f9b4db0bed6a851d25588cbc7

Contents?: true

Size: 498 Bytes

Versions: 18

Compression:

Stored size: 498 Bytes

Contents

# encoding: UTF-8

module Spontaneous
  module Publishing
    class Threaded < Immediate

      alias_method :immediate_publish_changes, :publish_changes

      def publish_changes(change_list)
        Thread.new do
          immediate_publish_changes(change_list)
        end
      end

      alias_method :immediate_publish_all, :publish_all

      def publish_all
        Thread.new do
          immediate_publish_all
        end
      end
    end # Forked
  end # Publishing
end # Spontaneous

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
spontaneous-0.2.0.beta10 lib/spontaneous/publishing/threaded.rb
spontaneous-0.2.0.beta9 lib/spontaneous/publishing/threaded.rb
spontaneous-0.2.0.beta8 lib/spontaneous/publishing/threaded.rb
spontaneous-0.2.0.beta7 lib/spontaneous/publishing/threaded.rb
spontaneous-0.2.0.beta6 lib/spontaneous/publishing/threaded.rb
spontaneous-0.2.0.beta5 lib/spontaneous/publishing/threaded.rb
spontaneous-0.2.0.beta4 lib/spontaneous/publishing/threaded.rb
spontaneous-0.2.0.beta3 lib/spontaneous/publishing/threaded.rb
spontaneous-0.2.0.beta2 lib/spontaneous/publishing/threaded.rb
spontaneous-0.2.0.beta1 lib/spontaneous/publishing/threaded.rb
spontaneous-0.2.0.alpha7 lib/spontaneous/publishing/threaded.rb
spontaneous-0.2.0.alpha6 lib/spontaneous/publishing/threaded.rb
spontaneous-0.2.0.alpha5 lib/spontaneous/publishing/threaded.rb
spontaneous-0.2.0.alpha4 lib/spontaneous/publishing/threaded.rb
spontaneous-0.2.0.alpha3 lib/spontaneous/publishing/threaded.rb
spontaneous-0.2.0.alpha2 lib/spontaneous/publishing/threaded.rb
spontaneous-0.2.0.alpha1 lib/spontaneous/publishing/threaded.rb
spontaneous-0.1.0.alpha1 lib/spontaneous/publishing/threaded.rb