govuk_admin_template 4.2.0 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a58186fe3f664101a85f8615da3df5ba77be7e4
4
- data.tar.gz: fc7a04c62e333c039c097dc0560086143879a1bd
3
+ metadata.gz: da51806c92ecf192e1e86588976fdfff18ba48f8
4
+ data.tar.gz: 9f7cfd6b015eda2f45d667af4e4a3c880a80dc28
5
5
  SHA512:
6
- metadata.gz: 975e5bba4b9eba5c3cb806f9c2d93ea7dbc1b53d7d82992b50b4fb8cd2633b90e1994550d0bc02cc70fbcf1684618d12c59b24a6fc54a0ae756eb50f8ab69ca2
7
- data.tar.gz: b32c55707af79fc3a22c1914557a95b87bfb89fd4d89deb9f2e09bb024241ff3c46e1cb507b4676eb81e52a4f1f226ec5704c75e0e39cca8f6b052006ffc1798
6
+ metadata.gz: 1488d3bf3e4058e4d38d233e407640e919a5954095d5bc3dd98a4aa1b00ee546ac3f1257f303e8dae720d27a8212fe9da4fe2bcfcf58da32ac2867aee774867a
7
+ data.tar.gz: 8407e2e16bbe1702dc33d5c324eabfca39b6ec26233122a023fed63e5e79bf3b9b29530b79bddc7c0752375b4c424d653447480bf41e5abe1aa62dfae868f774
@@ -1,3 +1,8 @@
1
+ # 4.3.0
2
+
3
+ * Add Rails 5 compatibility
4
+ https://github.com/alphagov/govuk_admin_template/pull/127
5
+
1
6
  # 4.2.0
2
7
 
3
8
  * Redact emails from Google Analytics event labels and actions
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.
@@ -1,3 +1,3 @@
1
1
  module GovukAdminTemplate
2
- VERSION = "4.2.0"
2
+ VERSION = "4.3.0"
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: 4.2.0
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-03-29 00:00:00.000000000 Z
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: 3.1.3
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: 3.1.3
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: 3.2.6
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: 3.2.6
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: 2.14.2
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: 2.14.2
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.1.0
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.1.0
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.2.5
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