geo_monitor 0.3.3 → 0.8.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
- SHA1:
3
- metadata.gz: e0dee5fad19eb247218be04745c1d5796bc1131c
4
- data.tar.gz: 96b4c55bfc9e97bddd0487609d2742c16ed3b3fb
2
+ SHA256:
3
+ metadata.gz: 20266353270521323835364d381cbe53c3da7ef8269e5937bfe566c7e5fe5b6b
4
+ data.tar.gz: 599306dbb558057deeb16e5de9dcd714ccc6c0e4beecfe4a5d80472fc9e0ade6
5
5
  SHA512:
6
- metadata.gz: 5907cefc468dea339132b359c2618fcfdf908da0dbcb7f89415be76bafa14c75a327e2d0cfa16cf8ecdb670b052bc7025d7909ba1d1a7b0ce0158b874261206a
7
- data.tar.gz: e30e44e79232cd1655a588ed660b13c8b7bc5c89de37d0514f7dacd28629cb7e0c22b3849756e40fe1ca512872659ba79a2e29ae27d2af9ac45b0a436c7018b1
6
+ metadata.gz: 9c4a2feea8484bf237bc3c91ee1f319d28d4fbff62fb998fc1e9b2a1e3d6234abbfb2522a4fe8316990b4e0a589873ed9394a238a479c38bf5f28cc67028996d
7
+ data.tar.gz: 613c1bfb0c297a642018cd49b8191de2fcc60359f280746d1e0d5aba5d8da745b20c21d7dc5727b886e9933ed87f20f5b8589c87739c519ef15b11591420d137
data/Rakefile CHANGED
@@ -7,8 +7,6 @@ end
7
7
  require 'bundler/gem_tasks'
8
8
  require 'engine_cart/rake_task'
9
9
 
10
- EngineCart.fingerprint_proc = EngineCart.rails_fingerprint_proc
11
-
12
10
  namespace :geomonitor do
13
11
  desc 'Create the test rails app'
14
12
  task generate: ['engine_cart:generate'] do
@@ -12,10 +12,10 @@ module GeoMonitor
12
12
  def to_3857
13
13
  d = Math::PI / 180
14
14
  max = 1 - 1E-15
15
- sin = [[Math.sin(lng * d), max].min, -max].max
15
+ sin = [[Math.sin(lat * d), max].min, -max].max
16
16
  self.class.new(
17
- lat: ::GeoMonitor::Constants::R * lat * d,
18
- lng: ::GeoMonitor::Constants::R * Math.log((1 + sin) / (1 - sin)) / 2
17
+ lng: ::GeoMonitor::Constants::R * lng * d,
18
+ lat: ::GeoMonitor::Constants::R * Math.log((1 + sin) / (1 - sin)) / 2
19
19
  )
20
20
  end
21
21
 
@@ -45,7 +45,7 @@ module GeoMonitor
45
45
  request.options.timeout = 10
46
46
  request.options.open_timeout = 10
47
47
  end
48
- rescue Faraday::ConnectionFailed, Faraday::TimeoutError => e
48
+ rescue Faraday::ConnectionFailed, Faraday::TimeoutError, Faraday::SSLError => e
49
49
  ::GeoMonitor::FailedResponse.new(
50
50
  { url: conn.url_prefix.to_s },
51
51
  e.class,
@@ -1,3 +1,3 @@
1
1
  module GeoMonitor
2
- VERSION = '0.3.3'
2
+ VERSION = '0.8.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geo_monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Reed
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-17 00:00:00.000000000 Z
11
+ date: 2021-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 5.1.4
19
+ version: '5.2'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '6.2'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '5.2'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: 5.1.4
32
+ version: '6.2'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: faraday
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -42,16 +48,16 @@ dependencies:
42
48
  name: engine_cart
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
- - - ">="
51
+ - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :runtime
53
+ version: '2.0'
54
+ type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
- - - ">="
58
+ - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '0'
60
+ version: '2.0'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: sqlite3
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -149,8 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
155
  - !ruby/object:Gem::Version
150
156
  version: '0'
151
157
  requirements: []
152
- rubyforge_project:
153
- rubygems_version: 2.6.11
158
+ rubygems_version: 3.1.4
154
159
  signing_key:
155
160
  specification_version: 4
156
161
  summary: A Rails engine for monitoring geo webservices