effective_orders 4.0.1 → 4.0.2

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: 29f2e6041f3435243a0f2f92ea03311c9084a776
4
- data.tar.gz: 04e019aff8d4400c2a1bf1f501e644787850ede4
3
+ metadata.gz: 1b5a91a9aee45dd22835d990a8a86debf6f6bb93
4
+ data.tar.gz: 9f246825aef174e7796f65a3d7f8a7d156cd8bbb
5
5
  SHA512:
6
- metadata.gz: e8cd9e18fc7c86c3770ce3732d5a29c48d66a971e05593d8ed43f11c82befc87379182bc95163c1e3c24cc29c237ce24df19940d23e09292b4202dcf2388a99e
7
- data.tar.gz: 33a8d04441d4fd38acd7036325f55b0fab999c925a3cb4580c3483fd6b7a775e7b9836a35911010917e6097a65c1b0315c4b23d566201d1db599897af95394a4
6
+ metadata.gz: 290d57dfbef5bd79dcedc48d55a64d16583e9dafdc912e09656baa9c7a4fda2e49bef8fc11e8526fe9532f22b6dde363516f01e70e6aefa0f446dc2c13844dbb
7
+ data.tar.gz: 4f4fa278897534b968aa8abcec312f67f4fbfc74b06b2c75cc9c536e0eeff59158e1fb792d72a575895ac14e84c75951b0945d1a1906f1947895d422101b2af7
@@ -2,7 +2,8 @@ class EffectiveCustomersDatatable < Effective::Datatable
2
2
  datatable do
3
3
 
4
4
  col :id, visible: false
5
- #col 'user.email'
5
+ col :user
6
+ col 'user.email'
6
7
 
7
8
  if EffectiveOrders.stripe?
8
9
  col :stripe_customer_id
@@ -18,9 +19,4 @@ class EffectiveCustomersDatatable < Effective::Datatable
18
19
  collection do
19
20
  Effective::Customer.joins(:user).all
20
21
  end
21
-
22
- # def search_column(collection, table_column, search_term)
23
- # return collection.where('subscriptions.stripe_plan_id ILIKE ?', "%#{search_term}%") if table_column[:name] == 'subscription_types'
24
- # super
25
- # end
26
22
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '4.0.1'.freeze
2
+ VERSION = '4.0.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_orders
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.2
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-07-24 00:00:00.000000000 Z
11
+ date: 2018-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails