Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigate to top #94

Open
wants to merge 34 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
1f0be2f
Url-Encoding for element id (spaces and UTF-8 support)
N7K4 Jan 8, 2020
35a1a1b
Save parent element of entry, to add a anchor id
N7K4 Jan 8, 2020
7ed55a2
Replace em-font-icon element with a unicode arrow
N7K4 Jan 8, 2020
c714baf
Format Code
N7K4 Jan 8, 2020
2f054aa
Format Code
N7K4 Jan 8, 2020
b68f210
Add class for the link to top
N7K4 Jan 17, 2020
7931ec2
PR94 - codeclimate fixes
N7K4 Jan 18, 2020
be51dcc
PR94 - codeclimate fixes
N7K4 Jan 18, 2020
9d41988
PR94 - codeclimate fixes
N7K4 Jan 18, 2020
790cc88
PR94 - codeclimate fixes
N7K4 Jan 18, 2020
941f02a
PR94 - codeclimate fixes
N7K4 Jan 18, 2020
56ebcc4
Add Testing Section to readme
N7K4 Jan 18, 2020
b223d13
Fix UnitTest test_toc_tag
N7K4 Jan 18, 2020
5586a92
Fix unit tests, id and anchor
Jan 19, 2020
3599b77
Merge branch 'master' into navigateToTop
N7K4 Jan 28, 2020
92f7c78
Url-Encoding for element id (spaces and UTF-8 support)
N7K4 Jan 8, 2020
9e2d5db
Add config value 'anchor_id_url_encoded', with default value false
N7K4 Feb 29, 2020
acdb182
Wrap the url encoding with the configuration variable
N7K4 Feb 29, 2020
194a3ff
Create Unit Tests
N7K4 Feb 29, 2020
bf32752
Add .whitesource configuration file
mend-bolt-for-github[bot] Apr 28, 2020
2a38db1
Merge pull request #1 from n13org/whitesource/configure
N7K4 Apr 28, 2020
e8cac14
Merge pull request #3 from toshimaru/master
N7K4 Apr 28, 2020
6ff175a
Update Gem Specs to n13.org
N7K4 Apr 28, 2020
68bf26d
Merge pull request #4 from n13org/issue95_Feb2020
N7K4 Apr 28, 2020
75b677a
Merge branch 'master' into navigateToTop
N7K4 Apr 28, 2020
fffe6b2
Delete jekyll_3.7.gemfile
N7K4 Apr 28, 2020
3b65bcb
Delete jekyll_3.8.gemfile
N7K4 Apr 28, 2020
4c62a90
Drop support for jekyll v3.0
N7K4 Apr 28, 2020
a63cfd2
Fix unit test
N7K4 Apr 28, 2020
4d29132
Fix unit test
N7K4 Apr 28, 2020
6684128
Add configuration list_id "toc"
N7K4 Nov 16, 2020
65ba147
Update from master
N7K4 Nov 16, 2020
fa9c46f
Fix rubocop
N7K4 Nov 16, 2020
3fb1a9d
Disable some rubocops rules
N7K4 Nov 16, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "bundler"
directory: "/"
schedule:
interval: "weekly"
reviewers:
- toshimaru
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
reviewers:
- toshimaru
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
name: CI
on: [push]
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
ruby: [2.4, 2.5, 2.6, 2.7]
gemfile:
- gemfiles/jekyll_4.0.gemfile
- gemfiles/jekyll_3.8.gemfile
- gemfiles/jekyll_3.7.gemfile
- gemfiles/jekyll_3.8.gemfile
- gemfiles/jekyll_3.9.gemfile
- gemfiles/jekyll_4.0.gemfile
- gemfiles/jekyll_4.1.gemfile
exclude:
- ruby: 2.4
gemfile: gemfiles/jekyll_4.0.gemfile
- ruby: 2.4
gemfile: gemfiles/jekyll_4.1.gemfile
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby }}
uses: eregon/use-ruby-action@master
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: bundle install
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Coverage
on: [push]
on: [push, pull_request]
jobs:
build:
strategy:
Expand All @@ -10,12 +10,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby }}
uses: eregon/use-ruby-action@master
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: bundle install
run: bundle install --jobs 4 --retry 3
- uses: paambaati/codeclimate-action@v2.4.0
- uses: paambaati/codeclimate-action@v2.7.4
env:
CC_TEST_REPORTER_ID: 6b81e393ea6ad38560386f650ea2fb0e57a7beb5e20f8c8364fabee30d5bff07
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: RuboCop
on: [push]
on: [push, pull_request]
jobs:
build:
strategy:
Expand All @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby }}
uses: eregon/use-ruby-action@master
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: bundle install
Expand Down
28 changes: 21 additions & 7 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,48 @@
AllCops:
TargetRubyVersion: 2.4
NewCops: enable
Exclude:
- "*.gemspec"
- "gemfiles/*"
- "vendor/**/*"
- Rakefile
- Gemfile
require:
- rubocop-performance
- rubocop-minitest

Metrics/MethodLength:
Enabled: false

Metrics/AbcSize:
Enabled: false

Metrics/ClassLength:
Enabled: false

Style/WordArray:
Enabled: false

Naming/FileName:
Enabled: false
Naming/VariableNumber:
Enabled: false

Layout/LineLength:
Enabled: false
Layout/SpaceAroundMethodCallOperator:
Enabled: true

Style/HashEachMethods:
Lint/RaiseException:
Enabled: true
Lint/StructNewOverride:
Enabled: true

Style/WordArray:
Enabled: false
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true

Style/HashTransformValues:
Enabled: true
Style/ExponentialNotation:
Enabled: true

Performance/StringInclude:
Enabled: false
8 changes: 8 additions & 0 deletions .whitesource
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"checkRunSettings": {
"vulnerableCheckRunConclusionLevel": "failure"
},
"issueSettings": {
"minSeverityLevel": "LOW"
}
}
14 changes: 5 additions & 9 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
# frozen_string_literal: true

appraise 'jekyll-4.0' do
gem 'jekyll', '4.0'
end

appraise 'jekyll-3.8' do
gem 'jekyll', '3.8'
end
SUPPORTED_VERSIONS = %w[3.8 3.9 4.0 4.1].freeze

appraise 'jekyll-3.7' do
gem 'jekyll', '3.7'
SUPPORTED_VERSIONS.each do |version|
appraise "jekyll-#{version}" do
gem 'jekyll', version
end
end
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ gem 'minitest-reporters'
gem 'minitest'
gem 'pry'
gem 'rake'
gem 'rubocop-minitest'
gem 'rubocop-performance'
gem 'rubocop'
gem 'simplecov', '~> 0.17.1'
Loading