bootstrap-slider-rails 6.0.17 → 6.1.2

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: 9b85c07a39905042a6e3c6e521b14974756e56de
4
- data.tar.gz: 1bcece93219dc7fa50c83a3b67237f8300e49949
3
+ metadata.gz: 4f487db43e84bd2acf5eaf66a8cae591cff08524
4
+ data.tar.gz: 2e99f16266cef5bb7a807fd6ab5db86f17c26168
5
5
  SHA512:
6
- metadata.gz: 0942b6b59c80d41284dcd0b0049b85d5a43d81930d6a05d1dc2291692091f2c02155a7742e85469d494a40f060e432fdcc2488b68849487ad4a8924039ee9759
7
- data.tar.gz: fe2e96ad7d297866947e50c5fed8eb0155c5136c37aa6120ca23fda03d9ac344cf11964d33c522fd3ae7824d8d8b1ab3459355fbcb02d20aba3d529f93f2802b
6
+ metadata.gz: 19463898faefcd32caad9903ec09f0c1dd6ba61dcd7f9a5ea803571df14cb8ae6b08039a32ebc7287f0e2d7bb3246a2b33f214b67edf973a09bcca0569d94a4e
7
+ data.tar.gz: 26138fe3f89b7578369c9b5f47d63b54a37a6c17c8c0183a1b0a1f12f2727fcc3154b32edaaa62b38d6fdf689b5810209249a839765b58e57ca73b3ec3a530cd
data/Dockerfile CHANGED
@@ -5,28 +5,30 @@
5
5
 
6
6
  # ~~~~ Image base ~~~~
7
7
  # Base image with the latest Ruby only
8
- FROM ruby:2.2.3
8
+ FROM ruby:2.3.0-slim
9
9
  MAINTAINER Guillaume Hain zedtux@zedroot.org
10
10
 
11
11
 
12
12
  # ~~~~ Set up the environment ~~~~
13
13
  ENV DEBIAN_FRONTEND noninteractive
14
14
 
15
- # ~~~~ OS Maintenance ~~~~
16
- RUN apt-get update && apt-get install -y git
15
+ RUN mkdir -p /gem/
16
+ WORKDIR /gem/
17
+ ADD . /gem/
17
18
 
18
- # ~~~~ Rails Preparation ~~~~
19
+ # ~~~~ OS Maintenance & Rails Preparation ~~~~
19
20
  # Rubygems and Bundler
20
- RUN touch ~/.gemrc && \
21
+ RUN apt-get update && \
22
+ apt-get install -y git build-essential && \
23
+ touch ~/.gemrc && \
21
24
  echo "gem: --no-ri --no-rdoc" >> ~/.gemrc && \
22
25
  gem install rubygems-update && \
23
26
  update_rubygems && \
24
27
  gem install bundler && \
25
- mkdir -p /gem/
26
-
27
- WORKDIR /gem/
28
- ADD . /gem/
29
- RUN bundle install
28
+ bundle install && \
29
+ apt-get remove --purge -y build-essential && \
30
+ apt-get autoclean -y && \
31
+ apt-get clean
30
32
 
31
33
  # Import the gem source code
32
34
  VOLUME .:/gem/
@@ -1,5 +1,5 @@
1
1
  module BootstrapSlider
2
2
  module Rails
3
- VERSION = '6.0.17'
3
+ VERSION = '6.1.2'
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  /*! =======================================================
2
- VERSION 6.0.17
2
+ VERSION 6.1.2
3
3
  ========================================================= */
4
4
  "use strict";
5
5
 
@@ -1558,6 +1558,11 @@ function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.const
1558
1558
  if ($) {
1559
1559
  var namespace = $.fn.slider ? 'bootstrapSlider' : 'slider';
1560
1560
  $.bridget(namespace, Slider);
1561
+
1562
+ // Auto-Register data-provide="slider" Elements
1563
+ $(function () {
1564
+ $("input[data-provide=slider]")[namespace]();
1565
+ });
1561
1566
  }
1562
1567
  })($);
1563
1568
 
@@ -1,5 +1,5 @@
1
1
  /*! =======================================================
2
- VERSION 6.0.17
2
+ VERSION 6.1.2
3
3
  ========================================================= */
4
4
  /*! =========================================================
5
5
  * bootstrap-slider.js
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-slider-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.17
4
+ version: 6.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedr Browne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-05 00:00:00.000000000 Z
11
+ date: 2016-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  version: '0'
98
98
  requirements: []
99
99
  rubyforge_project:
100
- rubygems_version: 2.5.1
100
+ rubygems_version: 2.5.2
101
101
  signing_key:
102
102
  specification_version: 4
103
103
  summary: This Gem integrates Seiyara's fork of Bootstrap Slider with Rails, exposing