gm_x12 1.6.0 → 1.6.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
  SHA256:
3
- metadata.gz: 47076ff1898b45a34dc997327a1872f7715c475573c46c83c99f03d7be597c76
4
- data.tar.gz: ea6b5e6fbf9f3534e050d9438ca32940cbfe4d057bb7e5cab862429c3cb0766d
3
+ metadata.gz: 5f1bcc094caf7e3e3f7af7e53bcb00da330f9bd1334d1369140a0dc876c6b302
4
+ data.tar.gz: 6ce9ae9cb4c8c3631ebd49337b9a99c1cf821583467af81f8dc433f622cd7864
5
5
  SHA512:
6
- metadata.gz: b465214a3983ddb1670a7c916fcfd41f3807a74d6faf031e2d374d273c4be32cd5616e751e703bc182671b1dd7b4026e6e9a018b39fa7ebbd290b6acf46986ff
7
- data.tar.gz: 5aeddcc6e2be79f9d24954338caf43ac10637c5ea75a0f18f78c01e48439b63df3e84d50de711c0516c83d0a1a113141d78166145aa9a39f2b221dbe70e1c643
6
+ metadata.gz: 2e07c57701bfab03dc5900e65f061114b457a63519bdb5da4d603498123e071ea5c7463fa7204280ec112b96f02cefae948e707a9abc792e57b51195bfe69cd0
7
+ data.tar.gz: 395d7c2731f066fda669cb24dbfe095666e51768a5844a37077e6f55f19325f243a7584efdc82f2616289164ca0b8a6f58ea3f3829521039dd734d8665514f59
data/README.md CHANGED
@@ -26,7 +26,7 @@ If running Ubuntu, you may need to install libxml2-dev
26
26
 
27
27
  Add this line to your application's Gemfile:
28
28
 
29
- gem 'pd_x12'
29
+ gem 'gm_x12'
30
30
 
31
31
  And then execute:
32
32
 
@@ -34,7 +34,7 @@ And then execute:
34
34
 
35
35
  Or install it yourself as:
36
36
 
37
- $ gem install pd_x12
37
+ $ gem install gm_x12
38
38
 
39
39
 
40
40
 
@@ -56,7 +56,7 @@ The authors of the project were inspired by the following works:
56
56
  * The Ruby port of the above by Chris Parker, rubyforge.org/projects/x12-parser/
57
57
  * This project originated from App Design's X12 parser.
58
58
  * Project was forked by Sean Walberg, creating version 1.2.0 in April 2012.
59
- * Project was forked by Marty Petersen in November 2012, creating pd_x12.
59
+ * Project was forked by Marty Petersen in November 2012, creating gm_x12.
60
60
  * Project was forked by GoodMeasures, Jun 2021, trying to make it work for large eligibility files, and work for Ruby 2.7.1. In particular, work for a file of about 9000 members from Wellcare.
61
61
 
62
62
 
data/lib/x12/segment.rb CHANGED
@@ -35,7 +35,7 @@ module X12
35
35
  s = str
36
36
  # puts "Parsing segment #{name} from #{s[0..10]} with regexp [#{regexp.source}]"
37
37
  quick_match = s.start_with?("#{name}#{field_separator}")
38
- puts "#{name} #{s[0..10]} with regexp [#{regexp.source}] matched #{quick_match ? s[0..10] : 'nothing'}"
38
+ # puts "#{name} #{s[0..10]} with regexp [#{regexp.source}] matched #{quick_match ? s[0..10] : 'nothing'}"
39
39
 
40
40
  return nil unless quick_match
41
41
  m = regexp.match(s)
data/lib/x12/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module X12
2
- VERSION = "1.6.0"
2
+ VERSION = "1.6.1"
3
3
  end
data/misc/834.xml CHANGED
@@ -42,7 +42,7 @@
42
42
  <Segment name="REF" min="3" max="3" required="y" comment="Subscriber Identifier, Member Policy Number, Member Supplemental Identifier"/>
43
43
  <Loop name="L2100A" max="1" required="n" comment="2100A" >
44
44
  <Segment name="NM1" max="1" required="y" comment="Member Name"/>
45
- <Segment name="PER" max="1" required="n" comment="Member Communications Numbers"/>
45
+ <Segment name="PER" max="3" required="n" comment="Member Communications Numbers"/>
46
46
  <Segment name="N3" max="1" required="n" comment="Member Residence Street Address"/>
47
47
  <Segment name="N4" max="1" required="n" comment="Member City, State, Zip Code"/>
48
48
  <Segment name="DMG" max="1" required="n" comment="Member Demographics"/>
@@ -64,7 +64,7 @@
64
64
  <Segment name="NM1" max="1" required="y" comment="Provider Name"/>
65
65
  <Segment name="N3" max="1" required="y" comment="Provider Residence Street Address"/>
66
66
  <Segment name="N4" max="1" required="n" comment="Provider City, State, Zip Code"/>
67
- <Segment name="PER" max="1" required="n" comment="Provider Contant."/>
67
+ <Segment name="PER" max="1" required="n" comment="Provider Contact."/>
68
68
  <Loop name="L2320" required="n" comment="COB information">
69
69
  <Segment name="COB" max="1" required="y"/>
70
70
  <Segment name="DTP" min="1" max="1" required="y" comment="Health Coverage Date"/>
data/x12.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |gem|
9
9
  gem.description = %q{A useful X12 parser that can handle large files using a callback per record. Currently tested with Ruby >= 2.7.1. Gem supports X12 EDI transactions 834, 270, 997, 837p and 835. Anyone wanting to create additional XML files for other transactions welcomed. }
10
10
  gem.summary = %q{A gem to handle parsing and generation of ANSI X12 documents}
11
11
  gem.homepage = "https://github.com/goodmeasuresllc/x12"
12
- gem.licenses = 'GPL-2'
12
+ gem.licenses = 'GPL-2.0'
13
13
 
14
14
  gem.files = `git ls-files`.split($\)
15
15
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gm_x12
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Mathews
@@ -1903,7 +1903,7 @@ files:
1903
1903
  - x12.gemspec
1904
1904
  homepage: https://github.com/goodmeasuresllc/x12
1905
1905
  licenses:
1906
- - GPL-2
1906
+ - GPL-2.0
1907
1907
  metadata: {}
1908
1908
  post_install_message:
1909
1909
  rdoc_options: []