jqr-helpers 1.0.69 → 1.0.70

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: 88799f8297c214cee908f918ab0c87150a1fa31e
4
- data.tar.gz: d62ae4d5ddbc00ce704946b7bcf25c0d69f8eab7
3
+ metadata.gz: 106da697a383b3ca99af98e1271c609ca2157f81
4
+ data.tar.gz: dc028a0b708f60442035ce01dfaa0f7c5952fe8a
5
5
  SHA512:
6
- metadata.gz: 57ef0b63461d18039adb77b86100e9f89f35f4b58b606804639586ddd8c956410a97abde7a91ab4705a205371ecd3df9bf89258e5a560e102435137c051cf159
7
- data.tar.gz: 50de6dac78c2751d96afb71d76cee7c82ded38f02316f3622b8499458b55a2b744f450f895ced29b3b9d61362275093c155db7e50bc4b04c573dd1b760fec77c
6
+ metadata.gz: be42917b6727e275ca8ea203aa7ea2f14791e47df480958cb85cc7a243cd5ebf5d65fe3de25cb1571d8ad6553b62184f9a20421d70b2e6c0d1d3caa08bc2fd65
7
+ data.tar.gz: 220661133153d031cfd5e920701aeaf2aaa157ccb5018bfe9fc091151e987e26e14325f9266afb40843b3aee7e426870d9bbe560cd148981ff97331c636079c8
data/jqr-helpers.gemspec CHANGED
@@ -1,8 +1,8 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'jqr-helpers'
3
3
  s.require_paths = %w(. lib lib/jqr-helpers)
4
- s.version = '1.0.69'
5
- s.date = '2015-04-30'
4
+ s.version = '1.0.70'
5
+ s.date = '2015-05-04'
6
6
  s.summary = 'Helpers to print unobtrusive jQuery-UI tags.'
7
7
  s.description = <<-EOF
8
8
  This gem adds helper methods to create unobtrusive jQuery code. It outputs
@@ -321,7 +321,7 @@ module JqrHelpers
321
321
  html_options[:class] << ' ujs-button-set'
322
322
  given_id = html_options.delete(:input_id)
323
323
  content = values.inject('') do |sum, (value, label)|
324
- id = "#{name}_#{value}"
324
+ id = "#{sanitize_to_id(name)}_#{sanitize_to_id(value)}"
325
325
  id << "_#{given_id}" if given_id
326
326
  sum += radio_button_tag(name, value, selected == value, :id => id) +
327
327
  label_tag(id, label)
@@ -1,6 +1,6 @@
1
1
  module JqrHelpers
2
2
  # @private
3
3
  module Rails
4
- VERSION = '1.0.69'
4
+ VERSION = '1.0.70'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jqr-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.69
4
+ version: 1.0.70
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-30 00:00:00.000000000 Z
11
+ date: 2015-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement