rack-logstasher 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 539692170e2083634c7acbd4e5230264dd8d3292ca1bc6f1da857ce076b57b6a
4
- data.tar.gz: 5ee4f57bceaf8c9376f7fb9e14a4ee9a10c46b39cb6b9781cf7f619bd0579d50
3
+ metadata.gz: 5a4370f7b7207d7d9fbdd41790ff2c33516eb7eae11872ebb8487c5ba14a5927
4
+ data.tar.gz: 5fc4eb96ab1fff94b08c3bf904c134d9ada78acc735a2c9e943782065d34808c
5
5
  SHA512:
6
- metadata.gz: 1cdb8df3283ca4bb814e6d834f236690ff7d75df81b66ec62fbd266843e70b7bf99cb4309dbc10c200d1cb20c2520d91811c3015c2179c7b4ff220504dc212ce
7
- data.tar.gz: 07acce7172451096035b875431dfd095a5e6df8d7a6dc25ad19f96904bd3e774f3a9cdab07f3d0f86f1a48f408a24388ba0c0638b42960e61db5df5a09f66d8d
6
+ metadata.gz: d98b7afe5ecb8bbcbbe77e23c991532afe56329c8cd5ee0e8ab6035a1f588eb5d8559fc6683c4e0611563dad23ff7213bf332a5e022409b72b4b5537d4a1cc88
7
+ data.tar.gz: b869d0a6e1c3901d8ac5bdbab7fd255245d21b29a2c35c8eb49c15b58701cfa48fa7b1f8f80ac9c88dd31bd7b41c34e8b4608d28f4ca47cc8a64c0ee71dabdc4
@@ -0,0 +1,10 @@
1
+ on:
2
+ workflow_dispatch: {}
3
+ schedule:
4
+ - cron: '00 13 * * 2'
5
+
6
+ jobs:
7
+ autorelease:
8
+ uses: alphagov/govuk-infrastructure/.github/workflows/autorelease-rubygem.yml@main
9
+ secrets:
10
+ GH_TOKEN: ${{ secrets.GOVUK_CI_GITHUB_API_TOKEN }}
@@ -1,15 +1,36 @@
1
1
  on: [push, pull_request]
2
2
 
3
3
  jobs:
4
+ snyk-security:
5
+ name: SNYK security analysis
6
+ uses: alphagov/govuk-infrastructure/.github/workflows/snyk-security.yml@main
7
+ with:
8
+ skip_sca: true
9
+ secrets: inherit
10
+ permissions:
11
+ contents: read
12
+ security-events: write
13
+ actions: read
14
+
15
+ codeql-sast:
16
+ name: CodeQL SAST scan
17
+ uses: alphagov/govuk-infrastructure/.github/workflows/codeql-analysis.yml@main
18
+ permissions:
19
+ security-events: write
20
+
21
+ dependency-review:
22
+ name: Dependency Review scan
23
+ uses: alphagov/govuk-infrastructure/.github/workflows/dependency-review.yml@main
24
+
4
25
  test_matrix:
5
26
  strategy:
6
27
  fail-fast: false
7
28
  matrix:
8
29
  # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
9
- ruby: [2.7, '3.0', 3.1, 3.2]
30
+ ruby: ['3.0', 3.1, 3.2]
10
31
  runs-on: ubuntu-latest
11
32
  steps:
12
- - uses: actions/checkout@v3
33
+ - uses: actions/checkout@v4
13
34
  - uses: ruby/setup-ruby@v1
14
35
  with:
15
36
  ruby-version: ${{ matrix.ruby }}
@@ -0,0 +1,6 @@
1
+ api_version: 1
2
+ auto_merge:
3
+ - dependency: rubocop-govuk
4
+ allowed_semver_bumps:
5
+ - patch
6
+ - minor
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.6
1
+ 3.0.5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 2.1.0
2
+
3
+ * Drop support for Ruby 2.7.
4
+
1
5
  # 2.0.0
2
6
 
3
7
  - Add support for Rack 3
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module Logstasher
3
- VERSION = "2.0.0".freeze
3
+ VERSION = "2.1.0".freeze
4
4
  end
5
5
  end
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.homepage = "https://github.com/alphagov/rack-logstasher"
13
13
  spec.license = "MIT"
14
14
 
15
- spec.required_ruby_version = ">= 2.7"
15
+ spec.required_ruby_version = ">= 3.0"
16
16
 
17
17
  spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
18
18
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
@@ -25,5 +25,5 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency "rack-test", "~> 2"
26
26
  spec.add_development_dependency "rake"
27
27
  spec.add_development_dependency "rspec", "~> 3"
28
- spec.add_development_dependency "rubocop-govuk", "4.9.0"
28
+ spec.add_development_dependency "rubocop-govuk", "4.16.1"
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-logstasher
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-20 00:00:00.000000000 Z
11
+ date: 2024-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstash-event
@@ -92,14 +92,14 @@ dependencies:
92
92
  requirements:
93
93
  - - '='
94
94
  - !ruby/object:Gem::Version
95
- version: 4.9.0
95
+ version: 4.16.1
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - '='
101
101
  - !ruby/object:Gem::Version
102
- version: 4.9.0
102
+ version: 4.16.1
103
103
  description: Rack middleware to log requests in logstash json event format. Like
104
104
  the logstasher gem, but for rack apps.
105
105
  email:
@@ -109,8 +109,10 @@ extensions: []
109
109
  extra_rdoc_files: []
110
110
  files:
111
111
  - ".github/dependabot.yml"
112
+ - ".github/workflows/autorelease.yml"
112
113
  - ".github/workflows/ci.yml"
113
114
  - ".gitignore"
115
+ - ".govuk_dependabot_merger.yml"
114
116
  - ".rspec"
115
117
  - ".rubocop.yml"
116
118
  - ".ruby-version"
@@ -138,14 +140,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
138
140
  requirements:
139
141
  - - ">="
140
142
  - !ruby/object:Gem::Version
141
- version: '2.7'
143
+ version: '3.0'
142
144
  required_rubygems_version: !ruby/object:Gem::Requirement
143
145
  requirements:
144
146
  - - ">="
145
147
  - !ruby/object:Gem::Version
146
148
  version: '0'
147
149
  requirements: []
148
- rubygems_version: 3.4.4
150
+ rubygems_version: 3.5.7
149
151
  signing_key:
150
152
  specification_version: 4
151
153
  summary: Rack middleware to log requests in logstash json event format