rack-ok 0.1.1 → 0.2.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: f527f59befbc06298ae85c3f88311c11347f14c9a0c62b7d5f2cdf030f6b9bf5
4
- data.tar.gz: 8d0cb69ac415b3ff35103116cffe6525ec96715b4e75313f29686eb1b71c46a1
3
+ metadata.gz: e834bd2ccd6b32ec1c37811e2287f62bfba0557390c82fa559bd9a87905fb84e
4
+ data.tar.gz: ac3d134939500bdbe7d042f7a8f2d801853a4754f7fed744db867e30d4c1bf51
5
5
  SHA512:
6
- metadata.gz: bbc5856dac73ba1127f1df19dafb06b48a203ca1deb58b0014df26c855f6df74a406ffb701fd980bda07282c9ea4a763e8c682a9328bbb110882e5209f8a246f
7
- data.tar.gz: 50e061b10e3714d6838a81b92e55327f96efb81957a271ebde2aeda160253821f95003b07f9833656099feeef407a1cdc5c7e6e31a7dd2429eb5385a7c182bad
6
+ metadata.gz: a9214d2d16031bd055e27e66260cf6476e525b95c7d4481f0c248b3a647a298fc312136eec41c07665e31b4d7ed79bdd736adcdd353f2773c1acd3f377754c8d
7
+ data.tar.gz: aa19349a6c32d75c4962c6e336b1e220d7faeab47b36a5f2c9a22f0f81c794031836e2483387d8734b35aad24eff2abbb81510b8d2888a18e09acddd754bbba9
@@ -0,0 +1,57 @@
1
+ # This file is machine-generated by `gh actions-lock`.
2
+ # Do not edit by hand; run `gh actions-lock` to update.
3
+ # Docs: https://gh.io/actions-lockfile
4
+ version: 'v0.0.3'
5
+ workflows:
6
+ '.github/workflows/bump-request.yml':
7
+ - 'actions/checkout@v7.0.1'
8
+ - 'r7kamura/bump-request@v0.7.1'
9
+ - 'ruby/setup-ruby@v1.336.0'
10
+ '.github/workflows/github-label-sync.yml':
11
+ - 'r7kamura/github-label-sync-action@v0.1.0'
12
+ '.github/workflows/release.yml': []
13
+ '.github/workflows/test.yml':
14
+ - 'actions/checkout@v7.0.1'
15
+ - 'ruby/setup-ruby@v1.336.0'
16
+ dependencies:
17
+ 'actions/checkout@v3':
18
+ ref: 'v3'
19
+ commit: 'sha1-a37ce9120846195fa4ece8f58b268e6043cb2f26'
20
+ owner_id: 44036562
21
+ repo_id: 197814629
22
+ 'actions/checkout@v7.0.1':
23
+ ref: 'v7.0.1'
24
+ commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
25
+ owner_id: 44036562
26
+ repo_id: 197814629
27
+ 'actions/setup-node@v3':
28
+ ref: 'v3'
29
+ commit: 'sha1-3235b876344d2a9aa001b8d1453c930bba69e610'
30
+ owner_id: 44036562
31
+ repo_id: 189476904
32
+ 'actions/setup-node@v7.1.0':
33
+ ref: 'v7.1.0'
34
+ commit: 'sha1-949feb2413d6458794dcd2491c4babbbce0c15c1'
35
+ owner_id: 44036562
36
+ repo_id: 189476904
37
+ 'r7kamura/bump-request@v0.7.1':
38
+ ref: 'v0.7.1'
39
+ commit: 'sha1-b27937188d404bc0c2fd442403e6de1d20f9b349'
40
+ owner_id: 111689
41
+ repo_id: 533135195
42
+ uses:
43
+ - 'actions/checkout@v7.0.1'
44
+ - 'actions/setup-node@v7.1.0'
45
+ 'r7kamura/github-label-sync-action@v0.1.0':
46
+ ref: 'v0.1.0'
47
+ commit: 'sha1-061649dd3b80eb5bafad0316466f72962e62c300'
48
+ owner_id: 111689
49
+ repo_id: 514711932
50
+ uses:
51
+ - 'actions/checkout@v3'
52
+ - 'actions/setup-node@v3'
53
+ 'ruby/setup-ruby@v1.336.0':
54
+ ref: 'v1.336.0'
55
+ commit: 'sha1-de492cf36cbab201753d720ce4f4e336cd688c94'
56
+ owner_id: 210414
57
+ repo_id: 231208785
@@ -12,13 +12,13 @@ jobs:
12
12
  run:
13
13
  runs-on: ubuntu-latest
14
14
  steps:
15
- - uses: actions/checkout@v3
15
+ - uses: actions/checkout@v7.0.1
16
16
  - name: Set up Ruby
17
- uses: ruby/setup-ruby@v1
17
+ uses: ruby/setup-ruby@v1.336.0
18
18
  with:
19
- ruby-version: 3.1.2
19
+ ruby-version: 3.3
20
20
  bundler-cache: true
21
- - uses: r7kamura/bump-request@v0
21
+ - uses: r7kamura/bump-request@v0.7.1
22
22
  with:
23
23
  command: |
24
24
  sed -i -r 's/([0-9]+\.[0-9]+\.[0-9]+)/${{ inputs.version }}/' lib/rack/ok/version.rb
