pixela 3.5.0 → 3.5.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: 2294c4ab50d90e3081e699ad2c99b33b7a8e4c37e271fe061e45433910508080
4
- data.tar.gz: 1421993d12f16a5243526cefa580a06a9c3415385297055af0223510c72bb095
3
+ metadata.gz: 3d39bdd23220713711c3d2ecbc65e66b95f874f71d8987e3b4ae02449db614c8
4
+ data.tar.gz: 48b0efd0a4c8e30f0d0bdbe6610eb7c215e0e5385dc99aa8f9d31100af87896f
5
5
  SHA512:
6
- metadata.gz: d35da5fef54b3493635999a382ccb473af3e98e46dee0f014f3dfbcf99eeae4068e8d25a81523ccf525661e94139ab0755b9768ce11be84db8d921c9e9d2757e
7
- data.tar.gz: 907b8a988c388f3a40656173441e9f3727cbb869c8723313d4bbcb00c44b149a7e18d5a0a6ffd26ff0a5d90d429e69a694b1fb45093a2b17c0af03bdbd5436b8
6
+ metadata.gz: 61efb3ed1806ea747a5d8356260eade052bbc03bb672be5d991a54ececf26928f11a8f2d2c21e762b93353deae3f231b90e4215b349a75c485c96c79d7827be9
7
+ data.tar.gz: 2f6295b3edc28e817d6c51248bbf22663a82af3db73da0c335a6112378a1cc9a38bd064f33d076317b9dbadadb8db79e2812816798ff64a1f9d03801b104c57c
@@ -6,5 +6,7 @@ updates:
6
6
  directory: /
7
7
  schedule:
8
8
  interval: weekly
9
+ cooldown:
10
+ default-days: 7
9
11
  assignees:
10
12
  - sue445
@@ -30,9 +30,9 @@ jobs:
30
30
  runs-on: ubuntu-latest
31
31
  steps:
32
32
  - name: Checkout
33
- uses: actions/checkout@v4
33
+ uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
34
34
 
35
- - uses: ruby/setup-ruby@v1
35
+ - uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
36
36
  with:
37
37
  ruby-version: ruby
38
38
  bundler-cache: true
@@ -40,18 +40,18 @@ jobs:
40
40
  - run: bundle exec yard
41
41
 
42
42
  - name: Setup Pages
43
- uses: actions/configure-pages@v5
43
+ uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
44
44
  - name: Upload artifact
45
- uses: actions/upload-pages-artifact@v3
45
+ uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
46
46
  with:
47
47
  # Upload entire repository
48
48
  path: './doc'
49
49
  - name: Deploy to GitHub Pages
50
50
  id: deployment
51
- uses: actions/deploy-pages@main
51
+ uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
52
52
 
53
53
  - name: Slack Notification (not success)
54
- uses: act10ns/slack@v2
54
+ uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
55
55
  if: "! success()"
56
56
  continue-on-error: true
57
57
  with:
@@ -0,0 +1,41 @@
1
+ name: Publish gem to rubygems.org
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ release:
8
+ if: github.repository == 'sue445/pixela'
9
+ runs-on: ubuntu-latest
10
+
11
+ environment:
12
+ name: rubygems.org
13
+ url: https://rubygems.org/gems/pixela
14
+
15
+ permissions:
16
+ contents: write
17
+ id-token: write
18
+
19
+ steps:
20
+ - name: Harden Runner
21
+ uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
22
+ with:
23
+ egress-policy: audit
24
+
25
+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
26
+
27
+ - name: Set up Ruby
28
+ uses: ruby/setup-ruby@eaecf785f6a34567a6d97f686bbb7bccc1ac1e5c # v1.237.0
29
+ with:
30
+ bundler-cache: true
31
+ ruby-version: ruby
32
+
33
+ - name: Publish to RubyGems
34
+ uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32 # v1.1.1
35
+
36
+ - name: Create GitHub release
37
+ run: |
38
+ tag_name="$(git describe --tags --abbrev=0)"
39
+ gh release create "${tag_name}" --verify-tag --generate-notes
40
+ env:
41
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -35,9 +35,9 @@ jobs:
35
35
  - faraday_2
36
36
 
37
37
  steps:
