-
Notifications
You must be signed in to change notification settings - Fork 9
/
pt-osc.gemspec
35 lines (30 loc) · 1.44 KB
/
pt-osc.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'pt-osc/version'
Gem::Specification.new do |spec|
spec.name = 'pt-osc'
spec.version = Pt::Osc::VERSION
spec.authors = ['Steve Rice']
spec.email = ['[email protected]']
spec.license = 'MIT'
spec.summary = 'Rails migrations via pt-online-schema-change'
spec.description = 'Runs regular Rails/ActiveRecord migrations via the Percona Toolkit pt-online-schema-change tool.'
spec.homepage = 'https://github.com/steverice/pt-osc'
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.add_development_dependency 'bundler', '>= 1.10'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'shoulda'
spec.add_development_dependency 'faker'
spec.add_development_dependency 'mocha', '>= 0.9.0'
# For testing using dummy Rails app
spec.add_development_dependency 'rails', '>= 3.2', '< 5.0'
spec.add_development_dependency 'sqlite3'
spec.add_development_dependency 'minitest-stub_any_instance'
spec.add_development_dependency 'activerecord-import', '>= 0.5.0'
spec.add_runtime_dependency 'activerecord', '>= 3.2', '< 5.0'
spec.add_runtime_dependency 'mysql2', '~> 0.3.10'
end