kmz_compressor 2.3.1 → 2.4.0

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
  SHA256:
3
- metadata.gz: 87e3ddcda31c6d84a2d9ff00db0228352cf3895e04a8649c09f656029c11a049
4
- data.tar.gz: 14237e8098be57d691fd5dacaa136e7ad103db432e1fc6ef2cde03ffae5d2c63
3
+ metadata.gz: 33de4b9e427af100565086251882dabaa301e7d7043b97412fbf58e4056e6daa
4
+ data.tar.gz: 35aecd98712fe4a363e46420d48a7ef033f808d50e4e2fbd97364d7796183001
5
5
  SHA512:
6
- metadata.gz: 89df6178e339c13482fd1121c3366448f2f1b4f1c95415246356b8c7d862c2bc17a855ae276d157ad0027ddc0ffa001c257deb1d3527c15dbf7b1ac9be03b3e7
7
- data.tar.gz: ee2e4f709f7ae7f775a9900cf0407aa07ecaa4a66a53ad706c38c705bb83a448e3de05fcaaae194e6da7cdfe7e10f80a3f5441fc493fb0eb769a22d06be45a4b
6
+ metadata.gz: 2460a4dbb8c2d967decb7d4a5879769b429b727fed3c78dc7791df967bb6f8ee8010e891192d71b95e2006380fe804d7cc53f145bf3b9db26894429a28a6ccad
7
+ data.tar.gz: 6772159987da4d9f1510d70ccb4376b79189b038d807c8cc35383be5a642a4dfce34a47da1dcdf9ea1ac93abf6ec501b4f27b66929a67577de216b0084e4d945
@@ -5,7 +5,7 @@ module KMZCompressor
5
5
 
6
6
  module ClassMethods
7
7
  def defer_until_kmz_cached(*actions)
8
- around_filter :render_202_while_caching, :only => actions
8
+ around_action :render_202_while_caching, :only => actions
9
9
  end
10
10
  end
11
11
 
@@ -13,7 +13,7 @@ module KMZCompressor
13
13
 
14
14
  # Use a hash of the request path (before we gsub it) as the filename we will save on the HD
15
15
  cache_path = "public/kmz/#{Digest::SHA2.hexdigest(uri)}.kmz"
16
- file_exists = File.exists?(cache_path)
16
+ file_exists = File.exist?(cache_path)
17
17
 
18
18
  if file_exists
19
19
  status = 200
@@ -1,3 +1,3 @@
1
1
  module KMZCompressor
2
- VERSION = "2.3.1"
2
+ VERSION = "2.4.0"
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kmz_compressor
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Wallace
8
8
  - Nicholas Jakobsen
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-03-15 00:00:00.000000000 Z
12
+ date: 2023-07-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '3.1'
20
+ version: '4.2'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: '3.1'
27
+ version: '4.2'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rubyzip
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -62,7 +62,7 @@ files:
62
62
  homepage: http://github.com/culturecode/kmz_compressor
63
63
  licenses: []
64
64
  metadata: {}
65
- post_install_message:
65
+ post_install_message:
66
66
  rdoc_options: []
67
67
  require_paths:
68
68
  - lib
@@ -77,8 +77,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  - !ruby/object:Gem::Version
78
78
  version: '0'
79
79
  requirements: []
80
- rubygems_version: 3.0.3
81
- signing_key:
80
+ rubygems_version: 3.4.5
81
+ signing_key:
82
82
  specification_version: 4
83
83
  summary: Rack Middleware which retrieves KML from Rails and produces KMZ for the client.
84
84
  test_files: []