govuk_admin_template 6.9.0 → 6.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +12 -0
- data/app/views/govuk_admin_template/style_guide/index.html.erb +5 -5
- data/lib/govuk_admin_template/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63e1b2f22ab5a5c721e6c3f85a382790e00971b2962525b5d771d3122e248eaa
|
4
|
+
data.tar.gz: 30d29fac615dfc4f9af4a0aa6e18b73c0288ae1073b279ffc636aedfd98351e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4473d55c6834b4e9d074799a82ae9a03f17113b6c66bbdf7139ef5beae5015d36d6087be795f5c51ff7e6833bf4e9401cdd05ed7be862c8b620181d01a012ad7
|
7
|
+
data.tar.gz: 411a506526b8dd848a2347b5bd769152b72bc98b7088531b3c5cc120459352ae05c19791b0fde3ccc06326001179a33a1b8903f63a701ae669e749ae42b985c2
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -274,6 +274,18 @@ yarn run jasmine:browser
|
|
274
274
|
yarn run jasmine:ci
|
275
275
|
```
|
276
276
|
|
277
|
+
### Testing against different Rails versions
|
278
|
+
|
279
|
+
The CI pipeline is configured to test this gem against multiple versions of Rails.
|
280
|
+
|
281
|
+
Each Rails version has a corresponding Gemfile located in the [gemfiles](gemfiles/) directory. And the CI pipeline defines a [matrix of Gemfiles](https://github.com/alphagov/govuk_admin_template/blob/8f53865fa3d33f741642783f9bfcaefc201c3751/.github/workflows/ci.yml#L13) to test against.
|
282
|
+
|
283
|
+
It's also possible to run tests against multiple Rails versions locally.
|
284
|
+
|
285
|
+
1. Run `export BUNDLE_GEMFILE="gemfiles/rails_X.gemfile"` where `X` is the version to test against.
|
286
|
+
This tells Bundler which Gemfile to use.
|
287
|
+
2. Run `bundle install` and then `bundle exec rake` as usual.
|
288
|
+
|
277
289
|
## Publishing
|
278
290
|
|
279
291
|
Version bumps will automatically update RubyGems.org.
|
@@ -192,13 +192,13 @@
|
|
192
192
|
<blockquote>
|
193
193
|
<dl class="remove-bottom-margin">
|
194
194
|
<dt class="add-label-margin"><code>:govuk_date</code></dt>
|
195
|
-
<dd><%= halloween.
|
196
|
-
<%= halloween.to_time.
|
195
|
+
<dd><%= halloween.to_formatted_s(:govuk_date) %><br />
|
196
|
+
<%= halloween.to_time.to_formatted_s(:govuk_date) %></dd>
|
197
197
|
<dt class="add-top-margin add-label-margin"><code>:govuk_date_short</code></dt>
|
198
|
-
<dd><%= halloween.
|
199
|
-
<%= halloween.to_time.
|
198
|
+
<dd><%= halloween.to_formatted_s(:govuk_date_short) %><br />
|
199
|
+
<%= halloween.to_time.to_formatted_s(:govuk_date_short) %></dd>
|
200
200
|
<dt class="add-top-margin add-label-margin"><code>:govuk_time</code></dt>
|
201
|
-
<dd><%= halloween.to_time.
|
201
|
+
<dd><%= halloween.to_time.to_formatted_s(:govuk_time) %></dd>
|
202
202
|
</dl>
|
203
203
|
</blockquote>
|
204
204
|
</section>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_admin_template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.9.
|
4
|
+
version: 6.9.1
|
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: 2022-03-
|
11
|
+
date: 2022-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootstrap-sass
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '5'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '5'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rubocop-govuk
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|