incline 0.3.10 → 0.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1d5d1abaffb8b442512be985a626e01eb13b2308
4
- data.tar.gz: 2095919c34d08a1382643789e09914b7646148d5
3
+ metadata.gz: fba88a4127d8f200917c249799bcd72e7a40743f
4
+ data.tar.gz: b1b76db88b49bf63c258ecdc87ac0b4a4ca6dae6
5
5
  SHA512:
6
- metadata.gz: 243589dbeb90f561f3ab66c33cc95d797cc633aab588cc893a35fcca251c0f9eee35f28a6be411a61eb6245c9b9244746a67ffbedb13418625319d6437bffc80
7
- data.tar.gz: b73158d1d7cca19585d9620e4f6abf66bb3e1fc72dbb9c87d2d301c194b1bb6a5f67b50bd12bdad2b488b9ffec115a6051d9c590b478ff20511984ec2be24095
6
+ metadata.gz: 512fb510a967bd0a3fb4ae6fd69082d5fa037ba2614d3d99a9605123adda0f161a3d93f47e14d37dc647e5be446f392241da43def40045faac0a2386a99fd990
7
+ data.tar.gz: 4d79c1d131ac34da17c07ccb88b92e0e879fde0387bcff03a37be577d7d4e6bfdce4b94cfb8f6c5664577df85909bfca17a93d8836577f5aaa3d7fde362ab90f
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- incline (0.3.10)
4
+ incline (0.3.11)
5
5
  ansi (~> 1.5.0)
6
6
  bcrypt
7
7
  bootstrap-sass
@@ -152,7 +152,7 @@ GEM
152
152
  sprockets (>= 2.8, < 4.0)
153
153
  sprockets-rails (>= 2.0, < 4.0)
154
154
  tilt (>= 1.1, < 3)
155
- shells (0.2.1)
155
+ shells (0.2.2)
156
156
  net-ssh (~> 4.1.0)
157
157
  rubyserial (~> 0.4.0)
158
158
  spawnling (2.1.6)
@@ -39,7 +39,7 @@
39
39
 
40
40
 
41
41
  var inclineInline = {
42
- action: function(path, method) {
42
+ action: function(path, method, post_data) {
43
43
  if (!(method)) method = 'get';
44
44
  if (path.indexOf('?') >= 0) {
45
45
  path += '&inline=1';
@@ -50,6 +50,7 @@ var inclineInline = {
50
50
  method: method.toUpperCase(),
51
51
  url: path,
52
52
  dataType: 'json',
53
+ data: post_data,
53
54
  success: function (data, status, xhr) {
54
55
  inclineInline._handle_json_result(data);
55
56
  },
@@ -463,7 +464,7 @@ function inlineAction(path, method) {
463
464
  var path = item.attr('href');
464
465
  var method = item.attr('data-method');
465
466
  if (!(method)) method = 'get';
466
-
467
+
467
468
  item.click(function (e) {
468
469
  e.preventDefault();
469
470
  inclineInline.action(path, method);
@@ -478,7 +479,7 @@ function inlineAction(path, method) {
478
479
  var path = item.attr('href');
479
480
  var method = item.attr('data-method');
480
481
  if (!(method)) method = 'get';
481
-
482
+
482
483
  item.click(function (e) {
483
484
  e.preventDefault();
484
485
  inclineInline.form(path, method);
@@ -1,3 +1,3 @@
1
1
  module Incline
2
- VERSION = "0.3.10"
2
+ VERSION = "0.3.11"
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.3.10
4
+ version: 0.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Beau Barker
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-28 00:00:00.000000000 Z
11
+ date: 2018-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails