jqr-helpers 1.0.53 → 1.0.54

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTQ2ZWU3NWNhZThjZGIyNTQyODBkOTQyN2I4MTVhY2EyYzJmMjZmNg==
4
+ OTQ0MTgzMDg4MDZiYWY2YmZkNjQ2NDYyMzY1NjdmMDhhNzZkZTk3Nw==
5
5
  data.tar.gz: !binary |-
6
- Y2MxMjZlMmI2NjIxMmQ3YTFiMGViYzhmM2MzOWQxZGM4YmQ0YjNhMA==
6
+ ZGE2YjExMzY5YjMzNWEyYjkzMTViN2QwYmJiMzdkMDE1Y2UxNWJkZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZWZjMGFlYzE4ODQxNjE4OTI3NWYyYzQ5YzczYjRmN2UzZDkxMzQ1MmJkMDQw
10
- MzBmNWY4N2U4ODEyN2FjOTJkZTMwYmI4Nzc4NDJlMjllODBlY2UxZTNkOTI1
11
- OGNkYzZhZmJhNjcyMjgwNzRlNjU3ZDMwN2U3YzFlNTAwZDkxOTM=
9
+ OGM4ZWI5NjA0YTkzYzZjOGM2YTFkODZmYjEzNGZmODFmZjBkYzAwMTA0YjZj
10
+ OTJhYzA0NTg4MWJjYjNlYTA1YmQ2ZDkzNTJmOTE2Y2Q3MmUwMjcyNzk1NmFj
11
+ MmE5ZTk5ZTllZWIxYWVhMmRhOGQ3MTIzYjU3NTRhM2FhMzNlODM=
12
12
  data.tar.gz: !binary |-
13
- YmY0ZWE2NWE3ZDYyOWY4NWQ2YjVhNWU5ZDUxNTUyNDlhYmI1OWViYTdiMTU0
14
- YzViNmE5MDQ2NDVkZjQ4ZTJhYzYxYWVmYjIxY2Q4MWE4ODQ1ODJkNzVmNmMw
15
- ZDJiYzE1NTg3MTU1ZTQzNDAxMDM2N2MwMTZhZjBjY2VhYWEyMzE=
13
+ YjU4ZDc0NTMyODA0ZDRiMTI0ZTgzNDBkM2QyMzhlYmI4ODNlZWJjOGQzYzBi
14
+ NzJiYTQzOWQzMmFjNjc0MTc1Y2NiYjAzZGM1OWNhMTEyZTAxMWU0OWE0OTg2
15
+ NmUxNzY3NzVjMjRhN2YxNjA2NTI2MzVmZGU3ZWVhZjkxOTRmMDM=
@@ -195,6 +195,12 @@
195
195
  }
196
196
 
197
197
  form.hide().append(metadata_input).appendTo('body');
198
+ if ($(element).data('params')) {
199
+ $.each($(element).data('params'), function(name, value) {
200
+ form.append("<input type='hidden' name='" + name +
201
+ "' value='" + value + "'/>");
202
+ });
203
+ }
198
204
  $(form).data(element.data()); // copy to form
199
205
  $(form).data('remote', true);
200
206
  $(form).addClass('ujs-ajax');
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.53'
5
- s.date = '2014-07-09'
4
+ s.version = '1.0.54'
5
+ s.date = '2014-07-23'
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
@@ -1,6 +1,6 @@
1
1
  module JqrHelpers
2
2
  # @private
3
3
  module Rails
4
- VERSION = '1.0.53'
4
+ VERSION = '1.0.54'
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.53
4
+ version: 1.0.54
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-09 00:00:00.000000000 Z
11
+ date: 2014-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement