effective_datatables 1.1.5 → 1.1.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: 039eb94ab3a7903478a9f1bd0042c9904a323c05
4
- data.tar.gz: b409d5677a63a0bd6e42684288f11fc5fa5173c8
3
+ metadata.gz: 8cd15b564ccd9911c90cd62080d8797311ebe195
4
+ data.tar.gz: 019aac72f5a5f12e2965a479be7ceec15d144002
5
5
  SHA512:
6
- metadata.gz: 158e7ea9aae978a0e817e7a259a858e78fd355b9effdcd5f70d9049415abdd1763c7fb9a2dac58368052e54319c02a8effaa399649739c4a34083236ddf1d934
7
- data.tar.gz: 3c2d39b4d0b5eb7fd8a469f03b3aa287497b0720fef35bed3036076c8680eb40402a3dba11ec150c62a485869bf397e3ae16941048eddb2c47a2dfd55ead48a7
6
+ metadata.gz: d011aab9e624580907bfdb20b97cefdd2dc66505e52a514829402b839618880989e7c4b0e77cd652b71ae40e8f418bbe451c1d235907f88239cc239ab667f2dc
7
+ data.tar.gz: 027b7f55bce90c8859f29ccae88c78cc5954f431f8b91314956cd754bad8ca506cd2ea3150b469c9e8354543b1416863d1782f53bfce1a8b974177dad7fb7ec9
@@ -71,7 +71,7 @@ module EffectiveDatatablesHelper
71
71
  end
72
72
 
73
73
  def datatables_admin_path?
74
- (attributes[:admin_path] || request.referer.downcase.include?('/admin/')) rescue false
74
+ (attributes[:admin_path] || request.referer.downcase.start_with?('/admin')) rescue false
75
75
  end
76
76
 
77
77
  # TODO: Improve on this
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '1.1.5'.freeze
2
+ VERSION = '1.1.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: 1.1.5
4
+ version: 1.1.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: 2015-01-27 00:00:00.000000000 Z
11
+ date: 2015-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails