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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b5a91a9aee45dd22835d990a8a86debf6f6bb93
|
4
|
+
data.tar.gz: 9f246825aef174e7796f65a3d7f8a7d156cd8bbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
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.
|
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-
|
11
|
+
date: 2018-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|