trackman 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -49,7 +49,7 @@ module Trackman
|
|
49
49
|
add = Hash[bkp.map {|k, v| [k + "_bkp", v] }].map{|k,v| "#{k}=#{v}" }.select{|c| !configs.include? c }.join(' ')
|
50
50
|
|
51
51
|
unless add.empty?
|
52
|
-
puts "
|
52
|
+
puts "backing configs to heroku..."
|
53
53
|
add_config add
|
54
54
|
end
|
55
55
|
end
|
data/lib/trackman/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module Trackman
|
2
|
-
VERSION = "0.2.
|
3
|
-
end
|
2
|
+
VERSION = "0.2.5"
|
3
|
+
end
|
@@ -58,8 +58,8 @@ describe ConfigurationHandler do
|
|
58
58
|
|
59
59
|
puts config_hash
|
60
60
|
|
61
|
-
config_hash["
|
62
|
-
config_hash["
|
61
|
+
config_hash["ERROR_PAGE_URL_bkp"].should == "\"error_page_url_old\""
|
62
|
+
config_hash["MAINTENANCE_PAGE_URL_bkp"].should == "\"en_US.UTF-8_old\""
|
63
63
|
config_hash["ERROR_PAGE_URL"].should == "\"error_page_url\""
|
64
64
|
config_hash["MAINTENANCE_PAGE_URL"].should == "\"en_US.UTF-8\""
|
65
65
|
end
|
@@ -75,8 +75,8 @@ describe ConfigurationHandler do
|
|
75
75
|
config_handler.setup
|
76
76
|
config_hash = config_handler.configs
|
77
77
|
|
78
|
-
config_hash.keys.should_not include("
|
79
|
-
config_hash.keys.should_not include("
|
78
|
+
config_hash.keys.should_not include("ERROR_PAGE_URL_bkp")
|
79
|
+
config_hash.keys.should_not include("MAINTENANCE_PAGE_URL_bkp")
|
80
80
|
config_hash["ERROR_PAGE_URL"].should == "\"error_page_url\""
|
81
81
|
config_hash["MAINTENANCE_PAGE_URL"].should == "\"en_US.UTF-8\""
|
82
82
|
end
|