z4grid 0.1.0 → 0.1.1

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: 85b07bc9f2800014d981245c3c541541c8911026eb20b7b8234c64ed4877824c
4
- data.tar.gz: 6ac04c3325d19041814747e851c76f937e1947a503bc0a54cbe37b8ea97766d8
3
+ metadata.gz: 8c481a50eb10c8748f49b27ff576c7b7cb76ef88c82a1eb1b150a07d8df5935c
4
+ data.tar.gz: 1d55c85e2cadb11363a5cf51a093cb1397c5e9fe6428a8ffa3ab3f889aa0698e
5
5
  SHA512:
6
- metadata.gz: 7d57e23c88ab0dc598b5ec1bfee16a0edbaa7653ea792d4a7ad66fc134f29238df99a138d376009368a70d8fcc3fda9819f48a15a761427dc7edb025d9286084
7
- data.tar.gz: bf204d05da6f242422de9f9db1460b52d93bed8dc9ca6b8b946fb186c50df8fffefb17c86a17180390662ad0925a756dad137e886591968b0fbd9d13cf7de16f
6
+ metadata.gz: 8ac1cd9d16a85445b0aec11f84994e39b7032f8f5269f4247b426e5eeaabbcde09ab8afa36cab5ecfac59122e8a0552f127d1c5313c75f5d197d6e6463aa78b0
7
+ data.tar.gz: 24382d804f942bb037e2f77c36aeec816e76423a2131cf566db484f62d4458b157bee6cc608f250683df72e2018d40830c09f0bfea2b67a45e9ffc2598160fd3
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Z4grid
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
+ COMMIT = `git log --format="%H" -n 1`.strip
5
6
  end
data/lib/z4grid.rb CHANGED
@@ -125,7 +125,7 @@ module Z4grid
125
125
  end
126
126
  end
127
127
  def self.to_grid lat,lon,*p
128
- return Maidenhead.to_maidenhead(lat,lon,p[0])
128
+ return Maidenhead.to_maidenhead(lat,lon,p[0] || 5)
129
129
  end
130
130
  def self.to_latlon m
131
131
  return Maidenhead.to_latlon(m)
data/z4grid.gemspec CHANGED
@@ -30,8 +30,8 @@ Gem::Specification.new do |spec|
30
30
  spec.require_paths = ["lib"]
31
31
 
32
32
  # Uncomment to register a new dependency of your gem
33
- # spec.add_dependency "example-gem", "~> 1.0"
34
-
33
+ spec.add_dependency "pry"
34
+
35
35
  # For more information and examples about making a new gem, check out our
36
36
  # guide at: https://bundler.io/guides/creating_gem.html
37
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: z4grid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Olson
@@ -9,7 +9,21 @@ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
11
  date: 2023-11-21 00:00:00.000000000 Z
12
- dependencies: []
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: pry
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  description: A COPY of the original 'maidenhead' gem. wrapped for usage.
14
28
  email:
15
29
  - xorgnak@gmail.com