effective_datatables 4.0.5 → 4.0.6

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
  SHA1:
3
- metadata.gz: 04e0a6631353c2886a27998e81421932eab67e61
4
- data.tar.gz: e8ebacdf2f46047dc0b1c83577c6fda40e8c28c0
3
+ metadata.gz: e1c0242dbad62480da69762b2a04510d3cb981c3
4
+ data.tar.gz: a2df8c30649013e402b8f4732865d762d1efafc8
5
5
  SHA512:
6
- metadata.gz: d3b227fc1bc1fac6642c927ff68b0af939d35ffcc3ba307bf18793de924f34b0be5337cccec271efac3bcde5280880dc577fa7887e880156bf4247cb3edad60c
7
- data.tar.gz: ea3164ff927280bc31f52b6d5d65c0a9b019f484aba9602d5249728e4dbb5397bcb2334857b6dc227d591e9fb257cb9342e61039fa4d5b4ce23baf407371af22
6
+ metadata.gz: 905f3715cb5952943b5037138a1ee879d6e50e298dc11b6b29f4087d37f9a559797b787869fca2201109ccebe1d001a9bc0071729d0f4981a2c70ee468d5f335
7
+ data.tar.gz: 8dc776904f5ace7f5ec0b0fbc74b8576336803f36cb95c5f76cd7ece4d649902d1fd10bdcd468f0a28376c608246d0e138695bbd5c53410d6d3300f28d1f93ec
@@ -59,7 +59,7 @@ module Effective
59
59
 
60
60
  case column[:as]
61
61
  when :actions
62
- view.render_resource_actions(value, **column[:actions].merge(effective_resource: resource))
62
+ view.render_resource_actions(resource, value, **column[:actions])
63
63
  when :boolean
64
64
  case value
65
65
  when true ; 'Yes'
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '4.0.5'.freeze
2
+ VERSION = '4.0.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_datatables
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.5
4
+ version: 4.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-25 00:00:00.000000000 Z
11
+ date: 2018-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails