octopress 3.0.0.alpha2 → 3.0.0.alpha3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/.gitignore +15 -18
- data/Gemfile +3 -1
- data/LICENSE +20 -0
- data/README.md +66 -0
- data/Rakefile +1 -76
- data/bin/octopress +14 -58
- data/lib/octopress.rb +40 -79
- data/lib/octopress/command.rb +10 -4
- data/lib/octopress/commands/new.rb +50 -12
- data/lib/octopress/commands/publish.rb +18 -0
- data/lib/octopress/core_ext.rb +1 -0
- data/lib/octopress/draft.rb +43 -0
- data/lib/octopress/page.rb +109 -0
- data/lib/octopress/post.rb +30 -0
- data/lib/octopress/version.rb +1 -1
- data/octopress.gemspec +7 -32
- metadata +31 -437
- data/.editorconfig +0 -22
- data/.gitattributes +0 -1
- data/.powrc +0 -4
- data/.rspec +0 -5
- data/.rubocop.yml +0 -119
- data/.slugignore +0 -3
- data/.travis.yml +0 -6
- data/CHANGELOG.markdown +0 -46
- data/CONTRIBUTING.markdown +0 -17
- data/README.markdown +0 -37
- data/lib/console +0 -17
- data/lib/guard/jekyll.rb +0 -33
- data/lib/octopress/commands.rb +0 -14
- data/lib/octopress/commands/build.rb +0 -17
- data/lib/octopress/commands/build_javascripts.rb +0 -11
- data/lib/octopress/commands/build_jekyll.rb +0 -42
- data/lib/octopress/commands/build_stylesheets.rb +0 -13
- data/lib/octopress/commands/install.rb +0 -44
- data/lib/octopress/commands/scaffold.rb +0 -102
- data/lib/octopress/commands/serve.rb +0 -25
- data/lib/octopress/configuration.rb +0 -237
- data/lib/octopress/dependency_installer.rb +0 -287
- data/lib/octopress/errors.rb +0 -3
- data/lib/octopress/filters/content.rb +0 -66
- data/lib/octopress/filters/date.rb +0 -46
- data/lib/octopress/filters/post.rb +0 -175
- data/lib/octopress/filters/url.rb +0 -34
- data/lib/octopress/formatters.rb +0 -9
- data/lib/octopress/formatters/base_formatter.rb +0 -17
- data/lib/octopress/formatters/simple_formatter.rb +0 -9
- data/lib/octopress/formatters/verbose_formatter.rb +0 -9
- data/lib/octopress/generators/category_generator.rb +0 -196
- data/lib/octopress/generators/sitemap_generator.rb +0 -308
- data/lib/octopress/guardfile +0 -43
- data/lib/octopress/helpers/titlecase.rb +0 -37
- data/lib/octopress/ink.rb +0 -12
- data/lib/octopress/inquirable_string.rb +0 -12
- data/lib/octopress/installer.rb +0 -96
- data/lib/octopress/js_assets_manager.rb +0 -97
- data/lib/octopress/liquid_helpers/conditional.rb +0 -36
- data/lib/octopress/liquid_helpers/config.rb +0 -58
- data/lib/octopress/liquid_helpers/include.rb +0 -33
- data/lib/octopress/liquid_helpers/url.rb +0 -29
- data/lib/octopress/liquid_helpers/vars.rb +0 -30
- data/lib/octopress/plugin.rb +0 -33
- data/lib/octopress/rake.rb +0 -16
- data/lib/octopress/scaffold/.gitignore +0 -18
- data/lib/octopress/scaffold/site/Gemfile +0 -3
- data/lib/octopress/scaffold/site/config.ru +0 -25
- data/lib/octopress/scaffold/site/config/compass.rb +0 -27
- data/lib/octopress/scaffold/site/config/rack.rb +0 -25
- data/lib/octopress/scaffold/site/config/site.yml +0 -0
- data/lib/octopress/scaffold/site/javascripts/lib/ios-rotate-scaling-fix.js +0 -19
- data/lib/octopress/scaffold/site/javascripts/lib/jquery-1.9.1.js +0 -9598
- data/lib/octopress/scaffold/site/javascripts/lib/jquery.cookie.js +0 -93
- data/lib/octopress/scaffold/site/stylesheets/_config.scss +0 -1
- data/lib/octopress/scaffold/site/stylesheets/_style.scss +0 -1
- data/lib/octopress/scaffold/site/stylesheets/site.scss +0 -16
- data/lib/octopress/tags/assign.rb +0 -34
- data/lib/octopress/tags/capture.rb +0 -31
- data/lib/octopress/tags/config-tag.rb +0 -23
- data/lib/octopress/tags/include.rb +0 -63
- data/lib/octopress/tags/js-assets.rb +0 -23
- data/lib/octopress/tags/puts.rb +0 -39
- data/lib/octopress/tags/render-partial.rb +0 -89
- data/lib/octopress/tags/return.rb +0 -21
- data/lib/rake/clean.rake +0 -8
- data/lib/rake/clobber.rake +0 -5
- data/lib/rake/console.rake +0 -5
- data/lib/rake/deploy.rake +0 -4
- data/lib/rake/gen_deploy.rake +0 -2
- data/lib/rake/generate.rake +0 -4
- data/lib/rake/generate_only.rake +0 -14
- data/lib/rake/hygiene.rake +0 -29
- data/lib/rake/install.rake +0 -8
- data/lib/rake/integrate.rake +0 -4
- data/lib/rake/isolate.rake +0 -13
- data/lib/rake/list_drafts.rake +0 -7
- data/lib/rake/new.rake +0 -7
- data/lib/rake/new_page.rake +0 -49
- data/lib/rake/new_post.rake +0 -32
- data/lib/rake/nuke.rake +0 -4
- data/lib/rake/preview.rake +0 -4
- data/lib/rake/push.rake +0 -37
- data/lib/rake/rsync.rake +0 -20
- data/lib/rake/set_root_dir.rake +0 -35
- data/lib/rake/setup_github_pages.rake +0 -115
- data/lib/rake/watch.rake +0 -11
- data/lib/scaffold/Rakefile +0 -142
- data/lib/scaffold/plugin-name.gemspec +0 -43
- data/lib/spec/fixtures/env/defaults/classic.yml +0 -2
- data/lib/spec/fixtures/no_override/defaults/classic.yml +0 -11
- data/lib/spec/fixtures/override/defaults/classic.yml +0 -11
- data/lib/spec/fixtures/override/site.yml +0 -11
- data/lib/spec/octopress/configuration_spec.rb +0 -67
- data/lib/spec/octopress/dependency_installer_spec.rb +0 -66
- data/lib/spec/octopress/ink_spec.rb +0 -10
- data/lib/spec/octopress/octopress_spec.rb +0 -97
- data/lib/spec/spec_helper.rb +0 -22
- data/lib/spec/support/env.rb +0 -36
- data/lib/spec/support/simplecov.rb +0 -52
@@ -1,21 +1,59 @@
|
|
1
|
+
require 'jekyll'
|
2
|
+
|
1
3
|
module Octopress
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
4
|
+
class New < Command
|
5
|
+
def self.init_with_program(p)
|
6
|
+
p.command(:new) do |c|
|
7
|
+
c.syntax 'octopress new PATH'
|
8
|
+
c.description 'Creates a new Jekyll site scaffold in PATH'
|
9
|
+
c.option 'force', '--force', 'Force creation even if PATH already exists'
|
10
|
+
c.option 'blank', '--blank', 'Creates scaffolding but with empty files'
|
11
|
+
|
12
|
+
c.action do |args, options|
|
13
|
+
abort "You must specify a path." if args.empty?
|
14
|
+
::Jekyll::Commands::New.process(args, options.to_symbol_keys)
|
15
|
+
end
|
16
|
+
|
17
|
+
c.command(:page) do |page_command|
|
18
|
+
page_command.syntax 'octopress new page PATH [options]'
|
19
|
+
page_command.description 'Add a new page to your Jekyll site.'
|
20
|
+
page_command.option 'title', '--title TITLE', 'String to be added as the title in the YAML front-matter.'
|
21
|
+
add_common_options page_command
|
22
|
+
|
23
|
+
page_command.action do |args, options|
|
24
|
+
abort "You must specify a path." if args.empty?
|
25
|
+
options['path'] = args.first
|
26
|
+
Page.new(options).write
|
27
|
+
end
|
9
28
|
end
|
10
29
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
30
|
+
c.command(:post) do |post_command|
|
31
|
+
post_command.syntax 'octopress new post TITLE [options]'
|
32
|
+
post_command.description 'Add a new post to your Jekyll site.'
|
33
|
+
add_common_options post_command
|
34
|
+
|
35
|
+
post_command.action do |args, options|
|
36
|
+
options['title'] = args.first
|
37
|
+
Post.new(options).write
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
c.command(:draft) do |draft_command|
|
42
|
+
draft_command.syntax 'octopress new draft TITLE [options]'
|
43
|
+
draft_command.description 'Add a new draft post to your Jekyll site.'
|
44
|
+
add_common_options draft_command
|
45
|
+
|
46
|
+
draft_command.action do |args, options|
|
47
|
+
options['title'] = args.first
|
48
|
+
Draft.new(options).write
|
15
49
|
end
|
16
|
-
args.first
|
17
50
|
end
|
18
51
|
end
|
19
52
|
end
|
53
|
+
def self.add_common_options(c)
|
54
|
+
c.option 'date', '--date DATE', 'String that is parseable by Time#parse. (default: Time.now.iso8601)'
|
55
|
+
c.option 'template', '--template PATH', 'Path to a post or page template.'
|
56
|
+
c.option 'force', '--force', 'Force creation even if PATH already exists'
|
57
|
+
end
|
20
58
|
end
|
21
59
|
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Octopress
|
2
|
+
class Publish < Command
|
3
|
+
def self.init_with_program(p)
|
4
|
+
p.command(:publish) do |c|
|
5
|
+
c.syntax 'octopress publish PATH [options]'
|
6
|
+
c.description 'Convert a draft to a normal published post.'
|
7
|
+
c.option 'date', '--date DATE', 'String that is parseable by Time#parse. (default: Time.now.iso8601)'
|
8
|
+
|
9
|
+
c.action do |args, options|
|
10
|
+
abort "You must specify a path." if args.empty?
|
11
|
+
options['path'] = args.first
|
12
|
+
Draft.new(options).publish
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
data/lib/octopress/core_ext.rb
CHANGED
@@ -0,0 +1,43 @@
|
|
1
|
+
module Octopress
|
2
|
+
class Draft < Post
|
3
|
+
|
4
|
+
def publish
|
5
|
+
post_options = {
|
6
|
+
'title' => read_draft_title,
|
7
|
+
'content' => read_draft_content,
|
8
|
+
'type' => 'post from draft'
|
9
|
+
}
|
10
|
+
Post.new(post_options).write
|
11
|
+
FileUtils.rm @options['path']
|
12
|
+
end
|
13
|
+
|
14
|
+
def set_default_options
|
15
|
+
super
|
16
|
+
@options['type'] = 'draft'
|
17
|
+
end
|
18
|
+
|
19
|
+
def path
|
20
|
+
name = "#{title_slug}.#{extension}"
|
21
|
+
File.join(@config['source'], '_drafts', name)
|
22
|
+
end
|
23
|
+
|
24
|
+
def read
|
25
|
+
if @draft_content
|
26
|
+
@draft_content
|
27
|
+
else
|
28
|
+
file = @options['path']
|
29
|
+
abort "File #{file} not found." if !File.exist? file
|
30
|
+
@draft_content = Pathname.new(file).read
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
def read_draft_title
|
35
|
+
read.match(/title:\s+(.+)?$/)[1]
|
36
|
+
end
|
37
|
+
|
38
|
+
def read_draft_content
|
39
|
+
read.sub(/date:\s+.+?$/, "date: #{@options['date']}")
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,109 @@
|
|
1
|
+
module Octopress
|
2
|
+
class Page
|
3
|
+
|
4
|
+
def initialize(options)
|
5
|
+
@config = Octopress.config(options)
|
6
|
+
@options = options
|
7
|
+
set_default_options
|
8
|
+
@content = options['content'] || content
|
9
|
+
end
|
10
|
+
|
11
|
+
def write
|
12
|
+
if File.exist?(path) && !@options['force']
|
13
|
+
abort "File #{relative_path} already exists" if File.exist?(path)
|
14
|
+
end
|
15
|
+
|
16
|
+
FileUtils.mkdir_p(File.dirname(path))
|
17
|
+
File.open(path, 'w') { |f| f.write(@content) }
|
18
|
+
if STDOUT.tty?
|
19
|
+
puts "New #{@options['type']}: #{relative_path}"
|
20
|
+
else
|
21
|
+
puts path
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
def relative_path
|
26
|
+
local = Dir.pwd + '/'
|
27
|
+
path.sub(local, '')
|
28
|
+
end
|
29
|
+
|
30
|
+
def path
|
31
|
+
file = @options['path']
|
32
|
+
|
33
|
+
# If path ends with a slash, make it an index
|
34
|
+
file << "index" if file =~ /\/$/
|
35
|
+
|
36
|
+
# if path has no extension, add the default extension
|
37
|
+
file << ".#{extension}" unless file =~ /\.\w+$/
|
38
|
+
|
39
|
+
File.join(@config['source'], file)
|
40
|
+
end
|
41
|
+
|
42
|
+
def extension
|
43
|
+
@options['extension'].sub(/^\./, '')
|
44
|
+
end
|
45
|
+
|
46
|
+
def set_default_options
|
47
|
+
@options['type'] ||= 'page'
|
48
|
+
@options['layout'] = @config['octopress']['new_page_layout']
|
49
|
+
@options['date'] = convert_date @options['date']
|
50
|
+
@options['extension'] ||= @config['octopress']['new_page_extension']
|
51
|
+
end
|
52
|
+
|
53
|
+
def convert_date(date)
|
54
|
+
if date
|
55
|
+
begin
|
56
|
+
Time.parse(date.to_s).iso8601
|
57
|
+
rescue => error
|
58
|
+
abort 'Could not parse date. Try formatting it like YYYY-MM-DD HH:MM'
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
# Load the user provide or default template for a new post.
|
64
|
+
#
|
65
|
+
def content
|
66
|
+
file = @options['template']
|
67
|
+
file = File.join(Octopress.site.source, file) if file
|
68
|
+
if file
|
69
|
+
raise "No template found at #{file}" unless File.exist? file
|
70
|
+
parse_template Pathname.new(file).read
|
71
|
+
else
|
72
|
+
parse_template default_content
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
def parse_template(input)
|
77
|
+
template = Liquid::Template.parse(input)
|
78
|
+
template.render(@options)
|
79
|
+
end
|
80
|
+
|
81
|
+
def date_slug
|
82
|
+
Time.parse(@options['date']).strftime('%Y-%m-%d')
|
83
|
+
end
|
84
|
+
|
85
|
+
# Returns a string which is url compatible.
|
86
|
+
#
|
87
|
+
def title_slug
|
88
|
+
value = @options['title'].gsub(/[^\x00-\x7F]/u, '')
|
89
|
+
value.gsub!(/(&|&)+/, 'and')
|
90
|
+
value.gsub!(/[']+/, '')
|
91
|
+
value.gsub!(/\W+/, ' ')
|
92
|
+
value.strip!
|
93
|
+
value.downcase!
|
94
|
+
value.gsub!(' ', '-')
|
95
|
+
value
|
96
|
+
end
|
97
|
+
|
98
|
+
# Page template defaults
|
99
|
+
#
|
100
|
+
def default_content
|
101
|
+
<<-TEMPLATE
|
102
|
+
---
|
103
|
+
layout: {{ layout }}
|
104
|
+
title: {{ title }}
|
105
|
+
---
|
106
|
+
TEMPLATE
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module Octopress
|
2
|
+
class Post < Page
|
3
|
+
|
4
|
+
def set_default_options
|
5
|
+
@options['type'] ||= 'post'
|
6
|
+
@options['layout'] = @config['octopress']['new_post_layout']
|
7
|
+
@options['title'] ||= 'New Post'
|
8
|
+
@options['date'] = convert_date @options['date'] || Time.now
|
9
|
+
@options['extension'] ||= @config['octopress']['new_post_extension']
|
10
|
+
end
|
11
|
+
|
12
|
+
def path
|
13
|
+
name = "#{date_slug}-#{title_slug}.#{extension}"
|
14
|
+
File.join(@config['source'], '_posts', name)
|
15
|
+
end
|
16
|
+
|
17
|
+
# Post template defaults
|
18
|
+
#
|
19
|
+
def default_content
|
20
|
+
<<-TEMPLATE
|
21
|
+
---
|
22
|
+
layout: {{ layout }}
|
23
|
+
title: {{ title }}
|
24
|
+
date: {{ date }}
|
25
|
+
categories: {{ categories }}
|
26
|
+
---
|
27
|
+
TEMPLATE
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
data/lib/octopress/version.rb
CHANGED
data/octopress.gemspec
CHANGED
@@ -8,45 +8,20 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = Octopress::VERSION
|
9
9
|
spec.authors = ["Brandon Mathis", "Parker Moore"]
|
10
10
|
spec.email = ["brandon@imathis.com", "parkrmoore@gmail.com"]
|
11
|
-
spec.description =
|
12
|
-
spec.summary =
|
11
|
+
spec.description = %q{Octopress is an obsessively designed framework for Jekyll blogging. It’s easy to configure and easy to deploy. Sweet huh?}
|
12
|
+
spec.summary = %q{Octopress is an obsessively designed framework for Jekyll blogging. It’s easy to configure and easy to deploy. Sweet huh?}
|
13
13
|
spec.homepage = "http://octopress.org"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
|
-
spec.rdoc_options = ["--charset=UTF-8"]
|
17
|
-
spec.extra_rdoc_files = %w[README.markdown CHANGELOG.markdown]
|
18
|
-
|
19
16
|
spec.files = `git ls-files`.split($/)
|
20
17
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
21
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
22
19
|
spec.require_paths = ["lib"]
|
23
20
|
|
24
|
-
spec.add_runtime_dependency
|
25
|
-
spec.add_runtime_dependency
|
26
|
-
spec.add_runtime_dependency('jekyll', '~> 1.0.2')
|
27
|
-
spec.add_runtime_dependency('redcarpet', '~> 2.2.2')
|
28
|
-
spec.add_runtime_dependency('RedCloth', '~> 4.2.9')
|
29
|
-
spec.add_runtime_dependency('haml', '~> 3.1.7')
|
30
|
-
spec.add_runtime_dependency('compass', '~> 0.12.2')
|
31
|
-
spec.add_runtime_dependency('sass-globbing', '~> 1.1.0')
|
32
|
-
spec.add_runtime_dependency('rubypants', '~> 0.2.0')
|
33
|
-
spec.add_runtime_dependency('stringex', '~> 1.4.0')
|
34
|
-
spec.add_runtime_dependency('liquid', '~> 2.3.0')
|
35
|
-
spec.add_runtime_dependency('tzinfo', '~> 0.3.35')
|
36
|
-
spec.add_runtime_dependency('json', '~> 1.7.7')
|
37
|
-
spec.add_runtime_dependency('sinatra', '~> 1.4.2')
|
38
|
-
spec.add_runtime_dependency('stitch-rb', '~> 0.0.8')
|
39
|
-
spec.add_runtime_dependency('uglifier', '~> 2.1.0')
|
40
|
-
spec.add_runtime_dependency('guard', '~> 1.8.0')
|
41
|
-
spec.add_runtime_dependency('guard-shell', '~> 0.5.1')
|
42
|
-
spec.add_runtime_dependency('guard-compass', '~> 0.0.6')
|
43
|
-
spec.add_runtime_dependency('guard-coffeescript', '~> 1.3.0')
|
44
|
-
spec.add_runtime_dependency('rb-inotify', '~> 0.9.0')
|
45
|
-
spec.add_runtime_dependency('rb-fsevent', '~> 0.9.3')
|
46
|
-
spec.add_runtime_dependency('rb-fchange', '~> 0.0.6')
|
21
|
+
spec.add_runtime_dependency "mercenary", "~> 0.1.0"
|
22
|
+
spec.add_runtime_dependency "jekyll", "~> 1.0.0"
|
47
23
|
|
48
|
-
spec.add_development_dependency
|
49
|
-
spec.add_development_dependency
|
50
|
-
spec.add_development_dependency
|
51
|
-
spec.add_development_dependency('pry', '~> 0.9.12')
|
24
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
25
|
+
spec.add_development_dependency "pry-debugger"
|
26
|
+
spec.add_development_dependency "rake"
|
52
27
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopress
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0.
|
4
|
+
version: 3.0.0.alpha3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
@@ -9,330 +9,36 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-02-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
requirements:
|
18
|
-
- - ~>
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: 10.1.0
|
21
|
-
type: :runtime
|
22
|
-
prerelease: false
|
23
|
-
version_requirements: !ruby/object:Gem::Requirement
|
24
|
-
requirements:
|
25
|
-
- - ~>
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
version: 10.1.0
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
name: rack
|
15
|
+
name: mercenary
|
30
16
|
requirement: !ruby/object:Gem::Requirement
|
31
17
|
requirements:
|
32
18
|
- - ~>
|
33
19
|
- !ruby/object:Gem::Version
|
34
|
-
version: 1.
|
20
|
+
version: 0.1.0
|
35
21
|
type: :runtime
|
36
22
|
prerelease: false
|
37
23
|
version_requirements: !ruby/object:Gem::Requirement
|
38
24
|
requirements:
|
39
25
|
- - ~>
|
40
26
|
- !ruby/object:Gem::Version
|
41
|
-
version: 1.
|
27
|
+
version: 0.1.0
|
42
28
|
- !ruby/object:Gem::Dependency
|
43
29
|
name: jekyll
|
44
30
|
requirement: !ruby/object:Gem::Requirement
|
45
31
|
requirements:
|
46
32
|
- - ~>
|
47
33
|
- !ruby/object:Gem::Version
|
48
|
-
version: 1.0.
|
49
|
-
type: :runtime
|
50
|
-
prerelease: false
|
51
|
-
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - ~>
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: 1.0.2
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: redcarpet
|
58
|
-
requirement: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - ~>
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: 2.2.2
|
34
|
+
version: 1.0.0
|
63
35
|
type: :runtime
|
64
36
|
prerelease: false
|
65
37
|
version_requirements: !ruby/object:Gem::Requirement
|
66
38
|
requirements:
|
67
39
|
- - ~>
|
68
40
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: RedCloth
|
72
|
-
requirement: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - ~>
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: 4.2.9
|
77
|
-
type: :runtime
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - ~>
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: 4.2.9
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: haml
|
86
|
-
requirement: !ruby/object:Gem::Requirement
|
87
|
-
requirements:
|
88
|
-
- - ~>
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: 3.1.7
|
91
|
-
type: :runtime
|
92
|
-
prerelease: false
|
93
|
-
version_requirements: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - ~>
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: 3.1.7
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
name: compass
|
100
|
-
requirement: !ruby/object:Gem::Requirement
|
101
|
-
requirements:
|
102
|
-
- - ~>
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: 0.12.2
|
105
|
-
type: :runtime
|
106
|
-
prerelease: false
|
107
|
-
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
requirements:
|
109
|
-
- - ~>
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version: 0.12.2
|
112
|
-
- !ruby/object:Gem::Dependency
|
113
|
-
name: sass-globbing
|
114
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
-
requirements:
|
116
|
-
- - ~>
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: 1.1.0
|
119
|
-
type: :runtime
|
120
|
-
prerelease: false
|
121
|
-
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
requirements:
|
123
|
-
- - ~>
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: 1.1.0
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: rubypants
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
requirements:
|
130
|
-
- - ~>
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: 0.2.0
|
133
|
-
type: :runtime
|
134
|
-
prerelease: false
|
135
|
-
version_requirements: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - ~>
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: 0.2.0
|
140
|
-
- !ruby/object:Gem::Dependency
|
141
|
-
name: stringex
|
142
|
-
requirement: !ruby/object:Gem::Requirement
|
143
|
-
requirements:
|
144
|
-
- - ~>
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
version: 1.4.0
|
147
|
-
type: :runtime
|
148
|
-
prerelease: false
|
149
|
-
version_requirements: !ruby/object:Gem::Requirement
|
150
|
-
requirements:
|
151
|
-
- - ~>
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version: 1.4.0
|
154
|
-
- !ruby/object:Gem::Dependency
|
155
|
-
name: liquid
|
156
|
-
requirement: !ruby/object:Gem::Requirement
|
157
|
-
requirements:
|
158
|
-
- - ~>
|
159
|
-
- !ruby/object:Gem::Version
|
160
|
-
version: 2.3.0
|
161
|
-
type: :runtime
|
162
|
-
prerelease: false
|
163
|
-
version_requirements: !ruby/object:Gem::Requirement
|
164
|
-
requirements:
|
165
|
-
- - ~>
|
166
|
-
- !ruby/object:Gem::Version
|
167
|
-
version: 2.3.0
|
168
|
-
- !ruby/object:Gem::Dependency
|
169
|
-
name: tzinfo
|
170
|
-
requirement: !ruby/object:Gem::Requirement
|
171
|
-
requirements:
|
172
|
-
- - ~>
|
173
|
-
- !ruby/object:Gem::Version
|
174
|
-
version: 0.3.35
|
175
|
-
type: :runtime
|
176
|
-
prerelease: false
|
177
|
-
version_requirements: !ruby/object:Gem::Requirement
|
178
|
-
requirements:
|
179
|
-
- - ~>
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: 0.3.35
|
182
|
-
- !ruby/object:Gem::Dependency
|
183
|
-
name: json
|
184
|
-
requirement: !ruby/object:Gem::Requirement
|
185
|
-
requirements:
|
186
|
-
- - ~>
|
187
|
-
- !ruby/object:Gem::Version
|
188
|
-
version: 1.7.7
|
189
|
-
type: :runtime
|
190
|
-
prerelease: false
|
191
|
-
version_requirements: !ruby/object:Gem::Requirement
|
192
|
-
requirements:
|
193
|
-
- - ~>
|
194
|
-
- !ruby/object:Gem::Version
|
195
|
-
version: 1.7.7
|
196
|
-
- !ruby/object:Gem::Dependency
|
197
|
-
name: sinatra
|
198
|
-
requirement: !ruby/object:Gem::Requirement
|
199
|
-
requirements:
|
200
|
-
- - ~>
|
201
|
-
- !ruby/object:Gem::Version
|
202
|
-
version: 1.4.2
|
203
|
-
type: :runtime
|
204
|
-
prerelease: false
|
205
|
-
version_requirements: !ruby/object:Gem::Requirement
|
206
|
-
requirements:
|
207
|
-
- - ~>
|
208
|
-
- !ruby/object:Gem::Version
|
209
|
-
version: 1.4.2
|
210
|
-
- !ruby/object:Gem::Dependency
|
211
|
-
name: stitch-rb
|
212
|
-
requirement: !ruby/object:Gem::Requirement
|
213
|
-
requirements:
|
214
|
-
- - ~>
|
215
|
-
- !ruby/object:Gem::Version
|
216
|
-
version: 0.0.8
|
217
|
-
type: :runtime
|
218
|
-
prerelease: false
|
219
|
-
version_requirements: !ruby/object:Gem::Requirement
|
220
|
-
requirements:
|
221
|
-
- - ~>
|
222
|
-
- !ruby/object:Gem::Version
|
223
|
-
version: 0.0.8
|
224
|
-
- !ruby/object:Gem::Dependency
|
225
|
-
name: uglifier
|
226
|
-
requirement: !ruby/object:Gem::Requirement
|
227
|
-
requirements:
|
228
|
-
- - ~>
|
229
|
-
- !ruby/object:Gem::Version
|
230
|
-
version: 2.1.0
|
231
|
-
type: :runtime
|
232
|
-
prerelease: false
|
233
|
-
version_requirements: !ruby/object:Gem::Requirement
|
234
|
-
requirements:
|
235
|
-
- - ~>
|
236
|
-
- !ruby/object:Gem::Version
|
237
|
-
version: 2.1.0
|
238
|
-
- !ruby/object:Gem::Dependency
|
239
|
-
name: guard
|
240
|
-
requirement: !ruby/object:Gem::Requirement
|
241
|
-
requirements:
|
242
|
-
- - ~>
|
243
|
-
- !ruby/object:Gem::Version
|
244
|
-
version: 1.8.0
|
245
|
-
type: :runtime
|
246
|
-
prerelease: false
|
247
|
-
version_requirements: !ruby/object:Gem::Requirement
|
248
|
-
requirements:
|
249
|
-
- - ~>
|
250
|
-
- !ruby/object:Gem::Version
|
251
|
-
version: 1.8.0
|
252
|
-
- !ruby/object:Gem::Dependency
|
253
|
-
name: guard-shell
|
254
|
-
requirement: !ruby/object:Gem::Requirement
|
255
|
-
requirements:
|
256
|
-
- - ~>
|
257
|
-
- !ruby/object:Gem::Version
|
258
|
-
version: 0.5.1
|
259
|
-
type: :runtime
|
260
|
-
prerelease: false
|
261
|
-
version_requirements: !ruby/object:Gem::Requirement
|
262
|
-
requirements:
|
263
|
-
- - ~>
|
264
|
-
- !ruby/object:Gem::Version
|
265
|
-
version: 0.5.1
|
266
|
-
- !ruby/object:Gem::Dependency
|
267
|
-
name: guard-compass
|
268
|
-
requirement: !ruby/object:Gem::Requirement
|
269
|
-
requirements:
|
270
|
-
- - ~>
|
271
|
-
- !ruby/object:Gem::Version
|
272
|
-
version: 0.0.6
|
273
|
-
type: :runtime
|
274
|
-
prerelease: false
|
275
|
-
version_requirements: !ruby/object:Gem::Requirement
|
276
|
-
requirements:
|
277
|
-
- - ~>
|
278
|
-
- !ruby/object:Gem::Version
|
279
|
-
version: 0.0.6
|
280
|
-
- !ruby/object:Gem::Dependency
|
281
|
-
name: guard-coffeescript
|
282
|
-
requirement: !ruby/object:Gem::Requirement
|
283
|
-
requirements:
|
284
|
-
- - ~>
|
285
|
-
- !ruby/object:Gem::Version
|
286
|
-
version: 1.3.0
|
287
|
-
type: :runtime
|
288
|
-
prerelease: false
|
289
|
-
version_requirements: !ruby/object:Gem::Requirement
|
290
|
-
requirements:
|
291
|
-
- - ~>
|
292
|
-
- !ruby/object:Gem::Version
|
293
|
-
version: 1.3.0
|
294
|
-
- !ruby/object:Gem::Dependency
|
295
|
-
name: rb-inotify
|
296
|
-
requirement: !ruby/object:Gem::Requirement
|
297
|
-
requirements:
|
298
|
-
- - ~>
|
299
|
-
- !ruby/object:Gem::Version
|
300
|
-
version: 0.9.0
|
301
|
-
type: :runtime
|
302
|
-
prerelease: false
|
303
|
-
version_requirements: !ruby/object:Gem::Requirement
|
304
|
-
requirements:
|
305
|
-
- - ~>
|
306
|
-
- !ruby/object:Gem::Version
|
307
|
-
version: 0.9.0
|
308
|
-
- !ruby/object:Gem::Dependency
|
309
|
-
name: rb-fsevent
|
310
|
-
requirement: !ruby/object:Gem::Requirement
|
311
|
-
requirements:
|
312
|
-
- - ~>
|
313
|
-
- !ruby/object:Gem::Version
|
314
|
-
version: 0.9.3
|
315
|
-
type: :runtime
|
316
|
-
prerelease: false
|
317
|
-
version_requirements: !ruby/object:Gem::Requirement
|
318
|
-
requirements:
|
319
|
-
- - ~>
|
320
|
-
- !ruby/object:Gem::Version
|
321
|
-
version: 0.9.3
|
322
|
-
- !ruby/object:Gem::Dependency
|
323
|
-
name: rb-fchange
|
324
|
-
requirement: !ruby/object:Gem::Requirement
|
325
|
-
requirements:
|
326
|
-
- - ~>
|
327
|
-
- !ruby/object:Gem::Version
|
328
|
-
version: 0.0.6
|
329
|
-
type: :runtime
|
330
|
-
prerelease: false
|
331
|
-
version_requirements: !ruby/object:Gem::Requirement
|
332
|
-
requirements:
|
333
|
-
- - ~>
|
334
|
-
- !ruby/object:Gem::Version
|
335
|
-
version: 0.0.6
|
41
|
+
version: 1.0.0
|
336
42
|
- !ruby/object:Gem::Dependency
|
337
43
|
name: bundler
|
338
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -348,48 +54,34 @@ dependencies:
|
|
348
54
|
- !ruby/object:Gem::Version
|
349
55
|
version: '1.3'
|
350
56
|
- !ruby/object:Gem::Dependency
|
351
|
-
name:
|
57
|
+
name: pry-debugger
|
352
58
|
requirement: !ruby/object:Gem::Requirement
|
353
59
|
requirements:
|
354
|
-
- -
|
60
|
+
- - '>='
|
355
61
|
- !ruby/object:Gem::Version
|
356
|
-
version:
|
62
|
+
version: '0'
|
357
63
|
type: :development
|
358
64
|
prerelease: false
|
359
65
|
version_requirements: !ruby/object:Gem::Requirement
|
360
66
|
requirements:
|
361
|
-
- -
|
67
|
+
- - '>='
|
362
68
|
- !ruby/object:Gem::Version
|
363
|
-
version:
|
69
|
+
version: '0'
|
364
70
|
- !ruby/object:Gem::Dependency
|
365
|
-
name:
|
366
|
-
requirement: !ruby/object:Gem::Requirement
|
367
|
-
requirements:
|
368
|
-
- - ~>
|
369
|
-
- !ruby/object:Gem::Version
|
370
|
-
version: 0.8.2
|
371
|
-
type: :development
|
372
|
-
prerelease: false
|
373
|
-
version_requirements: !ruby/object:Gem::Requirement
|
374
|
-
requirements:
|
375
|
-
- - ~>
|
376
|
-
- !ruby/object:Gem::Version
|
377
|
-
version: 0.8.2
|
378
|
-
- !ruby/object:Gem::Dependency
|
379
|
-
name: pry
|
71
|
+
name: rake
|
380
72
|
requirement: !ruby/object:Gem::Requirement
|
381
73
|
requirements:
|
382
|
-
- -
|
74
|
+
- - '>='
|
383
75
|
- !ruby/object:Gem::Version
|
384
|
-
version: 0
|
76
|
+
version: '0'
|
385
77
|
type: :development
|
386
78
|
prerelease: false
|
387
79
|
version_requirements: !ruby/object:Gem::Requirement
|
388
80
|
requirements:
|
389
|
-
- -
|
81
|
+
- - '>='
|
390
82
|
- !ruby/object:Gem::Version
|
391
|
-
version: 0
|
392
|
-
description: Octopress is an obsessively designed framework for Jekyll blogging. It
|
83
|
+
version: '0'
|
84
|
+
description: Octopress is an obsessively designed framework for Jekyll blogging. It’s
|
393
85
|
easy to configure and easy to deploy. Sweet huh?
|
394
86
|
email:
|
395
87
|
- brandon@imathis.com
|
@@ -397,145 +89,47 @@ email:
|
|
397
89
|
executables:
|
398
90
|
- octopress
|
399
91
|
extensions: []
|
400
|
-
extra_rdoc_files:
|
401
|
-
- README.markdown
|
402
|
-
- CHANGELOG.markdown
|
92
|
+
extra_rdoc_files: []
|
403
93
|
files:
|
404
|
-
- .editorconfig
|
405
|
-
- .gitattributes
|
406
94
|
- .gitignore
|
407
|
-
- .powrc
|
408
|
-
- .rspec
|
409
|
-
- .rubocop.yml
|
410
|
-
- .slugignore
|
411
|
-
- .travis.yml
|
412
|
-
- CHANGELOG.markdown
|
413
|
-
- CONTRIBUTING.markdown
|
414
95
|
- Gemfile
|
415
|
-
-
|
96
|
+
- LICENSE
|
97
|
+
- README.md
|
416
98
|
- Rakefile
|
417
99
|
- bin/octopress
|
418
|
-
- lib/console
|
419
|
-
- lib/guard/jekyll.rb
|
420
100
|
- lib/octopress.rb
|
421
101
|
- lib/octopress/command.rb
|
422
|
-
- lib/octopress/commands.rb
|
423
|
-
- lib/octopress/commands/build.rb
|
424
|
-
- lib/octopress/commands/build_javascripts.rb
|
425
|
-
- lib/octopress/commands/build_jekyll.rb
|
426
|
-
- lib/octopress/commands/build_stylesheets.rb
|
427
|
-
- lib/octopress/commands/install.rb
|
428
102
|
- lib/octopress/commands/new.rb
|
429
|
-
- lib/octopress/commands/
|
430
|
-
- lib/octopress/commands/serve.rb
|
431
|
-
- lib/octopress/configuration.rb
|
103
|
+
- lib/octopress/commands/publish.rb
|
432
104
|
- lib/octopress/core_ext.rb
|
433
|
-
- lib/octopress/
|
434
|
-
- lib/octopress/
|
435
|
-
- lib/octopress/
|
436
|
-
- lib/octopress/filters/date.rb
|
437
|
-
- lib/octopress/filters/post.rb
|
438
|
-
- lib/octopress/filters/url.rb
|
439
|
-
- lib/octopress/formatters.rb
|
440
|
-
- lib/octopress/formatters/base_formatter.rb
|
441
|
-
- lib/octopress/formatters/simple_formatter.rb
|
442
|
-
- lib/octopress/formatters/verbose_formatter.rb
|
443
|
-
- lib/octopress/generators/category_generator.rb
|
444
|
-
- lib/octopress/generators/sitemap_generator.rb
|
445
|
-
- lib/octopress/guardfile
|
446
|
-
- lib/octopress/helpers/titlecase.rb
|
447
|
-
- lib/octopress/ink.rb
|
448
|
-
- lib/octopress/inquirable_string.rb
|
449
|
-
- lib/octopress/installer.rb
|
450
|
-
- lib/octopress/js_assets_manager.rb
|
451
|
-
- lib/octopress/liquid_helpers/conditional.rb
|
452
|
-
- lib/octopress/liquid_helpers/config.rb
|
453
|
-
- lib/octopress/liquid_helpers/include.rb
|
454
|
-
- lib/octopress/liquid_helpers/url.rb
|
455
|
-
- lib/octopress/liquid_helpers/vars.rb
|
456
|
-
- lib/octopress/plugin.rb
|
457
|
-
- lib/octopress/rake.rb
|
458
|
-
- lib/octopress/scaffold/.gitignore
|
459
|
-
- lib/octopress/scaffold/site/Gemfile
|
460
|
-
- lib/octopress/scaffold/site/config.ru
|
461
|
-
- lib/octopress/scaffold/site/config/compass.rb
|
462
|
-
- lib/octopress/scaffold/site/config/rack.rb
|
463
|
-
- lib/octopress/scaffold/site/config/site.yml
|
464
|
-
- lib/octopress/scaffold/site/javascripts/lib/ios-rotate-scaling-fix.js
|
465
|
-
- lib/octopress/scaffold/site/javascripts/lib/jquery-1.9.1.js
|
466
|
-
- lib/octopress/scaffold/site/javascripts/lib/jquery.cookie.js
|
467
|
-
- lib/octopress/scaffold/site/stylesheets/_config.scss
|
468
|
-
- lib/octopress/scaffold/site/stylesheets/_style.scss
|
469
|
-
- lib/octopress/scaffold/site/stylesheets/site.scss
|
470
|
-
- lib/octopress/tags/assign.rb
|
471
|
-
- lib/octopress/tags/capture.rb
|
472
|
-
- lib/octopress/tags/config-tag.rb
|
473
|
-
- lib/octopress/tags/include.rb
|
474
|
-
- lib/octopress/tags/js-assets.rb
|
475
|
-
- lib/octopress/tags/puts.rb
|
476
|
-
- lib/octopress/tags/render-partial.rb
|
477
|
-
- lib/octopress/tags/return.rb
|
105
|
+
- lib/octopress/draft.rb
|
106
|
+
- lib/octopress/page.rb
|
107
|
+
- lib/octopress/post.rb
|
478
108
|
- lib/octopress/version.rb
|
479
|
-
- lib/rake/clean.rake
|
480
|
-
- lib/rake/clobber.rake
|
481
|
-
- lib/rake/console.rake
|
482
|
-
- lib/rake/deploy.rake
|
483
|
-
- lib/rake/gen_deploy.rake
|
484
|
-
- lib/rake/generate.rake
|
485
|
-
- lib/rake/generate_only.rake
|
486
|
-
- lib/rake/hygiene.rake
|
487
|
-
- lib/rake/install.rake
|
488
|
-
- lib/rake/integrate.rake
|
489
|
-
- lib/rake/isolate.rake
|
490
|
-
- lib/rake/list_drafts.rake
|
491
|
-
- lib/rake/new.rake
|
492
|
-
- lib/rake/new_page.rake
|
493
|
-
- lib/rake/new_post.rake
|
494
|
-
- lib/rake/nuke.rake
|
495
|
-
- lib/rake/preview.rake
|
496
|
-
- lib/rake/push.rake
|
497
|
-
- lib/rake/rsync.rake
|
498
|
-
- lib/rake/set_root_dir.rake
|
499
|
-
- lib/rake/setup_github_pages.rake
|
500
|
-
- lib/rake/watch.rake
|
501
|
-
- lib/scaffold/Rakefile
|
502
|
-
- lib/scaffold/plugin-name.gemspec
|
503
|
-
- lib/spec/fixtures/env/defaults/classic.yml
|
504
|
-
- lib/spec/fixtures/no_override/defaults/classic.yml
|
505
|
-
- lib/spec/fixtures/override/defaults/classic.yml
|
506
|
-
- lib/spec/fixtures/override/site.yml
|
507
|
-
- lib/spec/octopress/configuration_spec.rb
|
508
|
-
- lib/spec/octopress/dependency_installer_spec.rb
|
509
|
-
- lib/spec/octopress/ink_spec.rb
|
510
|
-
- lib/spec/octopress/octopress_spec.rb
|
511
|
-
- lib/spec/spec_helper.rb
|
512
|
-
- lib/spec/support/env.rb
|
513
|
-
- lib/spec/support/simplecov.rb
|
514
109
|
- octopress.gemspec
|
515
110
|
homepage: http://octopress.org
|
516
111
|
licenses:
|
517
112
|
- MIT
|
518
113
|
metadata: {}
|
519
114
|
post_install_message:
|
520
|
-
rdoc_options:
|
521
|
-
- --charset=UTF-8
|
115
|
+
rdoc_options: []
|
522
116
|
require_paths:
|
523
117
|
- lib
|
524
118
|
required_ruby_version: !ruby/object:Gem::Requirement
|
525
119
|
requirements:
|
526
|
-
- -
|
120
|
+
- - '>='
|
527
121
|
- !ruby/object:Gem::Version
|
528
122
|
version: '0'
|
529
123
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
530
124
|
requirements:
|
531
|
-
- -
|
125
|
+
- - '>'
|
532
126
|
- !ruby/object:Gem::Version
|
533
127
|
version: 1.3.1
|
534
128
|
requirements: []
|
535
129
|
rubyforge_project:
|
536
|
-
rubygems_version: 2.
|
130
|
+
rubygems_version: 2.1.11
|
537
131
|
signing_key:
|
538
132
|
specification_version: 4
|
539
|
-
summary: Octopress is an obsessively designed framework for Jekyll blogging.
|
133
|
+
summary: Octopress is an obsessively designed framework for Jekyll blogging. It’s
|
134
|
+
easy to configure and easy to deploy. Sweet huh?
|
540
135
|
test_files: []
|
541
|
-
has_rdoc:
|