jekyll-theme-open-project-helpers 2.0.10 → 2.0.11

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
  SHA1:
3
- metadata.gz: '08db826b2f533b5893b5fb6c7057b1803d8cadef'
4
- data.tar.gz: 6b202ae0b1bb47fbc95c19771e8ef78945ece46b
3
+ metadata.gz: a82413000d529db1cc9a06014066c90b99c0f945
4
+ data.tar.gz: ded7e2ae65befd7f4031fa2a215a310ad948f81a
5
5
  SHA512:
6
- metadata.gz: 061f89468f26e160755f3b5ea9f238abbbc8923aebe596f70a99324c509711cc8bb6d9edd3a12c772c96bc695fcc9b21f907bd133d85608b8342cd1a09194cb2
7
- data.tar.gz: fab9b21037a087aed88768b4cb0fd8fe07f054933368c2221f9d507a46f047b14df0fe58d240ae3f964c92f4013ce1f4fa9bdaed3c5b427d2de216baf531867a
6
+ metadata.gz: 3a6efffe7166f335ff3b409521e9041972886ba729d23ebe500f9167c05f2afdce48b89344aa9ac914b5cce2c3f612caf18881f4c5306b1311383a2dbe872444
7
+ data.tar.gz: 1de20936e2cd130b19ad4777dc9afa70b7e0370bbf23d37f2d87b5322ff7863c9117f68d9f8c1d9832a5370a328e812ecae16a7c7363a0ea8fa80d35a4e0cedc
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'jekyll-theme-open-project-helpers'
5
- s.version = '2.0.10'
5
+ s.version = '2.0.11'
6
6
  s.authors = ['Ribose Inc.']
7
7
  s.email = ['open.source@ribose.com']
8
8
 
@@ -9,6 +9,7 @@ require 'jekyll-theme-open-project-helpers/filterable_index'
9
9
  require 'jekyll-theme-open-project-helpers/blog_index'
10
10
  require 'jekyll-theme-open-project-helpers/external_links'
11
11
  require 'jekyll-theme-open-project-helpers/spec_builders/spec_builder'
12
+ require 'jekyll-theme-open-project-helpers/static_file_fix'
12
13
 
13
14
 
14
15
  module Jekyll
@@ -0,0 +1,8 @@
1
+ require 'fileutils'
2
+
3
+ Jekyll::Hooks.register :pages, :post_write do |page|
4
+ if page.path == "robots.txt" or page.path == "sitemap.xml"
5
+ File.write(page.site.in_dest_dir(page.path), page.content, :mode => "wb")
6
+ end
7
+ end
8
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-open-project-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.10
4
+ version: 2.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
@@ -100,6 +100,7 @@ files:
100
100
  - lib/jekyll-theme-open-project-helpers/spec_builders/png_diagram.html
101
101
  - lib/jekyll-theme-open-project-helpers/spec_builders/png_diagrams.rb
102
102
  - lib/jekyll-theme-open-project-helpers/spec_builders/spec_builder.rb
103
+ - lib/jekyll-theme-open-project-helpers/static_file_fix.rb
103
104
  homepage: https://github.com/riboseinc/jekyll-theme-open-project-helpers/
104
105
  licenses:
105
106
  - MIT