liquidbook 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: 6c2c697f9bb5b094c752a0798ef24b5bf0265f60c5ed490abe4b9ad2abbb2d60
4
- data.tar.gz: dda835eaec1bef74610452dfe1596a1b517122ca9e66a852592aa5ca79a43700
3
+ metadata.gz: 59b811002a312c3567cd9289378a69048632ddfab5b7aaa6102125be8b80dbbf
4
+ data.tar.gz: 9a6f80e2bf17ba941a78236bd20a63c125742b6474057d3e5a824b339c54184e
5
5
  SHA512:
6
- metadata.gz: a5ff5a395bdf717724ebec570cb4fb8ff039d4cd9940dbb2df6320e402e0ae18511d5ec2d1ebeca9f598b73f0b81cc96977bae7bcb996117fc0e07e8380d10ff
7
- data.tar.gz: 731b75e5e253632d37d58033f49d12c4ef74820397212750174bc2e66b9d01c8ad980be48108197effefab90ec4009c6d57becd4b494793f17f0471659665efa
6
+ metadata.gz: 9751243724a361cb909765fb259cd2d99934ee9b855d130c77dc05b29195c8c7a0b74f81a7a77cb927be644906523ec4b8f2f710d2730d113120d988de8fc4e5
7
+ data.tar.gz: 3b03c87c3a0ba876830700d03d55c54228ef7cded53129ff1442b8c7ccab23fb1e9b4200e89db912ea6c52685efabc7d67d7aa4dbf125cc222b89d79720f3828
data/CHANGELOG.md ADDED
@@ -0,0 +1,32 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [0.1.1] - 2026-04-09
11
+
12
+ ### Added
13
+
14
+ - PID file management and `stop` command for graceful server shutdown
15
+ - CD workflow: GitHub Release auto-creation from CHANGELOG on tag push
16
+ - CD workflow: RubyGems publish via manual `workflow_dispatch`
17
+
18
+ ### Changed
19
+
20
+ - Rename CI workflow file from `test.yml` to `ci.yml`
21
+
22
+ ## [0.1.0] - 2026-04-07
23
+
24
+ ### Added
25
+
26
+ - Core Liquid template rendering engine with mock data support
27
+ - Browser-based preview server using Sinatra
28
+ - CLI commands (`start`, `stop`) via Thor
29
+ - File watching with auto-reload using Listen
30
+ - Section and snippet template support
31
+ - Unit tests and integration tests with RSpec
32
+ - CI pipeline with GitHub Actions (Ruby 3.2 - 4.0)
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Liquidbook
2
2
 
3
- [![CI](https://github.com/sena-m09/liquidbook/actions/workflows/test.yml/badge.svg)](https://github.com/sena-m09/liquidbook/actions/workflows/test.yml)
3
+ [![CI](https://github.com/sena-m09/liquidbook/actions/workflows/ci.yml/badge.svg)](https://github.com/sena-m09/liquidbook/actions/workflows/ci.yml)
4
4
 
5
5
  A Storybook-like local preview server for Shopify Liquid templates. Browse and preview your sections and snippets in the browser instantly.
6
6
 
@@ -78,6 +78,8 @@ cd liquidbook
78
78
  bin/setup
79
79
  ```
80
80
 
81
+ See [Release Process](docs/RELEASING.md) for how to publish a new version.
82
+
81
83
  ## License
82
84
 
83
85
  [MIT License](https://opensource.org/licenses/MIT)
data/docs/README.ja.md CHANGED
@@ -76,6 +76,8 @@ cd liquidbook
76
76
  bin/setup
77
77
  ```
78
78
 
79
+ 新しいバージョンのリリース方法は [Release Process](RELEASING.md) を参照してください。
80
+
79
81
  ## ライセンス
80
82
 
81
83
  [MIT License](https://opensource.org/licenses/MIT)
data/docs/RELEASING.md ADDED
@@ -0,0 +1,51 @@
1
+ # Release Process
2
+
3
+ ## CI/CD ワークフロー構成
4
+
5
+ | ワークフロー | ファイル | トリガー | 内容 |
6
+ |---|---|---|---|
7
+ | CI | `ci.yml` | push (main) / PR | テスト実行 (Ruby 3.2 - 4.0) |
8
+ | GitHub Release | `github_release.yml` | `v*` タグ push | CHANGELOG から抽出 → GitHub Release 作成 |
9
+ | RubyGems 公開 | `gem_release.yml` | 手動 (`workflow_dispatch`) | RubyGems に gem push |
10
+
11
+ ## リリース手順
12
+
13
+ ### 1. バージョンと CHANGELOG を更新
14
+
15
+ `lib/liquidbook/version.rb` のバージョンを更新:
16
+
17
+ ```ruby
18
+ VERSION = "X.Y.Z"
19
+ ```
20
+
21
+ `CHANGELOG.md` に変更内容を追記(`[Unreleased]` から新バージョンのセクションへ移動):
22
+
23
+ ```markdown
24
+ ## [X.Y.Z] - YYYY-MM-DD
25
+
26
+ ### Added
27
+ - ...
28
+ ```
29
+
30
+ ### 2. コミットしてタグを打つ
31
+
32
+ ```bash
33
+ git add lib/liquidbook/version.rb CHANGELOG.md
34
+ git commit -m "chore: bump version to X.Y.Z"
35
+ git tag vX.Y.Z
36
+ git push origin main --tags
37
+ ```
38
+
39
+ ### 3. GitHub Release を確認
40
+
41
+ タグ push をトリガーに GitHub Release が自動作成されます。CHANGELOG から該当バージョンのノートが抽出されます。
42
+
43
+ [Actions > Create GitHub Release](https://github.com/sena-m09/liquidbook/actions/workflows/github_release.yml) で結果を確認してください。
44
+
45
+ ### 4. RubyGems に公開
46
+
47
+ GitHub Release の内容を確認した後、手動で gem を公開します:
48
+
49
+ [Actions > Publish to RubyGems](https://github.com/sena-m09/liquidbook/actions/workflows/gem_release.yml) → "Run workflow" を実行
50
+
51
+ > gem push を手動トリガーにしているのは、公開前に最終確認できるようにするためです。
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Liquidbook
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: liquidbook
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
  - sena-m09
@@ -103,10 +103,12 @@ extensions: []
103
103
  extra_rdoc_files: []
104
104
  files:
105
105
  - ".rspec"
106
+ - CHANGELOG.md
106
107
  - LICENSE
107
108
  - README.md
108
109
  - Rakefile
109
110
  - docs/README.ja.md
111
+ - docs/RELEASING.md
110
112
  - exe/liquidbook
111
113
  - fixtures/default_mocks.yml
112
114
  - lib/liquidbook.rb
@@ -147,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
149
  - !ruby/object:Gem::Version
148
150
  version: '0'
149
151
  requirements: []
150
- rubygems_version: 3.6.9
152
+ rubygems_version: 4.0.6
151
153
  specification_version: 4
152
154
  summary: Storybook-like preview server for Shopify Liquid sections and snippets
153
155
  test_files: []