switches 0.1.1 → 0.1.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/README.markdown +4 -0
- data/VERSION +1 -1
- data/lib/switches.rb +2 -2
- data/lib/tasks/capistrano_tasks.rb +1 -0
- data/switches.gemspec +1 -1
- metadata +1 -1
data/README.markdown
CHANGED
@@ -140,6 +140,10 @@ Remember, you should version control <tt>config/switches/defaults.yml</tt> and i
|
|
140
140
|
|
141
141
|
Sometimes you just need an easy way to "turn off" code.
|
142
142
|
|
143
|
+
## Wishlist ##
|
144
|
+
|
145
|
+
+ HOWTO do stuff to switches pre-rake db:migrate
|
146
|
+
|
143
147
|
## Copyright ##
|
144
148
|
|
145
149
|
Copyright (c) 2009 Seamus Abshere. See LICENSE for details.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/lib/switches.rb
CHANGED
@@ -58,8 +58,8 @@ module Switches
|
|
58
58
|
say "Don't forget to:"
|
59
59
|
say "* git add #{DEFAULT_PATH}"
|
60
60
|
say "* git add #{RAKE_PATH}"
|
61
|
-
say "* git
|
62
|
-
say "*
|
61
|
+
say "* git ignore #{CAPISTRANO_PATH}"
|
62
|
+
say "* git ignore #{CURRENT_PATH}"
|
63
63
|
say "You can refresh the gem tasks with Switches.setup. It won't touch anything else."
|
64
64
|
end
|
65
65
|
|
@@ -23,6 +23,7 @@ end
|
|
23
23
|
namespace :s do
|
24
24
|
%w{ c d on off clear reset backup restore default }.each do |cmd|
|
25
25
|
task cmd.to_sym, :roles => lambda { roles.keys.map(&:to_s).grep(/app/).map(&:to_sym) } do
|
26
|
+
upload File.join(File.dirname(__FILE__), '..', '..', 'lib', 'tasks', 'switches.rake'), File.join(deploy_to, 'current', 'lib', 'tasks', 'switches.rake')
|
26
27
|
|
27
28
|
# download switches xml from servers
|
28
29
|
raw_input = Hash.new
|
data/switches.gemspec
CHANGED