This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Intended for development purposes only, do not upload or use in production. | |
# See https://github.com/siteleaf/siteleaf-gem for documentation. | |
require 'rubygems' | |
require 'siteleaf' | |
Siteleaf.api_key = ENV['API_KEY'] | |
Siteleaf.api_secret = ENV['API_SECRET'] | |
run Siteleaf::Server.new(:site_id => ENV['SITE_ID']) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "siteleaf" | |
require "yaml" | |
# API settings | |
Siteleaf.api_key = '' | |
Siteleaf.api_secret = '' | |
# site settings | |
extension = 'md' # set this to whatever extension you are using for your posts. | |
site_id = '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# RSpec 2.0 syntax Cheet Sheet by http://ApproachE.com | |
# defining spec within a module will automatically pick Player::MovieList as a 'subject' (see below) | |
module Player | |
describe MovieList, "with optional description" do | |
it "is pending example, so that you can write ones quickly" | |
it "is already working example that we want to suspend from failing temporarily" do | |
pending("working on another feature that temporarily breaks this one") |