farfugl 0.2.0 → 0.3.0
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.
- checksums.yaml +4 -4
- data/README.md +5 -17
- data/farfugl.gemspec +2 -2
- data/lib/farfugl.rb +1 -1
- data/lib/farfugl/railtie.rb +7 -0
- data/lib/farfugl/{tasks.rb → tasks/farfugl.rake} +0 -4
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9153e034216a375d13f11fe3aab4153c96ade08
|
4
|
+
data.tar.gz: 1d43f3272b7acb04d37b3044e0c78f7605391c60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7e298038302859255be65fd70c2fdfcda7761950acdb99b546c53d43b4a73cf82eb8e027cde44990f738568f927afd61db2921537aafe9131ab7eb37d0630cb
|
7
|
+
data.tar.gz: 388104d39e9be0810158f54f99a82979dcabacf74e09a0ec8c088a600eb60ae1c0d9f0ee116f5eb79fcf71c45781ec68f263176385193396e7d0f7fb804de887
|
data/README.md
CHANGED
@@ -3,26 +3,14 @@ Farfugl
|
|
3
3
|
|
4
4
|
[](http://badge.fury.io/rb/farfugl)
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
Migrating an old database with old migrations can be a pain because the
|
7
|
+
migrations often depend on code that doesn't exist in the latest version of the
|
8
|
+
application. The simplest solution is to checkout to the commit where each
|
9
|
+
migration was introduced (or last modified) and run each migration from there,
|
10
|
+
but this can be time-consuming and tedious. **Farfugl** automates this process.
|
10
11
|
|
11
12
|
### Setup
|
12
13
|
|
13
|
-
Update your Gemfile:
|
14
|
-
```ruby
|
15
|
-
source 'https://rubygems.org'
|
16
|
-
ruby '2.1.0'
|
17
|
-
|
18
|
-
gem 'rails'
|
19
|
-
# ...
|
20
|
-
gem 'farfugl'
|
21
|
-
# ...
|
22
|
-
```
|
23
|
-
Now run `bundle` to install **Farfugl**.
|
24
|
-
|
25
|
-
You may either add `gem 'farfugl' to your Gemfile
|
26
14
|
You can install **Farfugl** on your system like any other gem:
|
27
15
|
|
28
16
|
gem install farfugl
|
data/farfugl.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'farfugl'
|
3
|
-
s.version = '0.
|
4
|
-
s.date = '2014-
|
3
|
+
s.version = '0.3.0'
|
4
|
+
s.date = '2014-02-24'
|
5
5
|
s.summary = 'Run old Rails migrations without code dependence problems'
|
6
6
|
s.description = 'Run old Rails migrations without code dependence problems'
|
7
7
|
s.authors = ['Haukur Páll Hallvarðsson']
|
data/lib/farfugl.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: farfugl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Haukur Páll Hallvarðsson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Run old Rails migrations without code dependence problems
|
14
14
|
email: hph@hph.is
|
@@ -21,7 +21,8 @@ files:
|
|
21
21
|
- farfugl.gemspec
|
22
22
|
- lib/farfugl.rb
|
23
23
|
- lib/farfugl/git.rb
|
24
|
-
- lib/farfugl/
|
24
|
+
- lib/farfugl/railtie.rb
|
25
|
+
- lib/farfugl/tasks/farfugl.rake
|
25
26
|
homepage: https://github.com/hph/farfugl
|
26
27
|
licenses:
|
27
28
|
- MIT
|