tellus 0.1.0 → 0.1.1
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 +4 -4
- data/lib/tellus.rb +5 -1
- data/lib/tellus/client.rb +3 -0
- data/lib/tellus/version.rb +1 -1
- data/tellus.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbfe87581af843adfc00983459e1d87831a574f50e630200cb3bff4367461be7
|
4
|
+
data.tar.gz: 2ef9de7c5d2d8abe4913ce034696abdbd6a1e885d7147f570547ddfa110ea73a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6f71e9acccbf1ace668229162820e3679853c684a97b415b5aa3cbda6231af8760e4f12068109fb42c7d3349475f55c29322832f5048adb948be554bc540163
|
7
|
+
data.tar.gz: d5f699c178f81e77fd121865fa731c38f22af1286eb0bd20baf0cb1f2ff977276d38fad283d565c3569a5b9e35d367f26fd06a1af73c0be0475ca6be291e9238
|
data/lib/tellus.rb
CHANGED
data/lib/tellus/client.rb
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
require "httparty"
|
2
2
|
|
3
|
+
# Client is a new nomnatim.openstreetmap.org client instance
|
4
|
+
# it changes url to match latitude and longitude
|
5
|
+
# default zoom is 14 to fetch just enough info about the address
|
3
6
|
module Tellus
|
4
7
|
class Client
|
5
8
|
attr_reader :latitude, :longitude, :url
|
data/lib/tellus/version.rb
CHANGED
data/tellus.gemspec
CHANGED
@@ -14,11 +14,11 @@ Gem::Specification.new do |spec|
|
|
14
14
|
Use any CLI to change a pair of latitude and longitude to human readable addresses.
|
15
15
|
This also works with csv of latitudes and longitudes.
|
16
16
|
}
|
17
|
-
spec.homepage = "https://github.com/
|
17
|
+
spec.homepage = "https://github.com/non-trivial-human/tellus"
|
18
18
|
spec.license = "MIT"
|
19
19
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
20
20
|
spec.metadata["homepage_uri"] = spec.homepage
|
21
|
-
spec.metadata["source_code_uri"] = "https://github.com/
|
21
|
+
spec.metadata["source_code_uri"] = "https://github.com/non-trivial-human/tellus"
|
22
22
|
|
23
23
|
# Specify which files should be added to the gem when it is released.
|
24
24
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tellus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Damoon Imani
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -102,12 +102,12 @@ files:
|
|
102
102
|
- lib/tellus/client.rb
|
103
103
|
- lib/tellus/version.rb
|
104
104
|
- tellus.gemspec
|
105
|
-
homepage: https://github.com/
|
105
|
+
homepage: https://github.com/non-trivial-human/tellus
|
106
106
|
licenses:
|
107
107
|
- MIT
|
108
108
|
metadata:
|
109
|
-
homepage_uri: https://github.com/
|
110
|
-
source_code_uri: https://github.com/
|
109
|
+
homepage_uri: https://github.com/non-trivial-human/tellus
|
110
|
+
source_code_uri: https://github.com/non-trivial-human/tellus
|
111
111
|
post_install_message:
|
112
112
|
rdoc_options: []
|
113
113
|
require_paths:
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
requirements: []
|
126
|
-
rubygems_version: 3.
|
126
|
+
rubygems_version: 3.1.4
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: change any latitude and longitude pair to human readable addresses.
|