uber_select_rails 0.4.2.repackage → 0.4.3

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
  SHA256:
3
- metadata.gz: 7f833804d6ea4b37a98b951484d2d243b3f2da2dc09a808537852e97179f9c4f
4
- data.tar.gz: 9d71fde2a1f91605665276b6eeae8aadf6147502ae39f83fec382e6e7f9e866b
3
+ metadata.gz: 5852b1fc530f2e2990d6bae6c9de18be71ef5365c243cbf9e2955dd0d9f07292
4
+ data.tar.gz: d30d7e27c9686b276e4fad9d0b7971d1404a240f292dbeece1adf87a5e03bf40
5
5
  SHA512:
6
- metadata.gz: 9275175554d2dfb661d7fa8a6b0474c9575fc961b90ac04e6463a7846f9b3e7345dfc09e9d93e760cd33b643cd1a29b9699ce7dc3c543c162c64343db9f379ef
7
- data.tar.gz: 39a886e6d4d4ccb6bc7f59c18d0240471871178e67969d59be0e4d95bb815d7884846faebe46f68aff9871006d37af036bfc6354706509eb8fe1b8a79ed009ef
6
+ metadata.gz: 1abd187f4db26bc3f70145935439ba8fe19f7aa1c16e73fe0d00737a9674dcb3ff7ce3dbf6b3f9696d5cccdd0587041638caa8e356339915945ca5b661ae32d9
7
+ data.tar.gz: 3c4fdfa37229c36ea9e1e30ba79333f94b84f0e02fc396b5bb24faae2694a922a8920bddaf2698d1be80780ff6a485a669ef0c78599b52cc8f80b1e32dcf316b
@@ -1,3 +1,3 @@
1
1
  module UberSelectRails
2
- VERSION = "0.4.2.repackage"
2
+ VERSION = "0.4.3"
3
3
  end
@@ -87,7 +87,7 @@
87
87
  selectedText: getAttribute(option, 'data-selected-text'),
88
88
  value: getAttribute(option, 'value'),
89
89
  title: getAttribute(option, 'title'),
90
- disabled: getAttribute(option, 'disabled'),
90
+ disabled: getAttribute(option, 'disabled') === undefined ? false : true,
91
91
  matchValue: getAttribute(option, 'data-match-value'),
92
92
  visibility: getAttribute(option, 'data-visibility'),
93
93
  element: option
@@ -141,7 +141,7 @@
141
141
  function refreshOptionsList(){
142
142
  uberSearch.setDisabled($(select).is(':disabled'))
143
143
  uberSearch.setData(dataFromSelect(select))
144
- updateSelectedValue()
144
+ updateSelectValue($(select).find('option[selected]').attr('value')) // Read the value of the option that is selected because the <select> element's value is defunct now that we've updated the <option> elements
145
145
  }
146
146
 
147
147
  // Updates the UberSearch's selected value from the select element's value
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uber_select_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2.repackage
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Jakobsen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-19 00:00:00.000000000 Z
11
+ date: 2021-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -95,9 +95,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
95
95
  version: '0'
96
96
  required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  requirements:
98
- - - ">"
98
+ - - ">="
99
99
  - !ruby/object:Gem::Version
100
- version: 1.3.1
100
+ version: '0'
101
101
  requirements: []
102
102
  rubygems_version: 3.0.8
103
103
  signing_key: