nondestructive_migrations 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjljMzdjYWI2NDM3NjBkMzhkYWI4Njc3MGZhYjkxYTM2NjJmMjkzYg==
4
+ ZjU4NDRjNjlhZjZiMjg1MTk2NmM4MTJmZjlmODNlZjgzMTc1YWI4OA==
5
5
  data.tar.gz: !binary |-
6
- M2JlZDcyZjE4YzI2ODFmNWI2ZDE4ZmIzODI4YTg1NTVjODg2NTM5Zg==
6
+ ZDJhMzE2ODVjYmU0NDQ5Njk1MzRjYWY5OWQ0YjA3MzQ4NjllNjgxYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MzRmOWEwNmVkZGM5YWIwZDlmYzIwYTEwMTI4NDhmNWYyOTBmYTBlZmFkOGY3
10
- NjQ3ZWU5MjE0Nzg0YjYyMmNlMzhhZWRlNjY3NmNjMDQ2NzJjMGQwODEyMjJi
11
- ODQ2YzFhNWJkZTkwODU4MmE2YTY0NTk3NDc0MmMwN2FhYjBhYjU=
9
+ ZDI2YzVkNmE4MGU5NTg4MjJkZmEzODI1YTJlNzI4MTI0Yjk2ODgwNWQyYTFm
10
+ ZGE3YjhkNzY4OTg0MGNlNDk3M2RhNDUxYjJmNDFiMjA4MzQ3MDJlZjFiZjI5
11
+ OTUwYTUyMDVkNjFhZDVkODc3MzVhZjg1ZDcyYWM2YmE5MGI1ZWM=
12
12
  data.tar.gz: !binary |-
13
- OTZjMjE5MTc0ODMzM2Q5ZWM0NWMyYjg5NDAyMGY2MjU5ODY2ZGEzYTFkNWRh
14
- YmI5MGNlNjZhODgwMWFmMjFmODgxMzdhM2JjMGQwZTFlM2IzY2JmMmRmNGQ3
15
- YmI4N2VhNjE5Y2NmYjQ1M2RlYzhkOWJiZjkxM2MyYTQ4OTNkYTg=
13
+ OGY5MTEyYjBiMTQyNjgxMmU0YTY4MTNiYmI1ZTQwYjJhMjk5ODI3ZGI3NTg0
14
+ MDQ2NjYyNDM1NTNiMGZmMGJhMzZmNDZkYWJhM2UzY2U0ZjlhMGU4NmRjZTVh
15
+ M2M0NTRjOGY3ZTQzZDYwZDdjNDA2YTQ0NDNkMjRjYTBhNjNjN2E=
@@ -0,0 +1,13 @@
1
+ class NondestructiveMigrator < ActiveRecord::Migrator
2
+ # This class related to data migration.
3
+ # Used in rake tasks (rake data:[migrate|rollback|up|down])
4
+ class <<self
5
+ def migrations_path
6
+ MIGRATIONS_PATH
7
+ end
8
+
9
+ def schema_migrations_table_name
10
+ 'data_migrations'
11
+ end
12
+ end
13
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nondestructive_migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Fleetwood-Boldt
@@ -20,6 +20,7 @@ files:
20
20
  - lib/generators/data_migration_generator.rb
21
21
  - lib/generators/data_migration_install_generator.rb
22
22
  - lib/nondestructive_migrations.rb
23
+ - lib/nondestructive_migrator.rb
23
24
  homepage: https://github.com/jasonfb/nondestructive_migrations
24
25
  licenses:
25
26
  - MIT