jgd 1.12 → 1.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +24 -0
- data/.rubocop.yml +3 -1
- data/.rultor.yml +3 -7
- data/Gemfile +4 -0
- data/README.md +21 -3
- data/bin/jgd +1 -1
- data/jgd.gemspec +3 -10
- data/renovate.json +6 -0
- metadata +8 -50
- data/.github/ISSUE_TEMPLATE.md +0 -12
- data/.github/PULL_REQUEST_TEMPLATE.md +0 -11
- data/.travis.yml +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56ccd9a4a97634c62f1989c80561ca8400446451bbb286a974aa9b59b4da9a8e
|
4
|
+
data.tar.gz: '039ce41c4113d365385fea699e29f7946cafc5a7ba4447a21b499ff38dc0f7b8'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6aae8aa4ad440c44899de650fe7649dd5770fd66b1222d28c5b8b62818fa2778f63b2f7afb186f28038378cdad97accd33d81c2d581fa9b0fb004e21f6d1d60
|
7
|
+
data.tar.gz: acbf890353794716093c87874873235a300f6b05f64a49458843c3582e44bd10eca87873dc6a906a24a61f9962f17aa2184d7a6c09db7d0ea5ed18815f9843c8
|
@@ -0,0 +1,24 @@
|
|
1
|
+
---
|
2
|
+
name: rake
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
pull_request:
|
8
|
+
branches:
|
9
|
+
- master
|
10
|
+
jobs:
|
11
|
+
test:
|
12
|
+
name: test
|
13
|
+
strategy:
|
14
|
+
matrix:
|
15
|
+
os: [ubuntu-20.04, macos-12, windows-2022]
|
16
|
+
ruby: [2.7, 3.1]
|
17
|
+
runs-on: ${{ matrix.os }}
|
18
|
+
steps:
|
19
|
+
- uses: actions/checkout@v3
|
20
|
+
- uses: ruby/setup-ruby@v1
|
21
|
+
with:
|
22
|
+
ruby-version: ${{ matrix.ruby }}
|
23
|
+
- run: bundle update
|
24
|
+
- run: bundle exec rake
|
data/.rubocop.yml
CHANGED
data/.rultor.yml
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
docker:
|
2
|
+
image: yegor256/rultor-image:1.21.0
|
1
3
|
readers:
|
2
4
|
- "urn:github:526301"
|
3
5
|
decrypt:
|
@@ -5,9 +7,7 @@ decrypt:
|
|
5
7
|
install: |-
|
6
8
|
git config --global user.email "test@example.com"
|
7
9
|
git config --global user.name "Test"
|
8
|
-
|
9
|
-
export GEM_PATH=$GEM_HOME:$GEM_PATH
|
10
|
-
bundle install
|
10
|
+
sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"
|
11
11
|
release:
|
12
12
|
script: |-
|
13
13
|
bundle exec rake
|
@@ -21,7 +21,3 @@ merge:
|
|
21
21
|
script: |-
|
22
22
|
bundle exec rake
|
23
23
|
./test.sh
|
24
|
-
deploy:
|
25
|
-
script: |-
|
26
|
-
echo 'There is nothing to deploy'
|
27
|
-
exit -1
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
[![DevOps By Rultor.com](http://www.rultor.com/b/yegor256/jekyll-github-deploy)](http://www.rultor.com/p/yegor256/jekyll-github-deploy)
|
5
5
|
[![We recommend RubyMine](https://www.elegantobjects.org/rubymine.svg)](https://www.jetbrains.com/ruby/)
|
6
6
|
|
7
|
-
[![
|
7
|
+
[![rake](https://github.com/yegor256/jekyll-github-deploy/actions/workflows/rake.yml/badge.svg)](https://github.com/yegor256/jekyll-github-deploy/actions/workflows/rake.yml)
|
8
8
|
[![Gem Version](https://badge.fury.io/rb/jgd.svg)](http://badge.fury.io/rb/jgd)
|
9
9
|
[![Hits-of-Code](https://hitsofcode.com/github/yegor256/jekyll-github-deploy)](https://hitsofcode.com/view/github/yegor256/jekyll-github-deploy)
|
10
10
|
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/jekyll-github-deploy/blob/master/LICENSE.txt)
|
@@ -98,8 +98,6 @@ script:
|
|
98
98
|
- jgd -u git@github.com:yegor256/blog.git
|
99
99
|
```
|
100
100
|
|
101
|
-
Read also [this article](http://www.yegor256.com/2014/06/24/jekyll-github-deploy.html).
|
102
|
-
|
103
101
|
## Building locally
|
104
102
|
|
105
103
|
In order to build a package locally run below commands.
|
@@ -108,3 +106,23 @@ In order to build a package locally run below commands.
|
|
108
106
|
gem build jgd.gemspec
|
109
107
|
gem install jgd-<version>.gem
|
110
108
|
```
|
109
|
+
|
110
|
+
## How to Contribute
|
111
|
+
|
112
|
+
First, install
|
113
|
+
[Ruby 2.3+](https://www.ruby-lang.org/en/documentation/installation/),
|
114
|
+
[Rubygems](https://rubygems.org/pages/download),
|
115
|
+
and
|
116
|
+
[Bundler](https://bundler.io/).
|
117
|
+
Then:
|
118
|
+
|
119
|
+
```bash
|
120
|
+
$ bundle update
|
121
|
+
$ bundle exec rake --quiet
|
122
|
+
$ ./tesh.sh
|
123
|
+
```
|
124
|
+
|
125
|
+
The build has to be clean. If it's not, [submit an issue](https://github.com/zold-io/out/issues).
|
126
|
+
|
127
|
+
Then, make your changes, make sure the build is still clean,
|
128
|
+
and [submit a pull request](https://www.yegor256.com/2014/04/15/github-guidelines.html).
|
data/bin/jgd
CHANGED
@@ -39,7 +39,7 @@ end
|
|
39
39
|
|
40
40
|
branch = opts[:branch]
|
41
41
|
branch_from = opts[:branch_from]
|
42
|
-
config = opts[:config]
|
42
|
+
config = File.expand_path(opts[:config])
|
43
43
|
fail 'branch can\'t be empty' if branch.empty?
|
44
44
|
fail 'branch-from can\'t be empty' if branch_from.empty?
|
45
45
|
fail 'config can\'t be empty' if config.empty?
|
data/jgd.gemspec
CHANGED
@@ -23,14 +23,10 @@
|
|
23
23
|
require 'English'
|
24
24
|
|
25
25
|
Gem::Specification.new do |s|
|
26
|
-
s.
|
27
|
-
if s.respond_to? :required_rubygems_version=
|
28
|
-
s.required_rubygems_version = Gem::Requirement.new('>= 0')
|
29
|
-
end
|
30
|
-
s.rubygems_version = '2.2.2'
|
26
|
+
s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
|
31
27
|
s.required_ruby_version = '>= 2.3'
|
32
28
|
s.name = 'jgd'
|
33
|
-
s.version = '1.
|
29
|
+
s.version = '1.13.1'
|
34
30
|
s.license = 'MIT'
|
35
31
|
s.summary = 'Jekyll Github Deploy'
|
36
32
|
s.description = 'Automated deployment of your Jekyll blog to Github Pages'
|
@@ -39,12 +35,9 @@ Gem::Specification.new do |s|
|
|
39
35
|
s.homepage = 'http://github.com/yegor256/jekyll-github-deploy'
|
40
36
|
s.files = `git ls-files`.split($RS)
|
41
37
|
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
42
|
-
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
43
38
|
s.rdoc_options = ['--charset=UTF-8']
|
44
39
|
s.extra_rdoc_files = ['README.md', 'LICENSE.txt']
|
45
40
|
s.add_runtime_dependency('jekyll', '>=1.5.1')
|
46
41
|
s.add_runtime_dependency('trollop', '2.9.9')
|
47
|
-
s.
|
48
|
-
s.add_development_dependency 'rubocop', '0.62.0'
|
49
|
-
s.add_development_dependency 'rubocop-rspec', '1.31.0'
|
42
|
+
s.metadata['rubygems_mfa_required'] = 'true'
|
50
43
|
end
|
data/renovate.json
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jgd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yegor Bugayenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -38,48 +38,6 @@ dependencies:
|
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 2.9.9
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rake
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - '='
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 12.3.1
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - '='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 12.3.1
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rubocop
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - '='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 0.62.0
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - '='
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 0.62.0
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rubocop-rspec
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - '='
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 1.31.0
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - '='
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 1.31.0
|
83
41
|
description: Automated deployment of your Jekyll blog to Github Pages
|
84
42
|
email: yegor256@gmail.com
|
85
43
|
executables:
|
@@ -90,13 +48,11 @@ extra_rdoc_files:
|
|
90
48
|
- LICENSE.txt
|
91
49
|
files:
|
92
50
|
- ".0pdd.yml"
|
93
|
-
- ".github/
|
94
|
-
- ".github/PULL_REQUEST_TEMPLATE.md"
|
51
|
+
- ".github/workflows/rake.yml"
|
95
52
|
- ".gitignore"
|
96
53
|
- ".pdd"
|
97
54
|
- ".rubocop.yml"
|
98
55
|
- ".rultor.yml"
|
99
|
-
- ".travis.yml"
|
100
56
|
- Gemfile
|
101
57
|
- LICENSE.txt
|
102
58
|
- README.md
|
@@ -105,12 +61,14 @@ files:
|
|
105
61
|
- bin/jgd
|
106
62
|
- jgd.gemspec
|
107
63
|
- logo.svg
|
64
|
+
- renovate.json
|
108
65
|
- rubygems.yml.asc
|
109
66
|
- test.sh
|
110
67
|
homepage: http://github.com/yegor256/jekyll-github-deploy
|
111
68
|
licenses:
|
112
69
|
- MIT
|
113
|
-
metadata:
|
70
|
+
metadata:
|
71
|
+
rubygems_mfa_required: 'true'
|
114
72
|
post_install_message:
|
115
73
|
rdoc_options:
|
116
74
|
- "--charset=UTF-8"
|
@@ -127,8 +85,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
85
|
- !ruby/object:Gem::Version
|
128
86
|
version: '0'
|
129
87
|
requirements: []
|
130
|
-
rubygems_version: 3.
|
88
|
+
rubygems_version: 3.2.15
|
131
89
|
signing_key:
|
132
|
-
specification_version:
|
90
|
+
specification_version: 4
|
133
91
|
summary: Jekyll Github Deploy
|
134
92
|
test_files: []
|
data/.github/ISSUE_TEMPLATE.md
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
Make sure the title of the issue explains the problem you are having. Also, the description of the issue must clearly explain what is broken, not what you want us to implement. Go through this checklist and make sure you answer "YES" to all points:
|
2
|
-
|
3
|
-
- You have all pre-requisites listed in README.md installed
|
4
|
-
- You are sure that you are not reporting a duplicate (search all issues)
|
5
|
-
- You say "is broken" or "doesn't work" in the title
|
6
|
-
- You tell us what you are trying to do
|
7
|
-
- You explain the results you are getting
|
8
|
-
- You suggest an alternative result you would like to see
|
9
|
-
|
10
|
-
This article will help you understand what we are looking for: http://www.yegor256.com/2014/11/24/principles-of-bug-tracking.html
|
11
|
-
|
12
|
-
Thank you for your contribution!
|
@@ -1,11 +0,0 @@
|
|
1
|
-
Many thanks for your contribution, we truly appreciate it. We will appreciate it even more, if you make sure that you can say "YES" to each point in this short checklist:
|
2
|
-
|
3
|
-
- You made a small amount of changes (less than 100 lines, less than 10 files)
|
4
|
-
- You made changes related to only one bug (create separate PRs for separate problems)
|
5
|
-
- You are ready to defend your changes (there will be a code review)
|
6
|
-
- You don't touch what you don't understand
|
7
|
-
- You ran the build locally and it passed
|
8
|
-
|
9
|
-
This article will help you understand what we are looking for: http://www.yegor256.com/2015/02/09/serious-code-reviewer.html
|
10
|
-
|
11
|
-
Thank you for your contribution!
|
data/.travis.yml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 2.6.0
|
4
|
-
branches:
|
5
|
-
only:
|
6
|
-
- master
|
7
|
-
install:
|
8
|
-
- bundle install
|
9
|
-
script:
|
10
|
-
- set -e
|
11
|
-
- git config --global user.email "test@example.com"
|
12
|
-
- git config --global user.name "Test"
|
13
|
-
- bundle exec rake
|
14
|
-
- ./test.sh
|
15
|
-
|