material_raingular 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 928afae9ce37098e3c2e9973c8f5bee236f7e191
4
- data.tar.gz: 9f304b3dad37648b209669d3e03dd274bbb6464a
3
+ metadata.gz: a3852816743efb86a39a918b8b793e58589e133d
4
+ data.tar.gz: 265bc965210baa8bd77a7af700ea04e1bf7c28d3
5
5
  SHA512:
6
- metadata.gz: ff410be20c8eacc328e1f0df1b7739b856d57f0897b6d065ef5d246ddf141f2c01339c8896a3a3713a01446c2007a967a76a29727bd058aa4c60a92a0a2c4b0b
7
- data.tar.gz: e9fa03c1c0d1ab827892874a9942e7f0dbcc083ef69e6c5b618e73130f32d41243492062aceee6a82f2484e7fab40bf1ecee352ba32165b904484ae0b20fae78
6
+ metadata.gz: 43d261c6d722d36490b13efac5dd0a6833261048bbec596ac82a8bcde8685c3b7272f8770d45cfa43dc377f09af9735400d93b1b51f14d565b86bb3c6d569715
7
+ data.tar.gz: ef165ac1091e5fac0216fd291805cf68e1f1ab74ba38089381a0ed7165dd067cce16870f5882b0cf3cb72705373b74a362d5bab800760c8789cda22a28f46b7e
data/.gitignore CHANGED
@@ -13,3 +13,5 @@
13
13
  *.a
14
14
  .DS_Store
15
15
  mkmf.log
16
+ # Ignore Sublime Text's profile files
17
+ *.sublime*
@@ -1,12 +1,11 @@
1
1
  angular.factories
2
2
  .factory 'AjaxErrorsInterceptor', ($q, $rootScope) ->
3
3
  request: (config) ->
4
- $rootScope.xhr_errors = []
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
- $rootScope.xhr_errors = []
10
- for error in rejection.data.errors
11
- $rootScope.xhr_errors.push(error)
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)
@@ -1,3 +1,3 @@
1
1
  module MaterialRaingular
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
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.1.7
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-08-24 00:00:00.000000000 Z
11
+ date: 2016-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler