witsec 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: a64aa7400a92fafdb714ab3c05c69b6e18b88f33efb26b7e51f7cac5d143d8cc
4
- data.tar.gz: e1db069a0bdd0f1504704d980e05d354c34367c022ec1626cc45f75c59281600
3
+ metadata.gz: f9efdb6fa50bf7dfccc53c018e720fba3ecca0bc700f030f3a094782bae65cd6
4
+ data.tar.gz: 57d8ff0a76ae65f6069d375877ba5d46c4a85f23f3378d3448b5d221f8fcbf40
5
5
  SHA512:
6
- metadata.gz: 90011e6bca658b29c1c28e6007742f2bac7b5769bbb7100c14bc8ee183f2abe065ce45425b5896365a3d13f03bf9d7059d466c62f93ec2c01998d811e93251f1
7
- data.tar.gz: 00f0cf42cffe76819f6f6a03bfd0bbf8e06918c6edc87a2ef18f9838cb7df65834ac2359bf3006343cc97e4c8b95edd42c32beeb26689652d75b3ff5dc955ac0
6
+ metadata.gz: 3fb14f542f8044531e8197907cacb81920cdc49443fc19bd6082496e271e051f41e6ae04ff80218cae72700f25f06a60b407ffc10f18c57a4c85fc73d8c1ff6f
7
+ data.tar.gz: 260e6e6467b1f8888fdb9779cc1d534cd7f069060a25722a6f9e8c37149d33a04f9fc1dd21b990e7150dbd6201b8db879d34b5f6fa3a6df53d7eaf96d07691d6
@@ -77,6 +77,8 @@ module Witsec
77
77
  private
78
78
 
79
79
  def check_input_and_output_are_different
80
+ return if Rails.env.test?
81
+
80
82
  if input_connection_pool.lease_connection.current_database == output_connection_pool.lease_connection.current_database
81
83
  raise Witsec::InputAndOutputDatabasesAreTheSame, "You've probably forgotten to setup the output database. It must be named anonymized."
82
84
  end
@@ -1,3 +1,3 @@
1
1
  module Witsec
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: witsec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolai Bach Woller