govuk_test 4.0.2 → 4.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: 78b580c947cafabccc6ee77c01cbdd65e50718f9e6397319d73afd68d323b0a1
4
- data.tar.gz: 6e0505f1afe3099b9c2a318f3545c28a1ce438c12b93681686ac94356768ed9d
3
+ metadata.gz: 72af22d7a2437e2efa73bb922dd25cf4c958e372bf26d26341277b2958914a12
4
+ data.tar.gz: be344f86816c19db0715d7490aa9b76f2ae18711fbf9bf055cfec6a5bd92522d
5
5
  SHA512:
6
- metadata.gz: c7d6e9316fe878ba405df30c543174746920266ebb48ca14edaa7c46874e946e8f57f67b5114974b755a925655c2f523b4ed80bc3b634a66634fd92ad101eb66
7
- data.tar.gz: 419083358a8f56d8cc54393d58cec6ac00285a7974dcffbfedae82098398d2220bae1e6fe229daf4abdfb4ae51c3aebb875cb6e9d233cbe99eef57f6d9337843
6
+ metadata.gz: b6ef27cb255d0d9f63955a34e36782a21ffca5eb624b403ab59fe2465a259fda43d6f9bc05627f6cd8b98910e6dd1db961ab8438d0add1057c4afabf034b1a22
7
+ data.tar.gz: 29cca0af4cf9dbf07f521996956e8a99c3e903a1c590aa81d8a6628e5845caf50aca86238e18be99b093088fd1754f1b0ca51b41ca8a84bc1ff5c42a538452b5
@@ -0,0 +1,3 @@
1
+ ⚠️ Make sure you [release a new version of this gem](https://github.com/alphagov/govuk_test/pull/65/files) after merging your changes. ⚠️
2
+
3
+ Refer to the [existing docs](https://docs.publishing.service.gov.uk/manual/publishing-a-ruby-gem.html#ruby-version-compatibility) if you are making changes to the supported Ruby versions.
@@ -0,0 +1,10 @@
1
+ on:
2
+ workflow_dispatch: {}
3
+ schedule:
4
+ - cron: '30 10 * * 1-5' # 10:30am UTC, Mon-Fri.
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 }}
@@ -16,8 +16,7 @@ jobs:
16
16
  strategy:
17
17
  fail-fast: false
18
18
  matrix:
19
- # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
20
- ruby: ['3.0', 3.1, 3.2]
19
+ ruby: [3.1, 3.2]
21
20
  runs-on: ubuntu-latest
22
21
  steps:
23
22
  - uses: actions/checkout@v4
data/.gitignore CHANGED
@@ -8,3 +8,6 @@
8
8
  /tmp/
9
9
 
10
10
  Gemfile.lock
11
+
12
+ # simplecov
13
+ coverage/
@@ -0,0 +1,4 @@
1
+ api_version: 2
2
+ defaults:
3
+ auto_merge: true
4
+ update_external_dependencies: true
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.0.5
1
+ 3.1.5
data/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@
7
7
  useful summary for people upgrading their application, not a replication
8
8
  of the commit log.
9
9
 
10
+ ## 4.1.0
11
+
12
+ * Drop support for Ruby 3.0
13
+
10
14
  ## 4.0.2
11
15
 
12
16
  * Use `--headless=new` option for Chrome webdriver to work with the new version of Chrome (versions post 120)
data/govuk_test.gemspec CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
13
13
  spec.homepage = "https://github.com/alphagov/govuk_test"
14
14
  spec.license = "MIT"
15
15
 
16
- spec.required_ruby_version = ">= 3.0"
16
+ spec.required_ruby_version = ">= 3.1"
17
17
 
18
18
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|bin)/}) }
19
19
  spec.bindir = "exe"
@@ -29,5 +29,6 @@ Gem::Specification.new do |spec|
29
29
  spec.add_development_dependency "climate_control"
30
30
  spec.add_development_dependency "rake"
31
31
  spec.add_development_dependency "rspec"
32
- spec.add_development_dependency "rubocop-govuk", "4.12.0"
32
+ spec.add_development_dependency "rubocop-govuk", "4.17.1"
33
+ spec.add_development_dependency "simplecov"
33
34
  end
@@ -1,3 +1,3 @@
1
1
  module GovukTest
2
- VERSION = "4.0.2".freeze
2
+ VERSION = "4.1.0".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_test
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-12-15 00:00:00.000000000 Z
11
+ date: 2024-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: brakeman
@@ -128,14 +128,28 @@ dependencies:
128
128
  requirements:
129
129
  - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: 4.12.0
131
+ version: 4.17.1
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - '='
137
137
  - !ruby/object:Gem::Version
138
- version: 4.12.0
138
+ version: 4.17.1
139
+ - !ruby/object:Gem::Dependency
140
+ name: simplecov
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
139
153
  description: Test configuration and dependencies for applications on GOV.UK
140
154
  email:
141
155
  - govuk-dev@digital.cabinet-office.gov.uk
@@ -144,8 +158,11 @@ extensions: []
144
158
  extra_rdoc_files: []
145
159
  files:
146
160
  - ".github/dependabot.yml"
161
+ - ".github/pull_request_template.md"
162
+ - ".github/workflows/autorelease.yml"
147
163
  - ".github/workflows/ci.yml"
148
164
  - ".gitignore"
165
+ - ".govuk_dependabot_merger.yml"
149
166
  - ".rspec"
150
167
  - ".rubocop.yml"
151
168
  - ".ruby-version"
@@ -169,14 +186,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
169
186
  requirements:
170
187
  - - ">="
171
188
  - !ruby/object:Gem::Version
172
- version: '3.0'
189
+ version: '3.1'
173
190
  required_rubygems_version: !ruby/object:Gem::Requirement
174
191
  requirements:
175
192
  - - ">="
176
193
  - !ruby/object:Gem::Version
177
194
  version: '0'
178
195
  requirements: []
179
- rubygems_version: 3.5.0
196
+ rubygems_version: 3.5.11
180
197
  signing_key:
181
198
  specification_version: 4
182
199
  summary: Test setup for GOV.UK