rocketeer 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -151,6 +151,9 @@ module Rocketeer
151
151
  # @since 0.6
152
152
  #
153
153
  def checkbox(name, options = {})
154
+ if options.key?(:checked)
155
+ options.delete(:checked) if !options[:checked]
156
+ end
154
157
  input_field name, options.merge({ :type => 'checkbox' })
155
158
  end
156
159
 
@@ -18,5 +18,5 @@
18
18
  #
19
19
 
20
20
  module Rocketeer
21
- VERSION = "0.6.0"
21
+ VERSION = "0.6.1"
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rocketeer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
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: 2013-02-12 00:00:00.000000000 Z
12
+ date: 2013-02-20 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Rocketeer is a collection of helpers for the Sinatra framework.
15
15
  email: