public
Description: Phusion Passenger (mod_rails)
Homepage: http://www.modrails.com/
Clone URL: git://github.com/FooBarWidget/passenger.git
Search Repo:
Click here to lend your support to: passenger and make a donation at www.pledgie.com !
Show Passenger version number in the installer.
Hongli Lai (Phusion) (author)
Mon May 05 02:41:28 -0700 2008
commit  5833b5d217b4aac527fd2ec3308410e2dc8f97bc
tree    d5d68d65300649ba401ecf00b321c282f6ffb5fa
parent  a332965fec0c1756961dddcfc1b867359c65910e
...
35
36
37
 
 
38
39
40
...
77
78
79
80
 
81
82
83
...
35
36
37
38
39
40
41
42
...
79
80
81
 
82
83
84
85
0
@@ -35,6 +35,8 @@
0
   PASSENGER_WEBSITE = "http://www.modrails.com/"
0
   PHUSION_WEBSITE = "www.phusion.nl"
0
   USERS_GUIDE = "#{PASSENGER_ROOT}/doc/Users guide.html"
0
+ File.read("#{PASSENGER_ROOT}/Rakefile") =~ /^PACKAGE_VERSION = "(.*)"$/
0
+ PASSENGER_VERSION = $1
0
   
0
   REQUIRED_DEPENDENCIES = [
0
     Dependencies::GCC,
0
@@ -77,7 +79,7 @@
0
   end
0
   
0
   def show_welcome_screen
0
- render_template 'welcome'
0
+ render_template 'welcome', :version => PASSENGER_VERSION
0
     wait
0
   end
0
 
...
1
 
2
3
4
...
 
1
2
3
4
0
@@ -1,4 +1,4 @@
0
-<banner>Welcome to the Passenger Apache 2 module installer.</banner>
0
+<banner>Welcome to the Passenger Apache 2 module installer, v<%= @version %>.</banner>
0
 
0
 This installer will guide you through the entire installation process. It
0
 shouldn't take more than 3 minutes in total.

Comments

    No one has commented yet.