hflr 1.4.0 → 1.4.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.
- data/History.txt +4 -0
- data/hflr.gemspec +2 -2
- data/lib/hflr/record_template.rb +2 -1
- metadata +6 -4
- checksums.yaml +0 -15
data/History.txt
CHANGED
data/hflr.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{hflr}
|
5
|
-
s.version = "1.4.
|
5
|
+
s.version = "1.4.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Colin Davis", "Wade Stebbings"]
|
@@ -25,7 +25,7 @@ See the tests and examples bundled with this gem.}
|
|
25
25
|
#s.rdoc_options = ["--main", "README.txt"]
|
26
26
|
s.require_paths = ["lib"]
|
27
27
|
|
28
|
-
s.rubygems_version = %q{1.4.
|
28
|
+
s.rubygems_version = %q{1.4.1}
|
29
29
|
s.summary = %q{HFLR -- Hierarchical Fixed Length Records Allows you to read and write files of fixed width records when the file contains one or more than one type of record}
|
30
30
|
s.test_files = ["test/test_hflr.rb", "test/test_helper.rb"]
|
31
31
|
end
|
data/lib/hflr/record_template.rb
CHANGED
@@ -72,7 +72,8 @@ public
|
|
72
72
|
end
|
73
73
|
|
74
74
|
def build_line(record)
|
75
|
-
line = format_fields(record).pack(@field_pattern)
|
75
|
+
line = format_fields(record).pack(@field_pattern)
|
76
|
+
line = line.force_encoding("ISO-8859-1") if line.respond_to?('force_encoding')
|
76
77
|
line[0] = @record_type_label unless @record_type_label == :none
|
77
78
|
line.tr!("\0",UnfilledChar)
|
78
79
|
return line
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hflr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Colin Davis
|
@@ -43,26 +44,27 @@ files:
|
|
43
44
|
- test/test_hflr.rb
|
44
45
|
homepage:
|
45
46
|
licenses: []
|
46
|
-
metadata: {}
|
47
47
|
post_install_message:
|
48
48
|
rdoc_options: []
|
49
49
|
require_paths:
|
50
50
|
- lib
|
51
51
|
required_ruby_version: !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
52
53
|
requirements:
|
53
54
|
- - ! '>='
|
54
55
|
- !ruby/object:Gem::Version
|
55
56
|
version: '0'
|
56
57
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
57
59
|
requirements:
|
58
60
|
- - ! '>='
|
59
61
|
- !ruby/object:Gem::Version
|
60
62
|
version: '0'
|
61
63
|
requirements: []
|
62
64
|
rubyforge_project:
|
63
|
-
rubygems_version:
|
65
|
+
rubygems_version: 1.8.24
|
64
66
|
signing_key:
|
65
|
-
specification_version:
|
67
|
+
specification_version: 3
|
66
68
|
summary: HFLR -- Hierarchical Fixed Length Records Allows you to read and write files
|
67
69
|
of fixed width records when the file contains one or more than one type of record
|
68
70
|
test_files:
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
YTdiYzdiZTFiMGEyMzg2YTE5YWZkM2FjN2U5ZjU5NDVlNmM5M2Y5ZA==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
NTlhZGNiZWFmNDI4NTA4OTU3NzU5NGFiYThlN2FhMmZiY2JmODAyMA==
|
7
|
-
!binary "U0hBNTEy":
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
MDZlMjZmZjZlOGViYjYwMGM1NDRlMzhkY2QwMDcyYTY3YmVhMmQ5ZGIxZjhj
|
10
|
-
Y2IwOWNkYzFlNDBlMTE5ZTQ3OTFiYTJlNmQyN2I5Mjk4N2U3NDRhMTljYTgw
|
11
|
-
NDEwN2Y1OTBjODQ5YzBjYTk3MjlkYjhlNWE0OTJiZmY5ZjJjNjc=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
Mjg2MmFhMzFlMzI2NGY5OGI2MTBlNWRhZDAyNDAxODRjZDAxYWQzMGU3Mjhj
|
14
|
-
NzFlZDViYzZhYmMyYmZkZDE3OGNjMDc4MWI2MzU3MzFiNDExODk1MGFhOWFj
|
15
|
-
YTA1N2QxZGRiMzkyZmI4MGJlZTIzMjgzOWM4MGVmZDJlMTRlZTY=
|