card 1.93.10 → 1.93.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24da04d2280fb8e76a07ae6be4cab46f37507f48
|
4
|
+
data.tar.gz: 338e675444a36b74741beaf87fa704b2c60dad61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 057db396bec5424de6ad49ee8c99ada4d0d1132c7b9fc618009f43287dc3ca4550aa87e6d8e22fc20fbd7105a67d2c79c3af964f02125915e149d42bdbd1216d
|
7
|
+
data.tar.gz: abc51603e41b426f0e504ef0338e223b4d35be495a0ff0d97b01785d9d49068547c639b29ffc3f88e983996b5d7ff3747426734f1951001e789dfa75609640e3
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.11
|
@@ -1,9 +1,11 @@
|
|
1
1
|
$.extend decko,
|
2
|
-
# returns
|
3
|
-
#
|
4
|
-
path: (
|
5
|
-
|
6
|
-
|
2
|
+
# returns absolute path (starting with a slash)
|
3
|
+
# if rawPath is relative (no slash), this adds relative root
|
4
|
+
path: (rawPath) ->
|
5
|
+
if rawPath.match /^\//
|
6
|
+
rawPath
|
7
|
+
else
|
8
|
+
decko.rootPath + '/' + rawPath
|
7
9
|
|
8
10
|
initializeEditors: (range, map) ->
|
9
11
|
map = decko.editorInitFunctionMap unless map?
|
@@ -42,17 +42,17 @@ navboxize = (term, results) ->
|
|
42
42
|
i.icon = key
|
43
43
|
i.term = term
|
44
44
|
else if key == 'add'
|
45
|
-
i.href = '
|
45
|
+
i.href = 'card/new?card[name]=' + encodeURIComponent(val)
|
46
46
|
else if key == 'new'
|
47
47
|
i.type = 'add' # for icon
|
48
|
-
i.href = '
|
48
|
+
i.href = 'new/' + val[1]
|
49
49
|
|
50
50
|
items.push i
|
51
51
|
|
52
52
|
$.each results['goto'], (index, val) ->
|
53
53
|
items.push {
|
54
54
|
icon: 'arrow_forward', prefix: 'go to', value: val[0], label: val[1],
|
55
|
-
href:
|
55
|
+
href: val[2]
|
56
56
|
}
|
57
57
|
|
58
58
|
$.each items, (index, i) ->
|
@@ -15,11 +15,11 @@ $.extend decko,
|
|
15
15
|
}
|
16
16
|
$_fileupload = $(fileupload)
|
17
17
|
if $_fileupload.closest("form").attr("action").indexOf("update") > -1
|
18
|
-
url = "
|
18
|
+
url = "card/update/"+$(fileupload).siblings("#file_card_name").val()
|
19
19
|
else
|
20
|
-
url = "
|
20
|
+
url = "card/create"
|
21
21
|
$(fileupload).fileupload(
|
22
|
-
url: url,
|
22
|
+
url: decko.path(url),
|
23
23
|
dataType: 'html',
|
24
24
|
done: decko.doneFile,
|
25
25
|
add: decko.chooseFile,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.93.
|
4
|
+
version: 1.93.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan McCutchen
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2018-02-
|
14
|
+
date: 2018-02-21 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: cardname
|
@@ -19,14 +19,14 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - '='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.3.
|
22
|
+
version: 0.3.11
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.3.
|
29
|
+
version: 0.3.11
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: haml
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|