Loading repository data…
Loading repository data…
bunto / repository
[WIP IN TRAVIS & RUBYGEMS] A simple Ruby Gem to bootstrap dependencies for setting up and maintaining a local Bunto environment in sync with GitHub Pages.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A simple Ruby Gem to bootstrap dependencies for setting up and maintaining a local Bunto environment in sync with GitHub Pages.
gem 'gh-pages', group: :bunto_plugins
bundle installNote: You are not required to install Bunto separately. Once the gh-pages gem is installed, you can build your site using bunto build, or preview your site using bunto serve. For more information about installing Bunto locally, please see the GitHub Help docs on the matter.
The GitHub Pages gem also comes with several command-line tools, contained within the gh-pages command.
$ gh-pages versions
+---------------------------+---------+
| Gem | Version |
+---------------------------+---------+
| bunto | 3.0.2 |
| bunto-sass-converter | 1.3.0 |
| bunto-textile-converter | 0.1.0 |
| kramdown | 1.9.0 |
| rdiscount | 2.1.8 |
| .... | ..... |
+---------------------------+---------+
Note, you can also pass the --gemfile flag to get the dependencies listed in a valid Gemfile dependency format. You can also see a list of the live dependency versions at pages.github.com/versions.
Checks your GitHub Pages site for common DNS configuration issues.
$ gh-pages health-check
Checking domain foo.invalid...
Uh oh. Looks like something's fishy: A record points to deprecated IP address
See the GitHub Pages Health Check documentation for more information.
If you'd like to run a Bunto plugin locally that's not whitelisted for use on GitHub Pages, you can do so by prefixing the bunto build or bunto serve command with DISABLE_WHITELIST=true. This will allow your site to use any plugin listed in your site's gems configuration flag. Please note, however, this option is only available when previewing your Bunto site locally.
To update to the latest version of Bunto and associated dependencies, simply run gem update gh-pages, or if you've installed via Bundler, bundle update gh-pages.
The goal of the GitHub Pages gem is to help GitHub Pages users bootstrap and maintain a Bunto build environment that most closely matches the GitHub pages build environment. The GitHub Pages gem relies on explicit requirements shared between both users' computers and the build servers to ensure that the result of a user's local build is consistently also the result of the server's build.
Additional tools, such as tools that integrate with the GitHub API to make managing GitHub Pages sites easier are not the primary goal, but may be within the project's scope.
The GitHub Pages gem seeks to version two aspects of the build environment:
The version of Ruby with which Bunto is executed. Although Bunto itself may be compatible with prior or future versions of Ruby, different execution environments yield different results. Ruby 1.8.7 parses YAML differently than 1.9.3, for example, and Kramdown has trouble processing mailto links prior to 1.9.3. In order to ensure that building locally consistently results in the same build as what appears when published, it's essential that Ruby itself is versioned along side the Gem, despite no known incompatibilities.
Note: If you're using rbenv, check out ruby-build-github for ruby-build, a collection of GitHub-shipped Ruby versions. If you clone down this repository and run ./install.sh support/2.1.0-github, it should install properly for you.
This includes Markdown processors, and any other Bunto dependency for which version incongruency may produce unexpected results. Traditionally, Maruku, Kramdown, RedCloth, liquid, rdiscount, and redcarpet have been strictly maintained due to known breaking changes.
See all releases.
To release a new version of this gem, run script/release from the master branch.
Distributed under the MIT License.