columnize 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/ChangeLog +32 -6
  2. data/VERSION +1 -1
  3. data/lib/columnize.rb +3 -4
  4. metadata +41 -34
data/ChangeLog CHANGED
@@ -1,13 +1,39 @@
1
+ 2008-09-22 19:48 rockyb
2
+
3
+ * VERSION, lib/columnize.rb: Get rid of hacky $0 test.
4
+
5
+ 2007-12-10 16:25 rockyb
6
+
7
+ * : release 0.1
8
+
9
+ 2007-12-09 17:33 rockyb
10
+
11
+ * : Fix up doc a little. Make the default rake task "test".
12
+
13
+ 2007-12-09 16:49 rockyb
14
+
15
+ * : Doc fix.
16
+
17
+ 2007-12-09 16:47 rockyb
18
+
19
+ * : columnize.rb: Allow one to specify a separator string. Remove
20
+ restriction that
21
+ all entries in the array have to be a string.
22
+ test-columnize.rb: more tests - invalid list, empty list, with
23
+ separator
24
+ string parameter.
25
+
26
+ 2007-12-09 14:51 rockyb
27
+
28
+ * : Typo.
29
+
1
30
  2007-12-09 14:48 rockyb
2
31
 
3
- * ., NEWS, README, lib/columnize.rb, test/test-columnize.rb:
4
- Property changes for Id lines and to make test-columnize.rb
32
+ * : Property changes for Id lines and to make test-columnize.rb
5
33
  executable.
6
34
 
7
35
  2007-12-09 14:40 rockyb
8
36
 
9
- * columnize, ., AUTHORS, COPYING, ChangeLog, NEWS, README,
10
- Rakefile, VERSION, lib, lib/columnize.rb, test,
11
- test/test-columnize.rb: Initial release of Columnize, a module to
12
- print an Array in column-sorted order.
37
+ * : Initial release of Columnize, a module to print an Array in
38
+ column-sorted order.
13
39
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1
1
+ 0.2
data/lib/columnize.rb CHANGED
@@ -1,6 +1,6 @@
1
- # $Id: columnize.rb 12 2007-12-09 16:49:46Z rockyb $
1
+ # $Id: columnize.rb 145 2008-09-22 19:48:39Z rockyb $
2
2
  #
3
- # Copyright (C) 2007 Rocky Bernstein <rockyb@rubyforge.net>
3
+ # Copyright (C) 2007, 2008 Rocky Bernstein <rockyb@rubyforge.net>
4
4
  #
5
5
  # This program is free software; you can redistribute it and/or modify
6
6
  # it under the terms of the GNU General Public License as published by
@@ -102,8 +102,7 @@ module Columnize
102
102
  end
103
103
  module_function :columnize
104
104
  end
105
- if __FILE__ == $0 or
106
- ($DEBUG and ['rdebug', 'rcov'].include?(File.basename($0)))
105
+ if __FILE__ == $0
107
106
  #
108
107
  puts Columnize::columnize(5)
109
108
  include Columnize
metadata CHANGED
@@ -1,33 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.4
3
- specification_version: 1
4
2
  name: columnize
5
3
  version: !ruby/object:Gem::Version
6
- version: "0.1"
7
- date: 2007-12-09 00:00:00 -05:00
8
- summary: Read file with caching
9
- require_paths:
10
- - lib
11
- email: rockyb@rubyforge.net
12
- homepage: http://rubyforge.org/projects/rocky-hacks/columnize
13
- rubyforge_project: rocky-hacks
14
- description: Columnize is a module for reading and caching lines. This may be useful for example in a debugger where the same lines are shown many times.
15
- autorequire:
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: 1.8.2
24
- version:
4
+ version: "0.2"
25
5
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- post_install_message:
29
6
  authors:
30
7
  - R. Bernstein
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-09-22 00:00:00 -04:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: Columnize is a module for reading and caching lines. This may be useful for example in a debugger where the same lines are shown many times.
17
+ email: rockyb@rubyforge.net
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - README
24
+ - lib/columnize.rb
31
25
  files:
32
26
  - AUTHORS
33
27
  - COPYING
@@ -38,18 +32,31 @@ files:
38
32
  - VERSION
39
33
  - lib/columnize.rb
40
34
  - test/test-columnize.rb
41
- test_files: []
42
-
35
+ has_rdoc: true
36
+ homepage: http://rubyforge.org/projects/rocky-hacks/columnize
37
+ post_install_message:
43
38
  rdoc_options: []
44
39
 
45
- extra_rdoc_files:
46
- - README
47
- - lib/columnize.rb
48
- executables: []
49
-
50
- extensions: []
51
-
40
+ require_paths:
41
+ - lib
42
+ required_ruby_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 1.8.2
47
+ version:
48
+ required_rubygems_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: "0"
53
+ version:
52
54
  requirements: []
53
55
 
54
- dependencies: []
56
+ rubyforge_project: rocky-hacks
57
+ rubygems_version: 1.0.1
58
+ signing_key:
59
+ specification_version: 2
60
+ summary: Read file with caching
61
+ test_files: []
55
62