Skip to content

Commit

Permalink
Remove redundant zeroclipboard-rails gem
Browse files Browse the repository at this point in the history
And associated JavaScript config.

This was originally added in this PR [1] and I can't see any other
remnants.

We're now using the `copy_to_clipboard` component [1] instead.

[1]: #248
[2]: https://components.publishing.service.gov.uk/component-guide/copy_to_clipboard
  • Loading branch information
floehopper committed Jan 4, 2024
1 parent 32a74fa commit 081cd9f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ gem "sprockets-rails"
gem "uglifier"
gem "uuid"
gem "whenever"
gem "zeroclipboard-rails"

# GDS Gems
gem "gds-api-adapters"
Expand Down
3 changes: 0 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -689,8 +689,6 @@ GEM
xpath (3.2.0)
nokogiri (~> 1.8)
zeitwerk (2.6.12)
zeroclipboard-rails (0.1.2)
railties (>= 3.1)
zxcvbn-ruby (1.2.0)

PLATFORMS
Expand Down Expand Up @@ -754,7 +752,6 @@ DEPENDENCIES
uuid
webmock
whenever
zeroclipboard-rails

BUNDLED WITH
2.4.10
1 change: 0 additions & 1 deletion app/assets/javascripts/legacy_layout.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
//= require chosen.jquery
//= require_directory ./legacy/modules
//= require zeroclipboard

0 comments on commit 081cd9f

Please sign in to comment.