38
- - uses: actions/checkout@v4
38
+ - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
39
39
 
40
- - uses: ruby/setup-ruby@v1
40
+ - uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
41
41
  with:
42
42
  ruby-version: ${{ matrix.ruby }}
43
43
  bundler-cache: true
@@ -46,7 +46,7 @@ jobs:
46
46
  - run: bundle update --jobs $(nproc) --retry 3
47
47
 
48
48
  - name: Setup Code Climate Test Reporter
49
- uses: aktions/codeclimate-test-reporter@v1
49
+ uses: aktions/codeclimate-test-reporter@7634aa9ac7883182f583f15ff7b6ff519939dd0a # v1.2.0
50
50
  with:
51
51
  codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
52
52
  command: before-build
@@ -55,7 +55,7 @@ jobs:
55
55
  - run: bundle exec rspec
56
56
 
57
57
  - name: Teardown Code Climate Test Reporter
58
- uses: aktions/codeclimate-test-reporter@v1
58
+ uses: aktions/codeclimate-test-reporter@7634aa9ac7883182f583f15ff7b6ff519939dd0a # v1.2.0
59
59
  with:
60
60
  codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
61
61
  command: after-build
@@ -72,7 +72,7 @@ jobs:
72
72
  continue-on-error: true
73
73
 
74
74
  - name: Slack Notification (not success)
75
- uses: act10ns/slack@v2
75
+ uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
76
76
  if: "! success()"
77
77
  continue-on-error: true
78
78
  with:
@@ -88,7 +88,7 @@ jobs:
88
88
 
89
89
  steps:
90
90
  - name: Slack Notification (success)
91
- uses: act10ns/slack@v2
91
+ uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
92
92
  if: always()
93
93
  continue-on-error: true
94
94
  with:
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## Unreleased
2
- [full changelog](http://github.com/sue445/pixela/compare/v3.5.0...master)
2
+ [full changelog](http://github.com/sue445/pixela/compare/v3.5.1...master)
3
+
4
+ ## [v3.5.1](https://github.com/sue445/pixela/releases/tag/v3.5.1)
5
+ [full changelog](http://github.com/sue445/pixela/compare/v3.5.0...v3.5.1)
6
+
7
+ * Release gem from GitHub Actions
8
+ * https://github.com/sue445/pixela/pull/122
3
9
 
4
10
  ## [v3.5.0](https://github.com/sue445/pixela/releases/tag/v3.5.0)
5
11
  [full changelog](http://github.com/sue445/pixela/compare/v3.4.0...v3.5.0)
@@ -1,6 +1,21 @@
1
+ # @!parse
2
+ # module Hashie
3
+ # # @see https://www.rubydoc.info/gems/hashie/Hashie/Hash
4
+ # class Hash < ::Hash
5
+ # end
6
+ #
7
+ # # @see https://www.rubydoc.info/gems/hashie/Hashie/Mash
8
+ # class Mash < Hash
9
+ # end
10
+ # end
11
+
1
12
  module Pixela
2
13
  require "hashie/mash"
3
14
 
15
+ # Pixela API response
16
+ #
17
+ # @see https://www.rubydoc.info/gems/hashie/Hashie/Hash
18
+ # @see https://www.rubydoc.info/gems/hashie/Hashie/Mash
4
19
  class Response < Hashie::Mash
5
20
  disable_warnings
6
21
  end
@@ -1,3 +1,3 @@
1
1
  module Pixela
2
- VERSION = "3.5.0"
2
+ VERSION = "3.5.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pixela
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0
4
+ version: 3.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-02-25 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: faraday
@@ -230,6 +230,7 @@ files:
230
230
  - ".env.example"
231
231
  - ".github/dependabot.yml"
232
232
  - ".github/workflows/pages.yml"
233
+ - ".github/workflows/release_gem.yml"
233
234
  - ".github/workflows/test.yml"
234
235
  - ".gitignore"
235
236
  - ".rspec"
@@ -280,7 +281,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
280
281
  - !ruby/object:Gem::Version
281
282
  version: '0'
282
283
  requirements: []
283
- rubygems_version: 3.6.2
284
+ rubygems_version: 3.6.7
284
285
  specification_version: 4
285
286
  summary: Pixela API client for Ruby
286
287
  test_files: []