Skip to content

Commit

Permalink
Release v3.3.1.
Browse files Browse the repository at this point in the history
FFI lib dir must be absolute.
  • Loading branch information
seanhandley committed Jan 4, 2019
1 parent 68cb2ac commit d192b41
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).

We track the MAJOR and MINOR version levels of Uber's H3 project (https://github.com/uber/h3) but maintain independent patch levels so we can make small fixes and non breaking changes.

## [3.3.0] - 2019-1-4
## [3.3.1] - 2019-1-4
### Added
- `h3_line` and `h3_line_size` support (#43).
### Changed
Expand All @@ -15,6 +15,8 @@ We track the MAJOR and MINOR version levels of Uber's H3 project (https://github
- Include and compile H3 when gem installs (#45). The gem will use a locally built .so and ignore any H3 versions that are installed on the system. This is achieved by submoduling the H3 C code and updating to the matching version tag.
- Various documentation corrections.

## [3.3.0] - 2019-1-4 (yanked)

## [3.2.0] - 2018-12-21

Initial release.
3 changes: 2 additions & 1 deletion lib/h3/bindings/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ module Bindings
# When extended, this module sets up FFI to use the H3 C library.
module Base
def self.extended(base)
lib_path = File.expand_path(__dir__ + "/../../../ext/h3/src/lib")
base.extend FFI::Library
base.include Structs
base.include Types
base.ffi_lib ["ext/h3/src/lib/libh3.dylib", "ext/h3/src/lib/libh3.so"]
base.ffi_lib ["#{lib_path}/libh3.dylib", "#{lib_path}/libh3.so"]
base.typedef :ulong_long, :h3_index
base.typedef :int, :size
base.typedef :int, :k_distance
Expand Down
2 changes: 1 addition & 1 deletion lib/h3/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module H3
VERSION = "3.3.0".freeze
VERSION = "3.3.1".freeze
end

0 comments on commit d192b41

Please sign in to comment.