curation_concerns 1.6.2 → 1.6.3

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: 3d685b547e05f4528d3552546ebd94e21cdd8acf
4
- data.tar.gz: f1f3cb5d6119e5dbbaeaacfece15d89c0a0b5ac0
3
+ metadata.gz: 172fab1ebafb8c3dd0f68ce83a797cd58a8189b2
4
+ data.tar.gz: 90c86d467af21617a3bd2a9cdb806f2ee5b3f8df
5
5
  SHA512:
6
- metadata.gz: 465138d61ec0a5bd8e76da0c8ea9b7bee373593b0a0a399aaa0d132973cb253c5baac4d29fa4b0202ce088918ffbf5be0587bd9d1ce5eb02a01ac83309281ddb
7
- data.tar.gz: 5264146ae4a0882d934db2a49d6da4002a7f0fc1be83813eec3478e3ea9ebb0aeacfaae109ca2ab1797003ddd02ff085e268889cf37989d4248bda1bd1dee8f3
6
+ metadata.gz: c63887d9ff1971c2bf495ce9264247e145265789d8fb68ec77b98c987467f8a1e6ea045f7c2cca84ab335479aba5f079795f54f014e7229a715d814fb6218cb2
7
+ data.tar.gz: 358867ae2f068736ae5daf0bc474f657dd22132218071b4e9e3b85432007710491901782716118cef08bb9c6ae6da4e00f682143c23880d5d1da59c470bf2570
@@ -1 +1 @@
1
- <a href="<%= collection_path %>" target="_new"><img src="Other.png" alt="No preview available" width="338" /></a>
1
+ <a href="<%= collection_path %>" target="_blank" data-turbolinks="false"><img src="Other.png" alt="No preview available" width="338" /></a>
@@ -1,5 +1,5 @@
1
1
  <div class="form-actions">
2
- <%= link_to "Download this File", main_app.download_path(presenter), class: 'btn btn-default' %>
2
+ <%= link_to "Download this File", main_app.download_path(presenter), class: 'btn btn-default', data: { turbolinks: false }, target: :_blank %>
3
3
  <% if can? :edit, presenter.id %>
4
4
  <%= link_to "Edit this File", edit_polymorphic_path([main_app, presenter]), class: 'btn btn-default' %>
5
5
  <% end %>
@@ -6,7 +6,8 @@
6
6
  alt: "",
7
7
  role: "presentation" %>
8
8
  <%= link_to main_app.download_path(file_set),
9
- target: "_new",
9
+ target: :_blank,
10
+ data: { turbolinks: false },
10
11
  class: "btn btn-default" do %>
11
12
  <%= t('curation_concerns.show.downloadable_content.default_link') %>
12
13
  <% end %>
@@ -6,7 +6,8 @@
6
6
  alt: "",
7
7
  role: "presentation" %>
8
8
  <%= link_to main_app.download_path(file_set),
9
- target: "_new",
9
+ target: :_blank,
10
+ data: { turbolinks: false },
10
11
  class: "btn btn-default" do %>
11
12
  <%= t('curation_concerns.show.downloadable_content.image_link') %>
12
13
  <% end %>
@@ -7,6 +7,8 @@
7
7
  role: "presentation" %>
8
8
  <%= link_to main_app.download_path(file_set),
9
9
  target: "_new",
10
+ data: { turbolinks: false },
11
+ target: :_blank,
10
12
  class: "btn btn-default" do %>
11
13
  <%= t('curation_concerns.show.downloadable_content.office_link') %>
12
14
  <% end %>
@@ -6,7 +6,8 @@
6
6
  alt: "",
7
7
  role: "presentation" %>
8
8
  <%= link_to main_app.download_path(file_set),
9
- target: "_new",
9
+ target: :_blank,
10
+ data: { turbolinks: false },
10
11
  class: "btn btn-default" do %>
11
12
  <%= t('curation_concerns.show.downloadable_content.pdf_link') %>
12
13
  <% end %>
@@ -2,7 +2,7 @@
2
2
  <h1 class="lower"><%= @presenter %></h1>
3
3
  <h2 class="non lower">Actions</h2>
4
4
  <p>
5
- <%= link_to "Download (can only be used once)", @download_link, target: '_blank', data: { 'no-turbolink' => ''} %>
5
+ <%= link_to "Download (can only be used once)", @download_link, target: :_blank, data: { turbolinks: false } %>
6
6
  </p>
7
7
  <h2> Descriptions:</h2>
8
8
 
@@ -1,3 +1,3 @@
1
1
  module CurationConcerns
2
- VERSION = '1.6.2'.freeze
2
+ VERSION = '1.6.3'.freeze
3
3
  end
@@ -27,6 +27,6 @@ describe 'curation_concerns/single_use_links_viewer/show.html.erb' do
27
27
  end
28
28
 
29
29
  it "has turbolinks disabled in the download link" do
30
- expect(rendered).to have_selector "a[data-no-turbolink][href^='/single_use_link/download/']"
30
+ expect(rendered).to have_selector "a[data-turbolinks^='false'][href^='/single_use_link/download/']"
31
31
  end
32
32
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: curation_concerns
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Zumwalt
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-09-30 00:00:00.000000000 Z
13
+ date: 2016-10-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: hydra-head