govuk_admin_template 4.2.0 → 4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +12 -0
- data/lib/govuk_admin_template/version.rb +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da51806c92ecf192e1e86588976fdfff18ba48f8
|
4
|
+
data.tar.gz: 9f7cfd6b015eda2f45d667af4e4a3c880a80dc28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1488d3bf3e4058e4d38d233e407640e919a5954095d5bc3dd98a4aa1b00ee546ac3f1257f303e8dae720d27a8212fe9da4fe2bcfcf58da32ac2867aee774867a
|
7
|
+
data.tar.gz: 8407e2e16bbe1702dc33d5c324eabfca39b6ec26233122a023fed63e5e79bf3b9b29530b79bddc7c0752375b4c424d653447480bf41e5abe1aa62dfae868f774
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -20,6 +20,7 @@ This gem provides (via a Rails engine):
|
|
20
20
|
* [Publisher](https://github.com/alphagov/publisher)
|
21
21
|
* [Search admin](https://github.com/alphagov/search-admin)
|
22
22
|
* [Sign on](https://github.com/alphagov/signonotron2)
|
23
|
+
* [Service manual publisher](https://github.com/alphagov/service-manual-publisher)
|
23
24
|
* [Specialist publisher](https://github.com/alphagov/specialist-publisher)
|
24
25
|
* [Support](https://github.com/alphagov/support)
|
25
26
|
* [Transition](https://github.com/alphagov/transition)
|
@@ -64,6 +65,16 @@ You will also need to include your styles and javascripts:
|
|
64
65
|
<% end %>
|
65
66
|
```
|
66
67
|
|
68
|
+
Note that `jquery` and `jquery_ujs` are already imported by `govuk_admin_template`,
|
69
|
+
so you should remove them from your `app/assets/javascripts/application.js`. This may
|
70
|
+
cause your jasmine tests to fail, so you'll need to include `assets/govuk-admin-template.js`
|
71
|
+
in your `spec/javascripts/support/jasmine.yml` like this:
|
72
|
+
|
73
|
+
```yaml
|
74
|
+
src_files:
|
75
|
+
- assets/govuk-admin-template.js
|
76
|
+
```
|
77
|
+
|
67
78
|
It is recommended that the style guide is also made available within your app at the route `/style-guide`. Add this to your `config/routes.rb` file:
|
68
79
|
|
69
80
|
```ruby
|
@@ -105,6 +116,7 @@ The gem [uses nested layouts](http://guides.rubyonrails.org/layouts_and_renderin
|
|
105
116
|
`:navbar_right` | Text to the right of the nav bar. Logged in user, sign out link, etc
|
106
117
|
`:footer_top` (optional) | Footer content before copyright text
|
107
118
|
`:footer_version` (optional) | Text indicating the release, eg commit SHA
|
119
|
+
`:body_start` (optional) | Just after the `<body>` tag
|
108
120
|
`:body_end` (optional) | Just before the `</body>` tag
|
109
121
|
`:full_width` (optional, boolean) | Expand content to edges of screen.
|
110
122
|
`:exclude_analytics` (optional, boolean) | Don’t use the default Google Analytics snippet and profile.
|
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: 4.
|
4
|
+
version: 4.3.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: 2016-
|
11
|
+
date: 2016-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -44,42 +44,42 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 4.1.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 4.1.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: sass-rails
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 5.0.6
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 5.0.6
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec-rails
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: '3.5'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: '3.5'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: capybara
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - '='
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 2.
|
117
|
+
version: 2.4.0
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - '='
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 2.
|
124
|
+
version: 2.4.0
|
125
125
|
description: Styles, scripts and templates for GOV.UK admin applications
|
126
126
|
email:
|
127
127
|
- govuk-dev@digital.cabinet-office.gov.uk
|
@@ -200,7 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
200
200
|
version: '0'
|
201
201
|
requirements: []
|
202
202
|
rubyforge_project:
|
203
|
-
rubygems_version: 2.
|
203
|
+
rubygems_version: 2.4.5
|
204
204
|
signing_key:
|
205
205
|
specification_version: 4
|
206
206
|
summary: Styles, scripts and templates for GOV.UK admin applications
|