bin/jekyll-auth in jekyll-auth-1.0.1 vs bin/jekyll-auth in jekyll-auth-1.0.2

- old
+ new

@@ -2,10 +2,11 @@ # Command-line interface for jekyll-auth require 'mercenary' require 'jekyll-auth' require 'open3' +require 'jekyll-auth' Mercenary.program("jekyll-auth") do |p| p.version JekyllAuth::VERSION p.description "A simple way to use Github OAuth to serve a protected jekyll site to your GitHub organization" p.syntax 'jekyll-auth <subcommand> options' @@ -87,10 +88,10 @@ # build site p.go ["build"] puts "Spinning up the server with authentication. Use CTRL-C to stop." puts "To preview the site without authentication, use the `jekyll serve` command" - execute_command "bundle", "exec", "rackup", "-p", "4000" + JekyllAuth::Commands.execute_command "bundle", "exec", "rackup", "-p", "4000" end end p.command(:setup) do |c|