--- !ruby/object:Gem::Specification name: switches version: !ruby/object:Gem::Version version: 0.1.4 platform: ruby authors: - Seamus Abshere autorequire: bindir: bin cert_chain: [] date: 2009-11-17 00:00:00 -05:00 default_executable: dependencies: - !ruby/object:Gem::Dependency name: rspec type: :development version_requirement: version_requirements: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: 1.2.9 version: - !ruby/object:Gem::Dependency name: activesupport type: :runtime version_requirement: version_requirements: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: "0" version: description: "\n\ Switches lets you turn on and off parts of your code from the commandline. There's a defaults.yml and a current.yml in the background.\n\n\ For example:\n\ app/models/user.rb\n\ after_create :subscribe_email if Switches.campaign_monitor?\n\n\ >> Switches.campaign_monitor?\n\ # => false\n\n\ $ rake switches:on[campaign_monitor]\n\n\ >> Switches.campaign_monitor?\n\ # => true\n\n\ $ rake switches:reset # goes back to default.yml\n\ $ rake switches:diff # shows diff b/w current.yml and default.yml\n\ $ rake s:d # alias for switches:diff\n\ $ rake s:c # alias for switches:list_current\n\n\ etc.\n\n\ It's inspired by ActiveSupport's StringInquirer (e.g. Rails.development?) and traditional compile-time assertions.\n " email: seamus@abshere.net executables: [] extensions: [] extra_rdoc_files: - LICENSE - README - README.html - README.markdown files: - .document - .gitignore - LICENSE - README - README.markdown - Rakefile - VERSION - lib/switches.rb - lib/tasks/capistrano_tasks.rb - lib/tasks/switches.rake - spec/spec.opts - spec/spec_helper.rb - spec/switches_spec.rb - switches.gemspec - README.html has_rdoc: true homepage: http://github.com/seamusabshere/switches licenses: [] post_install_message: rdoc_options: - --charset=UTF-8 require_paths: - lib required_ruby_version: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: "0" version: required_rubygems_version: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: "0" version: requirements: [] rubyforge_project: switches rubygems_version: 1.3.5 signing_key: specification_version: 3 summary: Turn on and off parts of your code based on yaml files. test_files: - spec/spec_helper.rb - spec/switches_spec.rb