Sha256: 18f482243520d885b7639a849fc1eec94873ac2f976aff45f0b13f9f1622bb00

Contents?: true

Size: 398 Bytes

Versions: 38

Compression:

Stored size: 398 Bytes

Contents

module Jekyll
  class StaticFile

    def octopod_exclude
      src = path.sub("#{@base}/", '')
      nested_files = %w[]

      excludes = %w[Gemfile Gemfile.lock README.md octopod]
      return true if excludes.include?(src)
    end

    alias_method :_octopod_original_write, :write

    def write(dest)
      return true if octopod_exclude

      _octopod_original_write(dest)
    end
  end
end

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
jekyll-octopod-0.9.23 lib/jekyll/static_file.rb
jekyll-octopod-0.9.22 lib/jekyll/static_file.rb
jekyll-octopod-0.9.21 lib/jekyll/static_file.rb
jekyll-octopod-0.9.20 lib/jekyll/static_file.rb
jekyll-octopod-0.9.19 lib/jekyll/static_file.rb
jekyll-octopod-0.9.18 lib/jekyll/static_file.rb
jekyll-octopod-0.9.17 lib/jekyll/static_file.rb
jekyll-octopod-0.9.15 lib/jekyll/static_file.rb
jekyll-octopod-0.9.14 lib/jekyll/static_file.rb
jekyll-octopod-0.9.13 lib/jekyll/static_file.rb
jekyll-octopod-0.9.12 lib/jekyll/static_file.rb
jekyll-octopod-0.9.11 lib/jekyll/static_file.rb
jekyll-octopod-0.9.10 lib/jekyll/static_file.rb
jekyll-octopod-0.9.9 lib/jekyll/static_file.rb
jekyll-octopod-0.9.8 lib/jekyll/static_file.rb
jekyll-octopod-0.9.7 lib/jekyll/static_file.rb
jekyll-octopod-0.9.6 lib/jekyll/static_file.rb
jekyll-octopod-0.9.5 lib/jekyll/static_file.rb
jekyll-octopod-0.9.4 lib/jekyll/static_file.rb
octopod-exe-0.9.4 lib/jekyll/static_file.rb