Sha256: b3806fad24f4b80fb7085cd80feeec44e6b6a0fa549aec52fb16e1ab411c21d9

Contents?: true

Size: 1.81 KB

Versions: 3

Compression:

Stored size: 1.81 KB

Contents

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

Gem::Specification.new do |s|
  s.name        = 'ar-octopus'
  s.version     = Octopus::VERSION
  s.authors     = ['Thiago Pradi', 'Mike Perham', 'Gabriel Sobrinho']
  s.email       = ['tchandy@gmail.com', 'mperham@gmail.com', 'gabriel.sobrinho@gmail.com']
  s.homepage    = 'https://github.com/tchandy/octopus'
  s.summary     = 'Easy Database Sharding for ActiveRecord'
  s.description = 'This gem allows you to use sharded databases with ActiveRecord. This also provides a interface for replication and for running migrations with multiples shards.'

  s.files         = `git ls-files`.split("\n")
  s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  s.executables   = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
  s.require_paths = ['lib']

  s.post_install_message = "Important: If you are upgrading from < Octopus 0.5.0 you need to run:\n" \
                           "$ rake octopus:copy_schema_versions\n\n" \
                           'Octopus now stores schema version information in each shard and migrations will not ' \
                           'work properly unless this task is invoked.'

  s.add_dependency 'activerecord', '>= 3.2.0'
  s.add_dependency 'activesupport', '>= 3.2.0'

  s.add_development_dependency 'appraisal', '>= 0.3.8'
  s.add_development_dependency 'mysql2', '> 0.3'
  s.add_development_dependency 'pg', '>= 0.11.0'
  s.add_development_dependency 'rake', '>= 0.8.7'
  s.add_development_dependency 'rspec', '>= 3'
  s.add_development_dependency 'rubocop'
  s.add_development_dependency 'sqlite3', '>= 1.3.4'

  if RUBY_VERSION < '2.0.0'
    s.add_development_dependency 'pry-debugger'
  else
    s.add_development_dependency 'pry-byebug'
  end

  s.license = 'MIT'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ar-octopus-0.8.5 ar-octopus.gemspec
ar-octopus-0.8.4 ar-octopus.gemspec
ar-octopus-0.8.3 ar-octopus.gemspec