class GitHubPages::Dependencies
Dependencies
is where all the public dependencies for GitHub Pages are defined, and versions locked. Any plugin for Pages must be specified here with a corresponding version to which it shall be locked in the runtime dependencies.
Constants
- VERSIONS
Public Class Methods
gems()
click to toggle source
Jekyll and related dependency versions as used by GitHub Pages. For more information see: help.github.com/articles/using-jekyll-with-pages
# File lib/github-pages/dependencies.rb, line 48 def self.gems VERSIONS.merge(GitHubPages::Plugins::THEMES) end
version_report()
click to toggle source
# File lib/github-pages/dependencies.rb, line 58 def self.version_report require "html/pipeline/version" require "sass/version" require "safe_yaml/version" require "nokogiri" { "ruby" => RUBY_VERSION, # Gem versions we're curious about "github-pages" => VERSION.to_s, "html-pipeline" => HTML::Pipeline::VERSION, "sass" => Sass.version[:number], "safe_yaml" => SafeYAML::VERSION, "nokogiri" => Nokogiri::VERSION, } end
versions()
click to toggle source
Versions used by GitHub Pages, including github-pages gem and ruby version Useful for programmatically querying for the current-running version
# File lib/github-pages/dependencies.rb, line 54 def self.versions gems.merge version_report end