xcop 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xcop.rb +1 -1
- data/lib/xcop/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d76b2ac9a770f9fed2c3104af130c575fcb6feb9
|
4
|
+
data.tar.gz: ef4750fcdc6b1378ad560a67d252b33e161bf8c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1751468ef75335d74e76ecd203369b88b8ca49358a8b848d778f5e499325b7c5c66189958bc8a7f1ff260075556add064fca80844ec1ee2ac5fdaab7b32aa05d
|
7
|
+
data.tar.gz: c027812f78ebea034525e47240145dfab07e032145193ffefed90d4753a71774a9ffb65feaa57f767f0afebc0e8cfb40fca99f83d5a69f628ed31dc2b28bf306
|
data/lib/xcop.rb
CHANGED
@@ -99,7 +99,7 @@ module Xcop
|
|
99
99
|
xml = Nokogiri::XML(File.open(@path), &:noblanks)
|
100
100
|
unless license.empty?
|
101
101
|
xml.children.before(
|
102
|
-
Nokogiri::XML::Comment.new(xml, license.strip)
|
102
|
+
Nokogiri::XML::Comment.new(xml, "\n#{license.strip}\n")
|
103
103
|
)
|
104
104
|
end
|
105
105
|
ideal = xml.to_xml(indent: 2)
|
data/lib/xcop/version.rb
CHANGED