Sha256: ee8b15515358df9b1f7231951614062955577fc5728518f365fa5093b971529b

Contents?: true

Size: 835 Bytes

Versions: 4

Compression:

Stored size: 835 Bytes

Contents

require_relative '../lib/baron'

GOOGLE_ANALYTICS = 'UA-XXXXXX-X'
GOOGLE_WEBMASTER = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
SAMPLE_DATA_PATH = 'spec/sample_data/'    # must contain a trailing slash

def load_config
  Baron::Config.new(:markdown => true,
                    :title => 'my blog',
                    :author => 'John Smith',
                    :url => 'http://localhost/',
                    :permalink_prefix => '',
                    :permalink_date_format => :year_month_day_date, # :year_date, :year_month_date, :year_month_day_date, :no_date
                    :article_max => 5,
                    :theme => 'typography',
                    :sample_data_path => SAMPLE_DATA_PATH,
                    :google_analytics => GOOGLE_ANALYTICS,
                    :google_webmaster => GOOGLE_WEBMASTER)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
baron-1.0.20 spec/spec_helper.rb
baron-1.0.18 spec/spec_helper.rb
baron-1.0.17 spec/spec_helper.rb
baron-1.0.14 spec/spec_helper.rb