slender_data 0.3.0 → 0.4.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7cfa32663017a9b7ca26724ad84858d159ae78f1
|
4
|
+
data.tar.gz: 7f96b6f3ce8b3a22b7691fe0ac241825e9b92dc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af231ee6588b729b8a870b9fde603ab2216b475017ee6ec27b050a0d5812174e558be056eb1076409a771aed13bc1e106e271939c0ded57f45cdf267061c29fb
|
7
|
+
data.tar.gz: e0ac653466ac1637ab7e5d195199fa4406172ecdb8500ccf3dab55dc9c5a14ff4402fda92161d5f2db7b380063f6dee1df63e244ed83b987027aa006d806c7d8
|
@@ -135,11 +135,12 @@ class slender_data.PersistenceManager
|
|
135
135
|
|
136
136
|
# Loads all objects from the server.
|
137
137
|
# Provides the given params as parameters to the GET request.
|
138
|
-
fetch_all: (
|
138
|
+
fetch_all: (data, success_callback, error_callback) ->
|
139
|
+
data.ids = data.ids.join(' ') if data.ids
|
139
140
|
jQuery.ajax
|
140
141
|
url: @collection_url()
|
141
142
|
cache: no
|
142
|
-
data:
|
143
|
+
data: data
|
143
144
|
success: (data) =>
|
144
145
|
@server_data.add_all data
|
145
146
|
success_callback(data) if success_callback
|
data/lib/slender_data/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slender_data
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Goslar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '>'
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.
|
19
|
+
version: 3.2.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '>'
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.
|
26
|
+
version: 3.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: coffee-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|