@@ -12,7 +12,7 @@ jobs:
12
12
  build:
13
13
  runs-on: ubuntu-latest
14
14
  steps:
15
- - uses: r7kamura/github-label-sync-action@v0
15
+ - uses: r7kamura/github-label-sync-action@v0.1.0
16
16
  with:
17
17
  source_path: labels-keepachangelog.yml
18
18
  source_repository: r7kamura/github-label-presets
@@ -8,5 +8,4 @@ on:
8
8
  jobs:
9
9
  release:
10
10
  uses: r7kamura/workflows/.github/workflows/gem-release.yml@main
11
- secrets:
12
- rubygems-org-api-key: ${{ secrets.RUBYGEMS_ORG_API_KEY }}
11
+ if: github.repository_owner == 'r7kamura'
@@ -1,17 +1,23 @@
1
+ name: test
2
+
1
3
  on:
2
- pull_request:
3
4
  push:
4
5
  branches:
5
6
  - main
7
+ pull_request:
8
+
6
9
  jobs:
7
10
  build:
8
11
  runs-on: ubuntu-latest
12
+ name: Ruby ${{ matrix.ruby }}
13
+ strategy:
14
+ fail-fast: false
15
+ matrix:
16
+ ruby: ['3.3', '3.4', '4.0']
9
17
  steps:
10
- - uses: actions/checkout@v6
11
- - uses: ruby/setup-ruby@v1
18
+ - uses: actions/checkout@v7.0.1
19
+ - uses: ruby/setup-ruby@v1.336.0
12
20
  with:
13
21
  bundler-cache: true
14
- ruby-version: ruby
22
+ ruby-version: ${{ matrix.ruby }}
15
23
  - run: bundle exec rake
16
-
17
-
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rack-ok (0.1.1)
4
+ rack-ok (0.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -17,9 +17,9 @@ GEM
17
17
  racc
18
18
  prism (1.7.0)
19
19
  racc (1.8.1)
20
- rack (2.2.3)
21
- rack-test (1.1.0)
22
- rack (>= 1.0, < 3)
20
+ rack (3.2.8)
21
+ rack-test (2.3.0)
22
+ rack (>= 1.3)
23
23
  rainbow (3.0.0)
24
24
  rake (13.3.1)
25
25
  regexp_parser (2.11.3)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rack
4
4
  class Ok
5
- VERSION = '0.1.1'
5
+ VERSION = '0.2.0'
6
6
  end
7
7
  end
data/rack-ok.gemspec CHANGED
@@ -11,11 +11,11 @@ Gem::Specification.new do |spec|
11
11
  spec.summary = 'Rack middleware to return OK.'
12
12
  spec.homepage = 'https://github.com/r7kamura/rack-ok'
13
13
  spec.license = 'MIT'
14
- spec.required_ruby_version = Gem::Requirement.new('>= 2.4.0')
14
+ spec.required_ruby_version = Gem::Requirement.new('>= 3.3')
15
15
 
16
16
  spec.metadata['homepage_uri'] = spec.homepage
17
17
  spec.metadata['source_code_uri'] = spec.homepage
18
- spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/main/CHANGELOG.md"
18
+ spec.metadata['changelog_uri'] = "#{spec.homepage}/releases"
19
19
  spec.metadata['rubygems_mfa_required'] = 'true'
20
20
 
21
21
  # Specify which files should be added to the gem when it is released.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-ok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
@@ -16,6 +16,7 @@ extensions: []
16
16
  extra_rdoc_files: []
17
17
  files:
18
18
  - ".github/release.yml"
19
+ - ".github/workflows/actions.lock"
19
20
  - ".github/workflows/bump-request.yml"
20
21
  - ".github/workflows/github-label-sync.yml"
21
22
  - ".github/workflows/release.yml"
@@ -23,7 +24,6 @@ files:
23
24
  - ".gitignore"
24
25
  - ".rspec"
25
26
  - ".rubocop.yml"
26
- - CHANGELOG.md
27
27
  - Gemfile
28
28
  - Gemfile.lock
29
29
  - LICENSE.txt
@@ -40,7 +40,7 @@ licenses:
40
40
  metadata:
41
41
  homepage_uri: https://github.com/r7kamura/rack-ok
42
42
  source_code_uri: https://github.com/r7kamura/rack-ok
43
- changelog_uri: https://github.com/r7kamura/rack-ok/blob/main/CHANGELOG.md
43
+ changelog_uri: https://github.com/r7kamura/rack-ok/releases
44
44
  rubygems_mfa_required: 'true'
45
45
  rdoc_options: []
46
46
  require_paths:
@@ -49,14 +49,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
49
49
  requirements:
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 2.4.0
52
+ version: '3.3'
53
53
  required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - ">="
56
56
  - !ruby/object:Gem::Version
57
57
  version: '0'
58
58
  requirements: []
59
- rubygems_version: 3.6.9
59
+ rubygems_version: 4.0.20
60
60
  specification_version: 4
61
61
  summary: Rack middleware to return OK.
62
62
  test_files: []
data/CHANGELOG.md DELETED
@@ -1,14 +0,0 @@
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.0.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- ## Unreleased
9
-
10
- ## 0.1.0 - 2020-10-29
11
-
12
- ### Added
13
-
14
- - Add Rack::Ok.