slender_data 0.4.1 → 0.5.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: ad1f6ff2a238e3b68f7204ab22075983ec2bb710
4
- data.tar.gz: d51c1b59474a55476518221e59aaf0532be40d72
3
+ metadata.gz: ee33cc4f9d5919b3ff1047221a190414a19069d2
4
+ data.tar.gz: a1a39aea719c62de60004c370a4ba7864cdf7e9f
5
5
  SHA512:
6
- metadata.gz: da7503aaf3a208e102a3993acfd4cc98043d24a3eb3faa56dfe6ee2a7c0d2636e75018b27b4bb91e354b71036ea9372bccf75446340cb3113314eec895711ff5
7
- data.tar.gz: 9748a79bf0da516420de67e49d1410424a1b0774b5cd3ece06d553ef34bfa9dcd91bff74166f8d94cec11648db984b90ef40e7bad9f2a022bc4d495d120291f1
6
+ metadata.gz: 540378e81d3795a257a90f8fc22ca6adc6225f6e9cf3daa8613ce818572ccdfa0d7fb38196d0db346dbafadcc1bcb0abd672bfa35afcf3272b0899d53edaf9c4
7
+ data.tar.gz: 9a07f6eca0c9672edfdb7a81ce66b22afcc602233ac80c9550e212ff98129578ba2577ddf36a7da51e5052e6922970467f112137398bd011f775f5df2d89786c
@@ -135,7 +135,7 @@ 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: (data, success_callback, error_callback) ->
138
+ fetch_many: (data, success_callback, error_callback) ->
139
139
  data.ids = data.ids.join(' ') if data.ids
140
140
  jQuery.ajax
141
141
  url: @collection_url()
@@ -198,7 +198,7 @@ class slender_data.PersistenceManager
198
198
  success_callback(cached_entries)
199
199
  else
200
200
  # Entries missing --> load them from the server.
201
- @fetch_all missing_ids, (server_snippets) ->
201
+ @fetch_many missing_ids, (server_snippets) ->
202
202
  success_callback $.merge(cached_entries, server_snippets)
203
203
 
204
204
 
@@ -1,3 +1,3 @@
1
1
  module SlenderData
2
- VERSION = "0.4.1"
2
+ VERSION = "0.5.0"
3
3
  end
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.1
4
+ version: 0.5.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-19 00:00:00.000000000 Z
11
+ date: 2013-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails