activerecord-snapshot 0.5.0 → 0.6.0
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6eba73fe022d84f87c65e203c7fa148c81297f34
|
|
4
|
+
data.tar.gz: e61ae919259ac0907d1a744ccf24bd949545c0c2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5fa19cd8ff7628ce42abfab245969763b0236be969c356bfb833ba481fde32f2bb77c584a5f3e1a6beda9eed6bbb6ae1edfca61e0d142e30df3d82fd2ee74876
|
|
7
|
+
data.tar.gz: e63b12b584dcd768c4f24108560cba3e62e12d4b06b1262b8a177ab626696cad6b5816fdf5f2432a0f80eb57b61402b762e85f73ea4ad73bfdb1bc4b5d70cc29
|
|
@@ -52,7 +52,8 @@ module ActiveRecord
|
|
|
52
52
|
|
|
53
53
|
steps[:import] = "Importing the snapshot into #{config.db.database}"
|
|
54
54
|
steps[:save] = "Caching the new snapshot version" unless named_version? || tables.present?
|
|
55
|
-
steps[:set_env] = "Setting database environment to #{Rails.env}"
|
|
55
|
+
steps[:set_env] = "Setting database environment to #{Rails.env}" if Rails::VERSION::MAJOR >= 5
|
|
56
|
+
|
|
56
57
|
steps
|
|
57
58
|
end
|
|
58
59
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activerecord-snapshot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bernardo Farah
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-11-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|