tree_stand 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 736381046f8ec987fd106632c34cfbcf79055801d19c519d59980da52d9ebf6a
4
- data.tar.gz: 7e1563ffb2af294542d3ac35fd287738bae0ebb69f7312907c18b5ff07fafd64
3
+ metadata.gz: 70f39e746530204d0ac0304b61c77bc13e955c70691dfcadd3cc9c90a83f6240
4
+ data.tar.gz: e4266bbbaa896b7562a3c94c9366456aa4422339cea3481671c7c3ce4a655cc2
5
5
  SHA512:
6
- metadata.gz: 36c90d3233c617abb88bb364cd79bc8fc0465301ef91dd0f9043cbc390d7e7ea5bf7f6ddf07ce4d82f715fd6dc2f76a3c3886a601610c29ddd6679effe2aa3f9
7
- data.tar.gz: 3ffc48adac74e5623244e0024534c867f074715d03640f7a428b077556e71f5d5b9b9394ad6f02c586b76768878f13511f3772fa70a5871d9fedea537eca6f67
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
@@ -14,6 +14,8 @@ Add this line to your application's Gemfile:
14
14
  gem "tree_stand"
15
15
  ```
16
16
 
17
+ See the [documentation](https://shopify.github.io/tree_stand) for supported features.
18
+
17
19
  ## Usage
18
20
 
19
21
  ### Setting Up a Parser
@@ -1,4 +1,4 @@
1
1
  module TreeStand
2
2
  # The current version of the gem.
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
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["allowed_push_host"] = "https://rubygems.org"
16
-
17
- spec.metadata["homepage_uri"] = spec.homepage
18
- spec.metadata["source_code_uri"] = spec.homepage
19
- spec.metadata["changelog_uri"] = spec.homepage
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.0
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: