jekyll-quickstart 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +28 -0
- data/.rspec +2 -0
- data/.travis.yml +4 -0
- data/Gemfile +5 -0
- data/LICENSE.txt +22 -0
- data/README.md +32 -0
- data/Rakefile +2 -0
- data/jekyll-quickstart.gemspec +34 -0
- data/lib/jekyll/quickstart.rb +11 -0
- data/lib/jekyll/quickstart/assets.rb +5 -0
- data/lib/jekyll/quickstart/bower_rails.rb +4 -0
- data/lib/jekyll/quickstart/compass.rb +22 -0
- data/lib/jekyll/quickstart/content_for_tag.rb +34 -0
- data/lib/jekyll/quickstart/extra_config.rb +21 -0
- data/lib/jekyll/quickstart/version.rb +5 -0
- data/spec/lib/jekyll/quickstart/assets_fixtures/_assets/javascripts/app.js.coffee +1 -0
- data/spec/lib/jekyll/quickstart/assets_fixtures/_config.yml +1 -0
- data/spec/lib/jekyll/quickstart/assets_fixtures/_plugins/boot.rb +2 -0
- data/spec/lib/jekyll/quickstart/assets_fixtures/index.html +8 -0
- data/spec/lib/jekyll/quickstart/assets_spec.rb +12 -0
- data/spec/lib/jekyll/quickstart/bower_rails_fixtures/_assets/javascripts/app.js.coffee +1 -0
- data/spec/lib/jekyll/quickstart/bower_rails_fixtures/_config.yml +1 -0
- data/spec/lib/jekyll/quickstart/bower_rails_fixtures/_plugins/boot.rb +2 -0
- data/spec/lib/jekyll/quickstart/bower_rails_fixtures/index.html +8 -0
- data/spec/lib/jekyll/quickstart/bower_rails_fixtures/vendor/assets/bower_components/helloworld/src/helloworld.js +1 -0
- data/spec/lib/jekyll/quickstart/bower_rails_spec.rb +12 -0
- data/spec/lib/jekyll/quickstart/compass_fixtures/_assets/images/colors/blue.png +0 -0
- data/spec/lib/jekyll/quickstart/compass_fixtures/_assets/images/colors/red.png +0 -0
- data/spec/lib/jekyll/quickstart/compass_fixtures/_assets/stylesheets/app.css.scss +8 -0
- data/spec/lib/jekyll/quickstart/compass_fixtures/_config.yml +1 -0
- data/spec/lib/jekyll/quickstart/compass_fixtures/_plugins/boot.rb +2 -0
- data/spec/lib/jekyll/quickstart/compass_fixtures/index.html +8 -0
- data/spec/lib/jekyll/quickstart/compass_spec.rb +12 -0
- data/spec/lib/jekyll/quickstart/content_for_tag_spec.rb +18 -0
- data/spec/lib/jekyll/quickstart/extra_config_fixtures/_config.extra.rb +3 -0
- data/spec/lib/jekyll/quickstart/extra_config_fixtures/_config.yml +1 -0
- data/spec/lib/jekyll/quickstart/extra_config_fixtures/_plugins/boot.rb +2 -0
- data/spec/lib/jekyll/quickstart/extra_config_fixtures/index.html +4 -0
- data/spec/lib/jekyll/quickstart/extra_config_spec.rb +11 -0
- data/spec/spec_helper.rb +84 -0
- data/spec/support/jekyll_build_helper.rb +24 -0
- metadata +252 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c9902b5998d8716a5e9bd39230cbea865337926b
|
4
|
+
data.tar.gz: 6863bca1e4d8c03302210456c4200fe333c79aaa
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f7b28f78da40a48c7d12acd6068d9f5536163c130eab3c8959600d2edc0f19b4699487e754116f3940d087212a619796752181b48156eeb3e8f608a4b11df36c
|
7
|
+
data.tar.gz: d222193d56411b9721c5e5f931122e9ec72a88b8cc6aa7c0dba0051db8ded573c088b606efed4fdf5e9f2987156687d63b81a8a783c602f0e464b82c93e477ed
|
data/.gitignore
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
.bundle
|
4
|
+
.config
|
5
|
+
.yardoc
|
6
|
+
Gemfile.lock
|
7
|
+
InstalledFiles
|
8
|
+
_yardoc
|
9
|
+
coverage
|
10
|
+
doc/
|
11
|
+
lib/bundler/man
|
12
|
+
pkg
|
13
|
+
rdoc
|
14
|
+
spec/reports
|
15
|
+
test/tmp
|
16
|
+
test/version_tmp
|
17
|
+
tmp
|
18
|
+
*.bundle
|
19
|
+
*.so
|
20
|
+
*.o
|
21
|
+
*.a
|
22
|
+
mkmf.log
|
23
|
+
|
24
|
+
.ruby-version
|
25
|
+
_site
|
26
|
+
.sass-cache
|
27
|
+
|
28
|
+
/spec/lib/jekyll/quickstart/compass_fixtures/_assets/images/colors-*.png
|
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 sunteya
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# Jekyll::Quickstart
|
2
|
+
|
3
|
+
[![Build Status](https://travis-ci.org/sunteya/jekyll-quickstart.svg?branch=master)](https://travis-ci.org/sunteya/jekyll-quickstart)
|
4
|
+
|
5
|
+
integrate jekyll-assets, compass, bower_rails and some useful helper to jekyll project.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
gem 'jekyll-quickstart'
|
12
|
+
|
13
|
+
## Usage
|
14
|
+
|
15
|
+
1. Add the following content to the jekyll `_plugins` directory, name `_quickstart.rb`
|
16
|
+
|
17
|
+
~~~~ruby
|
18
|
+
Bundler.require
|
19
|
+
Jekyll::Quickstart.boot
|
20
|
+
~~~~
|
21
|
+
|
22
|
+
2. If you want to use ruby style config file, you need to add `_config.extra.rb` to the root directory. it must return a *Hash* object.
|
23
|
+
|
24
|
+
3. For more details, see the spec directory
|
25
|
+
|
26
|
+
## Contributing
|
27
|
+
|
28
|
+
1. Fork it ( https://github.com/sunteya/jekyll-quickstart/fork )
|
29
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
30
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
31
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
32
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'jekyll/quickstart/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "jekyll-quickstart"
|
8
|
+
spec.version = Jekyll::Quickstart::VERSION
|
9
|
+
spec.authors = ["sunteya"]
|
10
|
+
spec.email = ["sunteya@gmail.com"]
|
11
|
+
spec.summary = %q{Quick start you jekyll project, integrate some gem, such as bundler, assets, etc. }
|
12
|
+
spec.homepage = "https://github.com/sunteya/jekyll-quickstart"
|
13
|
+
spec.license = "MIT"
|
14
|
+
|
15
|
+
spec.files = `git ls-files -z`.split("\x0")
|
16
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
|
+
spec.require_paths = ["lib"]
|
19
|
+
|
20
|
+
spec.add_dependency "jekyll"
|
21
|
+
spec.add_dependency "jekyll-assets"
|
22
|
+
|
23
|
+
# optional
|
24
|
+
spec.add_development_dependency "compass"
|
25
|
+
|
26
|
+
# test
|
27
|
+
spec.add_development_dependency "bundler", "~> 1.6"
|
28
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
29
|
+
spec.add_development_dependency "rake"
|
30
|
+
spec.add_development_dependency "pry-byebug"
|
31
|
+
spec.add_development_dependency "rails-assets-jquery"
|
32
|
+
spec.add_development_dependency "activesupport"
|
33
|
+
spec.add_development_dependency "cocaine"
|
34
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
begin
|
2
|
+
require "compass"
|
3
|
+
require File.expand_path("../assets.rb", __FILE__)
|
4
|
+
|
5
|
+
Compass.configuration do |config|
|
6
|
+
site = Jekyll::Site.new(Jekyll.configuration({}))
|
7
|
+
config.sprite_load_path = site.assets.paths.to_a
|
8
|
+
|
9
|
+
image_pathname = Pathname.new(site.config['source']).join(site.assets_config.sources.last)
|
10
|
+
image_pathname = image_pathname.relative_path_from(Pathname.pwd) if image_pathname.absolute?
|
11
|
+
config.images_dir = image_pathname.to_s
|
12
|
+
end
|
13
|
+
|
14
|
+
class Sass::Script::Functions::EvaluationContext
|
15
|
+
def generated_image_url(path)
|
16
|
+
sprockets_context.environment.send(:trail).instance_variable_set("@entries", {}) # clear cache
|
17
|
+
asset_url(path, Sass::Script::String.new("image"))
|
18
|
+
end
|
19
|
+
end
|
20
|
+
rescue LoadError => e
|
21
|
+
# skip
|
22
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
require "liquid"
|
2
|
+
|
3
|
+
module Liquid
|
4
|
+
|
5
|
+
# {% content_for sidebar %}
|
6
|
+
# Monkeys!
|
7
|
+
# {% endcontent_for %}
|
8
|
+
# ...
|
9
|
+
# <h1>{{ content_for_sidebar }}</h1>
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class ContentFor < Block
|
13
|
+
Syntax = /(\w+)/
|
14
|
+
|
15
|
+
def initialize(tag_name, markup, tokens)
|
16
|
+
if markup =~ Syntax
|
17
|
+
@to = $1
|
18
|
+
else
|
19
|
+
raise SyntaxError.new("Syntax Error in 'capture' - Valid syntax: capture [var]")
|
20
|
+
end
|
21
|
+
|
22
|
+
super
|
23
|
+
end
|
24
|
+
|
25
|
+
def render(context)
|
26
|
+
output = super
|
27
|
+
name = "content_for_#{@to}"
|
28
|
+
(context.environments.first[name] ||= "") << output
|
29
|
+
''
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
Template.register_tag('content_for', ContentFor)
|
34
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
class Jekyll::Site
|
2
|
+
alias_method :origin_config, :config
|
3
|
+
|
4
|
+
def config
|
5
|
+
load_extra_config
|
6
|
+
origin_config
|
7
|
+
end
|
8
|
+
|
9
|
+
def load_extra_config
|
10
|
+
return if @loaded_extra_config
|
11
|
+
@loaded_extra_config = true
|
12
|
+
|
13
|
+
root = Dir.pwd
|
14
|
+
file = File.join(root, "_config.extra.rb")
|
15
|
+
return if !File.exist?(file)
|
16
|
+
|
17
|
+
content = File.read(file)
|
18
|
+
config = instance_eval(content, file, 0)
|
19
|
+
self.config = Jekyll::Utils.deep_merge_hashes(self.config, config)
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
#= require jquery
|
@@ -0,0 +1 @@
|
|
1
|
+
baseurl: ""
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe "assets" do
|
4
|
+
|
5
|
+
let(:jekyll_root) { Pathname.new("../assets_fixtures").expand_path(__FILE__) }
|
6
|
+
|
7
|
+
it "integrate dependency gem assets to sprockets" do
|
8
|
+
jekyll_build
|
9
|
+
expect(Pathname.glob(jekyll_destination.join("assets/app-*.js"))).to_not be_empty
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
#= require helloworld/src/helloworld
|
@@ -0,0 +1 @@
|
|
1
|
+
baseurl: ""
|
@@ -0,0 +1 @@
|
|
1
|
+
console.log("hello world")
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe "bower_rails" do
|
4
|
+
|
5
|
+
let(:jekyll_root) { Pathname.new("../bower_rails_fixtures").expand_path(__FILE__) }
|
6
|
+
|
7
|
+
it "autoload bower_rails assets to sprockets" do
|
8
|
+
jekyll_build
|
9
|
+
expect(Pathname.glob(jekyll_destination.join("assets/app-*.js"))).to_not be_empty
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
baseurl: ""
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe "compass" do
|
4
|
+
|
5
|
+
let(:jekyll_root) { Pathname.new("../compass_fixtures").expand_path(__FILE__) }
|
6
|
+
before { Pathname.glob(jekyll_root.join("_assets/images/colors-*.png")).each {|p| FileUtils.rm p } }
|
7
|
+
|
8
|
+
it "compass support image sprites" do
|
9
|
+
jekyll_build
|
10
|
+
expect(Pathname.glob(jekyll_destination.join("assets/colors-*.png"))).to_not be_empty
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
require "jekyll/quickstart/content_for_tag"
|
3
|
+
|
4
|
+
describe Liquid::ContentFor do
|
5
|
+
|
6
|
+
it "should capture by content_for" do
|
7
|
+
template_source = <<-END_TEMPLATE
|
8
|
+
{% content_for sidebar %}
|
9
|
+
Monkeys!
|
10
|
+
{% endcontent_for %}
|
11
|
+
|
12
|
+
<h1>{{ content_for_sidebar }}</h1>
|
13
|
+
END_TEMPLATE
|
14
|
+
|
15
|
+
template = Liquid::Template.parse(template_source)
|
16
|
+
expect(template.render).to match /<h1>\s+Monkeys!\s+<\/h1>/
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
baseurl: ""
|
@@ -0,0 +1,11 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe "compass" do
|
4
|
+
|
5
|
+
let(:jekyll_root) { Pathname.new("../extra_config_fixtures").expand_path(__FILE__) }
|
6
|
+
|
7
|
+
it "should load extra config" do
|
8
|
+
jekyll_build
|
9
|
+
expect(jekyll_destination.join("index.html").read).to eq "foobar"
|
10
|
+
end
|
11
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
require "active_support/all"
|
2
|
+
require "pry-byebug"
|
3
|
+
|
4
|
+
SPEC_DIR = Pathname.new("../").expand_path(__FILE__)
|
5
|
+
Pathname.glob(SPEC_DIR.join("support/**/*.rb")).each { |f| require f }
|
6
|
+
|
7
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
8
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
9
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause this
|
10
|
+
# file to always be loaded, without a need to explicitly require it in any files.
|
11
|
+
#
|
12
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
13
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
14
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
15
|
+
# individual file that may not need all of that loaded. Instead, make a
|
16
|
+
# separate helper file that requires this one and then use it only in the specs
|
17
|
+
# that actually need it.
|
18
|
+
#
|
19
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
20
|
+
# users commonly want.
|
21
|
+
#
|
22
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
23
|
+
RSpec.configure do |config|
|
24
|
+
# The settings below are suggested to provide a good initial experience
|
25
|
+
# with RSpec, but feel free to customize to your heart's content.
|
26
|
+
=begin
|
27
|
+
# These two settings work together to allow you to limit a spec run
|
28
|
+
# to individual examples or groups you care about by tagging them with
|
29
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
30
|
+
# get run.
|
31
|
+
config.filter_run :focus
|
32
|
+
config.run_all_when_everything_filtered = true
|
33
|
+
|
34
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
35
|
+
# file, and it's useful to allow more verbose output when running an
|
36
|
+
# individual spec file.
|
37
|
+
if config.files_to_run.one?
|
38
|
+
# Use the documentation formatter for detailed output,
|
39
|
+
# unless a formatter has already been configured
|
40
|
+
# (e.g. via a command-line flag).
|
41
|
+
config.default_formatter = 'doc'
|
42
|
+
end
|
43
|
+
|
44
|
+
# Print the 10 slowest examples and example groups at the
|
45
|
+
# end of the spec run, to help surface which specs are running
|
46
|
+
# particularly slow.
|
47
|
+
config.profile_examples = 10
|
48
|
+
|
49
|
+
# Run specs in random order to surface order dependencies. If you find an
|
50
|
+
# order dependency and want to debug it, you can fix the order by providing
|
51
|
+
# the seed, which is printed after each run.
|
52
|
+
# --seed 1234
|
53
|
+
config.order = :random
|
54
|
+
|
55
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
56
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
57
|
+
# test failures related to randomization by passing the same `--seed` value
|
58
|
+
# as the one that triggered the failure.
|
59
|
+
Kernel.srand config.seed
|
60
|
+
|
61
|
+
# rspec-expectations config goes here. You can use an alternate
|
62
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
63
|
+
# assertions if you prefer.
|
64
|
+
config.expect_with :rspec do |expectations|
|
65
|
+
# Enable only the newer, non-monkey-patching expect syntax.
|
66
|
+
# For more details, see:
|
67
|
+
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
68
|
+
expectations.syntax = :expect
|
69
|
+
end
|
70
|
+
|
71
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
72
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
73
|
+
config.mock_with :rspec do |mocks|
|
74
|
+
# Enable only the newer, non-monkey-patching expect syntax.
|
75
|
+
# For more details, see:
|
76
|
+
# - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
77
|
+
mocks.syntax = :expect
|
78
|
+
|
79
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
80
|
+
# a real object. This is generally recommended.
|
81
|
+
mocks.verify_partial_doubles = true
|
82
|
+
end
|
83
|
+
=end
|
84
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require "cocaine"
|
2
|
+
|
3
|
+
module JekyllBuildHelper
|
4
|
+
extend ActiveSupport::Concern
|
5
|
+
|
6
|
+
def jekyll_build
|
7
|
+
jekyll_clean
|
8
|
+
Dir.chdir(jekyll_root) do
|
9
|
+
Cocaine::CommandLine.new("bundle", "exec jekyll build").run
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
def jekyll_clean
|
14
|
+
FileUtils.rm_rf jekyll_destination
|
15
|
+
end
|
16
|
+
|
17
|
+
def jekyll_destination
|
18
|
+
jekyll_root.join("_site")
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
RSpec.configure do |config|
|
23
|
+
config.include JekyllBuildHelper
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,252 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jekyll-quickstart
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- sunteya
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-07-26 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll-assets
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: compass
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.6'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.6'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: pry-byebug
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rails-assets-jquery
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: activesupport
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: cocaine
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
description:
|
154
|
+
email:
|
155
|
+
- sunteya@gmail.com
|
156
|
+
executables: []
|
157
|
+
extensions: []
|
158
|
+
extra_rdoc_files: []
|
159
|
+
files:
|
160
|
+
- ".gitignore"
|
161
|
+
- ".rspec"
|
162
|
+
- ".travis.yml"
|
163
|
+
- Gemfile
|
164
|
+
- LICENSE.txt
|
165
|
+
- README.md
|
166
|
+
- Rakefile
|
167
|
+
- jekyll-quickstart.gemspec
|
168
|
+
- lib/jekyll/quickstart.rb
|
169
|
+
- lib/jekyll/quickstart/assets.rb
|
170
|
+
- lib/jekyll/quickstart/bower_rails.rb
|
171
|
+
- lib/jekyll/quickstart/compass.rb
|
172
|
+
- lib/jekyll/quickstart/content_for_tag.rb
|
173
|
+
- lib/jekyll/quickstart/extra_config.rb
|
174
|
+
- lib/jekyll/quickstart/version.rb
|
175
|
+
- spec/lib/jekyll/quickstart/assets_fixtures/_assets/javascripts/app.js.coffee
|
176
|
+
- spec/lib/jekyll/quickstart/assets_fixtures/_config.yml
|
177
|
+
- spec/lib/jekyll/quickstart/assets_fixtures/_plugins/boot.rb
|
178
|
+
- spec/lib/jekyll/quickstart/assets_fixtures/index.html
|
179
|
+
- spec/lib/jekyll/quickstart/assets_spec.rb
|
180
|
+
- spec/lib/jekyll/quickstart/bower_rails_fixtures/_assets/javascripts/app.js.coffee
|
181
|
+
- spec/lib/jekyll/quickstart/bower_rails_fixtures/_config.yml
|
182
|
+
- spec/lib/jekyll/quickstart/bower_rails_fixtures/_plugins/boot.rb
|
183
|
+
- spec/lib/jekyll/quickstart/bower_rails_fixtures/index.html
|
184
|
+
- spec/lib/jekyll/quickstart/bower_rails_fixtures/vendor/assets/bower_components/helloworld/src/helloworld.js
|
185
|
+
- spec/lib/jekyll/quickstart/bower_rails_spec.rb
|
186
|
+
- spec/lib/jekyll/quickstart/compass_fixtures/_assets/images/colors/blue.png
|
187
|
+
- spec/lib/jekyll/quickstart/compass_fixtures/_assets/images/colors/red.png
|
188
|
+
- spec/lib/jekyll/quickstart/compass_fixtures/_assets/stylesheets/app.css.scss
|
189
|
+
- spec/lib/jekyll/quickstart/compass_fixtures/_config.yml
|
190
|
+
- spec/lib/jekyll/quickstart/compass_fixtures/_plugins/boot.rb
|
191
|
+
- spec/lib/jekyll/quickstart/compass_fixtures/index.html
|
192
|
+
- spec/lib/jekyll/quickstart/compass_spec.rb
|
193
|
+
- spec/lib/jekyll/quickstart/content_for_tag_spec.rb
|
194
|
+
- spec/lib/jekyll/quickstart/extra_config_fixtures/_config.extra.rb
|
195
|
+
- spec/lib/jekyll/quickstart/extra_config_fixtures/_config.yml
|
196
|
+
- spec/lib/jekyll/quickstart/extra_config_fixtures/_plugins/boot.rb
|
197
|
+
- spec/lib/jekyll/quickstart/extra_config_fixtures/index.html
|
198
|
+
- spec/lib/jekyll/quickstart/extra_config_spec.rb
|
199
|
+
- spec/spec_helper.rb
|
200
|
+
- spec/support/jekyll_build_helper.rb
|
201
|
+
homepage: https://github.com/sunteya/jekyll-quickstart
|
202
|
+
licenses:
|
203
|
+
- MIT
|
204
|
+
metadata: {}
|
205
|
+
post_install_message:
|
206
|
+
rdoc_options: []
|
207
|
+
require_paths:
|
208
|
+
- lib
|
209
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
210
|
+
requirements:
|
211
|
+
- - ">="
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '0'
|
214
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
215
|
+
requirements:
|
216
|
+
- - ">="
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
version: '0'
|
219
|
+
requirements: []
|
220
|
+
rubyforge_project:
|
221
|
+
rubygems_version: 2.2.2
|
222
|
+
signing_key:
|
223
|
+
specification_version: 4
|
224
|
+
summary: Quick start you jekyll project, integrate some gem, such as bundler, assets,
|
225
|
+
etc.
|
226
|
+
test_files:
|
227
|
+
- spec/lib/jekyll/quickstart/assets_fixtures/_assets/javascripts/app.js.coffee
|
228
|
+
- spec/lib/jekyll/quickstart/assets_fixtures/_config.yml
|
229
|
+
- spec/lib/jekyll/quickstart/assets_fixtures/_plugins/boot.rb
|
230
|
+
- spec/lib/jekyll/quickstart/assets_fixtures/index.html
|
231
|
+
- spec/lib/jekyll/quickstart/assets_spec.rb
|
232
|
+
- spec/lib/jekyll/quickstart/bower_rails_fixtures/_assets/javascripts/app.js.coffee
|
233
|
+
- spec/lib/jekyll/quickstart/bower_rails_fixtures/_config.yml
|
234
|
+
- spec/lib/jekyll/quickstart/bower_rails_fixtures/_plugins/boot.rb
|
235
|
+
- spec/lib/jekyll/quickstart/bower_rails_fixtures/index.html
|
236
|
+
- spec/lib/jekyll/quickstart/bower_rails_fixtures/vendor/assets/bower_components/helloworld/src/helloworld.js
|
237
|
+
- spec/lib/jekyll/quickstart/bower_rails_spec.rb
|
238
|
+
- spec/lib/jekyll/quickstart/compass_fixtures/_assets/images/colors/blue.png
|
239
|
+
- spec/lib/jekyll/quickstart/compass_fixtures/_assets/images/colors/red.png
|
240
|
+
- spec/lib/jekyll/quickstart/compass_fixtures/_assets/stylesheets/app.css.scss
|
241
|
+
- spec/lib/jekyll/quickstart/compass_fixtures/_config.yml
|
242
|
+
- spec/lib/jekyll/quickstart/compass_fixtures/_plugins/boot.rb
|
243
|
+
- spec/lib/jekyll/quickstart/compass_fixtures/index.html
|
244
|
+
- spec/lib/jekyll/quickstart/compass_spec.rb
|
245
|
+
- spec/lib/jekyll/quickstart/content_for_tag_spec.rb
|
246
|
+
- spec/lib/jekyll/quickstart/extra_config_fixtures/_config.extra.rb
|
247
|
+
- spec/lib/jekyll/quickstart/extra_config_fixtures/_config.yml
|
248
|
+
- spec/lib/jekyll/quickstart/extra_config_fixtures/_plugins/boot.rb
|
249
|
+
- spec/lib/jekyll/quickstart/extra_config_fixtures/index.html
|
250
|
+
- spec/lib/jekyll/quickstart/extra_config_spec.rb
|
251
|
+
- spec/spec_helper.rb
|
252
|
+
- spec/support/jekyll_build_helper.rb
|