markerclustererplus-rails 2.1.1 → 2.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: 2264bd52a4192103452f12366ab7d4572c6cb1a5
4
- data.tar.gz: 75132a20476fd00a954ab0883586128390e48e14
3
+ metadata.gz: 9c53de974b2bb247038c523cad343287792ae6e6
4
+ data.tar.gz: b1f11fe870401d0af7f5d77da5ecf9fd2cfe6be1
5
5
  SHA512:
6
- metadata.gz: 1b8a18a80cb2cf7bb0ca90bb4d032a34712625f7874c1a1f68284cb4ab795b3db86b0d1e7f662a64e89a24d47586a84f2fd6f6e767ee9f85cfe3a7dccf697950
7
- data.tar.gz: 65b60d511571f7e60957579f94d125b5a0a890864c95a2f6ac1549797a154f3b548e30eea9ab9d6b276451bea816cf0f482e61c59f86d54fdc5d4350f94affbd
6
+ metadata.gz: bac324b2c147f2749fbfe77a962319467debfe8843bfdc8fa7f91f893d44142a9f9a00789d24872bac1e64d0e6bf9c77989082c9f3c70cfac97777c0028585f0
7
+ data.tar.gz: 971aa9c4df3e9ce908a49df9f3584d9bc191991c3bfe3f93b93278f26c2aa26b5dde8f9aeb72403eeca00af7e78c5342155e302a7bf407dac3a5f72a7337c903
data/README.md CHANGED
@@ -5,7 +5,7 @@ The files will be added to the asset pipeline and available for you to use.
5
5
 
6
6
  For info on how to use the library see the original documentation:
7
7
 
8
- [MarkerClustererPlus for Google Maps V3](http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerclustererplus/2.1.1/docs/reference.html)
8
+ [MarkerClustererPlus for Google Maps V3](http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerclustererplus/2.1.2/docs/reference.html)
9
9
 
10
10
  MarkerClustererPlus is an enhanced Google Maps V3 implementation of the V2 MarkerClusterer.
11
11
 
@@ -25,7 +25,7 @@
25
25
  * This file modified for use with the Rails asset pipeline
26
26
  * https://github.com/RogerE/markerclustererplus-rails
27
27
  * gem markerclustererplus-rails
28
- * gem version 2.1.1
28
+ * gem version 2.1.2
29
29
  * @author Roger Ertesvag
30
30
  * NOTE: to include the MarkerClustererPlus icons in the asset pipeline the gem overrides
31
31
  * the original configuration for setting the icon properties. This means that changing
@@ -1653,6 +1653,16 @@ MarkerClusterer.IMAGE_EXTENSION = "png";
1653
1653
  */
1654
1654
  MarkerClusterer.IMAGE_SIZES = [53, 56, 66, 78, 90];
1655
1655
 
1656
+ if (typeof String.prototype.trim !== 'function') {
1657
+ /**
1658
+ * IE hack since trim() doesn't exist in all browsers
1659
+ * @return {string} The string with removed whitespace
1660
+ */
1661
+ String.prototype.trim = function() {
1662
+ return this.replace(/^\s+|\s+$/g, '');
1663
+ }
1664
+ }
1665
+
1656
1666
  // START rails modification
1657
1667
  // get host js file is served from
1658
1668
  var scriptList = document.getElementsByTagName('script');
@@ -1,5 +1,5 @@
1
1
  module Markerclustererplus
2
2
  module Rails
3
- VERSION = "2.1.1"
3
+ VERSION = "2.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markerclustererplus-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - RogerE
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-19 00:00:00.000000000 Z
11
+ date: 2013-12-03 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This gem provides the MarkerClustererPlus assets for your Rails application.
14
14
  email: