data_migrator 1.1 → 1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/data_migrator.rb +6 -0
  2. data/lib/version.rb +1 -1
  3. metadata +3 -3
@@ -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 = /^\./
@@ -1,3 +1,3 @@
1
1
  module DataMigrator
2
- VERSION = '1.1' unless defined?(::DataMigrator::VERSION)
2
+ VERSION = '1.2' unless defined?(::DataMigrator::VERSION)
3
3
  end
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: 13
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
- - 1
9
- version: "1.1"
8
+ - 2
9
+ version: "1.2"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Russell Holmes, Adam Hull