jekyll_test_plugin 0.1.2 → 0.3.0

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: 7a4e120156156aa95c5243f4a57951686163d28f9c2e37e59c8af7ac86925d28
4
- data.tar.gz: de6e8e324b8e1bb3b7b1de2d9f0283e0fa687bc787b320218362fbfe6e445900
3
+ metadata.gz: 49b055cb9fa32f58c05b69bf79811d29dec1df44a8c5b4fd3cf48d6509e334ed
4
+ data.tar.gz: 8d2746c23b1b8586f0a0059def7e3b03be1767cdb55b553b7da36daafce527f9
5
5
  SHA512:
6
- metadata.gz: eeb41a2ca05835ae3173b9dc3233cc65b2e81935c89a1f40989046d86735d049618ceab55832d8544cfbf8b9df20694797b52062ed18638523e143be2d22a737
7
- data.tar.gz: 3f9e61fbf7bc44f48365749ca103aa57aea9dfe583b81d5b98009b17150c16554625e6af78f649b75c2fdfda612dabb7dc8eb0692c1a618136c43a8a4d161c05
6
+ metadata.gz: 862570d90e520b23479229af9dd88353697f59b68a958156b80ffb5cf2de3e2321cd78d65b3615ebc62a10f4ec01df9bf6497d4678f96a60f94c2472a26b2d3b
7
+ data.tar.gz: 9ce0f62469b866772fecb1c461d15061afcb858a4228211c330b1234a7e7a06e8f4dffac9cf2645c10d48caab2e0b9c5f863aaeee0c34f21dd73e4fc8b868eae
@@ -0,0 +1,17 @@
1
+ {
2
+ "pull-request-title-pattern": "chore: release 💎 ${version}",
3
+ "packages": {
4
+ ".": {
5
+ "changelog-path": "History.markdown",
6
+ "release-type": "ruby",
7
+ "bump-minor-pre-major": false,
8
+ "bump-patch-for-minor-pre-major": false,
9
+ "draft": false,
10
+ "prerelease": false,
11
+ "include-component-in-tag": false,
12
+ "include-v-in-tag": true,
13
+ "version-file": "lib/jekyll_test_plugin/version.rb"
14
+ }
15
+ },
16
+ "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
17
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.3.0"
3
+ }
@@ -0,0 +1,34 @@
1
+ name: Enforce Conventional Commits
2
+
3
+ permissions:
4
+ pull-requests: read
5
+
6
+ on:
7
+ pull_request_target:
8
+ types: [opened, edited, synchronize, reopened, ready_for_review]
9
+ branches:
10
+ - master
11
+ - main
12
+
13
+ jobs:
14
+ enforce-conventional-commits:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - name: Lint Conventional Commit Usage
18
+ uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017
19
+ env:
20
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21
+ with:
22
+ types: |
23
+ build
24
+ chore
25
+ ci
26
+ docs
27
+ feat
28
+ fix
29
+ perf
30
+ refactor
31
+ revert
32
+ style
33
+ test
34
+ requireScope: false
@@ -2,6 +2,8 @@ name: Release Gem
2
2
 
3
3
  on:
4
4
  push:
5
+ branches:
6
+ - master
5
7
  paths:
6
8
  - "lib/**/version.rb"
7
9
 
@@ -17,33 +19,15 @@ jobs:
17
19
  - 2.7
18
20
  steps:
19
21
  - name: Checkout Repository
20
- uses: actions/checkout@v2
22
+ uses: actions/checkout@v4
21
23
  - name: "Set up Ruby ${{ matrix.ruby_version }}"
22
24
  uses: ruby/setup-ruby@v1
23
25
  with:
24
26
  ruby-version: ${{ matrix.ruby_version }}
25
27
  bundler-cache: true
26
- - name: Extract Plugin Version
27
- id: plugin-meta
28
- run: |
29
- echo "::set-output name=tag_version::$(bundle exec rake project:tag_version)"
30
- echo "::set-output name=gem_name::$(bundle exec rake project:gem_name)"
31
- shell: bash
32
- - name: Tag Details
33
- env:
34
- EVENT_JSON: ${{ toJSON(github.event) }}
35
- run: bundle exec ruby .github/workflows/scripts/tag_info.rb
36
- - name: "Build Gem (${{ steps.plugin-meta.outputs.gem_name }})"
37
- run: bundle exec rake build
38
- - name: Archive gem as artifact
39
- uses: actions/upload-artifact@v2
28
+ - name: Build and Publish Gem
29
+ uses: ashmaroli/release-gem@dist
40
30
  with:
