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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e75f271807c94207f7e9842d7ac03a4f5fc857533a8d2aeee7be6f0645e8d07
4
- data.tar.gz: 9e75c7162d072ed39a29ce90cd7037ca3aad8b3890a11f4ab93e9f28939cd480
3
+ metadata.gz: 63e1b2f22ab5a5c721e6c3f85a382790e00971b2962525b5d771d3122e248eaa
4
+ data.tar.gz: 30d29fac615dfc4f9af4a0aa6e18b73c0288ae1073b279ffc636aedfd98351e3
5
5
  SHA512:
6
- metadata.gz: a11f7e71d2ec53e1f704714a5996478153077c9282c41850ee6256faa6a776bec444436824027d50a9cb1a2b3bcfb3703d52ccd799ac58c80de6118638a65758
7
- data.tar.gz: 748d12a8f4319a5cbfd4c716336141b315088add35e5ce8d57b9d9e710a0e0b80c48ae204a657997fcf4db2bf6b35edc0f17bccf71162399719c492dddf867ab
6
+ metadata.gz: 4473d55c6834b4e9d074799a82ae9a03f17113b6c66bbdf7139ef5beae5015d36d6087be795f5c51ff7e6833bf4e9401cdd05ed7be862c8b620181d01a012ad7
7
+ data.tar.gz: 411a506526b8dd848a2347b5bd769152b72bc98b7088531b3c5cc120459352ae05c19791b0fde3ccc06326001179a33a1b8903f63a701ae669e749ae42b985c2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 6.9.1
2
+
3
+ * Fix broken Rails 6 compatibility: use `Date#to_formatted_s` instead of `Date#to_fs`
4
+
1
5
  # 6.9.0
2
6
 
3
7
  * Rails 7 compatibility: use `Time#to_fs` instead of deprecated use of `Time#to_s`
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.to_fs(:govuk_date) %><br />
196
- <%= halloween.to_time.to_fs(:govuk_date) %></dd>
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.to_fs(:govuk_date_short) %><br />
199
- <%= halloween.to_time.to_fs(:govuk_date_short) %></dd>
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.to_fs(:govuk_time) %></dd>
201
+ <dd><%= halloween.to_time.to_formatted_s(:govuk_time) %></dd>
202
202
  </dl>
203
203
  </blockquote>
204
204
  </section>
@@ -1,3 +1,3 @@
1
1
  module GovukAdminTemplate
2
- VERSION = "6.9.0".freeze
2
+ VERSION = "6.9.1".freeze
3
3
  end
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.0
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-21 00:00:00.000000000 Z
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: '3'
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: '3'
96
+ version: '5'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rubocop-govuk
99
99
  requirement: !ruby/object:Gem::Requirement