data_migrator 1.1 → 1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/data_migrator.rb +6 -0
- data/lib/version.rb +1 -1
- metadata +3 -3
data/lib/data_migrator.rb
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
require "benchmark"
|
2
2
|
|
3
|
+
class BackupTask < Rails::Railtie
|
4
|
+
rake_tasks do
|
5
|
+
Dir[File.join(File.dirname(__FILE__),'tasks/*.rake')].each { |f| load f }
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
3
9
|
class DataMigrator
|
4
10
|
DEFAULT_MIGRATIONS_PATH = "#{Rails.root}/db/data_migrations"
|
5
11
|
REMOVE_FILES_REGEX = /^\./
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: data_migrator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: "1.
|
8
|
+
- 2
|
9
|
+
version: "1.2"
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Russell Holmes, Adam Hull
|