cheveret 2.0.0.rc4 → 2.0.0.rc5

Sign up to get free protection for your applications and to get access to all the features.
data/cheveret.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cheveret}
8
- s.version = "2.0.0.rc4"
8
+ s.version = "2.0.0.rc5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ben Caldwell"]
12
- s.date = %q{2010-10-06}
12
+ s.date = %q{2010-10-07}
13
13
  s.description = %q{Generating HTML tables of data in the views of your Rails
14
14
  application is not very DRY even for the simpler of cases. Cheveret allows you to more
15
15
  clearly separate logic and templating and reduce the amount of code in your views.}
data/lib/cheveret/dsl.rb CHANGED
@@ -68,7 +68,7 @@ module Cheveret
68
68
  # @option options [Integer] :width
69
69
  def column(name_or_hash, options={})
70
70
  if name_or_hash.is_a?(Hash)
71
- name = name_or_hash.except(:label, :width).keys.first
71
+ name = name_or_hash.except(:label, :hint, :width).keys.first
72
72
  name_or_hash.delete(name).each { |k| options[k] = true }
73
73
  options.merge!(name_or_hash)
74
74
  else
@@ -26,7 +26,7 @@ module Cheveret
26
26
  MAJOR = 2
27
27
  MINOR = 0
28
28
  PATCH = 0
29
- BUILD = 'rc4'
29
+ BUILD = 'rc5'
30
30
 
31
31
  STRING = [ MAJOR, MINOR, PATCH, BUILD ].join('.')
32
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cheveret
3
3
  version: !ruby/object:Gem::Version
4
- hash: 977940589
4
+ hash: 977940586
5
5
  prerelease: true
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
9
  - 0
10
- - rc4
11
- version: 2.0.0.rc4
10
+ - rc5
11
+ version: 2.0.0.rc5
12
12
  platform: ruby
13
13
  authors:
14
14
  - Ben Caldwell
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-10-06 00:00:00 +11:00
19
+ date: 2010-10-07 00:00:00 +11:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency