sora_geocoding 0.2.0 → 0.2.2

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: 49a29a7ba7a53ef21bd7959e05d0f0b3381891f52970dc41b0e7ef20506034aa
4
- data.tar.gz: 5260b9777d6b6a2a280903ecdd24bbea597d2122fbde0d1432e36392d7d633e1
3
+ metadata.gz: ac754f05e62848dd07220595fb8a0b3a3e27a7788d62529a495d35a70cd9a7e5
4
+ data.tar.gz: f77ca9c3f89d85ca993362640f4c850ee996cec7d5f04896dc0306bd83c2b617
5
5
  SHA512:
6
- metadata.gz: be6193b493832c887e824d2b35470830a0303309cd8e78c0516c9bfdb621bc71512af9bf6ffe32671894308899cab2106f803e4ccdd053bd6686ff574883d190
7
- data.tar.gz: 59038b5a336e3705fbd0fcb25cadf30d3a68d131294bfd89a3185fead48ee50ad26544e40c9faa18e53791204384acb3d619217f7b8800523201a06311e0c161
6
+ metadata.gz: 68b9a5de3d1bd3c6745049f8e36b53c73c9119141ef26fc831a38d634b87de9ece1008b059ee85eaa262e29d809a344eedac26e4aa8b0b04c598751e4e18e65d
7
+ data.tar.gz: 36f94674137c27b1d3e640b30d9529cc00aca71585c71732fc8a27e98721109659152709221ec26f58599bbfd6d62e476adcde04f9674d4ca5aa80a91ac642ef
@@ -1,6 +1,14 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 0.2.2 (2020 Aug 15)
5
+ ------------------
6
+ - Converting latitude and longitude to a string for use in Geohash initialization.
7
+
8
+ 0.2.0 (2020 Aug 15)
9
+ ------------------
10
+ - Added geohash method.
11
+
4
12
  0.1.0 (2020 Aug 5)
5
13
  ------------------
6
14
  First release.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sora_geocoding (0.2.0)
4
+ sora_geocoding (0.2.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -11,8 +11,8 @@ module SoraGeocoding
11
11
  REFINED_RANGE = [[-90, 90], [-180, 180]].freeze
12
12
 
13
13
  def initialize(lat, lon)
14
- @lat = lat
15
- @lon = lon
14
+ @lat = lat.to_s
15
+ @lon = lon.to_s
16
16
  end
17
17
 
18
18
  def encode
@@ -1,3 +1,3 @@
1
1
  module SoraGeocoding
2
- VERSION = '0.2.0'.freeze
2
+ VERSION = '0.2.2'.freeze
3
3
  end
@@ -16,8 +16,8 @@ Gem::Specification.new do |spec|
16
16
  spec.license = 'MIT'
17
17
 
18
18
  spec.metadata['homepage_uri'] = spec.homepage
19
- spec.metadata['source_code_uri'] = 'https://github.com/hirontan/sora_geocoding'
20
- spec.metadata['changelog_uri'] = 'https://github.com/hirontan/sora_geocoding/blob/master/CHANGELOG.md'
19
+ spec.metadata['source_code_uri'] = 'https://github.com/sorainc/sora_geocoding'
20
+ spec.metadata['changelog_uri'] = 'https://github.com/sorainc/sora_geocoding/blob/master/CHANGELOG.md'
21
21
 
22
22
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
23
23
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sora_geocoding
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - hirontan
@@ -99,8 +99,8 @@ licenses:
99
99
  - MIT
100
100
  metadata:
101
101
  homepage_uri: https://rubygems.org/gems/sora_geocoding
102
- source_code_uri: https://github.com/hirontan/sora_geocoding
103
- changelog_uri: https://github.com/hirontan/sora_geocoding/blob/master/CHANGELOG.md
102
+ source_code_uri: https://github.com/sorainc/sora_geocoding
103
+ changelog_uri: https://github.com/sorainc/sora_geocoding/blob/master/CHANGELOG.md
104
104
  post_install_message:
105
105
  rdoc_options: []
106
106
  require_paths: