google_static_maps_helper 1.3.6 → 1.3.7

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
  SHA256:
3
- metadata.gz: fb2cf5a46fb0389cb15f50c123b5f25912042acc696d2a77b3533e40521ad748
4
- data.tar.gz: '086ab64337f17341e7d39db40f288aa923639b33e1d8be52bc55c5c375f45dd2'
3
+ metadata.gz: 1dc3b1f8fedc9305d84b0cc3332f378bd40cdebf101d0e41dc43612c088fbbd0
4
+ data.tar.gz: eb7c8f2723e3ec54a27f39362320212047d5cbc83b793ea8b64956be068432c9
5
5
  SHA512:
6
- metadata.gz: '09f089517c0a8799e6311bcc9379b7d26cb5f9663826b7f13cea55a0a133471ca1a4b5bd1acebaf84747d2578e06aab7e4f391c446eb664046db6fb18e70960a'
7
- data.tar.gz: 1a51250b94dfda754f344e50b224c14ae608221a3d74b43d497492cb5dfa3c097601a3fffaf634afce5028388d3f5c81824999bb4efba0f1bae3121d9a154cba
6
+ metadata.gz: 0417026d675d2e70d4f1a4288432d3614bb0c49c46fa9ae963cf162aa59054bb1323264b42bffd747810cfcf6721c533f9615ac2439e8f84ea52e1f9bbb334b0
7
+ data.tar.gz: 900a3386da65ee3e2f9c273d2398b000937bb968b7d61ed8364025aefbf204f13e136b3aae0f937a425e306cfee994743140f9433c760cd4c09d63bceaf06d11
@@ -1,3 +1,6 @@
1
+ = v.1.3.7
2
+ * Use HTTPS in google url (by morgoth)
3
+
1
4
  = v.1.3.6
2
5
  * Removed deprecation warnings `URI.escape is obsolete` in Ruby 2.7 (by morgoth)
3
6
 
@@ -6,7 +6,7 @@ require File.dirname(__FILE__) + '/google_static_maps_helper/marker'
6
6
  require File.dirname(__FILE__) + '/google_static_maps_helper/path'
7
7
  require File.dirname(__FILE__) + '/google_static_maps_helper/gmap_polyline_encoder'
8
8
 
9
- #
9
+ #
10
10
  # The Google Static Map Helper provides a simple interface to the
11
11
  # Google Static Maps V2 API (http://code.google.com/apis/maps/documentation/staticmaps/).
12
12
  #
@@ -14,14 +14,14 @@ require File.dirname(__FILE__) + '/google_static_maps_helper/gmap_polyline_encod
14
14
  # <tt>Map</tt>:: A map is what keeps all of the state of which you'll build a URL for.
15
15
  # <tt>Marker</tt>:: One or more markers can be added to the map. A marker can be customized with size, label and color.
16
16
  # <tt>Path</tt>:: A path will create lines or polygons in your map.
17
- #
17
+ #
18
18
  # == About
19
19
  #
20
20
  # Author:: Thorbjørn Hermansen (thhermansen@gmail.com)
21
21
  #
22
22
  module GoogleStaticMapsHelper
23
23
  # The basic url to the API which we'll build the URL from
24
- API_URL = 'http://maps.google.com/maps/api/staticmap'
24
+ API_URL = 'https://maps.google.com/maps/api/staticmap'
25
25
 
26
26
  class OptionMissing < ArgumentError; end # Raised when required options is not sent in during construction
27
27
  class OptionNotExist < ArgumentError; end # Raised when incoming options include keys which is invalid
@@ -31,7 +31,7 @@ module GoogleStaticMapsHelper
31
31
 
32
32
  class << self
33
33
  attr_accessor :key, :size, :sensor
34
-
34
+
35
35
  #
36
36
  # Provides a simple DSL stripping away the need of manually instantiating classes
37
37
  #
@@ -41,7 +41,7 @@ module GoogleStaticMapsHelper
41
41
  # GoogleStaticMapsHelper.key = 'your google key'
42
42
  # GoogleStaticMapsHelper.size = '300x600'
43
43
  # GoogleStaticMapsHelper.sensor = false
44
- #
44
+ #
45
45
  # # Then, you'll be able to do:
46
46
  # url = GoogleStaticMapsHelper.url_for do
47
47
  # marker :lng => 1, :lat => 2
@@ -1,3 +1,3 @@
1
1
  module GoogleStaticMapsHelper
2
- VERSION = "1.3.6"
2
+ VERSION = "1.3.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google_static_maps_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.6
4
+ version: 1.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thorbjørn Hermansen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-21 00:00:00.000000000 Z
11
+ date: 2020-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler