switches 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
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
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 add #{CAPISTRANO_PATH}"
62
- say "* put 'config/switches/current.yml' to your .gitignore"
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{switches}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Seamus Abshere"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: switches
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seamus Abshere