moargration 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -9,9 +9,17 @@ For more information refer to [Rails migrations with no downtime](http://pedro.h
9
9
 
10
10
  ## Setup
11
11
 
12
- Add to a initializer in your app, eg `config/initializers/moargration.rb` for Rails apps:
12
+ Add to your Gemfile:
13
13
 
14
- Moargration.init
14
+ ```ruby
15
+ gem "moargration"
16
+ ```
17
+
18
+ Then initialize it from an initializer, eg `config/initializers/moargration.rb` for Rails apps:
19
+
20
+ ```ruby
21
+ Moargration.init
22
+ ```
15
23
 
16
24
  Worry not, Moargration won't impact your boot time until you actually need it.
17
25
 
data/lib/moargration.rb CHANGED
@@ -3,7 +3,7 @@ module Moargration
3
3
 
4
4
  extend self
5
5
 
6
- def setup
6
+ def init
7
7
  return unless ignore = ENV["MOARGRATION_IGNORE"]
8
8
  spec = parse(ignore)
9
9
  hack_active_record(spec)
data/moargration.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "moargration"
7
- gem.version = "0.0.1"
7
+ gem.version = "0.0.2"
8
8
  gem.authors = ["Pedro Belo"]
9
9
  gem.email = ["pedro@heroku.com"]
10
10
  gem.description = %q{Helping you migrate, MOAR.}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moargration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: