material_raingular 0.1.7 → 0.1.8
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3852816743efb86a39a918b8b793e58589e133d
|
4
|
+
data.tar.gz: 265bc965210baa8bd77a7af700ea04e1bf7c28d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43d261c6d722d36490b13efac5dd0a6833261048bbec596ac82a8bcde8685c3b7272f8770d45cfa43dc377f09af9735400d93b1b51f14d565b86bb3c6d569715
|
7
|
+
data.tar.gz: ef165ac1091e5fac0216fd291805cf68e1f1ab74ba38089381a0ed7165dd067cce16870f5882b0cf3cb72705373b74a362d5bab800760c8789cda22a28f46b7e
|
data/.gitignore
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
angular.factories
|
2
2
|
.factory 'AjaxErrorsInterceptor', ($q, $rootScope) ->
|
3
3
|
request: (config) ->
|
4
|
-
|
4
|
+
#$rootScope.xhr_errors = []
|
5
5
|
config
|
6
|
-
requestError: (rejection) -> rejection
|
6
|
+
requestError: (rejection) -> $q.reject(rejection)
|
7
7
|
response: (response) -> response
|
8
|
-
responseError: (rejection) ->
|
9
|
-
|
10
|
-
for error in rejection.data.errors
|
11
|
-
|
12
|
-
rejection
|
8
|
+
responseError: (rejection) -> $q.reject(rejection)
|
9
|
+
#$rootScope.xhr_errors = []
|
10
|
+
#for error in rejection.data.errors
|
11
|
+
# $rootScope.xhr_errors.push(error)
|
@@ -2,8 +2,8 @@
|
|
2
2
|
angular.factories
|
3
3
|
.factory 'DateConverterInterceptor', ($q, $rootScope) ->
|
4
4
|
request: (config) -> config
|
5
|
-
requestError: (rejection) -> rejection
|
5
|
+
requestError: (rejection) -> $q.reject(rejection)
|
6
6
|
response: (response) ->
|
7
7
|
new DateParser(response.data).evaluate()
|
8
8
|
response
|
9
|
-
responseError: (rejection) -> rejection
|
9
|
+
responseError: (rejection) -> $q.reject(rejection)
|
@@ -3,6 +3,6 @@ angular.factories
|
|
3
3
|
request: (config) ->
|
4
4
|
config.headers.angular = true
|
5
5
|
config
|
6
|
-
requestError: (rejection) -> rejection
|
6
|
+
requestError: (rejection) -> $q.reject(rejection)
|
7
7
|
response: (response) -> response
|
8
|
-
responseError: (rejection) -> rejection
|
8
|
+
responseError: (rejection) -> $q.reject(rejection)
|
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.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Moody
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|