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.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/app/assets/javascripts/govuk_publishing_components/components/copy-to-clipboard.js +5 -1
- data/app/views/govuk_publishing_components/components/_back_link.html.erb +4 -1
- data/app/views/govuk_publishing_components/components/_copy_to_clipboard.html.erb +6 -1
- data/app/views/govuk_publishing_components/components/_input.html.erb +2 -0
- data/app/views/govuk_publishing_components/components/_panel.html.erb +5 -5
- data/app/views/govuk_publishing_components/components/docs/back_link.yml +4 -0
- data/app/views/govuk_publishing_components/components/docs/copy_to_clipboard.yml +7 -0
- data/app/views/govuk_publishing_components/components/docs/input.yml +7 -0
- data/app/views/govuk_publishing_components/components/docs/panel.yml +3 -0
- data/lib/generators/govuk_publishing_components/component_generator.rb +1 -1
- data/lib/govuk_publishing_components/app_helpers/environment.rb +1 -0
- data/lib/govuk_publishing_components/app_helpers/table_helper.rb +1 -1
- data/lib/govuk_publishing_components/app_helpers/taxon_breadcrumbs.rb +1 -1
- data/lib/govuk_publishing_components/presenters/content_item.rb +3 -2
- data/lib/govuk_publishing_components/presenters/curated_taxonomy_sidebar_links.rb +1 -1
- data/lib/govuk_publishing_components/presenters/image_card_helper.rb +1 -0
- data/lib/govuk_publishing_components/presenters/machine_readable/article_schema.rb +4 -1
- data/lib/govuk_publishing_components/presenters/page_with_step_by_step_navigation.rb +2 -0
- data/lib/govuk_publishing_components/presenters/related_navigation_helper.rb +2 -0
- data/lib/govuk_publishing_components/presenters/step_by_step_nav_helper.rb +2 -0
- data/lib/govuk_publishing_components/presenters/subscription_links_helper.rb +3 -0
- data/lib/govuk_publishing_components/presenters/taxonomy_list_helper.rb +1 -1
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/lib/tasks/govuk_publishing_components_tasks.rake +0 -1
- metadata +62 -62
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddd766aa58f3052e6cc3d7d543cd88c9e49dec9f975afce4bdcfc1fd180ccd9e
|
4
|
+
data.tar.gz: 9cc9bbcfa7f46cdeae8627286c005106c7ab59fd1eb779f624a9381d730ae77c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
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,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
|
-
|
9
|
-
|
10
|
-
<%= description %>
|
11
|
-
|
12
|
-
|
8
|
+
<% if description %>
|
9
|
+
<div class="govuk-panel__body">
|
10
|
+
<%= description %>
|
11
|
+
</div>
|
12
|
+
<% end %>
|
13
13
|
</div>
|
@@ -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
|
@@ -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('
|
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]
|
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
|
-
@
|
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.
|
25
|
+
parent_taxons.min_by(&:title)
|
25
26
|
end
|
26
27
|
|
27
28
|
def parent_taxons
|
28
|
-
@
|
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
|
-
@
|
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|
|
@@ -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
|
-
@
|
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:
|
17
|
+
href_data_attributes: image_card[:link][:data_attributes]
|
18
18
|
}
|
19
19
|
end
|
20
20
|
end
|
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.
|
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-
|
11
|
+
date: 2018-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: govspeak
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
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:
|
26
|
+
version: 5.0.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
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:
|
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:
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
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:
|
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:
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: 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.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:
|
68
|
+
version: 5.0.0.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
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:
|
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:
|
98
|
+
name: sass-rails
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
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:
|
110
|
+
version: 5.0.4
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: capybara
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
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:
|
124
|
+
version: 2.14.4
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: foreman
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
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: '
|
138
|
+
version: '0.64'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
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:
|
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:
|
166
|
+
version: '3.3'
|
153
167
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
168
|
+
name: govuk_schemas
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
156
170
|
requirements:
|
157
171
|
- - "~>"
|
158
172
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
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:
|
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:
|
196
|
+
name: poltergeist
|
183
197
|
requirement: !ruby/object:Gem::Requirement
|
184
198
|
requirements:
|
185
|
-
- - "
|
199
|
+
- - "~>"
|
186
200
|
- !ruby/object:Gem::Version
|
187
|
-
version: 1.
|
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.
|
208
|
+
version: 1.16.0
|
195
209
|
- !ruby/object:Gem::Dependency
|
196
|
-
name:
|
210
|
+
name: rspec-rails
|
197
211
|
requirement: !ruby/object:Gem::Requirement
|
198
212
|
requirements:
|
199
213
|
- - "~>"
|
200
214
|
- !ruby/object:Gem::Version
|
201
|
-
version: '
|
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: '
|
222
|
+
version: '3.6'
|
209
223
|
- !ruby/object:Gem::Dependency
|
210
|
-
name:
|
224
|
+
name: uglifier
|
211
225
|
requirement: !ruby/object:Gem::Requirement
|
212
226
|
requirements:
|
213
227
|
- - ">="
|
214
228
|
- !ruby/object:Gem::Version
|
215
|
-
version:
|
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:
|
236
|
+
version: 1.3.0
|
223
237
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
238
|
+
name: pry-byebug
|
225
239
|
requirement: !ruby/object:Gem::Requirement
|
226
240
|
requirements:
|
227
|
-
- - "
|
241
|
+
- - ">="
|
228
242
|
- !ruby/object:Gem::Version
|
229
|
-
version: '
|
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: '
|
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
|