govuk_publishing_components 21.59.0 → 21.61.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -6
- data/app/assets/javascripts/component_guide/accessibility-test.js +21 -21
- data/app/assets/javascripts/component_guide/filter-components.js +19 -19
- data/app/assets/javascripts/component_guide/visual-regression.js +38 -37
- data/app/assets/javascripts/govuk_publishing_components/components/checkboxes.js +102 -73
- data/app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js +4 -4
- data/app/assets/javascripts/govuk_publishing_components/ie.js +2 -0
- data/app/assets/javascripts/govuk_publishing_components/lib/auto-track-event.js +31 -0
- data/app/assets/javascripts/govuk_publishing_components/lib/cookie-functions.js +24 -24
- data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/youtube-link-enhancement.js +17 -17
- data/app/assets/javascripts/govuk_publishing_components/vendor/html5shiv-printshiv.js +4 -0
- data/app/assets/javascripts/govuk_publishing_components/vendor/json2.js +487 -0
- data/app/assets/stylesheets/component_guide/application.scss +19 -15
- data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +0 -8
- data/app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_checkboxes.scss +4 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_cookie-banner.scss +1 -8
- data/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak-html-publication.scss +4 -5
- data/app/assets/stylesheets/govuk_publishing_components/components/_heading.scss +3 -8
- data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_input.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +5 -8
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-footer.scss +8 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss +4 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +87 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_radio.scss +4 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +46 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +0 -5
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +1 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +8 -12
- data/app/assets/stylesheets/govuk_publishing_components/components/_table.scss +21 -24
- data/app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss +4 -8
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss +2 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_button.scss +1 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_charts.scss +6 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_contact.scss +2 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss +2 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss +2 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_place.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +2 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_govspeak.scss +2 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav-header.scss +0 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav.scss +2 -10
- data/app/controllers/govuk_publishing_components/audit_controller.rb +2 -2
- data/app/controllers/govuk_publishing_components/component_guide_controller.rb +2 -2
- data/app/models/govuk_publishing_components/audit_applications.rb +45 -27
- data/app/models/govuk_publishing_components/audit_comparer.rb +77 -51
- data/app/models/govuk_publishing_components/audit_components.rb +25 -6
- data/app/models/govuk_publishing_components/component_example.rb +4 -0
- data/app/views/govuk_publishing_components/audit/show.html.erb +227 -190
- data/app/views/govuk_publishing_components/component_guide/component_doc/_component.html.erb +1 -0
- data/app/views/govuk_publishing_components/component_guide/index.html.erb +3 -1
- data/app/views/govuk_publishing_components/components/_breadcrumbs.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_image_card.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_layout_footer.html.erb +32 -21
- data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +76 -0
- data/app/views/govuk_publishing_components/components/_layout_header.html.erb +39 -51
- data/app/views/govuk_publishing_components/components/_machine_readable_metadata.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_radio.html.erb +13 -5
- data/app/views/govuk_publishing_components/components/_search.html.erb +10 -5
- data/app/views/govuk_publishing_components/components/_share_links.html.erb +9 -9
- data/app/views/govuk_publishing_components/components/_step_by_step_nav_header.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/docs/checkboxes.yml +4 -0
- data/app/views/govuk_publishing_components/components/docs/govspeak.yml +45 -0
- data/app/views/govuk_publishing_components/components/docs/heading.yml +6 -3
- data/app/views/govuk_publishing_components/components/docs/image_card.yml +13 -1
- data/app/views/govuk_publishing_components/components/docs/layout_footer.yml +17 -0
- data/app/views/govuk_publishing_components/components/docs/layout_for_admin.yml +5 -1
- data/app/views/govuk_publishing_components/components/docs/layout_for_public.yml +29 -0
- data/app/views/govuk_publishing_components/components/docs/layout_header.yml +34 -0
- data/app/views/govuk_publishing_components/components/docs/radio.yml +4 -0
- data/app/views/govuk_publishing_components/components/docs/search.yml +6 -0
- data/app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb +23 -0
- data/app/views/govuk_publishing_components/components/layout_header/_navigation_items.html.erb +17 -0
- data/app/views/govuk_publishing_components/components/layout_header/_search.html.erb +9 -0
- data/config/initializers/assets.rb +8 -0
- data/lib/govuk_publishing_components.rb +1 -0
- data/lib/govuk_publishing_components/presenters/checkboxes_helper.rb +15 -7
- data/lib/govuk_publishing_components/presenters/content_breadcrumbs_based_on_priority.rb +1 -0
- data/lib/govuk_publishing_components/presenters/heading_helper.rb +21 -1
- data/lib/govuk_publishing_components/presenters/image_card_helper.rb +3 -2
- data/lib/govuk_publishing_components/presenters/public_layout_helper.rb +380 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/axe-core/package.json +145 -220
- data/node_modules/govuk-frontend/govuk/all.js +160 -57
- data/node_modules/govuk-frontend/govuk/components/character-count/_index.scss +0 -4
- data/node_modules/govuk-frontend/govuk/components/character-count/character-count.js +16 -8
- data/node_modules/govuk-frontend/govuk/components/character-count/macro-options.json +6 -0
- data/node_modules/govuk-frontend/govuk/components/character-count/template.njk +1 -0
- data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss +6 -5
- data/node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js +68 -21
- data/node_modules/govuk-frontend/govuk/components/date-input/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss +0 -27
- data/node_modules/govuk-frontend/govuk/components/footer/_index.scss +0 -3
- data/node_modules/govuk-frontend/govuk/components/footer/template.njk +1 -1
- data/node_modules/govuk-frontend/govuk/components/header/template.njk +1 -1
- data/node_modules/govuk-frontend/govuk/components/hint/_index.scss +2 -2
- data/node_modules/govuk-frontend/govuk/components/hint/template.njk +2 -2
- data/node_modules/govuk-frontend/govuk/components/input/_index.scss +0 -3
- data/node_modules/govuk-frontend/govuk/components/input/macro-options.json +6 -0
- data/node_modules/govuk-frontend/govuk/components/input/template.njk +1 -0
- data/node_modules/govuk-frontend/govuk/components/radios/radios.js +76 -28
- data/node_modules/govuk-frontend/govuk/components/select/_index.scss +0 -3
- data/node_modules/govuk-frontend/govuk/components/skip-link/_index.scss +1 -0
- data/node_modules/govuk-frontend/govuk/components/textarea/_index.scss +0 -3
- data/node_modules/govuk-frontend/govuk/components/textarea/macro-options.json +6 -0
- data/node_modules/govuk-frontend/govuk/components/textarea/template.njk +1 -0
- data/node_modules/govuk-frontend/govuk/components/warning-text/_index.scss +4 -2
- data/node_modules/govuk-frontend/govuk/helpers/_colour.scss +1 -1
- data/node_modules/govuk-frontend/govuk/settings/_colours-applied.scss +2 -2
- data/node_modules/govuk-frontend/govuk/settings/_colours-palette.scss +33 -33
- data/node_modules/govuk-frontend/govuk/settings/_measurements.scss +4 -1
- data/node_modules/govuk-frontend/package.json +14 -81
- data/node_modules/jquery/package.json +44 -116
- metadata +34 -66
- data/Rakefile +0 -37
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_publishing_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 21.
|
4
|
+
version: 21.61.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: 2020-
|
11
|
+
date: 2020-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: gds-api-adapters
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: govuk_app_config
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,20 +66,6 @@ dependencies:
|
|
80
66
|
- - ">="
|
81
67
|
- !ruby/object:Gem::Version
|
82
68
|
version: 5.0.0.1
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rake
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
69
|
- !ruby/object:Gem::Dependency
|
98
70
|
name: rouge
|
99
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,19 +109,19 @@ dependencies:
|
|
137
109
|
- !ruby/object:Gem::Version
|
138
110
|
version: '3.25'
|
139
111
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
112
|
+
name: faker
|
141
113
|
requirement: !ruby/object:Gem::Requirement
|
142
114
|
requirements:
|
143
|
-
- -
|
115
|
+
- - ">="
|
144
116
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
117
|
+
version: '2.11'
|
146
118
|
type: :development
|
147
119
|
prerelease: false
|
148
120
|
version_requirements: !ruby/object:Gem::Requirement
|
149
121
|
requirements:
|
150
|
-
- -
|
122
|
+
- - ">="
|
151
123
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
124
|
+
version: '2.11'
|
153
125
|
- !ruby/object:Gem::Dependency
|
154
126
|
name: gds-api-adapters
|
155
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -198,14 +170,14 @@ dependencies:
|
|
198
170
|
requirements:
|
199
171
|
- - "~>"
|
200
172
|
- !ruby/object:Gem::Version
|
201
|
-
version: 3.
|
173
|
+
version: 3.6.0
|
202
174
|
type: :development
|
203
175
|
prerelease: false
|
204
176
|
version_requirements: !ruby/object:Gem::Requirement
|
205
177
|
requirements:
|
206
178
|
- - "~>"
|
207
179
|
- !ruby/object:Gem::Version
|
208
|
-
version: 3.
|
180
|
+
version: 3.6.0
|
209
181
|
- !ruby/object:Gem::Dependency
|
210
182
|
name: jasmine_selenium_runner
|
211
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -234,6 +206,20 @@ dependencies:
|
|
234
206
|
- - ">="
|
235
207
|
- !ruby/object:Gem::Version
|
236
208
|
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: rake
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
237
223
|
- !ruby/object:Gem::Dependency
|
238
224
|
name: rspec-rails
|
239
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -276,20 +262,6 @@ dependencies:
|
|
276
262
|
- - "~>"
|
277
263
|
- !ruby/object:Gem::Version
|
278
264
|
version: '2'
|
279
|
-
- !ruby/object:Gem::Dependency
|
280
|
-
name: selenium-webdriver
|
281
|
-
requirement: !ruby/object:Gem::Requirement
|
282
|
-
requirements:
|
283
|
-
- - '='
|
284
|
-
- !ruby/object:Gem::Version
|
285
|
-
version: 3.142.7
|
286
|
-
type: :development
|
287
|
-
prerelease: false
|
288
|
-
version_requirements: !ruby/object:Gem::Requirement
|
289
|
-
requirements:
|
290
|
-
- - '='
|
291
|
-
- !ruby/object:Gem::Version
|
292
|
-
version: 3.142.7
|
293
265
|
- !ruby/object:Gem::Dependency
|
294
266
|
name: uglifier
|
295
267
|
requirement: !ruby/object:Gem::Requirement
|
@@ -304,20 +276,6 @@ dependencies:
|
|
304
276
|
- - ">="
|
305
277
|
- !ruby/object:Gem::Version
|
306
278
|
version: 4.1.0
|
307
|
-
- !ruby/object:Gem::Dependency
|
308
|
-
name: faker
|
309
|
-
requirement: !ruby/object:Gem::Requirement
|
310
|
-
requirements:
|
311
|
-
- - ">="
|
312
|
-
- !ruby/object:Gem::Version
|
313
|
-
version: '2.11'
|
314
|
-
type: :development
|
315
|
-
prerelease: false
|
316
|
-
version_requirements: !ruby/object:Gem::Requirement
|
317
|
-
requirements:
|
318
|
-
- - ">="
|
319
|
-
- !ruby/object:Gem::Version
|
320
|
-
version: '2.11'
|
321
279
|
- !ruby/object:Gem::Dependency
|
322
280
|
name: webmock
|
323
281
|
requirement: !ruby/object:Gem::Requirement
|
@@ -355,7 +313,6 @@ extra_rdoc_files: []
|
|
355
313
|
files:
|
356
314
|
- LICENCE.md
|
357
315
|
- README.md
|
358
|
-
- Rakefile
|
359
316
|
- app/assets/config/govuk_publishing_components_manifest.js
|
360
317
|
- app/assets/images/govuk_publishing_components/action-link--nhs.png
|
361
318
|
- app/assets/images/govuk_publishing_components/action-link--nhs.svg
|
@@ -456,7 +413,9 @@ files:
|
|
456
413
|
- app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js
|
457
414
|
- app/assets/javascripts/govuk_publishing_components/components/tabs.js
|
458
415
|
- app/assets/javascripts/govuk_publishing_components/dependencies.js
|
416
|
+
- app/assets/javascripts/govuk_publishing_components/ie.js
|
459
417
|
- app/assets/javascripts/govuk_publishing_components/lib.js
|
418
|
+
- app/assets/javascripts/govuk_publishing_components/lib/auto-track-event.js
|
460
419
|
- app/assets/javascripts/govuk_publishing_components/lib/cookie-functions.js
|
461
420
|
- app/assets/javascripts/govuk_publishing_components/lib/current-location.js
|
462
421
|
- app/assets/javascripts/govuk_publishing_components/lib/govspeak/barchart-enhancement.js
|
@@ -467,6 +426,8 @@ files:
|
|
467
426
|
- app/assets/javascripts/govuk_publishing_components/lib/toggle-input-class-on-focus.js
|
468
427
|
- app/assets/javascripts/govuk_publishing_components/lib/toggle.js
|
469
428
|
- app/assets/javascripts/govuk_publishing_components/modules.js
|
429
|
+
- app/assets/javascripts/govuk_publishing_components/vendor/html5shiv-printshiv.js
|
430
|
+
- app/assets/javascripts/govuk_publishing_components/vendor/json2.js
|
470
431
|
- app/assets/javascripts/govuk_publishing_components/vendor/magna-charta.min.js
|
471
432
|
- app/assets/javascripts/govuk_publishing_components/vendor/modernizr.js
|
472
433
|
- app/assets/stylesheets/component_guide/application.scss
|
@@ -510,6 +471,7 @@ files:
|
|
510
471
|
- app/assets/stylesheets/govuk_publishing_components/components/_label.scss
|
511
472
|
- app/assets/stylesheets/govuk_publishing_components/components/_layout-footer.scss
|
512
473
|
- app/assets/stylesheets/govuk_publishing_components/components/_layout-for-admin.scss
|
474
|
+
- app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss
|
513
475
|
- app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
|
514
476
|
- app/assets/stylesheets/govuk_publishing_components/components/_lead-paragraph.scss
|
515
477
|
- app/assets/stylesheets/govuk_publishing_components/components/_list.scss
|
@@ -658,6 +620,7 @@ files:
|
|
658
620
|
- app/views/govuk_publishing_components/components/_label.html.erb
|
659
621
|
- app/views/govuk_publishing_components/components/_layout_footer.html.erb
|
660
622
|
- app/views/govuk_publishing_components/components/_layout_for_admin.html.erb
|
623
|
+
- app/views/govuk_publishing_components/components/_layout_for_public.html.erb
|
661
624
|
- app/views/govuk_publishing_components/components/_layout_header.html.erb
|
662
625
|
- app/views/govuk_publishing_components/components/_lead_paragraph.html.erb
|
663
626
|
- app/views/govuk_publishing_components/components/_list.html.erb
|
@@ -735,6 +698,7 @@ files:
|
|
735
698
|
- app/views/govuk_publishing_components/components/docs/label.yml
|
736
699
|
- app/views/govuk_publishing_components/components/docs/layout_footer.yml
|
737
700
|
- app/views/govuk_publishing_components/components/docs/layout_for_admin.yml
|
701
|
+
- app/views/govuk_publishing_components/components/docs/layout_for_public.yml
|
738
702
|
- app/views/govuk_publishing_components/components/docs/layout_header.yml
|
739
703
|
- app/views/govuk_publishing_components/components/docs/lead_paragraph.yml
|
740
704
|
- app/views/govuk_publishing_components/components/docs/list.yml
|
@@ -770,6 +734,9 @@ files:
|
|
770
734
|
- app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
|
771
735
|
- app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
|
772
736
|
- app/views/govuk_publishing_components/components/feedback/_yes_no_banner.html.erb
|
737
|
+
- app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb
|
738
|
+
- app/views/govuk_publishing_components/components/layout_header/_navigation_items.html.erb
|
739
|
+
- app/views/govuk_publishing_components/components/layout_header/_search.html.erb
|
773
740
|
- app/views/govuk_publishing_components/components/metadata/_sentence.html.erb
|
774
741
|
- app/views/govuk_publishing_components/components/related_navigation/_section.html.erb
|
775
742
|
- app/views/layouts/govuk_publishing_components/application.html.erb
|
@@ -823,6 +790,7 @@ files:
|
|
823
790
|
- lib/govuk_publishing_components/presenters/meta_tags.rb
|
824
791
|
- lib/govuk_publishing_components/presenters/organisation_logo_helper.rb
|
825
792
|
- lib/govuk_publishing_components/presenters/page_with_step_by_step_navigation.rb
|
793
|
+
- lib/govuk_publishing_components/presenters/public_layout_helper.rb
|
826
794
|
- lib/govuk_publishing_components/presenters/related_navigation_helper.rb
|
827
795
|
- lib/govuk_publishing_components/presenters/schema_org.rb
|
828
796
|
- lib/govuk_publishing_components/presenters/select.rb
|
data/Rakefile
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
begin
|
2
|
-
require "rspec/core/rake_task"
|
3
|
-
RSpec::Core::RakeTask.new(:spec)
|
4
|
-
rescue LoadError
|
5
|
-
puts "Running in production mode"
|
6
|
-
end
|
7
|
-
|
8
|
-
APP_RAKEFILE = File.expand_path("spec/dummy/Rakefile", __dir__)
|
9
|
-
|
10
|
-
load "rails/tasks/engine.rake"
|
11
|
-
load "rails/tasks/statistics.rake"
|
12
|
-
|
13
|
-
require "bundler/gem_tasks"
|
14
|
-
|
15
|
-
namespace :assets do
|
16
|
-
desc "Test precompiling assets through dummy application"
|
17
|
-
task :precompile do
|
18
|
-
Rake::Task["app:assets:precompile"].invoke
|
19
|
-
end
|
20
|
-
|
21
|
-
desc "Test cleaning assets through dummy application"
|
22
|
-
task :clean do
|
23
|
-
Rake::Task["app:assets:clean"].invoke
|
24
|
-
end
|
25
|
-
|
26
|
-
desc "Test clobbering assets through dummy application"
|
27
|
-
task :clobber do
|
28
|
-
Rake::Task["app:assets:clobber"].invoke
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
desc "Run RuboCop linting"
|
33
|
-
task lint: :environment do
|
34
|
-
sh "bundle exec rubocop --format clang"
|
35
|
-
end
|
36
|
-
|
37
|
-
task default: [:lint, :spec, "app:jasmine:ci"]
|