buttercms-ruby-zwg 2.4.2 → 2.5.3

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: 2dba03176c46b54a6c2196d7ceca6a9f30efd6aa0c9512ef36b41547aa91644c
4
- data.tar.gz: 9021288f1658a808121daca4698f228d9841e49d550aecb5b3024ae5d25cc46b
3
+ metadata.gz: 8c333263a00a929a3000da4c19a17a6a39593ab438c9ac8cecf6e2662e76559b
4
+ data.tar.gz: 3b50c0006061d316074803bf6506553fe60557e35c5dee5946e880a166bb9238
5
5
  SHA512:
6
- metadata.gz: 651465071a591d7fde273cb10863496b01c13c53e6bf83a341d4874a2ae0cb36a2cb29154ec7802a78ccfbc3b0dc84848e92cd58e31310644964d3d3e195387c
7
- data.tar.gz: 2c266bf8aa4c3fe60e2871b43612cbc6b5eb80688fcd7f9ed7ea965e6692f389b6980127fa5490c3e678ca52ab42d06a221c443c1ade395a666a26ea50a4a8ae
6
+ metadata.gz: e63a4fbe483409fa5eafd36c94c2da37daae3d60d713dcb00f4caa17f1b88361580babdf7e96be0deee0cb342d30e7b40661c29fe8a2a25482a495a5cad166f7
7
+ data.tar.gz: 749336b7c63a2ee3bc7716d86d8983d77920a9a5e97be991d18717584618aba5663a21c9cfd907ceaf91e567567184fdb18b65d3f9686028c57875b75fb56d5c
@@ -0,0 +1,32 @@
1
+ # This workflow opens and updates a pull request with a new package version
2
+ # based on code changes.
3
+
4
+ # The pull request updates the version in version.rb, updates the changelog
5
+ # and creates release tags.
6
+
7
+ # For more information, see https://github.com/marketplace/actions/release-please-action
8
+
9
+
10
+ on:
11
+ push:
12
+ branches:
13
+ - master
14
+
15
+ permissions:
16
+ contents: write
17
+ pull-requests: write
18
+
19
+ name: release-please
20
+
21
+ jobs:
22
+ release-please:
23
+ runs-on: ubuntu-22.04
24
+ steps:
25
+ - uses: google-github-actions/release-please-action@v3.7.10
26
+ with:
27
+ release-type: ruby
28
+ package-name: release-please-action
29
+ version-file: "lib/buttercms/version.rb"
30
+ pull-request-title-pattern: "chore(release): ${version}"
31
+ pull-request-header: ":robot: Merge this PR to release a new version"
32
+ include-v-in-tag: false
@@ -3,23 +3,23 @@
3
3
 
4
4
  name: Publish Gem
5
5
 
6
- on:
6
+ on:
7
7
  push:
8
8
  branches:
9
9
  - master
10
10
 
11
11
  jobs:
12
- publish:
13
- if: github.ref == 'refs/heads/master' && github.event_name == 'push' && contains(github.event.head_commit.message, 'chore(release)')
14
- runs-on: ubuntu-latest
15
-
12
+ publish:
13
+ if: contains(github.event.head_commit.message, 'chore(release)')
14
+ runs-on: ubuntu-22.04
15
+
16
16
  steps:
17
- - uses: actions/checkout@v3
17
+ - uses: actions/checkout@v3.5.3
18
18
 
19
19
  - name: Release Gem
20
- uses: discourse/publish-rubygems-action@v2
20
+ uses: discourse/publish-rubygems-action@v3
21
21
  env:
22
22
  RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
23
23
  RELEASE_COMMAND: rake release
24
24
  GIT_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
25
- GIT_NAME: github-actions[bot]
25
+ GIT_NAME: github-actions[bot]
data/CHANGELOG.md ADDED
@@ -0,0 +1,29 @@
1
+ # Changelog
2
+
3
+ ## [2.5.3](https://github.com/zuzanawangle/buttercms-ruby/compare/2.5.2...2.5.3) (2023-07-30)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * change release command ([f210865](https://github.com/zuzanawangle/buttercms-ruby/commit/f21086525c0f600c98ef12bc5046440de71eae17))
9
+
10
+ ## [2.5.2](https://github.com/zuzanawangle/buttercms-ruby/compare/v2.5.1...2.5.2) (2023-07-30)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * change tag format ([1522354](https://github.com/zuzanawangle/buttercms-ruby/commit/1522354c6695d4b8c03cc9e21abb0f32c4594b04))
16
+
17
+ ## [2.5.1](https://github.com/zuzanawangle/buttercms-ruby/compare/v2.5.0...v2.5.1) (2023-07-30)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * change release command ([3dbfcf7](https://github.com/zuzanawangle/buttercms-ruby/commit/3dbfcf7f141aa104e9b3d2d8462d9e1c6c68481c))
23
+
24
+ ## [2.5.0](https://github.com/zuzanawangle/buttercms-ruby/compare/v2.4.0...v2.5.0) (2023-07-30)
25
+
26
+
27
+ ### Features
28
+
29
+ * add release and publish actions ([2777bde](https://github.com/zuzanawangle/buttercms-ruby/commit/2777bde75910db29fdf144bb6a67fe2602170ef7))
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,11 @@
1
+ # Contributing
2
+
3
+ ## Release and publish a new SDK version
4
+
5
+ This SDK uses the [`release-please` GitHub Action](https://github.com/google-github-actions/release-please-action) to automate preparing new versions for release.
6
+
7
+ When you are ready to release a new SDK version, make sure that all your code changes have been approved and merged into the `master` branch and that your code is working. The `release-please` tool generates a changelog based on **commit messages; these messages should follow the [Conventional Commits](https://conventionalcommits.org) specification in order for the changelog to reflect all code changes accurately**. Otherwise, you would need to update the changelog manually before each release.
8
+
9
+ The `release-please` action opens and maintains a GitHub pull request with changes relevant to a new version release. Approve this pull request to release a new version of the SDK.
10
+
11
+ After the release, the new version is automatically published into the RubyGems repository (see the package [here](https://rubygems.org/gems/buttercms-ruby)).
@@ -1,3 +1,3 @@
1
1
  module ButterCMS
2
- VERSION = '2.4.2'
2
+ VERSION = '2.5.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buttercms-ruby-zwg
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ButterCMS
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-17 00:00:00.000000000 Z
11
+ date: 2023-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -46,9 +46,12 @@ executables: []
46
46
  extensions: []
47
47
  extra_rdoc_files: []
48
48
  files:
49
+ - ".github/workflows/release-please.yml"
49
50
  - ".github/workflows/rubygems-publish.yml"
50
51
  - ".gitignore"
51
52
  - ".rspec"
53
+ - CHANGELOG.md
54
+ - CONTRIBUTING.md
52
55
  - Gemfile
53
56
  - LICENSE
54
57
  - README.md
@@ -82,7 +85,7 @@ homepage: https://buttercms.com/docs
82
85
  licenses:
83
86
  - MIT
84
87
  metadata: {}
85
- post_install_message:
88
+ post_install_message:
86
89
  rdoc_options: []
87
90
  require_paths:
88
91
  - lib
@@ -97,8 +100,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
100
  - !ruby/object:Gem::Version
98
101
  version: '0'
99
102
  requirements: []
100
- rubygems_version: 3.1.6
101
- signing_key:
103
+ rubygems_version: 3.4.10
104
+ signing_key:
102
105
  specification_version: 4
103
106
  summary: Ruby API client for ButterCMS
104
107
  test_files: []