racksh 0.9.1 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/bin/racksh +2 -1
- data/lib/racksh.rb +2 -2
- metadata +1 -1
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.9.
|
|
1
|
+
0.9.2
|
data/bin/racksh
CHANGED
data/lib/racksh.rb
CHANGED
|
@@ -8,7 +8,7 @@ config_ru = ENV['CONFIG_RU'] || 'config.ru'
|
|
|
8
8
|
|
|
9
9
|
begin
|
|
10
10
|
load config_ru
|
|
11
|
-
version = File.read(File.join(File.dirname(__FILE__), '..', 'VERSION'))
|
|
11
|
+
version = File.read(File.join(File.dirname(__FILE__), '..', 'VERSION')).strip
|
|
12
12
|
puts "Rack::Shell v#{version} started in #{ENV['RACK_ENV']} environment."
|
|
13
13
|
rescue LoadError => e
|
|
14
14
|
if e.message =~ /config\.ru$/
|
|
@@ -17,4 +17,4 @@ rescue LoadError => e
|
|
|
17
17
|
else
|
|
18
18
|
raise e
|
|
19
19
|
end
|
|
20
|
-
end
|
|
20
|
+
end
|