41
- name: "${{ steps.plugin-meta.outputs.gem_name }}"
42
- path: "pkg/${{ steps.plugin-meta.outputs.gem_name }}.gem"
43
- retention-days: 5
44
- - name: Release Gem via Rubygems.org
31
+ gemspec_name: jekyll_test_plugin
45
32
  env:
46
33
  GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_GEM_PUSH_API_KEY }}
47
- run: |
48
- gem push pkg/${{ steps.plugin-meta.outputs.gem_name }}.gem
49
- git push origin ${{ steps.plugin-meta.outputs.tag_version }}
@@ -0,0 +1,26 @@
1
+ name: "Release Please"
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ - master
8
+
9
+ permissions:
10
+ contents: write
11
+ packages: write
12
+ pull-requests: write
13
+
14
+ jobs:
15
+ release-please:
16
+ name: Release Please
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - name: Update Release PR
20
+ id: release
21
+ # v4.1.3
22
+ uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f
23
+ with:
24
+ config-file: .github/release-please-config.json
25
+ manifest-file: .github/release-please-manifest.json
26
+ token: ${{ secrets.JEKYLLBOT_TOKEN }}
data/History.markdown CHANGED
@@ -1,3 +1,17 @@
1
+ # Changelog
2
+
3
+ ## [0.3.0](https://github.com/jekyll/jekyll-test-gem-plugin/compare/v0.2.0...v0.3.0) (2025-02-05)
4
+
5
+
6
+ ### Features
7
+
8
+ * use an emoji in the readme ([#6](https://github.com/jekyll/jekyll-test-gem-plugin/issues/6)) ([4c0dc9c](https://github.com/jekyll/jekyll-test-gem-plugin/commit/4c0dc9c8623d38b851f582ee87a79135c2baa0a2))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * use the correct default branch name ([#7](https://github.com/jekyll/jekyll-test-gem-plugin/issues/7)) ([b84410d](https://github.com/jekyll/jekyll-test-gem-plugin/commit/b84410dab61c3f4145c953a6d778ebc2764a2ab4))
14
+
1
15
  ## 0.1.1 / 2021-10-07
2
16
 
3
17
  ### Development Fixes
data/README.md CHANGED
@@ -20,7 +20,7 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- DON'T USE THIS IT'S JUST FOR TESTING. :)
23
+ DON'T USE THIS IT'S JUST FOR TESTING. :smile:
24
24
 
25
25
  ## Contributing
26
26
 
@@ -1,3 +1,3 @@
1
1
  module JekyllTestPlugin
2
- VERSION = "0.1.2"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_test_plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Parker Moore
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-22 00:00:00.000000000 Z
11
+ date: 2026-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -59,8 +59,11 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
+ - ".github/release-please-config.json"
63
+ - ".github/release-please-manifest.json"
64
+ - ".github/workflows/conventional_commits.yml"
62
65
  - ".github/workflows/gem.yml"
63
- - ".github/workflows/scripts/tag_info.rb"
66
+ - ".github/workflows/release-please.yml"
64
67
  - ".gitignore"
65
68
  - Gemfile
66
69
  - History.markdown
@@ -74,7 +77,7 @@ homepage: https://github.com/parkr/jekyll-test-gem-plugin
74
77
  licenses:
75
78
  - MIT
76
79
  metadata: {}
77
- post_install_message:
80
+ post_install_message:
78
81
  rdoc_options: []
79
82
  require_paths:
80
83
  - lib
@@ -90,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
93
  version: '0'
91
94
  requirements: []
92
95
  rubygems_version: 3.1.6
93
- signing_key:
96
+ signing_key:
94
97
  specification_version: 4
95
98
  summary: A test Jekyll plugin as a gem
96
99
  test_files: []
@@ -1,24 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "colorator"
4
- require "json"
5
-
6
- data = JSON.parse(ENV["EVENT_JSON"])
7
- label = %Q(TAG #{data["ref"].delete_prefix("refs/tags/").cyan})
8
- puts <<-TEXT
9
-
10
- ---------------------------------------------------------
11
- #{label.center(64)}
12
- ---------------------------------------------------------
13
- Pushed by: #{data.dig("pusher", "name")&.cyan}
14
- Repository: #{data.dig("repository", "full_name")&.cyan}
15
-
16
- Head Commit Details:
17
-
18
- #{data.dig("head_commit", "message").inspect.cyan}
19
-
20
- Author: #{data.dig("head_commit", "author", "username")&.cyan}
21
- Committer: #{data.dig("head_commit", "committer", "username")&.cyan}
22
- SHA ID: #{data.dig("head_commit", "id")&.cyan}
23
- ---------------------------------------------------------
24
- TEXT