pd_x12 1.5.0 → 1.5.1

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: 7b0f3d7a04edbab0899aea20b8f9d05c89aaae44
4
- data.tar.gz: b3bc5db7d9d6d92e19ff123cdb10bd603948aa8b
3
+ metadata.gz: dc22b179cb550cb1ba4cc95966233c6daabf9a7d
4
+ data.tar.gz: 7168ef0a7ba0464be5b7dafa355b74e868337614
5
5
  SHA512:
6
- metadata.gz: 032582d5dfa38690ace90a558fc5d6ccab0db407fda69c093dafeb0a7316706cd2356f653ac25a065d764327a0b590f46edec64168ee52d5d267102c1d396bfa
7
- data.tar.gz: 895464a84395e3733b5f2068a68afc6e5c0e03d33a26719b0a0d9769160156d4fea530bdda7229bf4cd11cc473dc6986399d8605ea99804124c74fe34444c251
6
+ metadata.gz: 1f892e31432652ea71b3ff9ae6962ab3fac22bb0948dce55c8203f5b9b6e9810a45bf2b8410341cc58e4a9e2abc0f6857389b31f616bc93f801379d67655f31c
7
+ data.tar.gz: 1dd43554d483820df3f89dc01bce3689638852a422e5c5f91806154a0be5397078205fa8a4543ec2860afa831d59bb24998693aef4d6f9cf0ada1a51c9ac6c2d
data/README.md CHANGED
@@ -57,6 +57,10 @@ The authors of the project were inspired by the following works:
57
57
 
58
58
 
59
59
  # Change Log
60
+ 4/16/15 - release 1.5.1
61
+ * Added inpsect method to loop class to resolve infinite loop due to changes with inspect and to_s methods in ruby 2.0.0
62
+ * Thank you to Wylan for troubleshooting and providing the fix
63
+
60
64
  11/8/14 - release 1.5.0
61
65
  * converted from ReXML to LibXML for speed improvement on XML parsing
62
66
 
@@ -72,7 +72,15 @@ module X12
72
72
  ''
73
73
  end
74
74
  end # render
75
-
75
+
76
+
77
+ # Formats a printable string containing the loops element's content
78
+ # added to provide compatability with ruby > 2.0.0
79
+ def inspect
80
+ "#{self.class.to_s.sub(/^.*::/, '')} (#{name}) #{repeats} =<#{parsed_str}, #{next_repeat.inspect}> ".gsub(/\\*\"/, '"')
81
+ end
82
+
83
+
76
84
  # Provides looping through repeats of a message
77
85
  def each
78
86
  res = self.to_a
@@ -1,3 +1,3 @@
1
1
  module X12
2
- VERSION = "1.5.0"
2
+ VERSION = "1.5.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pd_x12
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marty Petersen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-08 00:00:00.000000000 Z
11
+ date: 2015-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libxml-ruby
@@ -1915,7 +1915,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1915
1915
  version: '0'
1916
1916
  requirements: []
1917
1917
  rubyforge_project:
1918
- rubygems_version: 2.2.2
1918
+ rubygems_version: 2.4.6
1919
1919
  signing_key:
1920
1920
  specification_version: 4
1921
1921
  summary: A gem to handle parsing and generation of ANSI X12 documents