change_health 0.14.0 → 0.15.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23b7246464a9cee50b55cda5e50f5f39360f12ab3185bead7d17d1138b7be6d6
|
4
|
+
data.tar.gz: 4642b90b2cea31a84180093211abba8017fb690a53077e8b563f52fc153eeb00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cdcd134c67d6e935da27de8db74a3371368477d2548cd9252ca5d6b1ee62d6469a6db473f0454cf457564513d6bb2570a4af1bc438d1ea0995a81b019d6ff5f
|
7
|
+
data.tar.gz: 9bdbc8f2cc8373896c07c614ea954f43a7684ddfa9e95d13842055158b86c16bee6871111e212b400c5a9f8f65739f35c1a8d988cbc9c2dc960441fb5c6a3713
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## [0.15.0] - [2020-06-12]
|
8
|
+
### Added
|
9
|
+
- Extensions - InNetworkMissing for plans that don't provide in network indicators.
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
- Bug where active codes with no service codes cause exception.
|
13
|
+
|
7
14
|
## [0.14.0] - [2020-05-07]
|
8
15
|
### Added
|
9
16
|
- Extensions - mixins for common overrides
|
@@ -104,6 +111,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
104
111
|
- Authentication
|
105
112
|
- Configuration
|
106
113
|
|
114
|
+
[0.15.0]: https://github.com/WeInfuse/change_health/compare/v0.14.0...v0.15.0
|
107
115
|
[0.14.0]: https://github.com/WeInfuse/change_health/compare/v0.13.0...v0.14.0
|
108
116
|
[0.13.0]: https://github.com/WeInfuse/change_health/compare/v0.12.0...v0.13.0
|
109
117
|
[0.12.0]: https://github.com/WeInfuse/change_health/compare/v0.11.0...v0.12.0
|
@@ -6,6 +6,12 @@ module ChangeHealth
|
|
6
6
|
end
|
7
7
|
end
|
8
8
|
|
9
|
+
module InNetworkMissing
|
10
|
+
def in_network
|
11
|
+
self.where_not(inPlanNetworkIndicatorCode: 'N')
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
9
15
|
module DeductiblesIgnoreSpecialistZero
|
10
16
|
def deductibles
|
11
17
|
super.where_not(serviceTypeCodes: '98', benefitAmount: '0')
|
@@ -65,7 +65,7 @@ module ChangeHealth
|
|
65
65
|
end
|
66
66
|
|
67
67
|
def plan_status(service_code: )
|
68
|
-
self.planStatus&.find {|plan| plan.dig('serviceTypeCodes')
|
68
|
+
self.planStatus&.find {|plan| plan.dig('serviceTypeCodes')&.include?(service_code) } || {}
|
69
69
|
end
|
70
70
|
|
71
71
|
def benefits
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: change_health
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Crockett
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|