jquery-monthpicker-rails 1.0.0 → 1.0.1
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 +7 -0
- data/CHANGELOG.md +20 -0
- data/lib/jquery/monthpicker/rails/version.rb +1 -1
- data/vendor/assets/javascripts/jquery.ui.monthpicker.js +36 -1
- metadata +13 -18
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 071f3dddb5d107727d6be510cb73f72c70a75ab3
|
|
4
|
+
data.tar.gz: 4b9aa3483c88721aa33cdde5fdc3b0d6c2972f46
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: c7f1f86c3f44121ff66e70a89cb32036935d174f014efe7b4059ca50f3ce3da7136a9b9053d424dd264657f9698d6c933dd9695494405059dd4e986d50c12a48
|
|
7
|
+
data.tar.gz: 31eeae848eee9d13ed53d3926d8e6e8334be8249ad3dd8139799ce36655dc26c34b6f971e2b491a4e353b67b58ed6b687e4a349761880dd75ee37f8e9e440f2c
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/).
|
|
6
|
+
|
|
7
|
+
## [1.0.1] - 2017-03-20
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Change log
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- Update jquery.ui.monthpicker.js to v1.0.2 to be compatible with jQuery UI 1.12
|
|
16
|
+
due to its removal of `zIndex()`. See jQuery UI [1.12 Upgrade
|
|
17
|
+
Guide](https://jqueryui.com/upgrade-guide/1.12/#removed-zindex) for more
|
|
18
|
+
information.
|
|
19
|
+
|
|
20
|
+
[1.0.1]: https://github.com/zorab47/jquery-monthpicker-rails/compare/v1.0.0...v1.0.1
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
width: inst.dpDiv.outerWidth(), height: inst.dpDiv.outerHeight()});
|
|
320
320
|
}
|
|
321
321
|
};
|
|
322
|
-
inst.dpDiv.
|
|
322
|
+
$.monthpicker._zIndex(inst.dpDiv, $.monthpicker._zIndex(input)+1);
|
|
323
323
|
$.monthpicker._monthpickerShowing = true;
|
|
324
324
|
|
|
325
325
|
if ($.effects && $.effects[showAnim])
|
|
@@ -333,6 +333,41 @@
|
|
|
333
333
|
$.monthpicker._curInst = inst;
|
|
334
334
|
},
|
|
335
335
|
|
|
336
|
+
_zIndex: function(el, zIndex) {
|
|
337
|
+
var $el = $(el);
|
|
338
|
+
|
|
339
|
+
if (zIndex !== undefined) {
|
|
340
|
+
return $el.css('zIndex', zIndex);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
if ($el.length) {
|
|
344
|
+
var elem = $($el[0]), position, value;
|
|
345
|
+
while (elem.length && elem[0] !== document) {
|
|
346
|
+
|
|
347
|
+
// Ignore z-index if position is set to a value where z-index is ignored by the browser
|
|
348
|
+
// This makes behavior of this function consistent across browsers
|
|
349
|
+
// WebKit always returns auto if the element is positioned
|
|
350
|
+
position = elem.css('position');
|
|
351
|
+
|
|
352
|
+
if (position === 'absolute' || position === 'relative' || position === 'fixed') {
|
|
353
|
+
|
|
354
|
+
// IE returns 0 when zIndex is not specified
|
|
355
|
+
// other browsers return a string
|
|
356
|
+
// we ignore the case of nested elements with an explicit value of 0
|
|
357
|
+
// <div style="z-index: -10;"><div style="z-index: 0;"></div></div>
|
|
358
|
+
value = parseInt(elem.css('zIndex'), 10);
|
|
359
|
+
if (!isNaN(value) && value !== 0) {
|
|
360
|
+
return value;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
elem = elem.parent();
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
return 0;
|
|
369
|
+
},
|
|
370
|
+
|
|
336
371
|
/* Generate the date picker content. */
|
|
337
372
|
_updateMonthpicker: function(inst) {
|
|
338
373
|
|
metadata
CHANGED
|
@@ -1,46 +1,41 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jquery-monthpicker-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 1.0.1
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Charles Maresh
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 2017-03-20 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: railties
|
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
-
none: false
|
|
18
16
|
requirements:
|
|
19
|
-
- -
|
|
17
|
+
- - ">="
|
|
20
18
|
- !ruby/object:Gem::Version
|
|
21
19
|
version: 3.1.0
|
|
22
20
|
type: :runtime
|
|
23
21
|
prerelease: false
|
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
-
none: false
|
|
26
23
|
requirements:
|
|
27
|
-
- -
|
|
24
|
+
- - ">="
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
29
26
|
version: 3.1.0
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
|
31
28
|
name: jquery-ui-rails
|
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
|
33
|
-
none: false
|
|
34
30
|
requirements:
|
|
35
|
-
- -
|
|
31
|
+
- - ">="
|
|
36
32
|
- !ruby/object:Gem::Version
|
|
37
33
|
version: '3.0'
|
|
38
34
|
type: :runtime
|
|
39
35
|
prerelease: false
|
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
-
none: false
|
|
42
37
|
requirements:
|
|
43
|
-
- -
|
|
38
|
+
- - ">="
|
|
44
39
|
- !ruby/object:Gem::Version
|
|
45
40
|
version: '3.0'
|
|
46
41
|
description: jQuery Monthpicker's JavaScript files packaged for the Rails 3.1+ asset
|
|
@@ -51,7 +46,8 @@ executables: []
|
|
|
51
46
|
extensions: []
|
|
52
47
|
extra_rdoc_files: []
|
|
53
48
|
files:
|
|
54
|
-
- .gitignore
|
|
49
|
+
- ".gitignore"
|
|
50
|
+
- CHANGELOG.md
|
|
55
51
|
- LICENSE.md
|
|
56
52
|
- README.md
|
|
57
53
|
- jquery-monthpicker-rails.gemspec
|
|
@@ -63,26 +59,25 @@ files:
|
|
|
63
59
|
homepage: https://github.com/zorab47/jquery-monthpicker-rails
|
|
64
60
|
licenses:
|
|
65
61
|
- MIT
|
|
62
|
+
metadata: {}
|
|
66
63
|
post_install_message:
|
|
67
64
|
rdoc_options: []
|
|
68
65
|
require_paths:
|
|
69
66
|
- lib
|
|
70
67
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
71
|
-
none: false
|
|
72
68
|
requirements:
|
|
73
|
-
- -
|
|
69
|
+
- - ">="
|
|
74
70
|
- !ruby/object:Gem::Version
|
|
75
71
|
version: '0'
|
|
76
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
|
-
none: false
|
|
78
73
|
requirements:
|
|
79
|
-
- -
|
|
74
|
+
- - ">="
|
|
80
75
|
- !ruby/object:Gem::Version
|
|
81
76
|
version: 1.3.6
|
|
82
77
|
requirements: []
|
|
83
78
|
rubyforge_project:
|
|
84
|
-
rubygems_version:
|
|
79
|
+
rubygems_version: 2.5.2
|
|
85
80
|
signing_key:
|
|
86
|
-
specification_version:
|
|
81
|
+
specification_version: 4
|
|
87
82
|
summary: jQuery Monthpicker packaged for the Rails asset pipeline
|
|
88
83
|
test_files: []
|