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 +4 -4
- data/lib/migration_signature/migration_file.rb +1 -1
- data/lib/migration_signature/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: 2270e93d375a0754335f53548f16a2582978565a78c2b13b3109879cb6ad842a
|
4
|
+
data.tar.gz: f00109d5c10341a3b58907d0f3718897014c0724529508b24a718b7619e69130
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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[
|
35
|
+
if !new_lines[1].empty? && !new_lines[1].start_with?('#')
|
36
36
|
new_lines.unshift("\n")
|
37
37
|
end
|
38
38
|
end
|