bin/jekyll-auth in jekyll-auth-2.1.0 vs bin/jekyll-auth in jekyll-auth-2.1.1
- old
+ new
@@ -1,6 +1,8 @@
#!/usr/bin/env ruby
+# frozen_string_literal: true
+
# Command-line interface for jekyll-auth
require "mercenary"
require "jekyll-auth"
require "open3"
@@ -103,10 +105,10 @@
c.option "client_secret", "--client_secret", "Your oauth app client secret"
c.option "team_id", "--team_id", "The team to authenticate against"
c.option "org_name", "--org_name", "An organization to authenticate against"
c.action do |_args, options|
if find_executable("heroku").nil?
- say "Looks like we're missing the Heroku client. Let's see if we can't install it..."
+ puts "Looks like we're missing the Heroku client. Let's see if we can't install it..."
JekyllAuth::Commands.execute_command "wget", "-qO-", "https://toolbelt.heroku.com/install.sh", "|", "sh"
end
JekyllAuth::Commands.init_repo
JekyllAuth::Commands.initial_commit if JekyllAuth::Commands.changed?