# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'wicked/version'

Gem::Specification.new do |gem|
  gem.name          = "wicked"
  gem.version       = Wicked::VERSION
  gem.authors       = ["Richard Schneeman"]
  gem.email         = ["richard.schneeman+rubygems@gmail.com"]
  gem.description   = "Wicked is a Rails engine for producing easy wizard controllers"
  gem.summary       = "Use Wicked to turn your controller into a wizard"
  gem.homepage      = "https://github.com/schneems/wicked"
  gem.license       = "MIT"
  gem.extra_rdoc_files = [
    "README.md"
  ]
  gem.files         = `git ls-files`.split($/)
  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
  gem.require_paths = ["lib"]
  gem.add_dependency             "rails",    [">= 3.0.7"]
  gem.add_development_dependency "capybara", [">= 0"]
end

# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'wicked/version'

Gem::Specification.new do |gem|
  gem.name          = "wicked"
  gem.version       = Wicked::VERSION
  gem.authors       = ["Richard Schneeman"]
  gem.email         = ["richard.schneeman+rubygems@gmail.com"]
  gem.description   = "Wicked is a Rails engine for producing easy wizard controllers"
  gem.summary       = "Use Wicked to turn your controller into a wizard"
  gem.homepage      = "https://github.com/schneems/wicked"
  gem.license       = "MIT"
  gem.extra_rdoc_files = [
    "README.md"
  ]
  gem.files         = `git ls-files`.split($/)
  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
  gem.require_paths = ["lib"]
  gem.add_dependency             "railties", [">= 3.0.7"]
  gem.add_development_dependency "rails",    [">= 3.0.7"]
  gem.add_development_dependency "capybara", [">= 0"]
end

Change the runtime dependency to `railties`, not `rails`.
Change the runtime dependency to `railties`, not `rails`.

`rails` will bring in other gems that wicked doesn't depend on and might not be
in use in the host app, like `activerecord`, `activejob` or `actionmailer`.
