jekyll-content-security-policy-generator 1.6.14 → 1.6.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8e742af3bc7646fac70a8be0796f329ccd148785334dd7d24c9e4276fdd55f9
4
- data.tar.gz: 3602a3a14acd1d7466561c7628944741aa81446fb05d8966039a2f1bd4d7465c
3
+ metadata.gz: 51ac58de24c4823f70c76389c591fa79c380808a053d4cf27550c5f2b4a6c171
4
+ data.tar.gz: 16c7ae6382f5161e93f3c31ef95d9da7d317a24aa614d92f4d7649489623dcbe
5
5
  SHA512:
6
- metadata.gz: 74199739d0fbc97015b36643a42afaefc23dc995259dad2a64058b8aef2855f3357d8d7a3e32d830701dbe0b65a866bd78fea21a2f123ebb76e777b56fcc2e7a
7
- data.tar.gz: c0ca5274a8338fcaeac7f8b6f56ed678b5e49b7147db0e2425c3d3da9b53bcd2be412ae692452d7640562b1e0ee51fd9dea4f77f26e19bf0384b6205594274eb
6
+ metadata.gz: bf7182c08e98b06678d3900fc4990d49e7c552c7644f077fa3c770642732d7b1303239d486053ed71cad85ee72cc00c83210b30e6cf31642d56871ec5c2fefec
7
+ data.tar.gz: db7b299bae6fe8b6d838600b612cdb89904cb7fe837358d8da56ed28f0d40c1ad180cc132592c3bdf8febfbdd05058a7ca48d42db080d83ddcc37d9af2d9a40a
@@ -257,8 +257,6 @@ module Jekyll
257
257
  end
258
258
  end
259
259
 
260
-
261
-
262
260
  ##
263
261
  # Write document contents
264
262
  def write(dest)
@@ -266,11 +264,11 @@ module Jekyll
266
264
 
267
265
  if File.extname(dest_path) == ".html"
268
266
  content_security_policy_generator = ContentSecurityPolicyGenerator.new output
269
- output = content_security_policy_generator.run
267
+ self.write_file_contents(dest_path, content_security_policy_generator.run)
270
268
  else
271
- output = File.read(dest_path)
269
+ self.write_file_contents(dest_path, output)
272
270
  end
273
- write_file_contents(dest_path, output)
271
+
274
272
  end
275
273
 
276
274
  end
@@ -1,3 +1,3 @@
1
1
  module JekyllContentSecurityPolicyGenerator
2
- VERSION = "1.6.14".freeze
2
+ VERSION = "1.6.15".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-content-security-policy-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.14
4
+ version: 1.6.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - strongscot