metro_2 1.1.0 → 1.1.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: 284ff0d88cf4e3a878baafd2f405471dbe854524
4
- data.tar.gz: 41b9493ad07542925617fea53a1707aa2e63394d
3
+ metadata.gz: f8e878471cd9fed2c0d8e373db10382c9fd80206
4
+ data.tar.gz: 8e9625b667f3b4ff20e39b4e41d84f136105c472
5
5
  SHA512:
6
- metadata.gz: d146a7624d3f3c1c878003173868377013b533321240bb97fff3b0e6c75ca83806cd24a6462671eed9779c8c5c1c2f3fd0462f89ef690b6cad75920047f57e61
7
- data.tar.gz: a0a57c10f58ccdbbb35a214fd11092e5e10d1e8e9d48323c5aa0f4535378e9d1cba218369895c075a11c4128e43d750e6a6fb4f14ee12d348c80a87674dfb1e9
6
+ metadata.gz: 0d6788dcef687e09fb1c061f81d7dfa0d6f00eab012a67ab7b0fb37c0b8e8ca81557033761656338bce09070b74fe414fc9ebdddcceb52de260e0f827662a53e
7
+ data.tar.gz: c4a21da4946f1d1250fe79d832633d06a07177be8b64b02d054bb124e8d46257969af824f6a3ba726161edc4cd81785b5862b97c9bb882a6492f66268d266947
data/lib/metro_2.rb CHANGED
@@ -21,6 +21,14 @@ module Metro2
21
21
  # TODO: add other ECOA codes
22
22
  }.freeze
23
23
 
24
+ SPECIAL_COMMENT_CODE = {
25
+ partial_payment_agreement: 'AC',
26
+ paid_in_full_less_than_full_balance: 'AU',
27
+ loan_modified: 'CO',
28
+ forbearance: 'CP'
29
+ # TODO: add other special comment codes
30
+ }.freeze
31
+
24
32
  INTEREST_TYPE_INDICATOR = {
25
33
  fixed: 'F',
26
34
  variable: 'V'
@@ -1,5 +1,5 @@
1
1
  module Metro2
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
 
4
4
  def self.version_string
5
5
  str = VERSION.split('.')
data/metro_2-1.1.0.gem ADDED
Binary file
@@ -32,7 +32,7 @@ describe Metro2::Records::HeaderSegment do
32
32
  '123 Report Dr Address CA 91111'.ljust(96, ' '),
33
33
  '5555555555',
34
34
  'Upstart Engineer metro 2 gem'.ljust(40, ' '),
35
- '01100',
35
+ '01101',
36
36
  ' ' * 156
37
37
  ]
38
38
  header_str = @header.to_metro2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metro_2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Mascarenhas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-28 00:00:00.000000000 Z
11
+ date: 2015-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -73,6 +73,7 @@ files:
73
73
  - lib/metro_2/records/record.rb
74
74
  - lib/metro_2/records/trailer_segment.rb
75
75
  - lib/metro_2/version.rb
76
+ - metro_2-1.1.0.gem
76
77
  - metro_2.gemspec
77
78
  - spec/records/base_segment_spec.rb
78
79
  - spec/records/header_segment_spec.rb
@@ -98,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
99
  version: '0'
99
100
  requirements: []
100
101
  rubyforge_project:
101
- rubygems_version: 2.4.3
102
+ rubygems_version: 2.4.5
102
103
  signing_key:
103
104
  specification_version: 4
104
105
  summary: Create Metro 2 format files for credit reporting