material_raingular 0.6.12 → 0.6.13

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: 1718ff318be32f1aeac9356b242003a4ba3b8e88
4
- data.tar.gz: 4996ae435a80f2bff67e3f0beaeb8eee02d48787
3
+ metadata.gz: 9f52287aad8d945c9a02910f9bef7df96fde4308
4
+ data.tar.gz: 15dfe0564b97fe30d5b621e951d6bdc8d7acd98f
5
5
  SHA512:
6
- metadata.gz: cf517f5e43cdb1bfad596bb2b4e10702d4ef4a54f3d133715f7ee8311c93e7364f33fed2254fd61d4e309589ec2f2ee4f22cd272cbd67e71366966228c896a25
7
- data.tar.gz: 19e13b1f32c69771dcfd7df40f39b6e4bdaac37afc1fe183f270c3643a29ee65b85e260db6fe676f938ce8a06896b73225e3d1899e084d195678dd1d6e6cf6be
6
+ metadata.gz: c5ad0ad45800ffa7fb9e8e7046ba5abcf2f998fafd630ce9f6912cf8364ca8c34561eec66ba56205206958b044112bc1724be73ce4b9f29ce3da6005e8066fb6
7
+ data.tar.gz: 738034bd848019480b268d36a544e757b38d4a18b9c51ec59548edd2f70a42404f9e4ff8ee9a1c9fecc33292ae0b3957a2d72664dead8689ad493775ae95f592
@@ -29,7 +29,10 @@ class ActiveRecord.$Resource extends Module
29
29
  continue if key[0] in ['$','_']
30
30
  @[key] = val if angular.equals(@[key],@['$' + key + '_was'])# || key in @$updatingKeys
31
31
  continue if ActiveRecord.$Collection.isCollection(val)
32
- @['$' + key + '_was'] = angular.copy(val) unless key[0] in ['$','_']
32
+ try
33
+ @['$' + key + '_was'] = angular.copy(val) unless key[0] in ['$','_']
34
+ catch
35
+ @['$' + key + '_was'] = val unless key[0] in ['$','_']
33
36
  # @$updatingKeys = []
34
37
  return @
35
38
 
@@ -1,3 +1,3 @@
1
1
  module MaterialRaingular
2
- VERSION = "0.6.12"
2
+ VERSION = "0.6.13"
3
3
  end
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.12
4
+ version: 0.6.13
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-09-20 00:00:00.000000000 Z
11
+ date: 2017-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  version: '0'
186
186
  requirements: []
187
187
  rubyforge_project:
188
- rubygems_version: 2.6.11
188
+ rubygems_version: 2.4.8
189
189
  signing_key:
190
190
  specification_version: 4
191
191
  summary: Angular v1.4 for rails. Angular Material v0.9.8.