material_raingular 0.6.14 → 0.6.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/assets/javascripts/active_record/resource.coffee +3 -3
- data/lib/material_raingular/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3c389abb7137ed905f8dee7e62baadece4822df
|
4
|
+
data.tar.gz: 691537a80d18a18eeacbf11508bd1eaee6d898b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ac767a0096a29883eaef2d7e55084f55966e285c82f309520820f6331ffe2615a4b269fd8452d512cb38b36d2b7cb33b67283905ab7d240be530b1471dfbf2b
|
7
|
+
data.tar.gz: 1d3c90b2facf47f243a9c204530fa23c53825c1262b2faa65c125a8e6e5b264c1d2101aa891a3d359104ae0bd9944d6516fe306acce1e2f7b51636a1d1a30ed3
|
data/Gemfile.lock
CHANGED
@@ -33,7 +33,6 @@ class ActiveRecord.$Resource extends Module
|
|
33
33
|
@['$' + key + '_was'] = angular.copy(val) unless key[0] in ['$','_']
|
34
34
|
catch
|
35
35
|
@['$' + key + '_was'] = val unless key[0] in ['$','_']
|
36
|
-
# @$updatingKeys = []
|
37
36
|
return @
|
38
37
|
|
39
38
|
_defaultWrap: -> @_options.klass.underscore()
|
@@ -62,8 +61,9 @@ class ActiveRecord.$Resource extends Module
|
|
62
61
|
return @$promise
|
63
62
|
_reload: ->
|
64
63
|
return unless @id
|
65
|
-
|
66
|
-
|
64
|
+
for key,val of @
|
65
|
+
continue unless (match = key.match(/^\$(.*)\_was$/))
|
66
|
+
@[key] = @[match[1]]
|
67
67
|
return @$http.get(@$updateUrl()).then(@$deferProcessResponse.bind(@))
|
68
68
|
|
69
69
|
_save: ->
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: material_raingular
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Moody
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|