eita-jrails 0.9.6 → 0.9.7

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: f9f7f05e575ba76b4effaffe4e9f2d762a51f030
4
- data.tar.gz: 232fde666960f5cf5a18c7fd2029f61aa41552a7
3
+ metadata.gz: 1646898e44a36437a506d7527bc015fa739c43b6
4
+ data.tar.gz: 31166bdfbb331d78f154100c06cafa02c990195f
5
5
  SHA512:
6
- metadata.gz: 17ffa69896d7b03f3a305861fe294cedb59fec1ac86fc05e011bf475930ee478fdfcaa90416e9f76df84519e2c6eaea882e19ad6dce3ae00b44c9912a867757d
7
- data.tar.gz: d678bf82a2a95c5e6f96e4f95e094ebeb65506189e7dd3d8ac0d1ff45e2175b6033829c7deed5fdde34d70718dbe10351943be364660ce62f24317ea06e70c7d
6
+ metadata.gz: 0866a50f010be1c66bd557676e4b8233f366479cf06095d9b883f4bf0c7dfddf74899f6da09c617d2b1a3cdbe878159d09be683a856cd420321637eb0fbf4b01
7
+ data.tar.gz: 7d8ce388df7fd7a80c75b5e3233d9128b944f191f9e132882f6a30a1de7085b50952b04aefdd50bf60d5bef0aa87599bdc58c63e34e15e333254c828f53ac27d
@@ -472,6 +472,14 @@ module ActionView
472
472
  end
473
473
 
474
474
  protected
475
+ def options_for_javascript(options)
476
+ if options.empty?
477
+ '{}'
478
+ else
479
+ "{#{options.keys.map { |k| "#{k}:#{options[k]}" }.sort.join(', ')}}"
480
+ end
481
+ end
482
+
475
483
  def options_for_ajax(options)
476
484
  js_options = build_callbacks(options)
477
485
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eita-jrails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Eisenberger