columnize 0.8.9 → 0.9.0

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.
@@ -1,9 +1,9 @@
1
1
  language: ruby
2
-
3
2
  rvm:
4
3
  - 1.8.7
5
4
  - 1.9.3
6
5
  - 2.0.0
7
- - ruby-head
8
- - rbx-18mode
9
- - rbx-19mode
6
+ - 2.1.5
7
+ matrix:
8
+ allow_failures:
9
+ - rvm: ruby-head
@@ -7,7 +7,7 @@ GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  json (1.8.0)
10
- rake (10.0.4)
10
+ rake (10.1.0)
11
11
  rdoc (4.0.1)
12
12
  json (~> 1.4)
13
13
 
@@ -16,5 +16,5 @@ PLATFORMS
16
16
 
17
17
  DEPENDENCIES
18
18
  columnize!
19
- rake
19
+ rake (~> 10.1.0)
20
20
  rdoc
data/NEWS CHANGED
@@ -1,3 +1,5 @@
1
+ 0.9.0 Dec 5, 2014 - Early gecko
2
+
1
3
  0.8.9 Apr 19, 2014
2
4
  - Add columnize method to Array class and a place to set its default options
3
5
  - Add option :colfmt to allow a format specifier to use (e.g. '%02d') in stringifying
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Build Status](https://travis-ci.org/rocky/columnize.png)](https://travis-ci.org/rocky/columnize)
1
+ [![Build Status](https://travis-ci.org/rocky/columnize.png)](https://travis-ci.org/rocky/columnize) [![Gem Version](https://badge.fury.io/rb/columnize.svg)](http://badge.fury.io/rb/columnize)
2
2
 
3
3
  Columnize - Format an Array as a Column-aligned String
4
4
  ============================================================================
@@ -1,8 +1,5 @@
1
1
  # -*- Ruby -*-
2
2
  # -*- encoding: utf-8 -*-
3
- require 'rake'
4
- require 'rubygems' unless
5
- Object.const_defined?(:Gem)
6
3
  require File.dirname(__FILE__) + "/lib/columnize/version" unless
7
4
  Object.const_defined?(:'Columnize')
8
5
 
@@ -34,5 +31,5 @@ See Examples in the rdoc documentation for examples.
34
31
  spec.rdoc_options += ['--title', "Columnize #{Columnize::VERSION} Documentation"]
35
32
 
36
33
  spec.add_development_dependency 'rdoc'
37
- spec.add_development_dependency 'rake'
34
+ spec.add_development_dependency 'rake', '~> 10.1.0'
38
35
  end
@@ -60,7 +60,7 @@ module Columnize
60
60
  # TODO: make this a method, rather than a function (?)
61
61
  # compute the smallest number of rows and the max widths for each column
62
62
  def min_rows_and_colwidths
63
- list = @list.map &@stringify
63
+ list = @list.map(&@stringify)
64
64
  cell_widths = list.map(&@term_adjuster).map(&:size)
65
65
 
66
66
  # Set default arrangement: one atom per row
@@ -3,5 +3,5 @@
3
3
  # require'ing 'columnize'.
4
4
  module Columnize
5
5
  # The current version of this package
6
- VERSION = '0.8.9'
6
+ VERSION = '0.9.0'
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: columnize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.9
4
+ version: 0.9.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-19 00:00:00.000000000 Z
12
+ date: 2014-12-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdoc
@@ -32,17 +32,17 @@ dependencies:
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
- - - ! '>='
35
+ - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: '0'
37
+ version: 10.1.0
38
38
  type: :development
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ! '>='
43
+ - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: '0'
45
+ version: 10.1.0
46
46
  description: ! '
47
47
 
48
48
  In showing a long lists, sometimes one would prefer to see the value
@@ -97,7 +97,7 @@ rdoc_options:
97
97
  - --main
98
98
  - README
99
99
  - --title
100
- - Columnize 0.8.9 Documentation
100
+ - Columnize 0.9.0 Documentation
101
101
  require_paths:
102
102
  - lib
103
103
  required_ruby_version: !ruby/object:Gem::Requirement