# -*- encoding: utf-8 -*-
$:.push File.expand_path('../lib', __FILE__)
require 'db_charmer/version'

Gem::Specification.new do |s|
  s.name          = 'db-charmer'
  s.version       = DbCharmer::Version::STRING
  s.platform      = Gem::Platform::RUBY

  s.authors       = [ 'Oleksiy Kovyrin' ]
  s.email         = 'alexey@kovyrin.net'
  s.homepage      = 'http://github.com/kovyrin/db-charmer'
  s.summary       = 'ActiveRecord Connections Magic (slaves, multiple connections, etc)'
  s.description   = 'DbCharmer is a Rails plugin (and gem) that could be used to manage AR model connections, implement master/slave query schemes, sharding and other magic features many high-scale applications need.'

  s.rdoc_options = [ '--charset=UTF-8' ]

  s.files            = `git ls-files`.split("\n")
  s.require_paths    = [ 'lib' ]
  s.extra_rdoc_files = [ 'LICENSE', 'README.rdoc' ]

  # Dependencies
  s.add_dependency 'activesupport', '>= 3.0'
  s.add_dependency 'activerecord', '~> 3.0'

  s.add_development_dependency 'rspec'
  s.add_development_dependency 'yard'
  s.add_development_dependency 'actionpack'
end

# -*- encoding: utf-8 -*-
$:.push File.expand_path('../lib', __FILE__)
require 'db_charmer/version'

Gem::Specification.new do |s|
  s.name          = 'db-charmer'
  s.version       = DbCharmer::Version::STRING
  s.platform      = Gem::Platform::RUBY

  s.authors       = [ 'Oleksiy Kovyrin' ]
  s.email         = 'alexey@kovyrin.net'
  s.homepage      = 'http://github.com/kovyrin/db-charmer'
  s.summary       = 'ActiveRecord Connections Magic (slaves, multiple connections, etc)'
  s.description   = 'DbCharmer is a Rails plugin (and gem) that could be used to manage AR model connections, implement master/slave query schemes, sharding and other magic features many high-scale applications need.'

  s.rdoc_options = [ '--charset=UTF-8' ]

  s.files            = `git ls-files`.split("\n")
  s.require_paths    = [ 'lib' ]
  s.extra_rdoc_files = [ 'LICENSE', 'README.rdoc' ]

  # Dependencies
  s.add_dependency 'activesupport', '< 3.1'
  s.add_dependency 'activerecord', '< 3.1'

  s.add_development_dependency 'rspec'
  s.add_development_dependency 'yard'
  s.add_development_dependency 'actionpack'
end

Change dependencies in gemspec: we support 2.2, 2.3 and 3.0 now, but stupid rubygems does not support version ranges
Change dependencies in gemspec: we support 2.2, 2.3 and 3.0 now, but stupid rubygems does not support version ranges
