columnize 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1 +1,3 @@
1
+ *~
2
+ /doc
1
3
  /pkg
data/Makefile CHANGED
@@ -2,7 +2,7 @@
2
2
  # learning new tricks.
3
3
  test: check
4
4
 
5
- #: Same as "make check"
5
+ #: Default target; same as "make check"
6
6
  all: check
7
7
  true
8
8
 
data/NEWS CHANGED
@@ -1,3 +1,8 @@
1
+ 0.3.6 Dec 17, 2011
2
+ - rename version.rb columnize/version.rb so as not to conflict with
3
+ another package called version
4
+ - Administrivia - shorten gemcutter description
5
+
1
6
  0.3.5 Nov 24, 2011
2
7
  - Handle situation where an array element is larger than the display width.
3
8
 
data/Rakefile CHANGED
@@ -7,7 +7,7 @@ require 'rake/testtask'
7
7
  require 'fileutils'
8
8
 
9
9
  ROOT_DIR = File.dirname(__FILE__)
10
- require File.join(ROOT_DIR, '/lib/version')
10
+ require File.join(ROOT_DIR, '/lib/columnize/version')
11
11
 
12
12
  def gemspec
13
13
  @gemspec ||= eval(File.read('columnize.gemspec'),
@@ -3,7 +3,7 @@
3
3
  require 'rake'
4
4
  require 'rubygems' unless
5
5
  Object.const_defined?(:Gem)
6
- require File.dirname(__FILE__) + "/lib/version" unless
6
+ require File.dirname(__FILE__) + "/lib/columnize/version" unless
7
7
  Object.const_defined?(:'Columnize')
8
8
 
9
9
  Gem::Specification.new do |spec|
@@ -13,22 +13,7 @@ Gem::Specification.new do |spec|
13
13
  In showing a long lists, sometimes one would prefer to see the value
14
14
  arranged aligned in columns. Some examples include listing methods
15
15
  of an object or debugger commands.
16
-
17
- An Example:
18
- ```
19
- require "columnize"
20
- Columnize.columnize((1..100).to_a, :displaywidth=>60)
21
- puts Columnize.columnize((1..100).to_a, :displaywidth=>60)
22
- 1 8 15 22 29 36 43 50 57 64 71 78 85 92 99
23
- 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100
24
- 3 10 17 24 31 38 45 52 59 66 73 80 87 94
25
- 4 11 18 25 32 39 46 53 60 67 74 81 88 95
26
- 5 12 19 26 33 40 47 54 61 68 75 82 89 96
27
- 6 13 20 27 34 41 48 55 62 69 76 83 90 97
28
- 7 14 21 28 35 42 49 56 63 70 77 84 91 98
29
-
30
- See Examples in the rdoc documentation for more examples.
31
- ```
16
+ See Examples in the rdoc documentation for examples.
32
17
  '
33
18
  spec.email = 'rockyb@rubyforge.net'
34
19
  spec.files = `git ls-files`.split("\n")
@@ -1,7 +1,10 @@
1
- # Whatever it is you want to do, it should be forwarded to the
2
- # to top-level irectories
1
+ # Whatever it is you want to do, it should be handled by the main
2
+ # (parent) Makefile. So reissue make from there.
3
3
  PHONY=check all
4
+
5
+ #: Default target - the parent's testing or "check" target
4
6
  all: check
5
7
 
8
+ #: Whatever it is you want to do, it should be handled by the parent
6
9
  %:
7
10
  $(MAKE) -C .. $@
@@ -0,0 +1,11 @@
1
+ # Whatever it is you want to do, it should be handled by the main
2
+ # (parent) Makefile. So reissue make from there.
3
+ PHONY=check all
4
+
5
+ #: Default target - the parent's testing or "check" target
6
+ all: check
7
+ true
8
+
9
+ #: Whatever it is you want to do, it should be handled by the parent
10
+ %:
11
+ $(MAKE) -C ../.. $@
@@ -3,5 +3,5 @@
3
3
  # require'ing 'columnize'.
4
4
  module Columnize
5
5
  # The current version of this package
6
- VERSION = '0.3.5'
6
+ VERSION = '0.3.6'
7
7
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 5
9
- version: 0.3.5
8
+ - 6
9
+ version: 0.3.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - R. Bernstein
@@ -14,18 +14,15 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-11-24 00:00:00 -05:00
17
+ date: 2011-12-17 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies: []
20
20
 
21
21
  description: "\n\
22
22
  In showing a long lists, sometimes one would prefer to see the value\n\
23
23
  arranged aligned in columns. Some examples include listing methods\n\
24
- of an object or debugger commands. \n\n\
25
- An Example:\n\
26
- ```\n\
27
- require \"columnize\"\n Columnize.columnize((1..100).to_a, :displaywidth=>60)\n puts Columnize.columnize((1..100).to_a, :displaywidth=>60)\n 1 8 15 22 29 36 43 50 57 64 71 78 85 92 99\n 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100\n 3 10 17 24 31 38 45 52 59 66 73 80 87 94\n 4 11 18 25 32 39 46 53 60 67 74 81 88 95\n 5 12 19 26 33 40 47 54 61 68 75 82 89 96\n 6 13 20 27 34 41 48 55 62 69 76 83 90 97\n 7 14 21 28 35 42 49 56 63 70 77 84 91 98\n\n See Examples in the rdoc documentation for more examples.\n\
28
- ```\n"
24
+ of an object or debugger commands. \n\
25
+ See Examples in the rdoc documentation for examples.\n"
29
26
  email: rockyb@rubyforge.net
30
27
  executables: []
31
28
 
@@ -47,7 +44,8 @@ files:
47
44
  - columnize.gemspec
48
45
  - lib/Makefile
49
46
  - lib/columnize.rb
50
- - lib/version.rb
47
+ - lib/columnize/Makefile
48
+ - lib/columnize/version.rb
51
49
  - test/test-columnize.rb
52
50
  - test/test-hashparm.rb
53
51
  - test/test-issue3.rb
@@ -61,7 +59,7 @@ rdoc_options:
61
59
  - --main
62
60
  - README
63
61
  - --title
64
- - Columnize 0.3.5 Documentation
62
+ - Columnize 0.3.6 Documentation
65
63
  require_paths:
66
64
  - lib
67
65
  required_ruby_version: !ruby/object:Gem::Requirement