Commits

Michael Granger committed b5f34be

Update dependencies, add Ruby version to the default template variables.

Comments (0)

Files changed (4)

 # .rvm.gems generated gem export file. Note that any env variable settings will be missing. Append these after using a ';' field separator
 configurability -v2.0.0
-foreman -v0.60.2
-formvalidator -v0.1.5
-highline -v1.6.13
+foreman -v0.61.0
+highline -v1.6.15
 hoe-deveiate -v0.1.1
-hoe-manualgen -v0.3.0
 inversion -v0.11.2
-loggability -v0.4.0
-sequel -v3.43.0
-mongrel2 -v0.35.0
+loggability -v0.5.0
+sequel -v3.44.0
+mongrel2 -v0.36.0
 pluginfactory -v1.0.8
-simplecov -v0.6.4
-sysexits -v1.0.2
+simplecov -v0.7.1
+sysexits -v1.1.0
 trollop -v2.0
-uuidtools -v2.1.2
+uuidtools -v2.1.3
 	self.developer 'Michael Granger', 'ged@FaerieMUD.org'
 
 	self.dependency 'configurability', '~> 2.0'
-	self.dependency 'foreman',         '~> 0.47'
-	self.dependency 'formvalidator',   '~> 0.1'
+	self.dependency 'foreman',         '~> 0.61'
 	self.dependency 'highline',        '~> 1.6'
 	self.dependency 'inversion',       '~> 0.11'
-	self.dependency 'loggability',     '~> 0.4'
-	self.dependency 'mongrel2',        '~> 0.35'
+	self.dependency 'loggability',     '~> 0.5'
+	self.dependency 'mongrel2',        '~> 0.36'
 	self.dependency 'pluginfactory',   '~> 1.0'
 	self.dependency 'sysexits',        '~> 1.1'
 	self.dependency 'trollop',         '~> 2.0'

lib/strelka/app/auth.rb

 #        plugins :auth, :errors, :templating
 #
 #        layout 'examples/layout.tmpl'
-#        templates \
+#        templates \ 
 #            form: 'examples/auth-form.tmpl',
 #            success: 'examples/auth-success.tmpl'
 #

lib/strelka/app/templating.rb

 # automatically set a few attributes for commonly-used objects:
 #
 # request ::          The current Strelka::HTTPRequest
+# app ::              The application object (Strelka::App instance).
 # strelka_version ::  Strelka.version_string( true )
 # mongrel2_version :: Mongrel2.version_string( true )
+# ruby_version ::     The RUBY_VERSION of the running interpreter.
 # route ::            If the :routing plugin is loaded, this will be set to the
 #                     'routing_info' of the chosen route. See
 #                     Strelka::Router#add_route for details.
 		template.app              = self
 		template.strelka_version  = Strelka.version_string( true )
 		template.mongrel2_version = Mongrel2.version_string( true )
+		template.ruby_version     = RUBY_VERSION
 		template.route            = request.notes[:routing][:route]
 	end