textutils 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -70,8 +70,9 @@ class ValuesReader
70
70
 
71
71
  # if it looks like a key (only a-z lower case allowed); assume it's a key
72
72
  # - also allow . in keys e.g. world.quali.america, at.cup, etc.
73
+ # - also allow 0-9 in keys e.g. at.2, at.3.1, etc.
73
74
 
74
- if values[0] =~ /^[a-z][a-z.]*[a-z]$/ # NB: minimum two a-z letters required
75
+ if values[0] =~ /^[a-z][a-z0-9.]*[a-z0-9]$/ # NB: minimum two a-z letters required
75
76
  key_col = values[0]
76
77
  title_col = values[1]
77
78
  more_cols = values[2..-1]
@@ -1,7 +1,7 @@
1
1
 
2
2
  module TextUtils
3
3
 
4
- VERSION = '0.5.0'
4
+ VERSION = '0.5.1'
5
5
 
6
6
  end # module TextUtils
7
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: textutils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-24 00:00:00.000000000 Z
12
+ date: 2013-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: logutils
16
- requirement: &84665060 !ruby/object:Gem::Requirement
16
+ requirement: &75610580 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.5.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *84665060
24
+ version_requirements: *75610580
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rdoc
27
- requirement: &84664620 !ruby/object:Gem::Requirement
27
+ requirement: &75610310 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '3.10'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *84664620
35
+ version_requirements: *75610310
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: hoe
38
- requirement: &84664250 !ruby/object:Gem::Requirement
38
+ requirement: &75610040 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '3.3'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *84664250
46
+ version_requirements: *75610040
47
47
  description: textutils - Text Filters, Helpers, Readers and More
48
48
  email: webslideshow@googlegroups.com
49
49
  executables: []