kmz_compressor 2.3.0 → 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: 8d4150ed49c4d494b601e80fc834eedb42687448fabf2aa6ca15135f50a5704d
4
- data.tar.gz: e69879f14f2795a1a8c81d3430ef38c2aaf88bda6f2e08bf03cc776770225a4b
3
+ metadata.gz: 33de4b9e427af100565086251882dabaa301e7d7043b97412fbf58e4056e6daa
4
+ data.tar.gz: 35aecd98712fe4a363e46420d48a7ef033f808d50e4e2fbd97364d7796183001
5
5
  SHA512:
6
- metadata.gz: af42f8519f2f32894d9e767c88cf654d68c312af9c5d9b29c03259d5294e3c3dc637564d471a32c86ddabde57eae16a851ee0504bc275884828db9575e9720fd
7
- data.tar.gz: 644b4b4841d7e3a25018afb468abe4a6142fcf005edbec11879ab6a653e864c01cea0ee1f0cfa7e4bba367e07165da44bdf7214efa7f994ef0ee138d099153c2
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.0"
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.0
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: 2020-06-25 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,28 +17,28 @@ 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
31
31
  requirements:
32
- - - "~>"
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: 1.1.4
34
+ version: 1.0.0
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: 1.1.4
41
+ version: 1.0.0
42
42
  description: Rack Middleware which retrieves KML from Rails and produces KMZ for the
43
43
  client.
44
44
  email:
@@ -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,9 +77,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  - !ruby/object:Gem::Version
78
78
  version: '0'
79
79
  requirements: []
80
- rubyforge_project:
81
- rubygems_version: 2.7.9
82
- signing_key:
80
+ rubygems_version: 3.4.5
81
+ signing_key:
83
82
  specification_version: 4
84
83
  summary: Rack Middleware which retrieves KML from Rails and produces KMZ for the client.
85
84
  test_files: []