slimmer 13.0.0 → 13.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
- SHA1:
3
- metadata.gz: 668e43ea2579afcef2047274b110c10f7a377560
4
- data.tar.gz: eb7f475b36cda8923e92c230bb190121cea7badb
2
+ SHA256:
3
+ metadata.gz: 693441cb9f372f48dc2849316704699263af4fedafaaf8a777600a4b4632602f
4
+ data.tar.gz: ccd22f2d51dd5f8d3c4f3698ecbf98f08f0c4c43c9d8ba0260861dcccf327f72
5
5
  SHA512:
6
- metadata.gz: d02f1d56e8dd317087cc6a237cedb52df633e7baad7e35cb36f5ec934d2adf6610d272fa1c76d05b2ee8883c553cc1d0cadf44c0932457ecb1e27e6448c157e4
7
- data.tar.gz: 3937badf8181de169406b57a6ba2eed98250d49239f727e3fd1e5d80899872e53c2da45f7af7324777117a599935f414e658b800a53bf0ed6db041db30c9498a
6
+ metadata.gz: f63463274d356cf8c63e5a752c0e57b085282a82b74d99fb7e41ce2e0bf8cad72a65c15696a89104af0485a9377060bf02050718a701d23b7a66da3d09606ca1
7
+ data.tar.gz: 785e5fdf647fbe5b811d1b1e14d5248f758d799189e8864816b2b8d4ef918e16fdcd1106f3569479087580c1bd526142522fc1a2c32cef76a2febb498e139953
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # Unreleased
2
+
3
+ # 13.1.0
4
+
5
+ * Add `js-enabled` to body tag of test templates. (#226)
6
+
1
7
  # 13.0.0
2
8
 
3
9
  * Drop cache TTL to 60 seconds.
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ RDoc::Task.new do |rd|
12
12
  end
13
13
 
14
14
  Rake::TestTask.new("test") do |t|
15
- t.ruby_opts << "-rubygems"
15
+ t.ruby_opts << "-rrubygems"
16
16
  t.libs << "test"
17
17
  t.test_files = FileList["test/**/*_test.rb"]
18
18
  t.verbose = true
@@ -3,6 +3,8 @@
3
3
  <title>Test Template</title>
4
4
  </head>
5
5
  <body>
6
+ <script>document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');</script>
7
+
6
8
  <header id="global-header">
7
9
  <div class="header-wrapper"></div>
8
10
  </header>
@@ -3,6 +3,8 @@
3
3
  <title>Test Template</title>
4
4
  </head>
5
5
  <body>
6
+ <script>document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');</script>
7
+
6
8
  <header id="global-header">
7
9
  <div class="header-wrapper"></div>
8
10
  </header>
@@ -1,3 +1,3 @@
1
1
  module Slimmer
2
- VERSION = '13.0.0'
2
+ VERSION = '13.1.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slimmer
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.0.0
4
+ version: 13.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: 2018-06-01 00:00:00.000000000 Z
11
+ date: 2019-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -184,14 +184,14 @@ dependencies:
184
184
  requirements:
185
185
  - - '='
186
186
  - !ruby/object:Gem::Version
187
- version: 1.18.0
187
+ version: 3.4.2
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - '='
193
193
  - !ruby/object:Gem::Version
194
- version: 1.18.0
194
+ version: 3.4.2
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: timecop
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -212,14 +212,14 @@ dependencies:
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: 0.5.1
215
+ version: 3.9.0
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: 0.5.1
222
+ version: 3.9.0
223
223
  description: Rack middleware for skinning pages using a specific template
224
224
  email:
225
225
  - govuk-dev@digital.cabinet-office.gov.uk
@@ -282,7 +282,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
282
282
  version: '0'
283
283
  requirements: []
284
284
  rubyforge_project: slimmer
285
- rubygems_version: 2.5.1
285
+ rubygems_version: 2.7.6
286
286
  signing_key:
287
287
  specification_version: 4
288
288
  summary: Thinner than the skinner