jekyll_pocket 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.rubocop.yml +24 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +2 -0
- data/LICENSE.txt +21 -0
- data/README.md +47 -0
- data/jekyll_pocket.gemspec +35 -0
- data/lib/jekyll_pocket.rb +48 -0
- data/lib/jekyll_pocket/check.rb +39 -0
- data/lib/jekyll_pocket/site.rb +66 -0
- data/lib/jekyll_pocket/utils.rb +40 -0
- data/lib/jekyll_pocket/version.rb +3 -0
- metadata +200 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6d56376e07c5f3b086f04ab5f6ecf31b118b822b94a378c5d733b93976acb9bf
|
4
|
+
data.tar.gz: 3f9e34e10714523ff816f5c09b34103509922e750fcc4826eb42f86bf1d249b5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 22572ab23d9e63fc349ffe0ae5beddc0e97867402b029b425fd6915a960ded2d6ad2fdd63e456e40d6bbd8816afcc54306d0fe2418a8aa4c7c9a7c4f8754fd33
|
7
|
+
data.tar.gz: fc030777702aaeb18d073327ab229aec53951c2d33f12eb64e5f0afc1e563d7b6869d0f894f2f209dca0bd457b467c0414057cfeda3b0edbbc5e64507f836516
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
AllCops:
|
2
|
+
TargetRubyVersion: 2.4
|
3
|
+
Exclude:
|
4
|
+
- 'vendor/bundle/**/*'
|
5
|
+
- 'spec/**/*'
|
6
|
+
Style/DoubleNegation:
|
7
|
+
Enabled: false
|
8
|
+
Style/FrozenStringLiteralComment:
|
9
|
+
Enabled: false
|
10
|
+
Layout/EmptyComment:
|
11
|
+
Enabled: false
|
12
|
+
Metrics/MethodLength:
|
13
|
+
Max: 20
|
14
|
+
Metrics/AbcSize:
|
15
|
+
Max: 20
|
16
|
+
Metrics/LineLength:
|
17
|
+
IgnoredPatterns:
|
18
|
+
- 'warn'
|
19
|
+
- 'puts'
|
20
|
+
- 'raise'
|
21
|
+
Style/RedundantSelf:
|
22
|
+
Enabled: false
|
23
|
+
Layout/EmptyLineAfterGuardClause:
|
24
|
+
Enabled: false
|
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at mn2802@columbia.edu. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Marii
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
# jekyll_pocket
|
2
|
+
|
3
|
+
jekyll hook plugin for building a fully portable site 🎣💾👝
|
4
|
+
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/jekyll_pocket.svg)](https://badge.fury.io/rb/jekyll_pocket) ![License](https://img.shields.io/badge/license-MIT-yellowgreen.svg) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) [![Build Status](https://travis-ci.org/mnyrop/jekyll_pocket.svg?branch=master)](https://travis-ci.org/mnyrop/jekyll_pocket) [![](https://img.shields.io/librariesio/github/mnyrop/jekyll_pocket.svg)](https://libraries.io/github/mnyrop/jekyll_pocket)
|
6
|
+
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
Add this line to your application's Gemfile:
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
gem 'jekyll_pocket'
|
14
|
+
```
|
15
|
+
|
16
|
+
Then execute:
|
17
|
+
|
18
|
+
```sh
|
19
|
+
$ bundle
|
20
|
+
```
|
21
|
+
|
22
|
+
And add it as a jekyll plugin in your `_config.yml` file
|
23
|
+
|
24
|
+
```yaml
|
25
|
+
plugins:
|
26
|
+
- jekyll_pocket
|
27
|
+
```
|
28
|
+
|
29
|
+
## Usage
|
30
|
+
|
31
|
+
Make sure all of your files are using file extensions by setting `permalink: none` in your `_config.yml` file and looking through any custom page-level permalinks.
|
32
|
+
|
33
|
+
Then run jekyll build in pocket mode with:
|
34
|
+
|
35
|
+
```
|
36
|
+
$ bundle exec jekyll build JEKYLL_ENV=pocket
|
37
|
+
```
|
38
|
+
|
39
|
+
When the build is finished, you should be able to double click on your compiled index.html page and open up a fully functioning, serverless site in your browser. The links are all relative so you can move the site onto a thumbdrive and share it offline however you like.
|
40
|
+
|
41
|
+
## License
|
42
|
+
|
43
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
44
|
+
|
45
|
+
## Code of Conduct
|
46
|
+
|
47
|
+
Everyone interacting in the JekyllPocket project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/jekyll_pocket/blob/master/CODE_OF_CONDUCT.md).
|
@@ -0,0 +1,35 @@
|
|
1
|
+
lib = File.expand_path('lib', __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require 'jekyll_pocket/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'jekyll_pocket'
|
7
|
+
spec.version = JekyllPocket::VERSION
|
8
|
+
spec.authors = ['Marii']
|
9
|
+
spec.email = ['m.nyrop@columbia.edu']
|
10
|
+
|
11
|
+
spec.summary = 'jekyll hook plugin for building a fully portable site'
|
12
|
+
spec.homepage = 'https://github.com/mnyrop/jekyll_pocket'
|
13
|
+
spec.license = 'MIT'
|
14
|
+
|
15
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
16
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
17
|
+
f.match(%r{^(test|spec|features)/})
|
18
|
+
end
|
19
|
+
end
|
20
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
|
+
|
22
|
+
spec.bindir = 'exe'
|
23
|
+
spec.require_paths = ['lib']
|
24
|
+
spec.required_ruby_version = '~> 2.4'
|
25
|
+
|
26
|
+
spec.add_runtime_dependency 'html-proofer', '>= 3.8', '< 4.0'
|
27
|
+
spec.add_runtime_dependency('jekyll', '>= 3.7', '< 4.0')
|
28
|
+
|
29
|
+
spec.add_development_dependency 'bundler', '>= 1.16', '< 1.18'
|
30
|
+
spec.add_development_dependency 'colorize', '~> 0.8'
|
31
|
+
spec.add_development_dependency 'minima', '~> 2.5'
|
32
|
+
spec.add_development_dependency 'rspec', '>= 3.0', '< 4.0'
|
33
|
+
spec.add_development_dependency 'rubocop', '>= 0.60', '< 0.70'
|
34
|
+
spec.add_development_dependency 'yard', '~> 0.9'
|
35
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
require 'jekyll'
|
2
|
+
require 'yaml'
|
3
|
+
|
4
|
+
require_relative 'jekyll_pocket/check'
|
5
|
+
require_relative 'jekyll_pocket/utils'
|
6
|
+
require_relative 'jekyll_pocket/site'
|
7
|
+
|
8
|
+
#
|
9
|
+
#
|
10
|
+
module JekyllPocket
|
11
|
+
QUIET = !ENV['DEBUG']
|
12
|
+
RUN_POCKET = !!(ENV['JEKYLL_ENV'] == 'pocket').freeze
|
13
|
+
DEFAULT_ROOT = '~~&&~~JEKYLL~~&&~POCKET~&&~~ROOT~~&&~~'.freeze
|
14
|
+
DEFAULT_CONFIG = './_config.yml'.freeze
|
15
|
+
|
16
|
+
#
|
17
|
+
#
|
18
|
+
def self.quiet_stdout
|
19
|
+
if QUIET
|
20
|
+
begin
|
21
|
+
orig_stderr = $stderr.clone
|
22
|
+
orig_stdout = $stdout.clone
|
23
|
+
$stderr.reopen File.new('/dev/null', 'w')
|
24
|
+
$stdout.reopen File.new('/dev/null', 'w')
|
25
|
+
retval = yield
|
26
|
+
rescue StandardError => e
|
27
|
+
$stdout.reopen orig_stdout
|
28
|
+
$stderr.reopen orig_stderr
|
29
|
+
raise e
|
30
|
+
ensure
|
31
|
+
$stdout.reopen orig_stdout
|
32
|
+
$stderr.reopen orig_stderr
|
33
|
+
end
|
34
|
+
retval
|
35
|
+
else
|
36
|
+
yield
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
if RUN_POCKET
|
41
|
+
site = JekyllPocket::Site.new
|
42
|
+
site.reconfigure
|
43
|
+
Jekyll::Hooks.register :site, :post_write do |hook|
|
44
|
+
site.rewrite(hook)
|
45
|
+
puts "\nJekyllPocket::Success ~> Your pocket site was written to '#{hook.dest.gsub(`pwd`.strip, '')}'".cyan
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
module JekyllPocket
|
2
|
+
#
|
3
|
+
#
|
4
|
+
module Check
|
5
|
+
#
|
6
|
+
#
|
7
|
+
def self.links(dir)
|
8
|
+
opts = { checks_to_ignore: %w[ImageCheck ScriptCheck] }
|
9
|
+
runner = JekyllPocket.quiet_stdout do
|
10
|
+
r = HTMLProofer.check_directory(dir, opts)
|
11
|
+
r.check_files
|
12
|
+
r
|
13
|
+
end
|
14
|
+
|
15
|
+
process_externals(runner.external_urls)
|
16
|
+
process_failures(runner.process_files)
|
17
|
+
end
|
18
|
+
|
19
|
+
#
|
20
|
+
#
|
21
|
+
def self.process_failures(files)
|
22
|
+
failures = files.map { |i| i[:failures] }.flatten
|
23
|
+
return if failures.empty?
|
24
|
+
|
25
|
+
warn "\nJekyllPocket::Error ~> The following broken links were detected:".red
|
26
|
+
failures.each do |failure|
|
27
|
+
warn "- link: '#{failure.content}'\n in file: '#{failure.path.gsub(`pwd`.strip, '')}'\n problem: '#{failure.desc}'"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
def self.process_externals(externals)
|
32
|
+
return if externals.empty?
|
33
|
+
warn "\nJekyllPocket::Warning ~> The following external links will not work offline:".yellow
|
34
|
+
externals.each do |link, file|
|
35
|
+
warn "- link: '#{link}'\n in file: '#{file.first.gsub(`pwd`.strip, '')}'"
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
require 'html-proofer'
|
2
|
+
require 'jekyll'
|
3
|
+
|
4
|
+
module JekyllPocket
|
5
|
+
#
|
6
|
+
#
|
7
|
+
class Site
|
8
|
+
def initialize(conf = nil)
|
9
|
+
@config = self.config(conf)
|
10
|
+
@root = self.unique_root
|
11
|
+
end
|
12
|
+
|
13
|
+
#
|
14
|
+
#
|
15
|
+
def reconfigure
|
16
|
+
Jekyll::Hooks.register :site, :after_init do |hook|
|
17
|
+
hook.config['baseurl'] = @root
|
18
|
+
hook.config['permalink'] = 'none'
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
#
|
23
|
+
#
|
24
|
+
def rewrite(hook)
|
25
|
+
JekyllPocket::Site.files(hook).each do |file|
|
26
|
+
content = File.read(file)
|
27
|
+
prefix = JekyllPocket::Utils.depth_prefix(hook.dest, file)
|
28
|
+
|
29
|
+
JekyllPocket::Utils.matches(content, @root).each do |match|
|
30
|
+
result = match.gsub(%r{/#{@root}/}, prefix).gsub(/["']/, '')
|
31
|
+
resolved = JekyllPocket::Utils.resolve(result, file)
|
32
|
+
|
33
|
+
content.gsub!(match, resolved)
|
34
|
+
end
|
35
|
+
|
36
|
+
File.write(file, content)
|
37
|
+
end
|
38
|
+
|
39
|
+
JekyllPocket::Check.links(hook.dest)
|
40
|
+
end
|
41
|
+
|
42
|
+
#
|
43
|
+
#
|
44
|
+
def self.files(site)
|
45
|
+
Dir.glob("#{site.dest}/**/*").select { |f| File.file?(f) }
|
46
|
+
end
|
47
|
+
|
48
|
+
#
|
49
|
+
#
|
50
|
+
def unique_root
|
51
|
+
@config&.dig('jekyll_pocket', 'unique_root') || JekyllPocket::DEFAULT_ROOT
|
52
|
+
end
|
53
|
+
|
54
|
+
#
|
55
|
+
#
|
56
|
+
def config(conf)
|
57
|
+
if conf.is_a? Hash
|
58
|
+
conf
|
59
|
+
elsif File.exist? JekyllPocket::DEFAULT_CONFIG
|
60
|
+
YAML.safe_load(File.read(JekyllPocket::DEFAULT_CONFIG))
|
61
|
+
else
|
62
|
+
raise StandardError, 'JekyllPocket::Error ~> No valid config'.red
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
module JekyllPocket
|
2
|
+
#
|
3
|
+
#
|
4
|
+
module Utils
|
5
|
+
#
|
6
|
+
#
|
7
|
+
def self.depth_prefix(dest, file)
|
8
|
+
prefix = ''
|
9
|
+
pdest = Pathname.new(dest)
|
10
|
+
rpath = Pathname.new(file).relative_path_from(pdest)
|
11
|
+
depth = rpath.to_s.count('/')
|
12
|
+
depth.times { prefix.prepend('../') }
|
13
|
+
prefix
|
14
|
+
end
|
15
|
+
|
16
|
+
#
|
17
|
+
#
|
18
|
+
def self.matches(content, root)
|
19
|
+
single_quoted_matches = content.scan(/['].?#{root}[^']*[']/)
|
20
|
+
double_quoted_matches = content.scan(/["].?#{root}[^"]*["]/)
|
21
|
+
single_quoted_matches.concat double_quoted_matches
|
22
|
+
end
|
23
|
+
|
24
|
+
#
|
25
|
+
#
|
26
|
+
def self.resolve(result, file)
|
27
|
+
if File.extname(result).empty?
|
28
|
+
if result.empty? || result.end_with?('/')
|
29
|
+
result += 'index.html'
|
30
|
+
else
|
31
|
+
warn 'JekyllPocket::Warning ~> Missing File Extension'.yellow
|
32
|
+
warn "- link '#{result}'\n in file: '#{file.gsub(`pwd`.strip, '')}'\n"
|
33
|
+
warn " Auto-resolving as #{result}.html.\n".cyan
|
34
|
+
result += '.html'
|
35
|
+
end
|
36
|
+
end
|
37
|
+
result
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
metadata
ADDED
@@ -0,0 +1,200 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jekyll_pocket
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Marii
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-12-20 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: html-proofer
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.8'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '4.0'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.8'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '4.0'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: jekyll
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '3.7'
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '4.0'
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '3.7'
|
50
|
+
- - "<"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '4.0'
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: bundler
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '1.16'
|
60
|
+
- - "<"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '1.18'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '1.16'
|
70
|
+
- - "<"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '1.18'
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: colorize
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - "~>"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0.8'
|
80
|
+
type: :development
|
81
|
+
prerelease: false
|
82
|
+
version_requirements: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - "~>"
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0.8'
|
87
|
+
- !ruby/object:Gem::Dependency
|
88
|
+
name: minima
|
89
|
+
requirement: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - "~>"
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '2.5'
|
94
|
+
type: :development
|
95
|
+
prerelease: false
|
96
|
+
version_requirements: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - "~>"
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '2.5'
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
name: rspec
|
103
|
+
requirement: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '3.0'
|
108
|
+
- - "<"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '4.0'
|
111
|
+
type: :development
|
112
|
+
prerelease: false
|
113
|
+
version_requirements: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3.0'
|
118
|
+
- - "<"
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '4.0'
|
121
|
+
- !ruby/object:Gem::Dependency
|
122
|
+
name: rubocop
|
123
|
+
requirement: !ruby/object:Gem::Requirement
|
124
|
+
requirements:
|
125
|
+
- - ">="
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '0.60'
|
128
|
+
- - "<"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0.70'
|
131
|
+
type: :development
|
132
|
+
prerelease: false
|
133
|
+
version_requirements: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - ">="
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '0.60'
|
138
|
+
- - "<"
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0.70'
|
141
|
+
- !ruby/object:Gem::Dependency
|
142
|
+
name: yard
|
143
|
+
requirement: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - "~>"
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0.9'
|
148
|
+
type: :development
|
149
|
+
prerelease: false
|
150
|
+
version_requirements: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - "~>"
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0.9'
|
155
|
+
description:
|
156
|
+
email:
|
157
|
+
- m.nyrop@columbia.edu
|
158
|
+
executables: []
|
159
|
+
extensions: []
|
160
|
+
extra_rdoc_files: []
|
161
|
+
files:
|
162
|
+
- ".gitignore"
|
163
|
+
- ".rspec"
|
164
|
+
- ".rubocop.yml"
|
165
|
+
- ".travis.yml"
|
166
|
+
- CODE_OF_CONDUCT.md
|
167
|
+
- Gemfile
|
168
|
+
- LICENSE.txt
|
169
|
+
- README.md
|
170
|
+
- jekyll_pocket.gemspec
|
171
|
+
- lib/jekyll_pocket.rb
|
172
|
+
- lib/jekyll_pocket/check.rb
|
173
|
+
- lib/jekyll_pocket/site.rb
|
174
|
+
- lib/jekyll_pocket/utils.rb
|
175
|
+
- lib/jekyll_pocket/version.rb
|
176
|
+
homepage: https://github.com/mnyrop/jekyll_pocket
|
177
|
+
licenses:
|
178
|
+
- MIT
|
179
|
+
metadata: {}
|
180
|
+
post_install_message:
|
181
|
+
rdoc_options: []
|
182
|
+
require_paths:
|
183
|
+
- lib
|
184
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - "~>"
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '2.4'
|
189
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - ">="
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '0'
|
194
|
+
requirements: []
|
195
|
+
rubyforge_project:
|
196
|
+
rubygems_version: 2.7.6
|
197
|
+
signing_key:
|
198
|
+
specification_version: 4
|
199
|
+
summary: jekyll hook plugin for building a fully portable site
|
200
|
+
test_files: []
|