govuk_publishing_components 12.11.0 → 12.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -1
  3. data/app/assets/javascripts/govuk_publishing_components/components/copy-to-clipboard.js +5 -1
  4. data/app/views/govuk_publishing_components/components/_back_link.html.erb +4 -1
  5. data/app/views/govuk_publishing_components/components/_copy_to_clipboard.html.erb +6 -1
  6. data/app/views/govuk_publishing_components/components/_input.html.erb +2 -0
  7. data/app/views/govuk_publishing_components/components/_panel.html.erb +5 -5
  8. data/app/views/govuk_publishing_components/components/docs/back_link.yml +4 -0
  9. data/app/views/govuk_publishing_components/components/docs/copy_to_clipboard.yml +7 -0
  10. data/app/views/govuk_publishing_components/components/docs/input.yml +7 -0
  11. data/app/views/govuk_publishing_components/components/docs/panel.yml +3 -0
  12. data/lib/generators/govuk_publishing_components/component_generator.rb +1 -1
  13. data/lib/govuk_publishing_components/app_helpers/environment.rb +1 -0
  14. data/lib/govuk_publishing_components/app_helpers/table_helper.rb +1 -1
  15. data/lib/govuk_publishing_components/app_helpers/taxon_breadcrumbs.rb +1 -1
  16. data/lib/govuk_publishing_components/presenters/content_item.rb +3 -2
  17. data/lib/govuk_publishing_components/presenters/curated_taxonomy_sidebar_links.rb +1 -1
  18. data/lib/govuk_publishing_components/presenters/image_card_helper.rb +1 -0
  19. data/lib/govuk_publishing_components/presenters/machine_readable/article_schema.rb +4 -1
  20. data/lib/govuk_publishing_components/presenters/page_with_step_by_step_navigation.rb +2 -0
  21. data/lib/govuk_publishing_components/presenters/related_navigation_helper.rb +2 -0
  22. data/lib/govuk_publishing_components/presenters/step_by_step_nav_helper.rb +2 -0
  23. data/lib/govuk_publishing_components/presenters/subscription_links_helper.rb +3 -0
  24. data/lib/govuk_publishing_components/presenters/taxonomy_list_helper.rb +1 -1
  25. data/lib/govuk_publishing_components/version.rb +1 -1
  26. data/lib/tasks/govuk_publishing_components_tasks.rake +0 -1
  27. metadata +62 -62
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5418d09427a87d2d13d40a2e6a16bf117077f662d10c345135b3b7e3e3446aa8
4
- data.tar.gz: fd19c7eb53eaf6e21bba7b2e94b87c4a713c83b0bff26b0eb5b301fc7023fc9d
3
+ metadata.gz: ddd766aa58f3052e6cc3d7d543cd88c9e49dec9f975afce4bdcfc1fd180ccd9e
4
+ data.tar.gz: 9cc9bbcfa7f46cdeae8627286c005106c7ab59fd1eb779f624a9381d730ae77c
5
5
  SHA512:
6
- metadata.gz: df60ea3c2ad2cf82d0e1ff60dd6ceecd5e8a1042a8e5350eb70bc84520a2c2da76b6daa7bf02d7d3e84986a140be228bc755dd432cb3a623e85d6be61257ee04
7
- data.tar.gz: 351589a50ea516cee20dc23c235f8b57a5ff3ef96a6e421af1fb47e9948d840a8fc09022b22a649e767e69a39788ea6cbcce9ab423730b44dab5d45323980bdb
6
+ metadata.gz: 1e827b4944e1153162350748e54a11631985d82ca32e4e635de95a97bc263c14a56798d0c03b66f0f33956e6e5e37b876dfbd80c138f87944323b2ba828903d2
7
+ data.tar.gz: a35dd53726351613e24fee21cbf3e7e0c25814acc26d4e41c7dc1ce103b411a4d173a23a81d63d54f988c8e3229c61a77055fa80653b4869fc4e177bf375a9da
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ rescue LoadError
5
5
  puts "Running in production mode"
