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 +4 -4
- data/Gemfile.lock +2 -2
- data/app/assets/javascripts/incline/inline_actions.js +4 -3
- data/lib/incline/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fba88a4127d8f200917c249799bcd72e7a40743f
|
|
4
|
+
data.tar.gz: b1b76db88b49bf63c258ecdc87ac0b4a4ca6dae6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 512fb510a967bd0a3fb4ae6fd69082d5fa037ba2614d3d99a9605123adda0f161a3d93f47e14d37dc647e5be446f392241da43def40045faac0a2386a99fd990
|
|
7
|
+
data.tar.gz: 4d79c1d131ac34da17c07ccb88b92e0e879fde0387bcff03a37be577d7d4e6bfdce4b94cfb8f6c5664577df85909bfca17a93d8836577f5aaa3d7fde362ab90f
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
incline (0.3.
|
|
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.
|
|
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);
|
data/lib/incline/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2018-03-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|