tree_stand 0.1.0 → 0.1.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/publish_docs.yml +35 -0
- data/README.md +2 -0
- data/lib/tree_stand/version.rb +1 -1
- data/tree_stand.gemspec +7 -5
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70f39e746530204d0ac0304b61c77bc13e955c70691dfcadd3cc9c90a83f6240
|
4
|
+
data.tar.gz: e4266bbbaa896b7562a3c94c9366456aa4422339cea3481671c7c3ce4a655cc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9513cd144b7899a19938d742ad73efea3cd6ade65e0850d6c81f5a0c505929c31f56c1143ac18dd442cc208ef5ff91b1da2091258513cb22e8af3b476e1af1a
|
7
|
+
data.tar.gz: 1034636108f5e4b265b77c82202c5a9c17b9104d840599f3a1bee16bdfdd10c135f19ac82f43702d2bf421e3c629050debf9ae16c85753eb774458d6ed0a0536
|
@@ -0,0 +1,35 @@
|
|
1
|
+
name: Publish docs
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [main]
|
6
|
+
|
7
|
+
jobs:
|
8
|
+
build:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
name: Publish documentation website
|
11
|
+
steps:
|
12
|
+
- uses: actions/checkout@v3
|
13
|
+
|
14
|
+
- name: Setup TreeSitter
|
15
|
+
run: sudo apt-get install -y libtree-sitter-dev make gcc
|
16
|
+
|
17
|
+
- name: Set up Ruby
|
18
|
+
uses: ruby/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: 3.1.1
|
21
|
+
bundler-cache: true
|
22
|
+
|
23
|
+
- name: Configure git
|
24
|
+
run: |
|
25
|
+
git config user.name github-actions
|
26
|
+
git config user.email github-actions@github.com
|
27
|
+
|
28
|
+
- name: Generate documentation
|
29
|
+
run: bundle exec yard --output-dir docs
|
30
|
+
|
31
|
+
- name: Commit to gh-pages
|
32
|
+
run: |
|
33
|
+
git add docs
|
34
|
+
git commit -m "Publish website $(git log --format=format:%h -1)"
|
35
|
+
git push --force origin main:gh-pages
|
data/README.md
CHANGED
data/lib/tree_stand/version.rb
CHANGED
data/tree_stand.gemspec
CHANGED
@@ -12,11 +12,13 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.homepage = "https://github.com/Shopify/tree_stand"
|
13
13
|
spec.license = "MIT"
|
14
14
|
|
15
|
-
spec.metadata
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
15
|
+
spec.metadata = {
|
16
|
+
"allowed_push_host" => "https://rubygems.org",
|
17
|
+
"homepage_uri" => spec.homepage,
|
18
|
+
"source_code_uri" => spec.homepage,
|
19
|
+
"changelog_uri" => spec.homepage,
|
20
|
+
"documentation_uri" => "https://shopify.github.io/tree_stand",
|
21
|
+
}
|
20
22
|
|
21
23
|
# Specify which files should be added to the gem when it is released.
|
22
24
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tree_stand
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- derekstride
|
@@ -90,6 +90,7 @@ extra_rdoc_files: []
|
|
90
90
|
files:
|
91
91
|
- ".github/workflows/ci.yml"
|
92
92
|
- ".github/workflows/cla.yml"
|
93
|
+
- ".github/workflows/publish_docs.yml"
|
93
94
|
- ".gitignore"
|
94
95
|
- ".shopify-build/VERSION"
|
95
96
|
- ".shopify-build/tree-stand-publish-package.yml"
|
@@ -124,6 +125,7 @@ metadata:
|
|
124
125
|
homepage_uri: https://github.com/Shopify/tree_stand
|
125
126
|
source_code_uri: https://github.com/Shopify/tree_stand
|
126
127
|
changelog_uri: https://github.com/Shopify/tree_stand
|
128
|
+
documentation_uri: https://shopify.github.io/tree_stand
|
127
129
|
post_install_message:
|
128
130
|
rdoc_options: []
|
129
131
|
require_paths:
|