jqr-helpers 1.0.48 → 1.0.49

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
- ZTRkYzE0OTU3NDg4ZmM2Zjg2NzNhZDg0MTViYzkyMWRmMTU5MGU5Nw==
4
+ NzgyOWRlYTUxYTVjNzgyZmVlMDg5YzQwMmM3OTQxNzg0YmM1Njg2OA==
5
5
  data.tar.gz: !binary |-
6
- MjlmOTcwOWNiZmEwYWVlM2MzZjllMWIzMTQ0ZjhjMTA4NTg4OWU0MA==
6
+ NDk2YTE5NzczZjU2ZTg2ZWJkNGUwOGVkMWFiMTk5ZjJjYTMyMjRhMQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTBiNDIzYzQ0Nzc4MzEzMzJmOWRiNzU3ODM1NDk1ZmYzMTQ1MmRmODdmN2U4
10
- N2M3NjE4NTAxN2U1YTM4OGIyZWYzMmRkYzVkNTE4MzUwOTVkYTk4N2RmYTFl
11
- MWZlYTI5YTcyZjg4ZTE4YjViZDA3OWMzYmY3NDA4ZTQ3NzQ4ZjQ=
9
+ OGNhOTdlMWEyMGRkOWY2MjY1MTBkNTQzMDQxMmVmMzQyNzUwNDRmNGZjYjFk
10
+ ZDQ5NDhjYjYwZTFjODQ1ODQ3NjliNWE0NmQ4MWVjN2JkZGUyOGViMDcwN2Zj
11
+ MjdkZTIxMDA1NjExYjhhYWE0ZDRjNGJiYzVlMDFhMDQ1ZGU5Yzk=
12
12
  data.tar.gz: !binary |-
13
- NWM3YzJjZThlMDIwYTE4ZTFiMTkwOGI3NjEwZmI3MjJmYjQ3NzQ3ODk4ZTQ5
14
- MzY3Zjk5MzViM2ZjZjA4NGM3ZDNkNjNlNjMyYzg1OTQ5YWE4YjQxMDQ5Nzg2
15
- YjU3Zjc3ODM4ZTVkYTFmYTVlZWU4NTdhNjE4NDkxMTY5ZWY3YTM=
13
+ MDc2YmE4ZTliZmZkNWI3ZTA5M2E4N2EwNGJmNjRlMjlhMzdhNDVkNDc5ZmVk
14
+ NTU3ZjIyYjgyZTk5NDE2NmYzM2U0YTY2MWViYjlmM2FjYzUyYWIzYzNmZWIw
15
+ YjBkNjNhZjIyODQyZWU1YTRlYzA4M2JjNWNkYzA4OTZmOWI2MzE=
@@ -377,6 +377,7 @@
377
377
 
378
378
  function ujsLoadPlugins(event) {
379
379
 
380
+ $(this).trigger('jqr.beforeload');
380
381
  $('.ujs-quick-buttonset input:checked').change();
381
382
 
382
383
  function addHiddenField(form, name, value) {
@@ -465,7 +466,7 @@
465
466
  $(this).find('input, select').data(dataMap).addClass('ujs-ajax').
466
467
  attr('data-remote', 'true');
467
468
  });
468
-
469
+ $(this).trigger('jqr.afterload');
469
470
  }
470
471
 
471
472
  $(function() {
@@ -502,9 +503,7 @@
502
503
  $('.ujs-quick-buttonset label').live('mouseenter mouseleave',
503
504
  ujsQuickButtonHover);
504
505
  }
505
- $('body').trigger('jqr.beforeload')
506
- .trigger('jqr.load')
507
- .trigger('jqr.afterload');
506
+ $('body').trigger('jqr.load');
508
507
  });
509
508
 
510
509
  }(jQuery));
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.48'
5
- s.date = '2014-06-23'
4
+ s.version = '1.0.49'
5
+ s.date = '2014-06-24'
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.48'
4
+ VERSION = '1.0.49'
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.48
4
+ version: 1.0.49
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-06-23 00:00:00.000000000 Z
11
+ date: 2014-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement