custom_jekyll 0.2.0 → 0.2.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 +4 -4
- data/.github/workflows/ruby.yml +33 -0
- data/Gemfile.lock +1 -1
- data/README.md +6 -0
- data/lib/custom_jekyll/generator.rb +3 -2
- data/lib/custom_jekyll/version.rb +1 -1
- data/notes.md +1 -1
- metadata +3 -3
- data/.travis.yml +0 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dc43c2d9c4332c222c5592ed278dbaf40d861d29705f7381043ba85c4aa5dd63
|
|
4
|
+
data.tar.gz: 0507d241c3b2b56fd584c302de50a3c5d34db0c6d0f4db5a0986c676086a8e4f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dc1ecd51cf01163b9e3190069d5624e6388e29fb4e25c6a5e2f722563c8fad64cef40ffe805cbc4509453dc37fe7d2fc6562fa68812f0d84302b5c4fade18377
|
|
7
|
+
data.tar.gz: cd7ac3ae8274427610712b0199138fc4a82441e20e2567f46fb70e24461208545b663c2744e0546c56e16230bd650158a1a3892d07a05f7574c31f0759cb253d
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# This workflow uses actions that are not certified by GitHub.
|
|
2
|
+
# They are provided by a third-party and are governed by
|
|
3
|
+
# separate terms of service, privacy policy, and support
|
|
4
|
+
# documentation.
|
|
5
|
+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
|
6
|
+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
|
7
|
+
|
|
8
|
+
name: Ruby
|
|
9
|
+
|
|
10
|
+
on:
|
|
11
|
+
push:
|
|
12
|
+
branches: [ master ]
|
|
13
|
+
pull_request:
|
|
14
|
+
branches: [ master ]
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
test:
|
|
18
|
+
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@v2
|
|
23
|
+
- name: Set up Ruby
|
|
24
|
+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
|
25
|
+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
|
26
|
+
# uses: ruby/setup-ruby@v1
|
|
27
|
+
uses: ruby/setup-ruby@21351ecc0a7c196081abca5dc55b08f085efe09a
|
|
28
|
+
with:
|
|
29
|
+
ruby-version: 2.6
|
|
30
|
+
- name: Install dependencies
|
|
31
|
+
run: bundle install
|
|
32
|
+
- name: Run tests
|
|
33
|
+
run: bundle exec rake
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -13,6 +13,12 @@ $ gem install custom_jekyll
|
|
|
13
13
|
```shell
|
|
14
14
|
$ custom_jekyll static-is-fun-with-jekyll
|
|
15
15
|
```
|
|
16
|
+
then switch to it and start jekylling
|
|
17
|
+
|
|
18
|
+
```shell
|
|
19
|
+
$ cd static-is-fun-with-jekyll
|
|
20
|
+
$ bundle exec jekyll serve
|
|
21
|
+
```
|
|
16
22
|
### if you do not like the name custom_jekyll (I totally understand :P)
|
|
17
23
|
Add the following in your shell's profile
|
|
18
24
|
|
|
@@ -56,8 +56,9 @@ class CustomJekyll::Generator
|
|
|
56
56
|
|
|
57
57
|
def run_bundle_install
|
|
58
58
|
puts "Running bundle install in #{site_name}"
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
Bundler.with_clean_env do
|
|
60
|
+
system("bundle install")
|
|
61
|
+
end
|
|
61
62
|
end
|
|
62
63
|
|
|
63
64
|
def make_git_repo
|
data/notes.md
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: custom_jekyll
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aurangzaib
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-12-
|
|
11
|
+
date: 2020-12-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -78,9 +78,9 @@ executables:
|
|
|
78
78
|
extensions: []
|
|
79
79
|
extra_rdoc_files: []
|
|
80
80
|
files:
|
|
81
|
+
- ".github/workflows/ruby.yml"
|
|
81
82
|
- ".gitignore"
|
|
82
83
|
- ".rspec"
|
|
83
|
-
- ".travis.yml"
|
|
84
84
|
- CODE_OF_CONDUCT.md
|
|
85
85
|
- Gemfile
|
|
86
86
|
- Gemfile.lock
|