hekenga 1.0.1 → 1.0.2

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
  SHA256:
3
- metadata.gz: 7a38cb70bbe202d2aecd3f16353ca659aca7b50e4d90d91d6437040439f5b356
4
- data.tar.gz: cbb4e9a75fdf27338c91960182ebd9e0c11069869a74536fc6b2c00e2c044533
3
+ metadata.gz: 9b18d64f1af77f6390dc9205309821a4001a0a525dea11587786fda45df36867
4
+ data.tar.gz: f58dab795859624b4ba7b22d8ca9c69c25780afdb5b905d671b5af59ae590f9f
5
5
  SHA512:
6
- metadata.gz: a25a854810fde682c314bc2c690f8619785410e38f049ed3f9ddd2628d926b6600d48e45f34cf86d3fc15f941f756f7f1ab436c762d5936749a97f3db948febe
7
- data.tar.gz: 75a06ce6490d6710ec8116fa68c00ff447a7ffc650b945f511e0a5ebb1213e6e5ff03f7f719ec36934139f9661c0399400009706e22526166486ec5ff2e036a5
6
+ metadata.gz: 57ac85c8a45fb1519f198336013a21b1f4c47ff030366eacbfb154bf492d2cc402fbfe7b61108b7c286ebfc2436983d0b621a34d4c53fdc9e03adc852ac62793
7
+ data.tar.gz: 252990381afa7b2e43486c6724c667e9a2666407f3b42e080b845177d0204fedae289f4248db9dee938a1d5990bf727e4e2a1787215d5e607da99c9ee6de08f1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.0.2
4
+
5
+ - Fix `skip_prepare!` being ignored
6
+
3
7
  ## v1.0.1
4
8
 
5
9
  - Generate migrations without : in the filename for windows
@@ -120,7 +120,9 @@ module Hekenga
120
120
  return if records_to_write.empty?
121
121
  return if task_record.test_mode
122
122
 
123
- records_to_write.each {|record| record.send(:prepare_update) {}}
123
+ unless task.skip_prepare
124
+ records_to_write.each {|record| record.send(:prepare_update) {}}
125
+ end
124
126
 
125
127
  case task.write_strategy
126
128
  when :delete_then_insert
@@ -1,3 +1,3 @@
1
1
  module Hekenga
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hekenga
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tapio Saarinen