Commits

Michael Granger committed 671d087

Rename the newznabr app to newznabr-webui in anticipation of the Strelka app location change

Comments (0)

Files changed (3)

 # Foreman Procfile
-frontend: ruby -Ilib:../Strelka/lib -S strelka -l debug -c etc/config.yml start newznabr
+webui: ruby -Ilib:../Strelka/lib -S strelka -l debug -c etc/config.yml start newznabr-webui
 rest: ruby -Ilib:../Strelka/lib -S strelka -l debug -c etc/config.yml start newznabr-rest-service
 api: ruby -Ilib:../Strelka/lib -S strelka -l debug -c etc/config.yml start newznab-service
 mongrel: m2sh.rb -c etc/mongrel.sqlite start

data/newznabr/apps/newznabr

-#!/usr/bin/env ruby
-#encoding: utf-8
-
-require 'strelka'
-require 'strelka/app'
-require 'newznabr'
-
-# The main newznabr application
-class NewzNabr::Application < Strelka::App
-
-	ID = 'newznabr'
-
-	# Load some plugins
-	plugins :templating, :routing
-
-	# By default, responses are HTML
-	default_type 'text/html'
-
-	# Templating -- wrap everything in the layout
-	layout 'layout.tmpl'
-	templates \
-		:top => 'top.tmpl'
-
-
-	# GET request handler -- handles all GET requests
-	get do |req|
-		# Use the 'top' template for the body, wrapped in the 'layout' template
-		return :top
-	end
-
-
-end # class NewzNabr::Application
-
-Encoding.default_internal = Encoding::UTF_8
-NewzNabr::Application.run if __FILE__ == $0
-

data/newznabr/apps/newznabr-webui

+#!/usr/bin/env ruby
+#encoding: utf-8
+
+require 'strelka'
+require 'strelka/app'
+require 'newznabr'
+
+# The main newznabr application
+class NewzNabr::Application < Strelka::App
+
+	ID = 'newznabr'
+
+	# Load some plugins
+	plugins :templating, :routing
+
+	# By default, responses are HTML
+	default_type 'text/html'
+
+	# Templating -- wrap everything in the layout
+	layout 'layout.tmpl'
+	templates \
+		:top => 'top.tmpl'
+
+
+	# GET request handler -- handles all GET requests
+	get do |req|
+		# Use the 'top' template for the body, wrapped in the 'layout' template
+		return :top
+	end
+
+
+end # class NewzNabr::Application
+
+Encoding.default_internal = Encoding::UTF_8
+NewzNabr::Application.run if __FILE__ == $0
+
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.