over_h3sentence 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/list_of_words_v2.json +1 -0
- data/lib/over_h3sentence.rb +1 -1
- metadata +4 -3
data/lib/over_h3sentence.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'json'
|
2
2
|
|
3
3
|
class OverH3sentence
|
4
|
-
LIST_OF_WORDS = JSON.parse(File.read(File.join(File.dirname(__FILE__), './
|
4
|
+
LIST_OF_WORDS = JSON.parse(File.read(File.join(File.dirname(__FILE__), './list_of_words_v2.json')))
|
5
5
|
COMBINATIONS_VOCAB = ['000','001','010','011','100','101','110','111','002','012','020','021','022','102','112','120','121','122','200','201','202','210','211','212','220','221','222']
|
6
6
|
|
7
7
|
def self.sentence(hex_id)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: over_h3sentence
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregorio Galante
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -33,6 +33,7 @@ extra_rdoc_files: []
|
|
33
33
|
files:
|
34
34
|
- bin/over_h3sentence
|
35
35
|
- lib/list_of_words_v1.json
|
36
|
+
- lib/list_of_words_v2.json
|
36
37
|
- lib/over_h3sentence.rb
|
37
38
|
homepage: https://github.com/gregogalante/over_h3sentence
|
38
39
|
licenses:
|
@@ -55,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
56
|
- !ruby/object:Gem::Version
|
56
57
|
version: '0'
|
57
58
|
requirements: []
|
58
|
-
rubygems_version: 3.5.
|
59
|
+
rubygems_version: 3.5.15
|
59
60
|
signing_key:
|
60
61
|
specification_version: 4
|
61
62
|
summary: Generate sentence from Over land hex id (H3 address)
|