material_raingular 0.6.0.2 → 0.6.1

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: f0025dca46ba48454a8b2fcaf78a4f30ab332bc4
4
- data.tar.gz: a4383dedfe09796c31b02b01e82d204647ee7a02
3
+ metadata.gz: 13f208f40988e8d43234254f66b8bd0a83435a51
4
+ data.tar.gz: f57b483cc9f461a915c125abb17d11edc17e549e
5
5
  SHA512:
6
- metadata.gz: 17c4d61a3384856c6807af0af2b3f2954c3a3c980f6b6738d0d14163640911a48a3d1d0eed2d31921413bdf8b33248ef8492b1fb44aec3e34d42a0a70b986356
7
- data.tar.gz: e803c5a8718bc4532c803860c0c5d938abfaa69cd00490f2c3243e2aec5a08220f2e473463f37d78267410164306fd38ebf52f8966b1572ceb3a0cdc94cebbbb
6
+ metadata.gz: 3aaea03dd2287bc7269d4a2e46552250e82f732fa935af2450feb9bd5b75413d71e8eab5dee33cbe15f8ae4d888aaae062bd949d0dd0653d36bfe79dff01552c
7
+ data.tar.gz: 24e19b618d75ed71e1d02259a9e44459d22457cfbeef98d3711681e62da790a879c2f3e334daf9e15f9a1390f7f9080af1421b2063a5fcbd741ae97ae1eed126
@@ -7,6 +7,7 @@ class $paramSerializer extends AngularServiceModel
7
7
  for key,val of @strip(obj)
8
8
  continue if val == obj['$' + key + '_was']
9
9
  continue if val?.toString() == obj['$' + key + '_was']?.toString()
10
+ continue if [undefined,null].includes(val) && [undefined,null].includes(obj["$#{key}_was"])
10
11
  res[key] = val
11
12
  res
12
13
  strip: (obj) ->
@@ -65,5 +65,5 @@ class ActiveRecord.$Resource extends Module
65
65
  $destroy: (callback,error)->
66
66
  @$promise?.$$state.status = 0
67
67
  @$promise = @_destroy().then(callback,error)
68
- _destroy: =>
68
+ _destroy: ->
69
69
  return @$http.delete(@$destroyUrl()).then(@$processResponse.bind(@))
@@ -2,7 +2,6 @@ class DirectiveModels.MrUpdateModel extends AngularLinkModel
2
2
  @inject(
3
3
  '$parse'
4
4
  '$timeout'
5
- 'RailsUpdater'
6
5
  )
7
6
  initialize: ->
8
7
  [@ngModelCtrl,@mrCallbackCtrl] = @$controller
@@ -1,3 +1,3 @@
1
1
  module MaterialRaingular
2
- VERSION = "0.6.0.2"
2
+ VERSION = "0.6.1"
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.0.2
4
+ version: 0.6.1
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-03-09 00:00:00.000000000 Z
11
+ date: 2017-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler