active_scaffold_kanban 0.1.0 → 0.1.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: e25b955b58cdedd3c53158c2c0750756e9939033ca0622e14b5e5a74f065ade3
4
- data.tar.gz: 6e2809f0242b81621ced3742b04c16d0a288568f6dca7c3f5df88f2448983519
3
+ metadata.gz: c30f3ba06e1b5dec52e8e67082593ebcab28568de1b0fe3b2ef131f9ce168b43
4
+ data.tar.gz: 9f2f3dc3ff0cc16e22d3884a05da241d329a7913ae8fc9083d983d2b3d1399c9
5
5
  SHA512:
6
- metadata.gz: 61313ca7f2eeaf6317b87f22cb9a526caa48a9406a7c9789503742f7c059a9813d05ffe9ee88496c26cbdb07ad830fef423e177dfc3898a82a3d4937e12337d9
7
- data.tar.gz: ed1fde6d9d9f84c8a5473fb122067a568a6b1e8831f846c939c15b41e132d5f30694f14c4c14461ce52bd5f5fe4a8741502a97db42f9e06b51b32da222746357
6
+ metadata.gz: eb107961547eadf2c706cc8bf230357b131fb72f65239a73c6d66fc723b85cfb7a0169537d8279e62fbbf9941959663e17f83ca9a6a044d83b0c0b4a4e35d604
7
+ data.tar.gz: 1e4e23545e5b9cd9cfc53dd20d80b1864216a3aded346813555b2d9c9b97102226d94d90cf3a54580236ebf989b5a607c4004103ffe7b409371d74e7ede41e78
@@ -1,8 +1,8 @@
1
1
  <% if @kanban_view %>
2
- <%= selector = ".kanban-column[data-value=\"#{@record.send(@kanban_column.name)}\"] .cards" %>
2
+ <% selector = ".kanban-column[data-value=\"#{@record.send(@kanban_column.name)}\"] .cards" %>
3
3
  // ActiveScaffold.create_record_row('<%= active_scaffold_id %>', html, <%= {insert_at: insert_at, body_selector: selector}.to_json.html_safe %>);
4
- jQuery('<%= selector %>').prepend('<%= escape_javascript render('kanban_card', record: @record) %>');
5
- jQuery('<%= selector %>').sortable('refresh');
4
+ jQuery(<%=raw selector.to_json %>).prepend('<%= escape_javascript render('kanban_card', record: @record) %>');
5
+ jQuery(<%=raw selector.to_json %>).sortable('refresh');
6
6
  <% else %>
7
7
  <%= render :super %>
8
8
  <% end %>
@@ -2,7 +2,7 @@ module ActiveScaffoldKanban
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_scaffold_kanban
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Cambra