material_raingular 0.6.9 → 0.6.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +23 -23
- data/lib/assets/javascripts/active_record/resource.coffee +4 -4
- data/lib/material_raingular/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: faa22bc91bab3129ed13ae71310ea5740630d96d
|
4
|
+
data.tar.gz: e16ff6046e432bfec11c8c83f272bb15c618b578
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 560c997364ce335d5d21b7b414c25001e21c0aebbaa2941f71eb63d6a4e762861c73ea02e131c4f1a67d05d9f3ecc997119a4001105bf05e201a9b15e431a7c4
|
7
|
+
data.tar.gz: 178aea0d96697a4a514ea76d668d40c3ae5b991a77ff82f461c0b244508203fe5fe575489f4390f6ec35778a6adc985b274674de8f3c5f6d23f0c2eebc924ad7
|
data/Gemfile.lock
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
material_raingular (0.6.
|
4
|
+
material_raingular (0.6.10)
|
5
5
|
js-routes
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionpack (5.1.
|
11
|
-
actionview (= 5.1.
|
12
|
-
activesupport (= 5.1.
|
10
|
+
actionpack (5.1.4)
|
11
|
+
actionview (= 5.1.4)
|
12
|
+
activesupport (= 5.1.4)
|
13
13
|
rack (~> 2.0)
|
14
|
-
rack-test (
|
14
|
+
rack-test (>= 0.6.3)
|
15
15
|
rails-dom-testing (~> 2.0)
|
16
16
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
17
|
-
actionview (5.1.
|
18
|
-
activesupport (= 5.1.
|
17
|
+
actionview (5.1.4)
|
18
|
+
activesupport (= 5.1.4)
|
19
19
|
builder (~> 3.1)
|
20
20
|
erubi (~> 1.4)
|
21
21
|
rails-dom-testing (~> 2.0)
|
22
22
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
23
|
-
activesupport (5.1.
|
23
|
+
activesupport (5.1.4)
|
24
24
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
25
25
|
i18n (~> 0.7)
|
26
26
|
minitest (~> 5.1)
|
27
27
|
tzinfo (~> 1.1)
|
28
28
|
builder (3.2.3)
|
29
29
|
concurrent-ruby (1.0.5)
|
30
|
-
erubi (1.6.
|
31
|
-
i18n (0.8.
|
32
|
-
js-routes (1.
|
30
|
+
erubi (1.6.1)
|
31
|
+
i18n (0.8.6)
|
32
|
+
js-routes (1.4.1)
|
33
33
|
railties (>= 3.2)
|
34
34
|
sprockets-rails
|
35
35
|
loofah (2.0.3)
|
36
36
|
nokogiri (>= 1.5.9)
|
37
37
|
method_source (0.8.2)
|
38
|
-
mini_portile2 (2.
|
39
|
-
minitest (5.10.
|
40
|
-
nokogiri (1.
|
41
|
-
mini_portile2 (~> 2.
|
38
|
+
mini_portile2 (2.2.0)
|
39
|
+
minitest (5.10.3)
|
40
|
+
nokogiri (1.8.0)
|
41
|
+
mini_portile2 (~> 2.2.0)
|
42
42
|
rack (2.0.3)
|
43
|
-
rack-test (0.
|
44
|
-
rack (>= 1.0)
|
43
|
+
rack-test (0.7.0)
|
44
|
+
rack (>= 1.0, < 3)
|
45
45
|
rails-dom-testing (2.0.3)
|
46
46
|
activesupport (>= 4.2.0)
|
47
47
|
nokogiri (>= 1.6)
|
48
48
|
rails-html-sanitizer (1.0.3)
|
49
49
|
loofah (~> 2.0)
|
50
|
-
railties (5.1.
|
51
|
-
actionpack (= 5.1.
|
52
|
-
activesupport (= 5.1.
|
50
|
+
railties (5.1.4)
|
51
|
+
actionpack (= 5.1.4)
|
52
|
+
activesupport (= 5.1.4)
|
53
53
|
method_source
|
54
54
|
rake (>= 0.8.7)
|
55
55
|
thor (>= 0.18.1, < 2.0)
|
@@ -57,11 +57,11 @@ GEM
|
|
57
57
|
sprockets (3.7.1)
|
58
58
|
concurrent-ruby (~> 1.0)
|
59
59
|
rack (> 1, < 3)
|
60
|
-
sprockets-rails (3.2.
|
60
|
+
sprockets-rails (3.2.1)
|
61
61
|
actionpack (>= 4.0)
|
62
62
|
activesupport (>= 4.0)
|
63
63
|
sprockets (>= 3.0.0)
|
64
|
-
thor (0.
|
64
|
+
thor (0.20.0)
|
65
65
|
thread_safe (0.3.6)
|
66
66
|
tzinfo (1.2.3)
|
67
67
|
thread_safe (~> 0.1)
|
@@ -75,4 +75,4 @@ DEPENDENCIES
|
|
75
75
|
rake (~> 10.0)
|
76
76
|
|
77
77
|
BUNDLED WITH
|
78
|
-
1.15.
|
78
|
+
1.15.4
|
@@ -6,7 +6,7 @@ class ActiveRecord.$Resource extends Module
|
|
6
6
|
@$resolved = false
|
7
7
|
@$inject('$paramSerializer','$http','$q','$timeout','$rootScope')
|
8
8
|
@$promise?.then(@$processResponse.bind(@)).then(callback,error)
|
9
|
-
$updatingKeys: []
|
9
|
+
# $updatingKeys: []
|
10
10
|
$activeRecord: true
|
11
11
|
@initialize: (resource,options) ->
|
12
12
|
record = new @(null,null,null,options)
|
@@ -26,9 +26,9 @@ class ActiveRecord.$Resource extends Module
|
|
26
26
|
$processResponse: (response,apply) ->
|
27
27
|
@$resolved = true
|
28
28
|
for key,val of response.data
|
29
|
-
@[key] = val if angular.equals(@[key],@['$' + key + '_was']) || key in @$updatingKeys
|
29
|
+
@[key] = val if angular.equals(@[key],@['$' + key + '_was'])# || key in @$updatingKeys
|
30
30
|
@['$' + key + '_was'] = angular.copy(val) unless key[0] in ['$','_']
|
31
|
-
@$updatingKeys = []
|
31
|
+
# @$updatingKeys = []
|
32
32
|
return @
|
33
33
|
|
34
34
|
_defaultWrap: -> @_options.klass.underscore()
|
@@ -70,7 +70,7 @@ class ActiveRecord.$Resource extends Module
|
|
70
70
|
return defer.promise
|
71
71
|
else
|
72
72
|
res = @$paramSerializer.create(@)
|
73
|
-
@$updatingKeys = Object.keys(res)
|
73
|
+
# @$updatingKeys = Object.keys(res)
|
74
74
|
method = if @.id then 'put' else 'post'
|
75
75
|
params = {}
|
76
76
|
params[@_options.paramWrapper || @_defaultWrap()] = if @.id then @$paramSerializer.update(@) else @$paramSerializer.create(@)
|
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.10
|
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-
|
11
|
+
date: 2017-09-18 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.
|
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.
|