incline 0.2.20 → 0.2.21

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: f8de1c05a56d8fa74b9dc2e62f97e6d29e469e8b
4
- data.tar.gz: be927fbe2f1b71f7c856bd469ee2cf2f178f82df
3
+ metadata.gz: 53d73c77b134ead5f325b1df5a39dae0cf712617
4
+ data.tar.gz: 5de1a6150ce541052263e88a719148701a709c12
5
5
  SHA512:
6
- metadata.gz: 0d37abcda2c3b81dffd271e44dc7c0569bde5b3806986ed88d64734b8f9d9f7958fdf1771c4456913f1b711c8f2a1481772971b00d29f014aa54e8296f024736
7
- data.tar.gz: 984cf5809f336af74ca23a3558433a223f947db3018f8eed2610ca522953c419769e50776bdd8efa8cebbed5c306d685ddf99f0dbda570495ea8e67d69f6b910
6
+ metadata.gz: 8cbf94c22ec5fcca8a59e0d01891d8399a04ecd21a3a90de1145f9e21a9eb8f1e5ce44bf59f6e795a6a88e44e92b5ba911dd78e7893e2377e9d6be900d0530d5
7
+ data.tar.gz: 3fe781aa459fdc03d1830b0ae4cee36e2ef4c6bd9b8acef262fd83363517f47aec8433f694b35cf4823f0ff9b9f6edf433a2b55e52d9bb05fe97541326946133
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- incline (0.2.20)
4
+ incline (0.2.21)
5
5
  ansi (~> 1.5.0)
6
6
  bcrypt
7
7
  bootstrap-sass
@@ -374,6 +374,8 @@ var inclineInline = {
374
374
  var params;
375
375
  var i;
376
376
  var row_id = '#' + data.DT_RowId;
377
+ var query_start = data.DT_Path.indexOf('?');
378
+ var base_path = (query_start === false) ? data.DT_Path : data.DT_Path.substr(0, query_start);
377
379
 
378
380
  if (table.length < 1) return;
379
381
 
@@ -386,7 +388,7 @@ var inclineInline = {
386
388
  params.locate_id = data.DT_RowId.substring(i + 1);
387
389
 
388
390
  $.ajax({
389
- url: data.DT_Path + '/locate',
391
+ url: base_path + '/locate',
390
392
  method: 'POST',
391
393
  dataType: 'json',
392
394
  data: params,
@@ -1,3 +1,3 @@
1
1
  module Incline
2
- VERSION = "0.2.20"
2
+ VERSION = "0.2.21"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: incline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.20
4
+ version: 0.2.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Beau Barker
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-13 00:00:00.000000000 Z
11
+ date: 2017-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -606,7 +606,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
606
606
  version: '0'
607
607
  requirements: []
608
608
  rubyforge_project:
609
- rubygems_version: 2.5.2
609
+ rubygems_version: 2.6.11
610
610
  signing_key:
611
611
  specification_version: 4
612
612
  summary: A gem designed to get off to an even quicker start with Rails.