social_stream-events 0.16.0 → 0.16.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Events
3
- VERSION = "0.16.0".freeze
3
+ VERSION = "0.16.1".freeze
4
4
  end
5
5
  end
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.files = `git ls-files`.split("\n")
13
13
 
14
14
  # Gem dependencies
15
- s.add_runtime_dependency('social_stream-base', '~> 0.24.0')
15
+ s.add_runtime_dependency('social_stream-base', '~> 0.24.1')
16
16
  s.add_runtime_dependency('rails-scheduler', '~> 0.0.8')
17
17
 
18
18
  # Development Gem dependencies
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @preserve
3
- * FullCalendar v1.5.2
3
+ * FullCalendar v1.5.4
4
4
  * http://arshaw.com/fullcalendar/
5
5
  *
6
6
  * Use fullcalendar.css for basic styling.
@@ -11,7 +11,7 @@
11
11
  * Dual licensed under the MIT and GPL licenses, located in
12
12
  * MIT-LICENSE.txt and GPL-LICENSE.txt respectively.
13
13
  *
14
- * Date: Sun Aug 21 22:06:09 2011 -0700
14
+ * Date: Tue Sep 4 23:38:33 2012 -0700
15
15
  *
16
16
  */
17
17
 
@@ -111,7 +111,7 @@ var rtlDefaults = {
111
111
 
112
112
 
113
113
 
114
- var fc = $.fullCalendar = { version: "1.5.2" };
114
+ var fc = $.fullCalendar = { version: "1.5.4" };
115
115
  var fcViews = fc.views = {};
116
116
 
117
117
 
@@ -1658,7 +1658,7 @@ function sliceSegs(events, visEventEnds, start, end) {
1658
1658
  msLength: segEnd - segStart
1659
1659
  });
1660
1660
  }
1661
- }
1661
+ }
1662
1662
  return segs.sort(segCmp);
1663
1663
  }
1664
1664
 
@@ -1742,29 +1742,26 @@ function setOuterHeight(element, height, includeMargins) {
1742
1742
  }
1743
1743
 
1744
1744
 
1745
- // TODO: curCSS has been deprecated (jQuery 1.4.3 - 10/16/2010)
1746
-
1747
-
1748
1745
  function hsides(element, includeMargins) {
1749
1746
  return hpadding(element) + hborders(element) + (includeMargins ? hmargins(element) : 0);
1750
1747
  }
1751
1748
 
1752
1749
 
1753
1750
  function hpadding(element) {
1754
- return (parseFloat($.curCSS(element[0], 'paddingLeft', true)) || 0) +
1755
- (parseFloat($.curCSS(element[0], 'paddingRight', true)) || 0);
1751
+ return (parseFloat($.css(element[0], 'paddingLeft', true)) || 0) +
1752
+ (parseFloat($.css(element[0], 'paddingRight', true)) || 0);
1756
1753
  }
1757
1754
 
1758
1755
 
1759
1756
  function hmargins(element) {
1760
- return (parseFloat($.curCSS(element[0], 'marginLeft', true)) || 0) +
1761
- (parseFloat($.curCSS(element[0], 'marginRight', true)) || 0);
1757
+ return (parseFloat($.css(element[0], 'marginLeft', true)) || 0) +
1758
+ (parseFloat($.css(element[0], 'marginRight', true)) || 0);
1762
1759
  }
1763
1760
 
1764
1761
 
1765
1762
  function hborders(element) {
1766
- return (parseFloat($.curCSS(element[0], 'borderLeftWidth', true)) || 0) +
1767
- (parseFloat($.curCSS(element[0], 'borderRightWidth', true)) || 0);
1763
+ return (parseFloat($.css(element[0], 'borderLeftWidth', true)) || 0) +
1764
+ (parseFloat($.css(element[0], 'borderRightWidth', true)) || 0);
1768
1765
  }
1769
1766
 
1770
1767
 
