perfect-scrollbar-rails 0.6.11 → 0.6.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e677c5940a6525915079cc912e854b0a70970a57
4
- data.tar.gz: 8420d99bc40abbe20fe93313ae262ebd32685bb7
3
+ metadata.gz: dce95f69cd3ace153a37b46e2765ad5a517e5298
4
+ data.tar.gz: a0e2c5d47c57f290e33da46af4e48a237d092803
5
5
  SHA512:
6
- metadata.gz: 164c232f28a1944cb34941545dbbd5c0d642cc20c1dfae0917b375fa1fbff91dd2dcd30f26ff226d39592f0453702eea22daa392fb6f24dd83776523ca2aaeb9
7
- data.tar.gz: eeb2ca8b6c5bb90adaeab430b9779e43982cf532d3d6da5de42f915b4d31e3d84be94a5ccae1b90cfdf93f9c98a580bcf8b1af4cbb23b7ee51a629fd60d0c51b
6
+ metadata.gz: d5fa0e89c7941ee431c86a483e5fbba3d0a5962dc5450af7c428cf7d2a8e3dea664b635db1ca2858ddcca43f523e6b46a75b6ab9742253036683dfb68822900a
7
+ data.tar.gz: 4ba9dcd06bf7ee961fe2bdeee516826d4a893c2350dcf21b20b71a578a66583be2cdf95d37bc71c1167c54fe55287254625ebbc46f9f56327cecb1f21027677c
data/Rakefile CHANGED
@@ -23,12 +23,12 @@ task :update do
23
23
  end
24
24
 
25
25
  def extract
26
- puts "Extracting perfect-scrollbar archive ..."
26
+ puts 'Extracting perfect-scrollbar archive ...'
27
27
  `unzip -d #{working_dir} #{zip_path}`
28
28
  end
29
29
 
30
30
  def move_files
31
- puts "Installating assets files ..."
31
+ puts 'Installating assets files ...'
32
32
  `mv #{working_dir}/js/perfect-scrollbar.jquery.js \
33
33
  vendor/assets/javascripts/perfect-scrollbar.js`
34
34
  `mv #{working_dir}/css/perfect-scrollbar.css vendor/assets/stylesheets`
@@ -1,5 +1,5 @@
1
1
  module PerfectScrollbar
2
2
  module Rails
3
- VERSION = '0.6.11'
3
+ VERSION = '0.6.12'
4
4
  end
5
5
  end
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
21
 
22
- spec.add_dependency 'railties', '>= 3.2', '< 5.0'
22
+ spec.add_dependency 'railties', '>= 3.2', '< 6.0'
23
23
  spec.add_development_dependency 'bundler', '~> 1.3'
24
24
  spec.add_development_dependency 'rake'
25
25
  end
