activerecord-snapshot 0.4.0 → 0.5.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: 3af18e2c42bb3dd7acd4b4373e5dcdf8d199743a
4
- data.tar.gz: 758ecf4837318156514c1c1afb701ae71656e263
3
+ metadata.gz: de195bdfc050adc15f2b28dfd7b78026ced056a8
4
+ data.tar.gz: c2ad53f185ff3b5745354c981d5daf0218f941eb
5
5
  SHA512:
6
- metadata.gz: 56cd21383f2bd28f44ec6d2339918f02e25f7656fec1a0df64a0ae40397538d3b136a6c711924eb85e701632ab284a4f18ff5839ed7176967991b1f74d1bc05b
7
- data.tar.gz: 1fef7f3558765303c407b726a456d50e88eb1506c98889ad37f9c1b65d9ee149d155305fb6737b9d3bc699675c7e52335cd4218e974c6149c0b40987211a655e
6
+ metadata.gz: 93f3b2ec695ae60282c24ac2cd1a654e0ecd7f04b52478218862687dc8b41e65ab72f3e109bf5eff56525f6110e2dcc8fb33eedc3c95971d5879d3706d77ddbd
7
+ data.tar.gz: 9fa24115b96b99af4cf5176441f599bcbbda183719b48f35bb13e6daa7351acad9a514497a6831e89772069cb683fb5220667fb51d563a0cb15f0647159b9fc4
@@ -3,7 +3,7 @@ module ActiveRecord
3
3
  class OpenSSL
4
4
  def self.encrypt(input:, output:)
5
5
  system(<<-SH)
6
- nice openssl aes-256-cbc \\
6
+ nice openssl aes-256-cbc -md sha256 \\
7
7
  -in #{input} \\
8
8
  -out #{output} \\
9
9
  -kfile #{ActiveRecord::Snapshot.config.ssl_key}
@@ -12,7 +12,7 @@ module ActiveRecord
12
12
 
13
13
  def self.decrypt(input:, output:)
14
14
  system(<<-SH)
15
- nice openssl enc -d -aes-256-cbc \\
15
+ nice openssl enc -d -aes-256-cbc -md sha256 \\
16
16
  -in #{input} \\
17
17
  -out #{output} \\
18
18
  -kfile #{ActiveRecord::Snapshot.config.ssl_key}
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module Snapshot
3
- VERSION = '0.4.0'
3
+ VERSION = '0.5.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.4.0
4
+ version: 0.5.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-07-18 00:00:00.000000000 Z
11
+ date: 2018-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties