Skip to content

Commit e8ebd7a

Browse files
committed
Initial commit
0 parents  commit e8ebd7a

File tree

242 files changed

+51884
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

242 files changed

+51884
-0
lines changed

.github/config.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Configuration for request-info
2+
# https://github.com/behaviorbot/request-info
3+
4+
# *OPTIONAL* Comment to reply with
5+
requestInfoReplyComment: >
6+
We would appreciate it if you could provide us with more info about this issue/pr!
7+
8+
# *OPTIONAL* default titles to check against for lack of descriptiveness (MUST BE ALL LOWERCASE)
9+
requestInfoDefaultTitles:
10+
- update readme.md
11+
- updates
12+
13+
# *OPTIONAL* Label to be added to Issues and Pull Requests with insufficient information given
14+
requestInfoLabelToAdd: need-more-info
15+
16+
# *OPTIONAL* Require Pull Requests to contain more information than what is provided in the PR template (Will fail if the pull request's body is equal to the provided template)
17+
checkPullRequestTemplate: true
18+
19+
# *OPTIONAL* Only warn about insufficient information on these events type (Keys must be lowercase. Valid values are 'issue' and 'pullRequest')
20+
requestInfoOn:
21+
pullRequest: true
22+
issue: true
23+
24+
# *OPTIONAL* Add a list of people whose Issues/PRs will not be commented on (keys must be GitHub usernames)
25+
requestInfoUserstoExclude:
26+
- sylhare
27+
- # the other users you wanna add here

.github/hooks/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Git hooks
2+
3+
Git hooks are provided in `hooks/`. The pre-commit hook, when enabled, will check for non-staged assets before commit and abort if found any.
4+
5+
## Setup
6+
7+
`ln lib/hooks/pre-commit .git/hooks/pre-commit`
8+
9+
## Bypass
10+
11+
`git commit -n`

.github/hooks/pre-commit

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/bin/sh
2+
#
3+
# Called by "git commit" with no arguments.
4+
# The hook should run gulp to optimize assets.
5+
# Will exit with non-zero status if it wants to stop the commit.
6+
7+
: << 'END' # Ancillary code to ensure environment before running gulp
8+
# If it's on the right directory, proceed. Else, try to fix it. If fail, abort commit.
9+
if [ ${PWD##*/} != "lib" ] ; then
10+
cd lib || exit 1
11+
fi
12+
13+
# If gulp is intalled and gulpfile.js is present, then proceed. Else, abort commit.
14+
if ! [ -f "gulpfile.js" ] || ! command -v gulp; then
15+
printf "gulpfile.js not found or gulp-cli not installed!\n"
16+
exit 1
17+
fi
18+
END
19+
20+
# If there are non-staged assets, abort commit.
21+
if git status --porcelain | grep -E '^(\?\?|AM|\nM).*assets/.*$' >/dev/null; then
22+
printf "There are non-staged assets, be sure to run gulp before commiting changes!\n"
23+
exit 1
24+
fi
25+
26+
# Proceed with the commit.
27+
exit 0
28+

.github/release-drafter.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name-template: 'v$NEXT_PATCH_VERSION'
2+
tag-template: 'v$NEXT_PATCH_VERSION'
3+
categories:
4+
- title: '🚀 Features'
5+
labels:
6+
- 'feature'
7+
- 'custom'
8+
- 'enhancement'
9+
- title: '🐛 Bug Fixes'
10+
labels:
11+
- 'fix'
12+
- 'bug'
13+
- title: '🧰 Maintenance'
14+
labels:
15+
- 'devops'
16+
- 'custom'
17+
template: |
18+
## What’s new:
19+
20+
$CHANGES

.github/stale.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 15
3+
4+
# Number of days of inactivity before a stale issue is closed
5+
daysUntilClose: 7
6+
7+
# Issues with these labels will never be considered stale
8+
exemptLabels:
9+
- pinned
10+
- security
11+
12+
# Label to use when marking an issue as stale
13+
staleLabel: wontfix
14+
15+
# Comment to post when marking an issue as stale. Set to `false` to disable
16+
markComment: >
17+
This issue has been automatically marked as stale because it has not had
18+
recent activity. It will be closed if no further activity occurs. Thank you
19+
for your contributions.
20+
21+
# Comment to post when closing a stale issue. Set to `false` to disable
22+
closeComment: false

.gitignore

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Idea
2+
.idea/*
3+
4+
# Mac OS
5+
.DS_Store
6+
7+
# Byte-compiled / optimized / DLL files
8+
*.manifest
9+
*.spec
10+
11+
# Jekyll dev or build
12+
_site/*
13+
_development_tool/*
14+
.sass-cache/*
15+
*.css.map
16+
*.scssc
17+
.bundle/*
18+
/vendor/
19+
.jekyll-cache/*
20+
*/.jekyll-cache/*
21+
22+
# Theme Gem
23+
Gemfile.lock
24+
*.gem
25+
.gems
26+
jekyll-theme-type-on-strap.gemspec
27+
28+
# Node.js
29+
**/node_modules/*
30+
**/package-lock.json
31+
32+
# Misc
33+
*-test.md
34+
*copy.md
35+
test/*

.travis.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
language: ruby
2+
rvm:
3+
# - 2.4.0
4+
# - 2.5.5
5+
- 2.6.3
6+
7+
env:
8+
global:
9+
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
10+
11+
notifications:
12+
email: false
13+
14+
before_install:
15+
# - gem update --system
16+
- gem install bundler
17+
18+
script:
19+
- bundle install
20+
- bundle exec jekyll build
21+
22+
after_script:
23+
- gem install type-on-strap
24+
- gem install jekyll-theme-type-on-strap
25+
- docker pull sylhare/type-on-strap
26+
27+
branches:
28+
only:
29+
- master
30+
- /^v.*$/
31+
32+
jobs:
33+
include:
34+
- stage: gem release
35+
rvm: 2.6.3
36+
script: echo "Deploying to rubygems.org ..."
37+
deploy:
38+
provider: rubygems
39+
gem: type-on-strap
40+
api_key:
41+
secure: DNJmBojaNJU0VFS2RE3Gy5CBnll1GXm7wtvxVMDfAqFNbCQdq2LR/v3LDNNm/ZEPMQfgdvlom8s5Pm26nnxbWFAAFcLTBD/cyJffvudgiCo3ONLkpm/PsVJiTyNbzZyb/XPE879S+LVtdKGlhLFSBaqUKfrhyRHT1W9LWrrjZMTQngUZCPlJmw6AsLvqT2x1CcBvVD2Q6tN8bOwq2blsDUtI6449ey1qWfgaERvM8KvF76aB32YQ7t8986NMkfHRDXPlgxm64pCc4kduBqAk9UHP5JAJzO4c3zEhX5Mb6Hc1CoxdgF3WSpmiN6HVVMaSC1byL4evocR+Enh5Gjc0VxEmIjCESpyheQG7YkkaadC7Lrvb18/qoSj0iDeB386k11XMiRN1dxu1CehPOkyQh5V5UEbZrm/9W9U/eQGgG1YoqicShcfxLDGeWRK4moLW8a8pvvBs+dduZyCWUgaC08S1u+HwvO8TpWcslr9/J05sRV4PAjk+u66+FVdILn0YWsbOKTezY/APTDfHnn/NQGZWXI4W5PMtf+KfPjL9kU0ouhqGpElGxrg2Hlw8kaPY3QrYLviVC7/DvWNWPGt9hmvcneuEg16zJTMoeNzckK5AUimyzvvjpVPVBh30T1YpZtcg+gFgesTHjyo/piFxEFX4ttYKoxvLMABONbniXcE=
42+
on:
43+
tags: true
44+
repo: sylhare/Type-on-Strap

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
source "https://rubygems.org"
2+
gemspec

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016-2021 Sylhare
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)