activerecord-snapshot 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de195bdfc050adc15f2b28dfd7b78026ced056a8
4
- data.tar.gz: c2ad53f185ff3b5745354c981d5daf0218f941eb
3
+ metadata.gz: 6eba73fe022d84f87c65e203c7fa148c81297f34
4
+ data.tar.gz: e61ae919259ac0907d1a744ccf24bd949545c0c2
5
5
  SHA512:
6
- metadata.gz: 93f3b2ec695ae60282c24ac2cd1a654e0ecd7f04b52478218862687dc8b41e65ab72f3e109bf5eff56525f6110e2dcc8fb33eedc3c95971d5879d3706d77ddbd
7
- data.tar.gz: 9fa24115b96b99af4cf5176441f599bcbbda183719b48f35bb13e6daa7351acad9a514497a6831e89772069cb683fb5220667fb51d563a0cb15f0647159b9fc4
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
 
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module Snapshot
3
- VERSION = '0.5.0'
3
+ VERSION = '0.6.0'
4
4
  end
5
5
  end
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.5.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-10-29 00:00:00.000000000 Z
11
+ date: 2018-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties