simple_form_extension 1.4.13 → 1.4.14

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: aac73f237dfc8bac456897daf05dd5eb282d420a
4
- data.tar.gz: 928635754fcfd96c69568d3dbfccfd2658e4ca78
3
+ metadata.gz: fb9fe830be434f0bc872c3e8a8e8767c3ff72534
4
+ data.tar.gz: 3d20bbf6068872043d9fa9c072251935e1e6fa10
5
5
  SHA512:
6
- metadata.gz: ff760983ecb1951c49f735d51e6f571e5e403d919abf73ff1442b2e8408683d315b9965efa61d081f7786a03fd917b5eeee7fd45130f8b3a8b2dfdd29f686ae8
7
- data.tar.gz: 1291832db2ac16393cecb063d21637fedab51fcfce9e2153a6521067b224f3f593403696aec4e35a7299748e4d786b92a480ec14efa1fb97ca56cd93699b8264
6
+ metadata.gz: 11a61a150e645fb64fcd9159303a486a28a67a714d14f97471c3500f7cc5cd92a208b1328d14790a4c817ebf2334e5e8d11d05aeb82b376212fa2506f6b31614
7
+ data.tar.gz: 3e972a0f4b28d911c84432e66f1551fdd79aa48ceb10d4ec5e14df5165a8aba41638c34460b59d1b345b062af6c11bae560d10d1edcdde44a9381c4b115279a3
@@ -1,3 +1,3 @@
1
1
  module SimpleFormExtension
2
- VERSION = "1.4.13"
2
+ VERSION = "1.4.14"
3
3
  end
@@ -2,9 +2,9 @@ class Slider
2
2
  constructor: (@$el) ->
3
3
  value = if (values = @$el.data('slider-value')?.toString().split(','))
4
4
  if values.length <= 1
5
- parseInt(values[0], 10)
5
+ parseFloat(values[0], 10)
6
6
  else
7
- (parseInt(value, 10) for value in values)
7
+ (parseFloat(value, 10) for value in values)
8
8
 
9
9
  if @$el.bootstrapSlider
10
10
  @$el.bootstrapSlider(value: value)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_form_extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.13
4
+ version: 1.4.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Glyph-fr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-20 00:00:00.000000000 Z
11
+ date: 2018-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails