migration_signature 0.1.0 → 0.1.1

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: 21b9a40066ce68440305cfca161d1f774d80be846ea19ea2938df5612e7c32cc
4
- data.tar.gz: 03713b084e7381e46b17bcbfd67a7f3ca8647a1b8ef363d7a9862d40e999c3f7
3
+ metadata.gz: 2270e93d375a0754335f53548f16a2582978565a78c2b13b3109879cb6ad842a
4
+ data.tar.gz: f00109d5c10341a3b58907d0f3718897014c0724529508b24a718b7619e69130
5
5
  SHA512:
6
- metadata.gz: ac6c41cbc16270c4823ff650bfc6b71310bfbf35fc87755fd8acfff2dac71433bec24cd57978f38b4d4a9100ceeff8785c0107f3617c0e0edd1430e9857dd015
7
- data.tar.gz: 7db7de487a64a60bb53a815d6b00b05690a2673178d9d02c7487a0157a00d695c5b1cba2d574f83dae0d37b08392d7e3ed87beb39f96f8b629e5f3463819ed10
6
+ metadata.gz: 2ab17f8901587e060e6f4b9a7f2c68ea42109e4c3805cfc616c9caf156c53d11eb73afa1504494860ddb280e0c41b0765e73799ca89040268dbbc26d885273df
7
+ data.tar.gz: 579d9fc1ca343e233bc56ce2c8836ccaae24832023c441b9e70d7a4ccf8b90b596d4cbaded59a89299e2031266cf3acb53e6910982fcb00c84e6b8f86b152121
@@ -32,7 +32,7 @@ module MigrationSignature
32
32
  unless signature?
33
33
  new_lines.unshift("\n")
34
34
  # add blank line between magic comments and content
35
- if !new_lines[1].empty? && !new_lines[2].start_with?('#')
35
+ if !new_lines[1].empty? && !new_lines[1].start_with?('#')
36
36
  new_lines.unshift("\n")
37
37
  end
38
38
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MigrationSignature
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: migration_signature
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Allie