@@ -1,4 +1,4 @@
1
- /* perfect-scrollbar v0.6.11 */
1
+ /* perfect-scrollbar v0.6.12 */
2
2
  (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
3
3
  'use strict';
4
4
 
@@ -611,7 +611,7 @@ function bindKeyboardHandler(element, i) {
611
611
  }
612
612
 
613
613
  i.event.bind(i.ownerDocument, 'keydown', function (e) {
614
- if (e.isDefaultPrevented && e.isDefaultPrevented()) {
614
+ if ((e.isDefaultPrevented && e.isDefaultPrevented()) || e.defaultPrevented) {
615
615
  return;
616
616
  }
617
617
 
@@ -759,7 +759,7 @@ function bindMouseWheelHandler(element, i) {
759
759
  }
760
760
 
761
761
  function shouldBeConsumedByChild(deltaX, deltaY) {
762
- var child = element.querySelector('textarea:hover, .ps-child:hover');
762
+ var child = element.querySelector('textarea:hover, select[multiple]:hover, .ps-child:hover');
763
763
  if (child) {
764
764
  if (child.tagName !== 'TEXTAREA' && !window.getComputedStyle(child).overflow.match(/(scroll|auto)/)) {
765
765
  return false;
@@ -1,4 +1,4 @@
1
- /* perfect-scrollbar v0.6.11 */
1
+ /* perfect-scrollbar v0.6.12 */
2
2
  .ps-container {
3
3
  -ms-touch-action: none;
4
4
  touch-action: none;
@@ -30,60 +30,62 @@
30
30
  display: none;
31
31
  position: absolute;
32
32
  /* please don't change 'position' */
33
- -webkit-border-radius: 4px;
34
- -moz-border-radius: 4px;
35
- border-radius: 4px;
36
33
  opacity: 0;
37
34
  -webkit-transition: background-color .2s linear, opacity .2s linear;
38
35
  -moz-transition: background-color .2s linear, opacity .2s linear;
39
36
  -o-transition: background-color .2s linear, opacity .2s linear;
40
37
  transition: background-color .2s linear, opacity .2s linear;
41
- bottom: 3px;
38
+ bottom: 0px;
42
39
  /* there must be 'bottom' for ps-scrollbar-x-rail */
43
- height: 8px; }
40
+ height: 15px; }
44
41
  .ps-container > .ps-scrollbar-x-rail > .ps-scrollbar-x {
45
42
  position: absolute;
46
43
  /* please don't change 'position' */
47
44
  background-color: #aaa;
48
- -webkit-border-radius: 4px;
49
- -moz-border-radius: 4px;
50
- border-radius: 4px;
51
- -webkit-transition: background-color .2s linear;
52
- -moz-transition: background-color .2s linear;
53
- -o-transition: background-color .2s linear;
54
- transition: background-color .2s linear;
55
- bottom: 0;
45
+ -webkit-border-radius: 6px;
46
+ -moz-border-radius: 6px;
47
+ border-radius: 6px;
48
+ -webkit-transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, -webkit-border-radius .2s ease-in-out;
49
+ transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, -webkit-border-radius .2s ease-in-out;
50
+ -moz-transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out, -moz-border-radius .2s ease-in-out;
51
+ -o-transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out;
52
+ transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out;
53
+ transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out, -webkit-border-radius .2s ease-in-out, -moz-border-radius .2s ease-in-out;
54
+ bottom: 2px;
56
55
  /* there must be 'bottom' for ps-scrollbar-x */
57
- height: 8px; }
56
+ height: 6px; }
57
+ .ps-container > .ps-scrollbar-x-rail:hover > .ps-scrollbar-x, .ps-container > .ps-scrollbar-x-rail:active > .ps-scrollbar-x {
58
+ height: 11px; }
58
59
  .ps-container > .ps-scrollbar-y-rail {
59
60
  display: none;
60
61
  position: absolute;
61
62
  /* please don't change 'position' */
62
- -webkit-border-radius: 4px;
63
- -moz-border-radius: 4px;
64
- border-radius: 4px;
65
63
  opacity: 0;
66
64
  -webkit-transition: background-color .2s linear, opacity .2s linear;
67
65
  -moz-transition: background-color .2s linear, opacity .2s linear;
68
66
  -o-transition: background-color .2s linear, opacity .2s linear;
69
67
  transition: background-color .2s linear, opacity .2s linear;
70
- right: 3px;
68
+ right: 0;
71
69
  /* there must be 'right' for ps-scrollbar-y-rail */
72
- width: 8px; }
70
+ width: 15px; }
73
71
  .ps-container > .ps-scrollbar-y-rail > .ps-scrollbar-y {
74
72
  position: absolute;
75
73
  /* please don't change 'position' */
76
74
  background-color: #aaa;
77
- -webkit-border-radius: 4px;
78
- -moz-border-radius: 4px;
79
- border-radius: 4px;
80
- -webkit-transition: background-color .2s linear;
81
- -moz-transition: background-color .2s linear;
82
- -o-transition: background-color .2s linear;
83
- transition: background-color .2s linear;
84
- right: 0;
75
+ -webkit-border-radius: 6px;
76
+ -moz-border-radius: 6px;
77
+ border-radius: 6px;
78
+ -webkit-transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, -webkit-border-radius .2s ease-in-out;
79
+ transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, -webkit-border-radius .2s ease-in-out;
80
+ -moz-transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out, -moz-border-radius .2s ease-in-out;
81
+ -o-transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out;
82
+ transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out;
83
+ transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out, -webkit-border-radius .2s ease-in-out, -moz-border-radius .2s ease-in-out;
84
+ right: 2px;
85
85
  /* there must be 'right' for ps-scrollbar-y */
86
- width: 8px; }
86
+ width: 6px; }
87
+ .ps-container > .ps-scrollbar-y-rail:hover > .ps-scrollbar-y, .ps-container > .ps-scrollbar-y-rail:active > .ps-scrollbar-y {
88
+ width: 11px; }
87
89
  .ps-container:hover.ps-in-scrolling {
88
90
  pointer-events: none; }
89
91
  .ps-container:hover.ps-in-scrolling.ps-x > .ps-scrollbar-x-rail {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perfect-scrollbar-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.11
4
+ version: 0.6.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume Hain
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-27 00:00:00.000000000 Z
11
+ date: 2016-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '5.0'
22
+ version: '6.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '5.0'
32
+ version: '6.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bundler
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -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.6.4
100
+ rubygems_version: 2.6.6
101
101
  signing_key:
102
102
  specification_version: 4
103
103
  summary: This Gem integrates noraesae's Jquery perfect-scrollbar with Rails, exposing