module ZeroDowntimeMigrations

Constants

GEMSPEC

Public Class Methods

gemspec() click to toggle source
   # File lib/zero_downtime_migrations.rb
22 def gemspec
23   @gemspec ||= Gem::Specification.load(root.join(GEMSPEC).to_s)
24 end
root() click to toggle source
   # File lib/zero_downtime_migrations.rb
26 def root
27   @root ||= Pathname.new(__FILE__).dirname.dirname
28 end
version() click to toggle source
   # File lib/zero_downtime_migrations.rb
30 def version
31   gemspec.version.to_s
32 end