capistrano-jekyll 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +82 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +41 -0
- data/Rakefile +1 -0
- data/capistrano-jekyll.gemspec +26 -0
- data/lib/capistrano/jekyll.rb +1 -0
- data/lib/capistrano/tasks/jekyll.rake +31 -0
- data/lib/capistrano-jekyll/version.rb +4 -0
- data/lib/capistrano-jekyll.rb +5 -0
- metadata +119 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 15012c72d2a1863de19caba575ccc557064b97ca
|
4
|
+
data.tar.gz: d65be1056f17477de30450164c2d56af05842b49
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 987ab99833836b1c88362bb65ec6f5fcf4971be4339e6b8707a331198dba17dadf4c408c23c9abe7a57bc910d24aaed6b98ef3cc994157a077989884c9520981
|
7
|
+
data.tar.gz: cf97b05233b9235537838577f1c9f08072164d0766d092c5848f593be3e09a5c36d1d842cece172de262fc671f934203c2802741d96241f43528c4d38ada9923
|
data/.gitignore
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
/.bundle/
|
2
|
+
/.yardoc
|
3
|
+
/Gemfile.lock
|
4
|
+
/_yardoc/
|
5
|
+
/coverage/
|
6
|
+
/doc/
|
7
|
+
/pkg/
|
8
|
+
/spec/reports/
|
9
|
+
/tmp/
|
10
|
+
*.bundle
|
11
|
+
*.so
|
12
|
+
*.o
|
13
|
+
*.a
|
14
|
+
mkmf.log
|
15
|
+
#### joe made this: https://goel.io/joe
|
16
|
+
|
17
|
+
#####=== Vim ===#####
|
18
|
+
[._]*.s[a-w][a-z]
|
19
|
+
[._]s[a-w][a-z]
|
20
|
+
*.un~
|
21
|
+
Session.vim
|
22
|
+
.netrwhist
|
23
|
+
*~
|
24
|
+
|
25
|
+
#####=== Ruby ===#####
|
26
|
+
|
27
|
+
*.gem
|
28
|
+
*.rbc
|
29
|
+
/.config
|
30
|
+
/coverage/
|
31
|
+
/InstalledFiles
|
32
|
+
/pkg/
|
33
|
+
/spec/reports/
|
34
|
+
/test/tmp/
|
35
|
+
/test/version_tmp/
|
36
|
+
/tmp/
|
37
|
+
|
38
|
+
## Specific to RubyMotion:
|
39
|
+
.dat*
|
40
|
+
.repl_history
|
41
|
+
build/
|
42
|
+
|
43
|
+
## Documentation cache and generated files:
|
44
|
+
/.yardoc/
|
45
|
+
/_yardoc/
|
46
|
+
/doc/
|
47
|
+
/rdoc/
|
48
|
+
|
49
|
+
## Environment normalisation:
|
50
|
+
/.bundle/
|
51
|
+
/lib/bundler/man/
|
52
|
+
|
53
|
+
# for a library or gem, you might want to ignore these files since the code is
|
54
|
+
# intended to run in multiple environments; otherwise, check them in:
|
55
|
+
# Gemfile.lock
|
56
|
+
# .ruby-version
|
57
|
+
# .ruby-gemset
|
58
|
+
|
59
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
60
|
+
.rvmrc
|
61
|
+
|
62
|
+
#####=== OSX ===#####
|
63
|
+
.DS_Store
|
64
|
+
.AppleDouble
|
65
|
+
.LSOverride
|
66
|
+
|
67
|
+
# Icon must end with two \r
|
68
|
+
Icon
|
69
|
+
|
70
|
+
# Thumbnails
|
71
|
+
._*
|
72
|
+
|
73
|
+
# Files that might appear on external disk
|
74
|
+
.Spotlight-V100
|
75
|
+
.Trashes
|
76
|
+
|
77
|
+
# Directories potentially created on remote AFP share
|
78
|
+
.AppleDB
|
79
|
+
.AppleDesktop
|
80
|
+
Network Trash Folder
|
81
|
+
Temporary Items
|
82
|
+
.apdisk
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
+
|
5
|
+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
|
6
|
+
|
7
|
+
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
+
|
9
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
+
|
11
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
+
|
13
|
+
This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2015 neiro
|
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,41 @@
|
|
1
|
+
# Capistrano-Jekyll
|
2
|
+
|
3
|
+
Jekyll support for Capistrano 3.x.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'capistrano-jekyll'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install capistrano-jekyll
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
Require in *Capfile* to use the default task:
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
require 'capistrano/jekyll'
|
27
|
+
```
|
28
|
+
**jekyll:build** task will run after **deploy:published** as part of Capistrano's default deploy, or can be run in isolation with `bundle exec cap production jekyll:build`
|
29
|
+
|
30
|
+
### List of tasks
|
31
|
+
* `cap jekyll:build # Build your website`
|
32
|
+
* `cap jekyll:doctor # Search site and print specific deprecation warnings`
|
33
|
+
* `cap jekyll:new # Creates a new Jekyll site scaffold in PATH`
|
34
|
+
|
35
|
+
## Contributing
|
36
|
+
|
37
|
+
1. Fork it ( https://github.com/ne1ro/capistrano-jekyll/fork )
|
38
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
39
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
40
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
41
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'bundler/gem_tasks'
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'capistrano-jekyll/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'capistrano-jekyll'
|
8
|
+
spec.version = CapistranoJekyll::VERSION
|
9
|
+
spec.authors = ['neiro']
|
10
|
+
spec.email = ['neiro.mail@gmail.com']
|
11
|
+
|
12
|
+
spec.summary = 'Capistrano integration for Jekyll'
|
13
|
+
spec.description = 'Capistrano deploy tool integration for Jekyll static
|
14
|
+
page generator'
|
15
|
+
spec.homepage = 'https://github.com/ne1ro/capistrano-jekyll'
|
16
|
+
spec.license = 'MIT'
|
17
|
+
|
18
|
+
spec.files = `git ls-files -z`.split "\x0"
|
19
|
+
spec.require_paths = ['lib']
|
20
|
+
|
21
|
+
spec.add_runtime_dependency 'capistrano', '~> 3.0', '>= 3.0.0'
|
22
|
+
|
23
|
+
spec.add_development_dependency 'bundler', '~> 1.9'
|
24
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
25
|
+
spec.add_development_dependency 'rubocop', '~> 0.29.0'
|
26
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
load File.expand_path('../tasks/jekyll.rake', __FILE__)
|
@@ -0,0 +1,31 @@
|
|
1
|
+
desc 'Jekyll integration'
|
2
|
+
namespace :jekyll do
|
3
|
+
desc 'Build your website'
|
4
|
+
task :build do
|
5
|
+
on roles(:web) do
|
6
|
+
within current_path do
|
7
|
+
execute :jekyll, 'build'
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
desc 'Search site and print specific deprecation warnings'
|
13
|
+
task :doctor do
|
14
|
+
on roles(:web) do
|
15
|
+
within current_path do
|
16
|
+
execute :jekyll, 'doctor'
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
desc 'Creates a new Jekyll site scaffold in PATH'
|
22
|
+
task :new do
|
23
|
+
on roles(:web) do
|
24
|
+
within current_path do
|
25
|
+
execute :jekyll, 'new'
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
after 'deploy:published', :build
|
31
|
+
end
|
metadata
ADDED
@@ -0,0 +1,119 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: capistrano-jekyll
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- neiro
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-05-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: capistrano
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.0'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 3.0.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.0'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 3.0.0
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: bundler
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.9'
|
40
|
+
type: :development
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.9'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rake
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '10.0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '10.0'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: rubocop
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 0.29.0
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 0.29.0
|
75
|
+
description: |-
|
76
|
+
Capistrano deploy tool integration for Jekyll static
|
77
|
+
page generator
|
78
|
+
email:
|
79
|
+
- neiro.mail@gmail.com
|
80
|
+
executables: []
|
81
|
+
extensions: []
|
82
|
+
extra_rdoc_files: []
|
83
|
+
files:
|
84
|
+
- ".gitignore"
|
85
|
+
- CODE_OF_CONDUCT.md
|
86
|
+
- Gemfile
|
87
|
+
- LICENSE.txt
|
88
|
+
- README.md
|
89
|
+
- Rakefile
|
90
|
+
- capistrano-jekyll.gemspec
|
91
|
+
- lib/capistrano-jekyll.rb
|
92
|
+
- lib/capistrano-jekyll/version.rb
|
93
|
+
- lib/capistrano/jekyll.rb
|
94
|
+
- lib/capistrano/tasks/jekyll.rake
|
95
|
+
homepage: https://github.com/ne1ro/capistrano-jekyll
|
96
|
+
licenses:
|
97
|
+
- MIT
|
98
|
+
metadata: {}
|
99
|
+
post_install_message:
|
100
|
+
rdoc_options: []
|
101
|
+
require_paths:
|
102
|
+
- lib
|
103
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
requirements: []
|
114
|
+
rubyforge_project:
|
115
|
+
rubygems_version: 2.4.5
|
116
|
+
signing_key:
|
117
|
+
specification_version: 4
|
118
|
+
summary: Capistrano integration for Jekyll
|
119
|
+
test_files: []
|