roda-component 0.1.59 → 0.1.60

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be3d72ffbca819c4a72897b8b253786611c03e26
4
- data.tar.gz: ddae896932ab4212f4efad80e01b8f2af9ce909e
3
+ metadata.gz: 04453e30883fe2e31d9310e604c5127efa8e047c
4
+ data.tar.gz: 1ac3021a9c29bdf8e7688e4884f7e8c6c4131ac6
5
5
  SHA512:
6
- metadata.gz: 8a4902134175f8354faf880cf946e52eeda7b9f9c80b616a7a9672da39a19db2e5cdb89c5b54250b8476957a78d2dcdd46510dc588d3bab04f90ba3a6b2a9feb
7
- data.tar.gz: 2cd5e37e0903671d7837fa54313caf8a845b92a352bb7938ccf74f1015a47d88391b18fa82a143714b230dec8b839a196dff737df718c40dc2e510d70e8d1063
6
+ metadata.gz: e771cade1224499763653f3af1cef54ecf84c0b091d2dfd7a25fc43a12516af18b3eb68055208c649288b81b183daad1767ba834dc5dea108397f87fa8a7eac9
7
+ data.tar.gz: 74f9e9fd55f7355a9a3b3302cde50f1331bce6483818cfc3497bbbdf0847a6fe0233a585a56cc4098b662c8996a6a251685e13fa0e92d73536bcc6641241625f
@@ -265,7 +265,7 @@ class Roda
265
265
  x['selected'] = true if x['value'] == value.to_s
266
266
  end
267
267
  when 'input'
268
- if element['type']=='radio'
268
+ if %w(radio checkbox).include? element['type']
269
269
  if element['value'] == value.to_s
270
270
  element['checked'] = true
271
271
  else
@@ -1,5 +1,5 @@
1
1
  class Roda
2
2
  class Component
3
- VERSION = "0.1.59"
3
+ VERSION = "0.1.60"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roda-component
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.59
4
+ version: 0.1.60
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-13 00:00:00.000000000 Z
11
+ date: 2015-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opal