ascii_data 0.0.6 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module AsciiData
2
- VERSION = "0.0.6"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -38,7 +38,7 @@ class AsciiDataRow
38
38
  end
39
39
 
40
40
  def get_value_for_field_definition(definition)
41
- text_value = @ascii_row.slice(definition.range.min, definition.range.max).strip
41
+ text_value = @ascii_row.slice(definition.range).strip
42
42
 
43
43
  case definition.type
44
44
  when :string
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ascii_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: