unschema 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -3
- data/lib/unschema/version.rb +1 -1
- data/unschema.gemspec +3 -3
- metadata +4 -4
data/README.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
|
-
# Unschema
|
1
|
+
# Unschema - rebase your schema.rb
|
2
2
|
|
3
|
-
|
3
|
+
Splits yout schema.rb into separate migrations per table.
|
4
|
+
|
5
|
+
Every table migration contains a create_table and additional add_index calls.
|
6
|
+
|
7
|
+
We use it to cleanup older projects, that gets reused as codebase for new projects.
|
4
8
|
|
5
9
|
## Installation
|
6
10
|
|
@@ -18,7 +22,7 @@ Or install it yourself as:
|
|
18
22
|
|
19
23
|
## Usage
|
20
24
|
|
21
|
-
|
25
|
+
puts "usage: unschema [SCHEMA_FILE] [MIGRATIONS_DIR] [START_VERSION]"
|
22
26
|
|
23
27
|
## Contributing
|
24
28
|
|
data/lib/unschema/version.rb
CHANGED
data/unschema.gemspec
CHANGED
@@ -8,9 +8,9 @@ Gem::Specification.new do |gem|
|
|
8
8
|
gem.version = Unschema::VERSION
|
9
9
|
gem.authors = ["Jakob Holderbaum"]
|
10
10
|
gem.email = ["jh@neopoly.de"]
|
11
|
-
gem.description = %q{Splits
|
12
|
-
gem.summary = %q{Splits
|
13
|
-
gem.homepage = ""
|
11
|
+
gem.description = %q{Splits your current schema.rb into per-table migrations. Think of it as >rebase< for your migrations.}
|
12
|
+
gem.summary = %q{Splits your current schema.rb into per-table migrations}
|
13
|
+
gem.homepage = "https://github.com/neopoly/unschema"
|
14
14
|
|
15
15
|
gem.files = `git ls-files`.split($/)
|
16
16
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unschema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ bindir: bin
|
|
11
11
|
cert_chain: []
|
12
12
|
date: 2013-02-26 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
|
-
description: Splits
|
14
|
+
description: Splits your current schema.rb into per-table migrations. Think of it
|
15
15
|
as >rebase< for your migrations.
|
16
16
|
email:
|
17
17
|
- jh@neopoly.de
|
@@ -35,7 +35,7 @@ files:
|
|
35
35
|
- test/integration/fixtures/schema.rb
|
36
36
|
- test/integration/target/.keep
|
37
37
|
- unschema.gemspec
|
38
|
-
homepage:
|
38
|
+
homepage: https://github.com/neopoly/unschema
|
39
39
|
licenses: []
|
40
40
|
post_install_message:
|
41
41
|
rdoc_options: []
|
@@ -58,7 +58,7 @@ rubyforge_project:
|
|
58
58
|
rubygems_version: 1.8.24
|
59
59
|
signing_key:
|
60
60
|
specification_version: 3
|
61
|
-
summary: Splits
|
61
|
+
summary: Splits your current schema.rb into per-table migrations
|
62
62
|
test_files:
|
63
63
|
- test/helper.rb
|
64
64
|
- test/integration/end_to_end_test.rb
|