rails-jquery-tokeninput 0.2.4 → 0.2.5

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
  !binary "U0hBMQ==":
3
- metadata.gz: 11c59b6682b7ce709c4a6a7998e8eb730cf0439a
4
- data.tar.gz: fc4992bff17cf83dab322d113ee2358fbc1f2756
3
+ metadata.gz: 8a4f79fa35b87c22c8af4467bb288a1ab3136f52
4
+ data.tar.gz: baf408d8041aa9f4ac36bfcacfa3ec79d54eaf5b
5
5
  SHA512:
6
- metadata.gz: a12f0be7d001714a49fd660d9aef5d11853ef722b1432372aea52c81cd4fe67cb2bf708530240999f12efb94b2cfdd203fe0a07fba5ee064d4ff8adb6274f2a0
7
- data.tar.gz: 3164972f37173f5dddf259d39fa5794c75a8cf3908ab23b8574e827add64cb8d3a57ce95be77e94ca53756fa8ac5ea156fd1d87ecda994ececcf1d784821e899
6
+ metadata.gz: d033be6eae3381413005b14152e22a69b9c515a9a3b78224787cf84c234f155c72b97118ee4b19529beaca5201dab348cae83858dd5eaf5098bf6218ebbe1fd2
7
+ data.tar.gz: f1dc21b6e5dfa8023eae238d1339e754ec089f39bcd6f3f456c267f22237dc91c46a0bd30b955d0f5993418d3d83c299a070660b4633aac7dd092dbc61698d2b
@@ -1,7 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
3
  - 2.0.0
4
+ - 2.1.5
5
+ - 2.2.0
5
6
  before_install: "gem update --system"
6
7
  install: "bundle install"
7
8
  script: "bundle exec rspec"
@@ -10,7 +10,7 @@ $(function() {
10
10
  $.each($('input[data-tokeninput]'), function(index, input) {
11
11
  var inputName = $(input).attr('name');
12
12
  var source = $(input).data('tokeninput').collection || DEFAULTS.source;
13
- var options = $(input).data('tokeninput').options || DEFAULTS.options;
13
+ var options = $.extend({}, DEFAULTS.options, $(input).data('tokeninput').options);
14
14
 
15
15
  var addInput = function(value) {
16
16
  var inputItemName = inputName + '[]';
@@ -1,7 +1,7 @@
1
1
  module Rails
2
2
  module Jquery
3
3
  module Tokeninput
4
- VERSION = '0.2.4'
4
+ VERSION = '0.2.5'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-jquery-tokeninput
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evgeny Li