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 +4 -4
- data/jqr-helpers.gemspec +2 -2
- data/lib/jqr-helpers/helpers.rb +1 -1
- data/lib/jqr-helpers/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 106da697a383b3ca99af98e1271c609ca2157f81
|
4
|
+
data.tar.gz: dc028a0b708f60442035ce01dfaa0f7c5952fe8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
5
|
-
s.date = '2015-04
|
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
|
data/lib/jqr-helpers/helpers.rb
CHANGED
@@ -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)
|
data/lib/jqr-helpers/version.rb
CHANGED
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.
|
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
|
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
|