Sha256: f415ff72083821668b08c32977cae3be3d4f89ce74a2f1c21dc32c972fe48943

Contents?: true

Size: 378 Bytes

Versions: 31

Compression:

Stored size: 378 Bytes

Contents

Dir.glob(File.join(File.dirname(__FILE__), 'cartons', '*.rb')).each {|f| require f }
Dir.glob(File.join(File.dirname(__FILE__), 'resources', '*.rb')).each {|f| require f }

module Orange::Plugins
  class News < Base
    views_dir       File.join(File.dirname(__FILE__), 'views')
    
    resource    Orange::NewsResource.new
  end
end

Orange.plugin(Orange::Plugins::News.new)

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
orange-more-0.6.0 lib/orange-more/news/plugin.rb
orange-more-0.5.8 lib/orange-more/news/plugin.rb
orange-more-0.5.7 lib/orange-more/news/plugin.rb
orange-0.5.5 lib/orange-more/news/plugin.rb
orange-0.5.4 lib/orange-more/news/plugin.rb
orange-0.5.3 lib/orange-more/news/plugin.rb
orange-0.5.2 lib/orange-more/news/plugin.rb
orange-0.5.1 lib/orange-more/news/plugin.rb
orange-0.4.0 lib/orange-more/news/plugin.rb
orange-0.3.9 lib/orange-more/news/plugin.rb
orange-0.3.8 lib/orange-more/news/plugin.rb
orange-0.3.7 lib/orange-more/news/plugin.rb
orange-0.3.6 lib/orange-more/news/plugin.rb
orange-0.3.5 lib/orange-more/news/plugin.rb
orange-0.3.4 lib/orange-more/news/plugin.rb
orange-0.3.3 lib/orange-more/news/plugin.rb
orange-0.3.2 lib/orange-more/news/plugin.rb
orange-0.3.1 lib/orange-more/news/plugin.rb
orange-0.3.0 lib/orange-more/news/plugin.rb
orange-0.2.11 lib/orange-more/news/plugin.rb