6
6
  end
7
7
 
8
- APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
8
+ APP_RAKEFILE = File.expand_path('spec/dummy/Rakefile', __dir__)
9
9
 
10
10
  load 'rails/tasks/engine.rake'
11
11
  load 'rails/tasks/statistics.rake'
@@ -6,11 +6,15 @@ window.GOVUK.Modules = window.GOVUK.Modules || {};
6
6
 
7
7
  GOVUK.Modules.CopyToClipboard = function () {
8
8
  this.start = function (element) {
9
+ var input = element[0].querySelector('.gem-c-input')
9
10
  var copyButton = element[0].querySelector('.gem-c-button')
10
11
 
12
+ input.addEventListener('click', function() {
13
+ input.select()
14
+ })
15
+
11
16
  copyButton.addEventListener('click', function (event) {
12
17
  event.preventDefault()
13
- var input = element[0].querySelector('.gem-c-input')
14
18
  input.select()
15
19
  document.execCommand('copy')
16
20
  })
@@ -1,4 +1,7 @@
1
- <%= link_to t('components.back_link.back'),
1
+ <%
2
+ text ||= t('components.back_link.back')
3
+ %>
4
+ <%= link_to text,
2
5
  href,
3
6
  class: %w(
4
7
  gem-c-back-link
@@ -1,14 +1,19 @@
1
+ <%
2
+ button_data_attributes ||= nil
3
+ %>
1
4
  <div class="gem-c-copy-to-clipboard" data-module="copy-to-clipboard">
2
5
  <%= render "govuk_publishing_components/components/input", {
3
6
  label: {
4
7
  text: label,
5
8
  },
6
9
  name: SecureRandom.hex,
7
- value: copyable_content
10
+ value: copyable_content,
11
+ readonly: true,
8
12
  } %>
9
13
 
10
14
  <%= render "govuk_publishing_components/components/button", {
11
15
  text: button_text,
16
+ data_attributes: button_data_attributes,
12
17
  secondary_quiet: true,
13
18
  } %>
14
19
  </div>
@@ -11,6 +11,7 @@
11
11
  error_items ||= nil
12
12
  autofocus ||= nil
13
13
  tabindex ||= nil
14
+ readonly ||= nil
14
15
  has_error = error_message || error_items&.any?
15
16
  hint_id = "hint-#{SecureRandom.hex(4)}"
16
17
  error_id = "error-#{SecureRandom.hex(4)}"
@@ -65,6 +66,7 @@
65
66
  data: data,
66
67
  tabindex: tabindex,
67
68
  autofocus: autofocus,
69
+ readonly: readonly,
68
70
  aria: {
69
71
  describedby: aria_described_by
70
72
  }
@@ -5,9 +5,9 @@
5
5
  <h2 class="govuk-panel__title">
6
6
  <%= title %>
7
7
  </h2>
8
- <div class="govuk-panel__body">
9
- <% if description %>
10
- <%= description %>
11
- <% end %>
12
- </div>
8
+ <% if description %>
9
+ <div class="govuk-panel__body">
10
+ <%= description %>
11
+ </div>
12
+ <% end %>
13
13
  </div>
@@ -10,3 +10,7 @@ examples:
10
10
  default:
11
11
  data:
12
12
  href: '#'
13
+ custom_text:
14
+ data:
15
+ text: 'Back to document list'
16
+ href: '#'
@@ -6,5 +6,12 @@ examples:
6
6
  label: Copy and send this link to someone and they’ll be able to preview your draft on GOV.UK.
7
7
  copyable_content: http://www.example.org
8
8
  button_text: Copy link
9
+ with_button_data_attributes:
10
+ data:
11
+ label: Copy and send this link to someone and they’ll be able to preview your draft on GOV.UK.
12
+ copyable_content: http://www.example.org
13
+ button_text: Copy link
14
+ button_data_attributes:
15
+ "tracking-code": GA-123ABC
9
16
  accessibility_criteria: |
10
17
  - should be usable with keyboard
@@ -75,3 +75,10 @@ examples:
75
75
  name: "username"
76
76
  autofocus: true
77
77
  tabindex: 0
78
+ readonly:
79
+ data:
80
+ label:
81
+ text: "Readonly attribute"
82
+ name: "readonly"
83
+ value: "You can't change me"
84
+ readonly: true
@@ -11,3 +11,6 @@ examples:
11
11
  description: |
12
12
  Your reference number<br>
13
13
  <strong>HDJ2123F</strong>
14
+ no_description:
15
+ data:
16
+ title: Content has been published
@@ -3,7 +3,7 @@ require 'fileutils'
3
3
 
4
4
  module GovukPublishingComponents
5
5
  class ComponentGenerator < ::Rails::Generators::NamedBase
6
- source_root File.expand_path('../templates', __FILE__)
6
+ source_root File.expand_path('templates', __dir__)
7
7
 
8
8
  def copy_component_files
9
9
  @public_name = file_name.dasherize
@@ -12,6 +12,7 @@ module GovukPublishingComponents
12
12
  # Can be "production", "staging", "integration", or "development"
13
13
  def self.current_acceptance_environment
14
14
  return "example" if ENV["HEROKU"]
15
+
15
16
  GOVUK_ENVIRONMENTS.fetch(ENV["ERRBIT_ENVIRONMENT_NAME"], "development")
16
17
  end
17
18
  end
@@ -52,7 +52,7 @@ module GovukPublishingComponents
52
52
  link_clases = %w(app-table__sort-link)
53
53
  link_clases << "app-table__sort-link--#{opt[:sort_direction]}" if opt[:sort_direction]
54
54
  str = link_to str, opt[:href], class: link_clases if opt[:href]
55
- tag.th str, class: classes, scope: opt[:scope] ? opt[:scope] : "col"
55
+ tag.th str, class: classes, scope: opt[:scope] || "col"
56
56
  end
57
57
 
58
58
  def cell(str, opt = {})
@@ -52,7 +52,7 @@ module GovukPublishingComponents
52
52
  end
53
53
 
54
54
  def parent_taxon
55
- @_parent_taxon ||= begin
55
+ @parent_taxon ||= begin
56
56
  parent_content_item = content_item.dig("links", "parent_taxons", 0)
57
57
 
58
58
  ContentItem.new(parent_content_item) unless parent_content_item.nil?
@@ -15,17 +15,18 @@ module GovukPublishingComponents
15
15
  def parent
16
16
  parent_item = content_store_response.dig("links", "parent", 0)
17
17
  return unless parent_item
18
+
18
19
  ContentItem.new(parent_item)
19
20
  end
20
21
 
21
22
  def parent_taxon
22
23
  # TODO: Determine what to do when there are multiple taxons/parents. For
23
24
  # now just display the first of each.
24
- parent_taxons.sort_by(&:title).first
25
+ parent_taxons.min_by(&:title)
25
26
  end
26
27
 
27
28
  def parent_taxons
28
- @_parent_taxons ||= begin
29
+ @parent_taxons ||= begin
29
30
  taxon_links
30
31
  .select { |t| phase_is_live?(t) }
31
32
  .map { |taxon| ContentItem.new(taxon) }.sort_by(&:title)
@@ -59,7 +59,7 @@ module GovukPublishingComponents
59
59
  end
60
60
 
61
61
  def related_content_by_taxon
62
- @related_items_by_taxon ||= begin
62
+ @related_content_by_taxon ||= begin
63
63
  curated_related_items = @content_item.curated_taxonomy_sidebar_links.to_set
64
64
 
65
65
  @content_item.parent_taxons.each_with_object({}) do |taxon, items_by_taxon|
@@ -23,6 +23,7 @@ module GovukPublishingComponents
23
23
 
24
24
  def is_tracking?
25
25
  return true if @href_data_attributes
26
+
26
27
  if @extra_links
27
28
  @extra_links.each do |link|
28
29
  return true if link[:data_attributes]
@@ -80,7 +80,7 @@ module GovukPublishingComponents
80
80
  def step_by_step_schemas
81
81
  # We could include `related_to_step_navs` eventually too, but initially
82
82
  # link to those that we render in the "step_by_step_nav_related" component
83
- @step_by_steps ||= fetch_step_by_step_schemas
83
+ @step_by_step_schemas ||= fetch_step_by_step_schemas
84
84
  end
85
85
 
86
86
  def fetch_step_by_step_schemas
@@ -103,6 +103,7 @@ module GovukPublishingComponents
103
103
 
104
104
  def has_part
105
105
  return {} unless collection_pages("documents").any?
106
+
106
107
  {
107
108
  "hasPart" => collection_pages("documents").map { |document| HasPartSchema.new(document).structured_data }
108
109
  }
@@ -123,6 +124,7 @@ module GovukPublishingComponents
123
124
 
124
125
  def about
125
126
  return {} unless live_taxons.any?
127
+
126
128
  {
127
129
  "about" => linked_taxons
128
130
  }
@@ -131,6 +133,7 @@ module GovukPublishingComponents
131
133
  def live_taxons
132
134
  taxons = page.content_item.dig("links", "taxons")
133
135
  return [] unless taxons
136
+
134
137
  taxons.select { |taxon| taxon["phase"] == "live" }
135
138
  end
136
139
 
@@ -31,6 +31,7 @@ module GovukPublishingComponents
31
31
 
32
32
  def show_related_links?
33
33
  return true if active_step_by_step?
34
+
34
35
  step_navs.any? && step_navs.count < 5
35
36
  end
36
37
 
@@ -86,6 +87,7 @@ module GovukPublishingComponents
86
87
 
87
88
  def current_step_nav
88
89
  return active_step_by_step if active_step_by_step?
90
+
89
91
  step_navs.first
90
92
  end
91
93
 
@@ -153,12 +153,14 @@ module GovukPublishingComponents
153
153
 
154
154
  def related_mainstream_content
155
155
  return [] unless @content_item["document_type"] == "detailed_guide"
156
+
156
157
  content = link_group("related_mainstream_content")
157
158
  build_links_for_sidebar(content)
158
159
  end
159
160
 
160
161
  def related_guides
161
162
  return [] unless @content_item["document_type"] == "detailed_guide"
163
+
162
164
  guides = link_group("related_guides")
163
165
  build_links_for_sidebar(guides)
164
166
  end
@@ -95,6 +95,7 @@ module GovukPublishingComponents
95
95
  def link_href(active, href)
96
96
  return "#content" if active
97
97
  return href if external_url?(href)
98
+
98
99
  link_with_step_nav_query_parameter(href)
99
100
  end
100
101
 
@@ -105,6 +106,7 @@ module GovukPublishingComponents
105
106
  def link_with_step_nav_query_parameter(href)
106
107
  step_nav_content_id = @options[:step_nav_content_id]
107
108
  return href if step_nav_content_id.blank?
109
+
108
110
  uri = URI.parse(href)
109
111
  exisiting_query_params = uri.query.present? ? CGI.parse(uri.query) : {}
110
112
  new_query_params = exisiting_query_params.merge("step-by-step-nav" => step_nav_content_id)
@@ -13,11 +13,13 @@ module GovukPublishingComponents
13
13
 
14
14
  def email_signup_link_text
15
15
  return @local_assigns[:email_signup_link_text] if @local_assigns[:email_signup_link_text]
16
+
16
17
  I18n.t("govuk_component.subscription_links.email_signup_link_text", default: "Get email alerts")
17
18
  end
18
19
 
19
20
  def feed_link_text
20
21
  return @local_assigns[:feed_link_text] if @local_assigns[:feed_link_text]
22
+
21
23
  I18n.t("govuk_component.subscription_links.feed_link_text", default: "Subscribe to feed")
22
24
  end
23
25
 
@@ -31,6 +33,7 @@ module GovukPublishingComponents
31
33
 
32
34
  def feed_link
33
35
  return "#" if feed_link_box_value
36
+
34
37
  @local_assigns[:feed_link]
35
38
  end
36
39
 
@@ -14,7 +14,7 @@ module GovukPublishingComponents
14
14
  image_src: image_card[:image][:url],
15
15
  image_alt: image_card[:image][:alt],
16
16
  heading_level: image_card[:link][:heading_level],
17
- href_data_attributes: (image_card[:link][:data_attributes] if image_card[:link][:data_attributes])
17
+ href_data_attributes: image_card[:link][:data_attributes]
18
18
  }
19
19
  end
20
20
  end
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = '12.11.0'.freeze
2
+ VERSION = '12.12.0'.freeze
3
3
  end
@@ -1,4 +1,3 @@
1
-
2
1
  namespace :component do
3
2
  desc 'warns if component view files exist without corresponding documentation'
4
3
  task :validate_documentation_exists do
metadata CHANGED
@@ -1,85 +1,85 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_publishing_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.11.0
4
+ version: 12.12.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-11-21 00:00:00.000000000 Z
11
+ date: 2018-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: govuk_app_config
14
+ name: govspeak
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 5.0.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 5.0.3
27
27
  - !ruby/object:Gem::Dependency
28
- name: rails
28
+ name: govuk_app_config
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 5.0.0.1
33
+ version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 5.0.0.1
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: sass-rails
42
+ name: govuk_frontend_toolkit
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 5.0.4
47
+ version: '0'
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: 5.0.4
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: govuk_frontend_toolkit
56
+ name: rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: 5.0.0.1
62
62
  type: :runtime
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: '0'
68
+ version: 5.0.0.1
69
69
  - !ruby/object:Gem::Dependency
70
- name: govspeak
70
+ name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 5.0.3
75
+ version: '0'
76
76
  type: :runtime
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: 5.0.3
82
+ version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rouge
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -95,75 +95,89 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: rake
98
+ name: sass-rails
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: 5.0.4
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: '0'
110
+ version: 5.0.4
111
111
  - !ruby/object:Gem::Dependency
112
- name: govuk-lint
112
+ name: capybara
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '3.3'
117
+ version: 2.14.4
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: '3.3'
124
+ version: 2.14.4
125
125
  - !ruby/object:Gem::Dependency
126
- name: rspec-rails
126
+ name: foreman
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '3.6'
131
+ version: '0.64'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '3.6'
138
+ version: '0.64'
139
139
  - !ruby/object:Gem::Dependency
140
- name: capybara
140
+ name: gds-api-adapters
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: govuk-lint
141
155
  requirement: !ruby/object:Gem::Requirement
142
156
  requirements:
143
157
  - - "~>"
144
158
  - !ruby/object:Gem::Version
145
- version: 2.14.4
159
+ version: '3.3'
146
160
  type: :development
147
161
  prerelease: false
148
162
  version_requirements: !ruby/object:Gem::Requirement
149
163
  requirements:
150
164
  - - "~>"
151
165
  - !ruby/object:Gem::Version
152
- version: 2.14.4
166
+ version: '3.3'
153
167
  - !ruby/object:Gem::Dependency
154
- name: poltergeist
168
+ name: govuk_schemas
155
169
  requirement: !ruby/object:Gem::Requirement
156
170
  requirements:
157
171
  - - "~>"
158
172
  - !ruby/object:Gem::Version
159
- version: 1.16.0
173
+ version: '3.2'
160
174
  type: :development
161
175
  prerelease: false
162
176
  version_requirements: !ruby/object:Gem::Requirement
163
177
  requirements:
164
178
  - - "~>"
165
179
  - !ruby/object:Gem::Version
166
- version: 1.16.0
180
+ version: '3.2'
167
181
  - !ruby/object:Gem::Dependency
168
182
  name: jasmine
169
183
  requirement: !ruby/object:Gem::Requirement
@@ -179,61 +193,61 @@ dependencies:
179
193
  - !ruby/object:Gem::Version
180
194
  version: 2.4.0
181
195
  - !ruby/object:Gem::Dependency
182
- name: uglifier
196
+ name: poltergeist
183
197
  requirement: !ruby/object:Gem::Requirement
184
198
  requirements:
185
- - - ">="
199
+ - - "~>"
186
200
  - !ruby/object:Gem::Version
187
- version: 1.3.0
201
+ version: 1.16.0
188
202
  type: :development
189
203
  prerelease: false
190
204
  version_requirements: !ruby/object:Gem::Requirement
191
205
  requirements:
192
- - - ">="
206
+ - - "~>"
193
207
  - !ruby/object:Gem::Version
194
- version: 1.3.0
208
+ version: 1.16.0
195
209
  - !ruby/object:Gem::Dependency
196
- name: foreman
210
+ name: rspec-rails
197
211
  requirement: !ruby/object:Gem::Requirement
198
212
  requirements:
199
213
  - - "~>"
200
214
  - !ruby/object:Gem::Version
201
- version: '0.64'
215
+ version: '3.6'
202
216
  type: :development
203
217
  prerelease: false
204
218
  version_requirements: !ruby/object:Gem::Requirement
205
219
  requirements:
206
220
  - - "~>"
207
221
  - !ruby/object:Gem::Version
208
- version: '0.64'
222
+ version: '3.6'
209
223
  - !ruby/object:Gem::Dependency
210
- name: gds-api-adapters
224
+ name: uglifier
211
225
  requirement: !ruby/object:Gem::Requirement
212
226
  requirements:
213
227
  - - ">="
214
228
  - !ruby/object:Gem::Version
215
- version: '0'
229
+ version: 1.3.0
216
230
  type: :development
217
231
  prerelease: false
218
232
  version_requirements: !ruby/object:Gem::Requirement
219
233
  requirements:
220
234
  - - ">="
221
235
  - !ruby/object:Gem::Version
222
- version: '0'
236
+ version: 1.3.0
223
237
  - !ruby/object:Gem::Dependency
224
- name: govuk_schemas
238
+ name: pry-byebug
225
239
  requirement: !ruby/object:Gem::Requirement
226
240
  requirements:
227
- - - "~>"
241
+ - - ">="
228
242
  - !ruby/object:Gem::Version
229
- version: '3.2'
243
+ version: '0'
230
244
  type: :development
231
245
  prerelease: false
232
246
  version_requirements: !ruby/object:Gem::Requirement
233
247
  requirements:
234
- - - "~>"
248
+ - - ">="
235
249
  - !ruby/object:Gem::Version
236
- version: '3.2'
250
+ version: '0'
237
251
  - !ruby/object:Gem::Dependency
238
252
  name: webmock
239
253
  requirement: !ruby/object:Gem::Requirement
@@ -248,20 +262,6 @@ dependencies:
248
262
  - - "~>"
249
263
  - !ruby/object:Gem::Version
250
264
  version: 3.0.1
251
- - !ruby/object:Gem::Dependency
252
- name: pry-byebug
253
- requirement: !ruby/object:Gem::Requirement
254
- requirements:
255
- - - ">="
256
- - !ruby/object:Gem::Version
257
- version: '0'
258
- type: :development
259
- prerelease: false
260
- version_requirements: !ruby/object:Gem::Requirement
261
- requirements:
262
- - - ">="
263
- - !ruby/object:Gem::Version
264
- version: '0'
265
265
  - !ruby/object:Gem::Dependency
266
266
  name: yard
267
267
  requirement: !ruby/object:Gem::Requirement