@@ -1774,20 +1771,20 @@ function vsides(element, includeMargins) {
1774
1771
 
1775
1772
 
1776
1773
  function vpadding(element) {
1777
- return (parseFloat($.curCSS(element[0], 'paddingTop', true)) || 0) +
1778
- (parseFloat($.curCSS(element[0], 'paddingBottom', true)) || 0);
1774
+ return (parseFloat($.css(element[0], 'paddingTop', true)) || 0) +
1775
+ (parseFloat($.css(element[0], 'paddingBottom', true)) || 0);
1779
1776
  }
1780
1777
 
1781
1778
 
1782
1779
  function vmargins(element) {
1783
- return (parseFloat($.curCSS(element[0], 'marginTop', true)) || 0) +
1784
- (parseFloat($.curCSS(element[0], 'marginBottom', true)) || 0);
1780
+ return (parseFloat($.css(element[0], 'marginTop', true)) || 0) +
1781
+ (parseFloat($.css(element[0], 'marginBottom', true)) || 0);
1785
1782
  }
1786
1783
 
1787
1784
 
1788
1785
  function vborders(element) {
1789
- return (parseFloat($.curCSS(element[0], 'borderTopWidth', true)) || 0) +
1790
- (parseFloat($.curCSS(element[0], 'borderBottomWidth', true)) || 0);
1786
+ return (parseFloat($.css(element[0], 'borderTopWidth', true)) || 0) +
1787
+ (parseFloat($.css(element[0], 'borderBottomWidth', true)) || 0);
1791
1788
  }
1792
1789
 
1793
1790
 
@@ -1956,7 +1953,6 @@ function firstDefined() {
1956
1953
  }
1957
1954
 
1958
1955
 
1959
-
1960
1956
  fcViews.month = MonthView;
1961
1957
 
1962
1958
  function MonthView(element, calendar) {
@@ -5157,6 +5153,7 @@ function HoverListener(coordinateGrid) {
5157
5153
 
5158
5154
 
5159
5155
  function mouse(ev) {
5156
+ _fixUIEvent(ev); // see below
5160
5157
  var newCell = coordinateGrid.cell(ev.pageX, ev.pageY);
5161
5158
  if (!newCell != !cell || newCell && (newCell.row != cell.row || newCell.col != cell.col)) {
5162
5159
  if (newCell) {
@@ -5180,6 +5177,19 @@ function HoverListener(coordinateGrid) {
5180
5177
 
5181
5178
  }
5182
5179
 
5180
+
5181
+
5182
+ // this fix was only necessary for jQuery UI 1.8.16 (and jQuery 1.7 or 1.7.1)
5183
+ // upgrading to jQuery UI 1.8.17 (and using either jQuery 1.7 or 1.7.1) fixed the problem
5184
+ // but keep this in here for 1.8.16 users
5185
+ // and maybe remove it down the line
5186
+
5187
+ function _fixUIEvent(event) { // for issue 1168
5188
+ if (event.pageX === undefined) {
5189
+ event.pageX = event.originalEvent.pageX;
5190
+ event.pageY = event.originalEvent.pageY;
5191
+ }
5192
+ }
5183
5193
  function HorizontalPositionCache(getElement) {
5184
5194
 
5185
5195
  var t = this,
@@ -5206,5 +5216,5 @@ function HorizontalPositionCache(getElement) {
5206
5216
  };
5207
5217
 
5208
5218
  }
5209
-
5219
+
5210
5220
  })(jQuery);
@@ -1,11 +1,11 @@
1
1
  /*
2
- * FullCalendar v1.5.2 Stylesheet
2
+ * FullCalendar v1.5.4 Stylesheet
3
3
  *
4
4
  * Copyright (c) 2011 Adam Shaw
5
5
  * Dual licensed under the MIT and GPL licenses, located in
6
6
  * MIT-LICENSE.txt and GPL-LICENSE.txt respectively.
7
7
  *
8
- * Date: Sun Aug 21 22:06:09 2011 -0700
8
+ * Date: Tue Sep 4 23:38:33 2012 -0700
9
9
  *
10
10
  */
11
11
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * FullCalendar v1.5.2 Print Stylesheet
2
+ * FullCalendar v1.5.4 Print Stylesheet
3
3
  *
4
4
  * Include this stylesheet on your page to get a more printer-friendly calendar.
5
5
  * When including this stylesheet, use the media='print' attribute of the <link> tag.
@@ -9,7 +9,7 @@
9
9
  * Dual licensed under the MIT and GPL licenses, located in
10
10
  * MIT-LICENSE.txt and GPL-LICENSE.txt respectively.
11
11
  *
12
- * Date: Sun Aug 21 22:06:09 2011 -0700
12
+ * Date: Tue Sep 4 23:38:33 2012 -0700
13
13
  *
14
14
  */
15
15
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_stream-events
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.16.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-10-23 00:00:00.000000000 Z
13
+ date: 2012-12-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: social_stream-base
@@ -19,7 +19,7 @@ dependencies:
19
19
  requirements:
20
20
  - - ~>
21
21
  - !ruby/object:Gem::Version
22
- version: 0.24.0
22
+ version: 0.24.1
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,7 +27,7 @@ dependencies:
27
27
  requirements:
28
28
  - - ~>
29
29
  - !ruby/object:Gem::Version
30
- version: 0.24.0
30
+ version: 0.24.1
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: rails-scheduler
33
33
  requirement: !ruby/object:Gem::Requirement