rails_web_cache 0.5.0 → 0.6.0

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
  SHA256:
3
- metadata.gz: c354bf2c12dd1308f2b8a98b862a430adde71cb495975670412ab7c32c2049d4
4
- data.tar.gz: 799df3985a7a88bc64ae1abd843e32f6f4be40662aa44f3bb8e683b8d408a85a
3
+ metadata.gz: a1654010e6e1261484def06201c55f46d6d787aff2ddb4b5b11f3e53e4c111f1
4
+ data.tar.gz: 7c16511abba55bde5c31992623c1e9ec24d83b518212f1af5680f6045a3a7add
5
5
  SHA512:
6
- metadata.gz: 01d6be63e87ac22f22fb15481d010015047c24d40de4ef62b98deda5302e06c530ae342682c8f772ff288b6c366647ba99371d24e7ac11c0420a7675d9ddcbf1
7
- data.tar.gz: 4efce77da94e5e340948ef4d0c918a9e30d743e8a4c64418103aacf74c6985f6af1d48292315ef36c24e8006fa5458779433b58f864fe241f741d46033cf0518
6
+ metadata.gz: a9963982552afa33bb0c7efb0754f0e61cf8fbec38c92af5261b13e21c789a1243385836e3408dadfbec116f7ef62e693e170289a985d675d82eac8ef0566ae2
7
+ data.tar.gz: a660d8e94132cd89372370b782202edcf10b922d97e13cbef7ed01271bf6eff342d5168d2f3d298f93a95d2486181c752d6f964dcf94554906cc473111fe1de7
@@ -11,4 +11,5 @@
11
11
  * It is generally better to create a new file per style scope.
12
12
  *
13
13
  *= require ./bootstrap.css
14
+ *= require ./keys.css
14
15
  */
@@ -0,0 +1,15 @@
1
+ .width-check-box {
2
+ width: 20px;
3
+ }
4
+
5
+ .width-key-value {
6
+ width: 240px;
7
+ }
8
+
9
+ .truncate {
10
+ width: 240px;
11
+ white-space: nowrap;
12
+ overflow: hidden;
13
+ text-overflow: ellipsis;
14
+ display: block;
15
+ }
@@ -32,14 +32,14 @@
32
32
  <tbody>
33
33
  <% @keys.each do |key| %>
34
34
  <tr>
35
- <td class="align-middle">
35
+ <td class="align-middle width-check-box">
36
36
  <%= check_box_key(key[:key], key[:id]) %>
37
37
  </td>
38
- <td class="align-middle">
39
- <%= truncate(key[:key], length: 40) %>
38
+ <td class="align-middle width-key-value">
39
+ <span class="truncate"><%= key[:key] %></span>
40
40
  </td>
41
- <td class="align-middle">
42
- <%= truncate(key[:value], length: 40) %>
41
+ <td class="align-middle width-key-value">
42
+ <span class="truncate"><%= key[:value] %></span>
43
43
  </td>
44
44
  <td class="align-middle">
45
45
  <%= expired_at(key[:expires_at]) %>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsWebCache
4
- VERSION = '0.5.0'
4
+ VERSION = '0.6.0'
5
5
  end
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.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boris BRESCIANI
@@ -98,6 +98,7 @@ files:
98
98
  - app/assets/javascripts/rails_web_cache/popper.js
99
99
  - app/assets/stylesheets/rails_web_cache/application.css
100
100
  - app/assets/stylesheets/rails_web_cache/bootstrap.css
101
+ - app/assets/stylesheets/rails_web_cache/keys.css
101
102
  - app/controllers/rails_web_cache/application_controller.rb
102
103
  - app/controllers/rails_web_cache/keys_controller.rb
103
104
  - app/helpers/rails_web_cache/keys_helper.rb
@@ -151,15 +152,12 @@ files:
151
152
  - spec/dummy/config/puma.rb
152
153
  - spec/dummy/config/routes.rb
153
154
  - spec/dummy/config/spring.rb
154
- - spec/dummy/log/development.log
155
- - spec/dummy/log/test.log
156
155
  - spec/dummy/public/404.html
157
156
  - spec/dummy/public/422.html
158
157
  - spec/dummy/public/500.html
159
158
  - spec/dummy/public/apple-touch-icon-precomposed.png
160
159
  - spec/dummy/public/apple-touch-icon.png
161
160
  - spec/dummy/public/favicon.ico
162
- - spec/dummy/tmp/development_secret.txt
163
161
  - spec/helpers/keys_helper_spec.rb
164
162
  - spec/rails_helper.rb
165
163
  - spec/rails_web_cache_spec.rb
@@ -186,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
184
  - !ruby/object:Gem::Version
187
185
  version: '0'
188
186
  requirements: []
189
- rubygems_version: 3.0.4
187
+ rubygems_version: 3.1.1
190
188
  signing_key:
191
189
  specification_version: 4
192
190
  summary: Manage rails cache by Web UI
@@ -230,9 +228,6 @@ test_files:
230
228
  - spec/dummy/public/500.html
231
229
  - spec/dummy/public/404.html
232
230
  - spec/dummy/public/apple-touch-icon-precomposed.png
233
- - spec/dummy/log/test.log
234
- - spec/dummy/log/development.log
235
- - spec/dummy/tmp/development_secret.txt
236
231
  - spec/rails_web_cache_spec.rb
237
232
  - spec/routing/keys_controller_spec.rb
238
233
  - spec/controllers/keys_controller_spec.rb