nondestructive_migrations 0.9.4 → 0.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/nondestructive_migrator.rb +13 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZjU4NDRjNjlhZjZiMjg1MTk2NmM4MTJmZjlmODNlZjgzMTc1YWI4OA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDJhMzE2ODVjYmU0NDQ5Njk1MzRjYWY5OWQ0YjA3MzQ4NjllNjgxYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDI2YzVkNmE4MGU5NTg4MjJkZmEzODI1YTJlNzI4MTI0Yjk2ODgwNWQyYTFm
|
10
|
+
ZGE3YjhkNzY4OTg0MGNlNDk3M2RhNDUxYjJmNDFiMjA4MzQ3MDJlZjFiZjI5
|
11
|
+
OTUwYTUyMDVkNjFhZDVkODc3MzVhZjg1ZDcyYWM2YmE5MGI1ZWM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
|
+
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
|