SrBuj 0.8.1 → 0.8.3
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 +8 -8
- data/lib/SrBuj/version.rb +1 -1
- data/lib/assets/javascripts/SrBuj.js +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MTYzOGI0MDI1OTViMWY4MDU1NDg4NDNhZTc0NzRkNTQ5YzllNTJhOA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YzllZjM2NTlkNGE2Y2I2OWZlOWU1NDVmOTJmOGY3NzVlZDlkNjYxNw==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MjQxOGQ2ZTNlYWY4OTNmMWFhZmE3ZTVmZTU0MmFiNDIyNzI1NmIxMTdmNTNk
|
|
10
|
+
MjYyMWQyMjc1ZjcxNzM5MTYwMTc0MGE0ZTA2NTNiZmQzODg4ZmMxYzFmYTkx
|
|
11
|
+
ZDA1Nzk1NjYwNTBhYWQ3NmQ5NTA3NmVmNWJiOTc1NjEzMDY5ODM=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NTg2NmQ5NjE0MDliNDBkMmQ0NGZhZDgwOGNlZjZlMzM5NDUwYTg1ZjZhZmNj
|
|
14
|
+
MzZhZjExZmYyMmFmY2E4OTQxYTkxNWQ1NzQ4YjkwMDc3Mjk4N2E4YjRiMGUy
|
|
15
|
+
ZWU5OGY4ZjFiMzJjZWI3ZTYyNWJhYmMxMGIyMTIzOTU3ZTM5YmM=
|
data/lib/SrBuj/version.rb
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
};
|
|
20
20
|
var SrBuj;
|
|
21
21
|
$.SrBuj = SrBuj = {
|
|
22
|
-
version: '0.8.
|
|
22
|
+
version: '0.8.3',
|
|
23
23
|
selector: '[data-remote][data-target]',
|
|
24
24
|
defaults: {
|
|
25
25
|
'$el': undefined,
|
|
@@ -103,13 +103,13 @@
|
|
|
103
103
|
'onError': $el.data('error'),
|
|
104
104
|
'callback': $el.data('callback'),
|
|
105
105
|
'change': !($el.data('nochange') || false),
|
|
106
|
-
'jqueryselector': $el.
|
|
107
|
-
'modal': $el.
|
|
106
|
+
'jqueryselector': $el.is('[data-jqueryselector]'),
|
|
107
|
+
'modal': $el.is('[data-modal]'),
|
|
108
108
|
'wrapper': $el.data('error'),
|
|
109
|
-
'custom': $el.
|
|
109
|
+
'custom': $el.is('[data-custom]'),
|
|
110
110
|
'replace': $el.data('replace'),
|
|
111
111
|
'url': $.SrBuj.getUrl($el),
|
|
112
|
-
'push': $el.
|
|
112
|
+
'push': $el.is('[data-push]'),
|
|
113
113
|
'remove': $el.is('[data-srbuj]')
|
|
114
114
|
};
|
|
115
115
|
user_options = user_options || {};
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
},
|
|
174
174
|
Util: {
|
|
175
175
|
link: function (user_options){
|
|
176
|
-
/*This function will create a link with options, trigger it and remove the link afterwards
|
|
176
|
+
/* This function will create a link with options, trigger it and remove the link afterwards
|
|
177
177
|
* user_options must be a hash (Obj) with key: value without the data word
|
|
178
178
|
* if the hash contain more keys, these will be integrated too as data-key form. Example:
|
|
179
179
|
* { target: 'modal', error: 'modal', modal: true, href: '/admin/request'}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: SrBuj
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- gagoar
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-05-
|
|
11
|
+
date: 2013-05-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|