-
Notifications
You must be signed in to change notification settings - Fork 9
/
good_migrations.gemspec
32 lines (27 loc) · 1.35 KB
/
good_migrations.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
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "good_migrations/version"
Gem::Specification.new do |spec|
spec.name = "good_migrations"
spec.version = GoodMigrations::VERSION
spec.authors = ["Justin Searls", "Kevin Baribeau"]
spec.email = ["[email protected]", "[email protected]"]
spec.summary = "Prevents Rails from auto-loading app code in database migrations"
spec.description = "Referencing code in app/ from a database migration risks breaking the migration when your app code changes; this gem prevents that mistake"
spec.homepage = "https://github.com/testdouble/good-migrations"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.1.0"
spec.metadata["rubygems_mfa_required"] = "true"
spec.files = `git ls-files -z -- lib CHANGELOG* LICENSE*`.split("\x0")
spec.executables = `git ls-files -z -- exe`.split("\x0").map { File.basename _1 }
spec.extra_rdoc_files = `git ls-files -z -- example README*`.split("\x0")
spec.require_paths = ["lib"]
spec.bindir = "exe"
spec.add_dependency "railties", ">= 3.1"
spec.add_dependency "activerecord", ">= 3.1"
spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
spec.add_development_dependency "minitest"
spec.add_development_dependency "pry"
spec.add_development_dependency "standard"
end