dekiru 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dekiru/data_migration_operator.rb +2 -2
- data/lib/dekiru/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53ac90388f6a6f6d56a8e61897f62c4963e78250731f004f9a8eb21105b20c0d
|
4
|
+
data.tar.gz: d6b94ccc5a44ef605c652aa78a28c40ef72da2262f3024471f325da851f65cf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a367514ad2e6d1f761f9b8f69893b25cbe785596be1ee3c978e9e31842d448cbc77a8ae37888a3306fab83c6d6b122b5898c54e90fd8326708ea2eb7c10a30f2
|
7
|
+
data.tar.gz: 2c2f24e2d8419d073563fd46f42da3df0d265c6c92d9de1fc5477c9d75ba6539968672519a00de7d699b56b267cdb10b990106bf68438cff00cca060e9b42286
|
@@ -12,7 +12,7 @@ module Dekiru
|
|
12
12
|
@title = title
|
13
13
|
@options = options
|
14
14
|
@stream = @options.fetch(:output, $stdout)
|
15
|
-
@without_transaction = @options.fetch(:without_transaction,
|
15
|
+
@without_transaction = @options.fetch(:without_transaction, false)
|
16
16
|
@side_effects = Hash.new do |hash, key|
|
17
17
|
hash[key] = Hash.new(0)
|
18
18
|
end
|
@@ -122,7 +122,7 @@ module Dekiru
|
|
122
122
|
end
|
123
123
|
|
124
124
|
def run(&block)
|
125
|
-
if @options
|
125
|
+
if @options.fetch(:warning_side_effects, true)
|
126
126
|
warning_side_effects(&block)
|
127
127
|
else
|
128
128
|
instance_eval(&block)
|
data/lib/dekiru/version.rb
CHANGED