jquery-mousewheel-rails 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +16 -16
- data/lib/jquery-mousewheel-rails/version.rb +1 -1
- data/vendor/assets/javascripts/jquery.mousewheel.js +5 -4
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05ee35487137722fa48d2fe3a4c8015302158e28
|
4
|
+
data.tar.gz: 85900268177c8cfa85a649124b0a39dcc306cd67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f473de798ecf70bbcd5111e50ec936fa378b531b2c4992af640004851fd77aa60902c6227211af51156a7e99fe12d910e5f5a6b4d91f4ac2e38184ddf2e2f9b5
|
7
|
+
data.tar.gz: 92dda78364d1bbfd65226a4e7d66d3f0e1e5827e053a63bb8c7d4e3327c727c548b4dd4e8ef894e9642d396fcf3fd1be45fb5178405afefda87a2ad0e6914f8c
|
data/Gemfile.lock
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
jquery-mousewheel-rails (0.0.
|
4
|
+
jquery-mousewheel-rails (0.0.9)
|
5
5
|
railties (>= 3.1)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: http://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionpack (4.1.
|
11
|
-
actionview (= 4.1.
|
12
|
-
activesupport (= 4.1.
|
10
|
+
actionpack (4.1.4)
|
11
|
+
actionview (= 4.1.4)
|
12
|
+
activesupport (= 4.1.4)
|
13
13
|
rack (~> 1.5.2)
|
14
14
|
rack-test (~> 0.6.2)
|
15
|
-
actionview (4.1.
|
16
|
-
activesupport (= 4.1.
|
15
|
+
actionview (4.1.4)
|
16
|
+
activesupport (= 4.1.4)
|
17
17
|
builder (~> 3.1)
|
18
18
|
erubis (~> 2.7.0)
|
19
|
-
activesupport (4.1.
|
19
|
+
activesupport (4.1.4)
|
20
20
|
i18n (~> 0.6, >= 0.6.9)
|
21
21
|
json (~> 1.7, >= 1.7.7)
|
22
22
|
minitest (~> 5.1)
|
@@ -24,25 +24,25 @@ GEM
|
|
24
24
|
tzinfo (~> 1.1)
|
25
25
|
builder (3.2.2)
|
26
26
|
erubis (2.7.0)
|
27
|
-
i18n (0.6.
|
28
|
-
jquery-rails (3.1.
|
27
|
+
i18n (0.6.11)
|
28
|
+
jquery-rails (3.1.1)
|
29
29
|
railties (>= 3.0, < 5.0)
|
30
30
|
thor (>= 0.14, < 2.0)
|
31
31
|
json (1.8.1)
|
32
|
-
minitest (5.
|
32
|
+
minitest (5.4.0)
|
33
33
|
rack (1.5.2)
|
34
34
|
rack-test (0.6.2)
|
35
35
|
rack (>= 1.0)
|
36
|
-
railties (4.1.
|
37
|
-
actionpack (= 4.1.
|
38
|
-
activesupport (= 4.1.
|
36
|
+
railties (4.1.4)
|
37
|
+
actionpack (= 4.1.4)
|
38
|
+
activesupport (= 4.1.4)
|
39
39
|
rake (>= 0.8.7)
|
40
40
|
thor (>= 0.18.1, < 2.0)
|
41
|
-
rake (10.3.
|
41
|
+
rake (10.3.2)
|
42
42
|
sqlite3 (1.3.9)
|
43
43
|
thor (0.19.1)
|
44
|
-
thread_safe (0.3.
|
45
|
-
tzinfo (1.1
|
44
|
+
thread_safe (0.3.4)
|
45
|
+
tzinfo (1.2.1)
|
46
46
|
thread_safe (~> 0.1)
|
47
47
|
|
48
48
|
PLATFORMS
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! Copyright (c) 2013 Brandon Aaron (http://brandon.aaron.sh)
|
2
2
|
* Licensed under the MIT License (LICENSE.txt).
|
3
3
|
*
|
4
|
-
* Version: 3.1.
|
4
|
+
* Version: 3.1.12
|
5
5
|
*
|
6
6
|
* Requires: jQuery 1.2.2+
|
7
7
|
*/
|
@@ -32,7 +32,7 @@
|
|
32
32
|
}
|
33
33
|
|
34
34
|
var special = $.event.special.mousewheel = {
|
35
|
-
version: '3.1.
|
35
|
+
version: '3.1.12',
|
36
36
|
|
37
37
|
setup: function() {
|
38
38
|
if ( this.addEventListener ) {
|
@@ -61,11 +61,12 @@
|
|
61
61
|
},
|
62
62
|
|
63
63
|
getLineHeight: function(elem) {
|
64
|
-
var $
|
64
|
+
var $elem = $(elem),
|
65
|
+
$parent = $elem['offsetParent' in $.fn ? 'offsetParent' : 'parent']();
|
65
66
|
if (!$parent.length) {
|
66
67
|
$parent = $('body');
|
67
68
|
}
|
68
|
-
return parseInt($parent.css('fontSize'), 10);
|
69
|
+
return parseInt($parent.css('fontSize'), 10) || parseInt($elem.css('fontSize'), 10) || 16;
|
69
70
|
},
|
70
71
|
|
71
72
|
getPageHeight: function(elem) {
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-mousewheel-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike MacDonald
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sqlite3
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
description: ''
|
@@ -45,7 +45,7 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- .gitignore
|
48
|
+
- ".gitignore"
|
49
49
|
- Gemfile
|
50
50
|
- Gemfile.lock
|
51
51
|
- MIT-LICENSE
|
@@ -100,17 +100,17 @@ require_paths:
|
|
100
100
|
- lib
|
101
101
|
required_ruby_version: !ruby/object:Gem::Requirement
|
102
102
|
requirements:
|
103
|
-
- -
|
103
|
+
- - ">="
|
104
104
|
- !ruby/object:Gem::Version
|
105
105
|
version: '0'
|
106
106
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
requirements: []
|
112
112
|
rubyforge_project:
|
113
|
-
rubygems_version: 2.
|
113
|
+
rubygems_version: 2.2.2
|
114
114
|
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: Integrates jquery-mousewheel with rails.
|