custom_jekyll 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7111645d46352fb62b80654cb064077e0f8f6de78a4acf8e3316c09ed52a6058
4
- data.tar.gz: c59579f3cf37248af6b58b2e58a9234f9782cb885a0198f45876594ffa07ff46
3
+ metadata.gz: dc43c2d9c4332c222c5592ed278dbaf40d861d29705f7381043ba85c4aa5dd63
4
+ data.tar.gz: 0507d241c3b2b56fd584c302de50a3c5d34db0c6d0f4db5a0986c676086a8e4f
5
5
  SHA512:
6
- metadata.gz: 83e273d061461173ed0deeedc934afb97496d9dc119e0b3cefdad2f3d16fc6eb04c5aa96eed230eaf94cc390de5caa106d764a0f315088b1a30294c478ae4c46
7
- data.tar.gz: cdd2b301282cdf9383a4fcf2f07fe16de53a4a4842cc57b883307aaee062e1786b1a24d0be74c9135c6a07957ed3dbc9eafbc5d757487fab84766694d350e3b4
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- custom_jekyll (0.2.0)
4
+ custom_jekyll (0.2.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
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
- ENV["BUNDLE_GEMFILE"] = File.expand_path('Gemfile')
60
- system("bundle install")
59
+ Bundler.with_clean_env do
60
+ system("bundle install")
61
+ end
61
62
  end
62
63
 
63
64
  def make_git_repo
@@ -1,3 +1,3 @@
1
1
  module CustomJekyll
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
data/notes.md CHANGED
@@ -16,4 +16,4 @@ TODO
16
16
  - [x] Set set_template according to your need.
17
17
  - [x] Run automated commands like bundle install, initialize git repository
18
18
  - [x] edit config to include site_name
19
- - [ ] fix readme and gem description
19
+ - [x] fix readme and gem description
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.0
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-22 00:00:00.000000000 Z
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
@@ -1,7 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.6.6
7
- before_install: gem install bundler -v 1.17.2