completion-kit 0.25.1 → 0.25.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
  SHA256:
3
- metadata.gz: 831c799302277cd5d63621d0eda00941a0a608909f257f77c38cdd5522de36f0
4
- data.tar.gz: 2d94dbc1f73e0f92eafd095d137a8021b77fb773f1fb70e35b44ede3db996f33
3
+ metadata.gz: 522b556370ce964401d721cfca911d3eeed34c73d4f00a10fd817d72aea6ebd9
4
+ data.tar.gz: 376659f68600f29d4b5a8d5a659b106154794b1c21fce13419115199061f99b5
5
5
  SHA512:
6
- metadata.gz: '0752419e8f5420796fc1f8a0b110417cf011fcc4348b3e4dc5f3bfc0954b0d577d6b128ccbb70e2fc2f3e87902441d358be96dc5cd9fe10f6fc6b3c3876563ef'
7
- data.tar.gz: 1dd4e95a82ed0974cf6f5f5d8de7abea26a7d40737338a733e2f15675c8da40c4c708506a55a3cc3441bc5814c1d4bb5045cc271dcb0541d2889009bb157df75
6
+ metadata.gz: 2f4d28f7545dee426f9ecf540a8249a5559c60c75624dae1649c0cf5a9a32eeeb37d3ce0e82d90c3749859bd593aec9c6f874a8284a0b3635ea7b60b4197baae
7
+ data.tar.gz: 547840aee8d6b9d2ca7495ab9d716116ca5aba721503c6b4d71570789587af94ed0c7d5afe5c73d853362e1e6dbabd583e2042731002336ef63e1b703312db84
@@ -4005,6 +4005,13 @@ table.ck-runs-table {
4005
4005
  min-width: 0;
4006
4006
  }
4007
4007
 
4008
+ .ck-runs-table .ck-run-name .ck-record-name {
4009
+ min-width: 0;
4010
+ overflow: hidden;
4011
+ text-overflow: ellipsis;
4012
+ white-space: nowrap;
4013
+ }
4014
+
4008
4015
  .ck-runs-table .ck-run-name strong {
4009
4016
  overflow: hidden;
4010
4017
  text-overflow: ellipsis;
@@ -270,7 +270,7 @@ module CompletionKit
270
270
  # The engine's url_helpers won't read them out of the nested recall hash to
271
271
  # satisfy a required segment — they have to arrive as explicit kwargs.
272
272
  def ck_engine_path_options
273
- (url_options[:_recall] || {}).except(:controller, :action)
273
+ (url_options[:_recall] || {}).except(:controller, :action, :id, :format)
274
274
  end
275
275
 
276
276
  def ck_format_maybe_json(text)
@@ -8,7 +8,7 @@
8
8
  <h1 class="ck-title"><%= @dataset.name %></h1>
9
9
  </div>
10
10
  <div class="ck-actions">
11
- <%= link_to "Download CSV", dataset_path(@dataset, format: :csv), class: ck_button_classes(:light, variant: :outline) %>
11
+ <%= link_to "Download CSV", dataset_path(@dataset, format: :csv, **ck_engine_path_options), class: ck_button_classes(:light, variant: :outline) %>
12
12
  <%= link_to "Edit", edit_dataset_path(@dataset), class: ck_button_classes(:light, variant: :outline) %>
13
13
  </div>
14
14
  </section>
@@ -1,3 +1,3 @@
1
1
  module CompletionKit
2
- VERSION = "0.25.1"
2
+ VERSION = "0.25.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: completion-kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.1
4
+ version: 0.25.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damien Bastin