quick_script 0.5.0 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module QuickScript
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.2"
3
3
  end
@@ -732,9 +732,11 @@ class @ModelAdapter
732
732
  for prop,val of opts
733
733
  @[prop] = val
734
734
  load : (opts)->
735
+ opts.data["_cv"] = Date.now() if opts.data?
735
736
  $.getJSON @load_url, opts.data, (resp)->
736
737
  opts.success(resp)
737
738
  index : (opts)->
739
+ opts.data["_cv"] = Date.now() if opts.data?
738
740
  $.getJSON (@index_url || @load_url), opts.data, (resp)->
739
741
  opts.success(resp)
740
742
  save_old : (opts)->
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quick_script
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 0
10
- version: 0.5.0
9
+ - 2
10
+ version: 0.5.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alan Graham
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-06-03 00:00:00 Z
18
+ date: 2012-06-05 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: Framework for single-page web applications