rails-data-migrations 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rails_data_migrations/version.rb +1 -1
- data/lib/tasks/data_migrations.rake +10 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebc85fc891c0e025cf938bbb675f72d54d1f1cab
|
4
|
+
data.tar.gz: 055927db4badb55b926ce49bc08091c55de2bec0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74444da3332439fc50a1c6af89e852333f05c68ee492375215cb4f3a94abc575130a2214bb27677da96d19d34a857cace5bc833618d1a965dc74a3ffb20f1d55
|
7
|
+
data.tar.gz: bb8b6db4ce034907af99e22f5022316da1c6510f26dec428a91146ccadd9c89a49b06690df8c018992fceadad000b2fb8f809e9a1e3ab19c2f6f6468fcfc6fc0
|
@@ -47,5 +47,15 @@ namespace :data do
|
|
47
47
|
puts "data migration #{version} was skipped."
|
48
48
|
end
|
49
49
|
end
|
50
|
+
|
51
|
+
desc 'List pending migrations'
|
52
|
+
task pending: :init_migration do
|
53
|
+
puts "#{'% 16s' % 'Migration ID'} Migration Name"
|
54
|
+
puts '--------------------------------------------------'
|
55
|
+
migrator = RailsDataMigrations::Migrator
|
56
|
+
migrator.open(migrator.migrations_path).pending_migrations.each do |m|
|
57
|
+
puts "#{'% 16i' % m.version} #{m.name}"
|
58
|
+
end
|
59
|
+
end
|
50
60
|
end
|
51
61
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-data-migrations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey Glukhov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
141
|
rubyforge_project:
|
142
|
-
rubygems_version: 2.6.
|
142
|
+
rubygems_version: 2.6.8
|
143
143
|
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: Run your data migration tasks in a db:migrate-like manner
|