Sha256: 80086700f80dd9fea86265bc9618bf4a194e372b0cfab0ea267ac6c79a59c348

Contents?: true

Size: 794 Bytes

Versions: 10

Compression:

Stored size: 794 Bytes

Contents

if Rails.env == 'development'
  begin
    # pry
    require 'pry-rails'
    # Rails panel
    require 'meta_request'
  rescue LoadError => e
  end
end

module SocialStream
  Components = %w{ base documents events linkser presence ostatus oauth2_server }

  class Engine < ::Rails::Engine #:nodoc:
    config.app_generators.base       'social_stream:base'
    config.app_generators.documents  'social_stream:documents'
    config.app_generators.events     'social_stream:events'
    config.app_generators.linkser    'social_stream:linkser'
    config.app_generators.chat       'social_stream:presence'
    config.app_generators.federation 'social_stream:ostatus'
  end
end

SocialStream::Components.each do |component|
  require "social_stream-#{ component }" # require "social_stream-base"
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
social_stream-2.1.1 lib/social_stream.rb
social_stream-2.1.0 lib/social_stream.rb
social_stream-2.0.4 lib/social_stream.rb
social_stream-2.0.3 lib/social_stream.rb
social_stream-2.0.2 lib/social_stream.rb
social_stream-2.0.1 lib/social_stream.rb
social_stream-2.0.0 lib/social_stream.rb
social_stream-2.0.0.beta3 lib/social_stream.rb
social_stream-2.0.0.beta2 lib/social_stream.rb
social_stream-2.0.0.beta1 lib/social_stream.rb