rails_web_cache 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1654010e6e1261484def06201c55f46d6d787aff2ddb4b5b11f3e53e4c111f1
4
- data.tar.gz: 7c16511abba55bde5c31992623c1e9ec24d83b518212f1af5680f6045a3a7add
3
+ metadata.gz: 6a8bac0525a51f64ddce568a67fdfe2f671a64e8bb1aa1f9ccf348698de0d76f
4
+ data.tar.gz: 3db863e4a2cc24e7c6d0ec9394b9ff672d97d617443fd9c5adb47b400e65c7d0
5
5
  SHA512:
6
- metadata.gz: a9963982552afa33bb0c7efb0754f0e61cf8fbec38c92af5261b13e21c789a1243385836e3408dadfbec116f7ef62e693e170289a985d675d82eac8ef0566ae2
7
- data.tar.gz: a660d8e94132cd89372370b782202edcf10b922d97e13cbef7ed01271bf6eff342d5168d2f3d298f93a95d2486181c752d6f964dcf94554906cc473111fe1de7
6
+ metadata.gz: 3825fbce0c24a9305961e09a560072f9e017f63333960e5717c7fad09b38f938933a326786075e9e68262e202d407464e5b4c52741fb04cd8ed44f8b39d8d3cc
7
+ data.tar.gz: 1d1ffb4b2231fe554e488205cf0940cfb725a6939d016844d2c82441129089fe3665f37eee785df0130b3f6bf2dae0c742fdbc9d6307272142ce6487a5291117
@@ -49,8 +49,8 @@
49
49
  </td>
50
50
  <td class="align-middle">
51
51
  <div class="d-flex flex-row">
52
- <%= link_to 'Show', key_path(key[:key]), title: "Show #{key[:key]}", class: 'btn btn-sm btn-primary w-100' %>
53
- <%= link_to 'Delete', key_path(key[:key]), method: :delete, data: {confirm: 'Are you sure ?'}, title: "Delete #{key[:key]}", class: 'btn btn-sm btn-danger w-100 ml-2' %>
52
+ <%= link_to 'Show', key_path(CGI.escape(key[:key])), title: "Show #{key[:key]}", class: 'btn btn-sm btn-primary w-100' %>
53
+ <%= link_to 'Delete', key_path(CGI.escape(key[:key])), method: :delete, data: {confirm: 'Are you sure ?'}, title: "Delete #{key[:key]}", class: 'btn btn-sm btn-danger w-100 ml-2' %>
54
54
  </div>
55
55
  </td>
56
56
  </tr>
@@ -18,7 +18,7 @@
18
18
  <code><%= number_to_human_size(@entry.size, locale: :en) %></code>
19
19
  </p>
20
20
  <p>
21
- <%= link_to 'Delete', key_path(@key), method: :delete, data: {confirm: 'Are you sure ?'}, title: "Delete #{@key}", class: 'btn btn-sm btn-danger w-100 mb-2' %>
21
+ <%= link_to 'Delete', key_path(CGI.escape(@key)), method: :delete, data: {confirm: 'Are you sure ?'}, title: "Delete #{@key}", class: 'btn btn-sm btn-danger w-100 mb-2' %>
22
22
  <%= link_to 'Back', keys_path, title: 'View keys', class: 'btn btn-sm btn-primary w-100' %>
23
23
  </p>
24
24
  </div>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsWebCache
4
- VERSION = '0.6.0'
4
+ VERSION = '0.6.1'
5
5
  end
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: true
1
+ I# frozen_string_literal: true
2
2
 
3
3
  RSpec.describe RailsWebCache do
4
4
  it 'returns a RailsWebCache::MemoryStore class' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_web_cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boris BRESCIANI