geohash_int 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 +5 -5
- data/README.md +6 -14
- data/geohash_int.gemspec +5 -5
- data/lib/geohash_int/version.rb +1 -1
- data/lib/geohash_int.rb +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b79980102149cc5ef9efc30c52eb8043b501913f1f6ee67d611347da3596dd6b
|
4
|
+
data.tar.gz: 1c7a72a8ea3c532bccd24bd892b082a16928ea4d009bea59a4abf5339120832e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2636f5206cc47e6b25e1faa26f6812884926a8251de3ae46e3648b5adfbfc4bdc809c17f0a2435f331457121958f0c6d64e83979cb8455f2d064b0185179ba0
|
7
|
+
data.tar.gz: 8f3bb505f9e78130a7f3466ec5f6ac33bd3e4f53c7debfd95d1eb34afc120e7327b2cf3fe7f533e0697b55986a747efc0086b396c1973b9bdc89579e0100b3c7
|
data/README.md
CHANGED
@@ -121,23 +121,15 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
121
121
|
|
122
122
|
## Contributing
|
123
123
|
|
124
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
124
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/TheoremOne/ruby-geohash_int.
|
125
125
|
|
126
126
|
## License
|
127
127
|
|
128
128
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
129
129
|
|
130
|
-
## About
|
130
|
+
## About TheoremOne
|
131
131
|
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
At Citrusbyte we believe in and support open source software.
|
138
|
-
* Check out more of our open source software at Citrusbyte Labs.
|
139
|
-
* Learn more about [our work](https://citrusbyte.com/portfolio).
|
140
|
-
* [Hire us](https://citrusbyte.com/contact) to work on your project.
|
141
|
-
* [Want to join the team?](http://careers.citrusbyte.com)
|
142
|
-
|
143
|
-
*Citrusbyte and the Citrusbyte logo are trademarks or registered trademarks of Citrusbyte, LLC.*
|
132
|
+
At TheoremOne we believe in and support open source software.
|
133
|
+
* Learn more about [us and our work](https://www.theoremone.co/).
|
134
|
+
* [Hire us](https://www.theoremone.co/contact) to work on your project.
|
135
|
+
* [Want to join the team?](https://www.theoremone.co/careers)
|
data/geohash_int.gemspec
CHANGED
@@ -6,14 +6,14 @@ require "geohash_int/version"
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "geohash_int"
|
8
8
|
spec.version = GeohashInt::VERSION
|
9
|
-
spec.authors = ["Ary Borenszweig"]
|
10
|
-
spec.email = ["
|
9
|
+
spec.authors = ["Ary Borenszweig", "Joe Eli McIlvain"]
|
10
|
+
spec.email = ["joe.mcilvain@theoremone.co"]
|
11
11
|
|
12
12
|
spec.summary = "Fast Geohash for Ruby that yields integers instead of strings"
|
13
13
|
spec.description = "Wraps geohash-int (https://github.com/yinqiwen/geohash-int, " \
|
14
14
|
"a fast C99 geohash library which only provides int64 as hash " \
|
15
15
|
"result) for Ruby using ffi"
|
16
|
-
spec.homepage = "https://github.com/
|
16
|
+
spec.homepage = "https://github.com/TheoremOne/ruby-geohash_int"
|
17
17
|
spec.license = "MIT"
|
18
18
|
|
19
19
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
@@ -24,9 +24,9 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.require_paths = ["lib"]
|
25
25
|
spec.extensions = ['ext/geohash_int/Rakefile']
|
26
26
|
|
27
|
-
spec.add_dependency "ffi", "~> 1.
|
27
|
+
spec.add_dependency "ffi", "~> 1.15.5"
|
28
28
|
|
29
|
-
spec.add_development_dependency "bundler", "~>
|
29
|
+
spec.add_development_dependency "bundler", "~> 2.3"
|
30
30
|
spec.add_development_dependency "rake", "~> 10.0"
|
31
31
|
spec.add_development_dependency "rspec", "~> 3.0"
|
32
32
|
end
|
data/lib/geohash_int/version.rb
CHANGED
data/lib/geohash_int.rb
CHANGED
@@ -54,7 +54,7 @@ module GeohashInt
|
|
54
54
|
# value back into a coordinate you must pass the same steps to #decode.
|
55
55
|
#
|
56
56
|
# To learn more about the *steps* argument, read this explanation in the Readme
|
57
|
-
# file: https://github.com/
|
57
|
+
# file: https://github.com/TheoremOne/ruby-geohash_int/blob/master/README.md#explanation
|
58
58
|
def encode(latitude, longitude, steps)
|
59
59
|
bits = GeohashInt::FFI::Bits.new
|
60
60
|
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geohash_int
|
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
|
- Ary Borenszweig
|
8
|
-
|
8
|
+
- Joe Eli McIlvain
|
9
|
+
autorequire:
|
9
10
|
bindir: exe
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2022-07-21 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: ffi
|
@@ -16,28 +17,28 @@ dependencies:
|
|
16
17
|
requirements:
|
17
18
|
- - "~>"
|
18
19
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
20
|
+
version: 1.15.5
|
20
21
|
type: :runtime
|
21
22
|
prerelease: false
|
22
23
|
version_requirements: !ruby/object:Gem::Requirement
|
23
24
|
requirements:
|
24
25
|
- - "~>"
|
25
26
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
27
|
+
version: 1.15.5
|
27
28
|
- !ruby/object:Gem::Dependency
|
28
29
|
name: bundler
|
29
30
|
requirement: !ruby/object:Gem::Requirement
|
30
31
|
requirements:
|
31
32
|
- - "~>"
|
32
33
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
34
|
+
version: '2.3'
|
34
35
|
type: :development
|
35
36
|
prerelease: false
|
36
37
|
version_requirements: !ruby/object:Gem::Requirement
|
37
38
|
requirements:
|
38
39
|
- - "~>"
|
39
40
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
41
|
+
version: '2.3'
|
41
42
|
- !ruby/object:Gem::Dependency
|
42
43
|
name: rake
|
43
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -69,7 +70,7 @@ dependencies:
|
|
69
70
|
description: Wraps geohash-int (https://github.com/yinqiwen/geohash-int, a fast C99
|
70
71
|
geohash library which only provides int64 as hash result) for Ruby using ffi
|
71
72
|
email:
|
72
|
-
-
|
73
|
+
- joe.mcilvain@theoremone.co
|
73
74
|
executables: []
|
74
75
|
extensions:
|
75
76
|
- ext/geohash_int/Rakefile
|
@@ -92,11 +93,11 @@ files:
|
|
92
93
|
- lib/geohash_int.rb
|
93
94
|
- lib/geohash_int/ffi.rb
|
94
95
|
- lib/geohash_int/version.rb
|
95
|
-
homepage: https://github.com/
|
96
|
+
homepage: https://github.com/TheoremOne/ruby-geohash_int
|
96
97
|
licenses:
|
97
98
|
- MIT
|
98
99
|
metadata: {}
|
99
|
-
post_install_message:
|
100
|
+
post_install_message:
|
100
101
|
rdoc_options: []
|
101
102
|
require_paths:
|
102
103
|
- lib
|
@@ -111,9 +112,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
112
|
- !ruby/object:Gem::Version
|
112
113
|
version: '0'
|
113
114
|
requirements: []
|
114
|
-
|
115
|
-
|
116
|
-
signing_key:
|
115
|
+
rubygems_version: 3.3.7
|
116
|
+
signing_key:
|
117
117
|
specification_version: 4
|
118
118
|
summary: Fast Geohash for Ruby that yields integers instead of strings
|
119
119
|
test_files: []
|