Skip to content

Commit

Permalink
Update H3 to 3.7.2 (#72)
Browse files Browse the repository at this point in the history
* Update H3 to 3.7.2
* Bye bye Travis, hello GitHub Actions.
  • Loading branch information
seanhandley authored Jul 19, 2021
1 parent 82e482f commit 47f7a46
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 42 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ruby_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Ruby CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:

runs-on: ubuntu-latest

strategy:
matrix:
ruby-version: [3.0.1, 2.7.3, 2.6.7, 2.5.9]

steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@477b21f02be01bcb8030d50f37cfec92bfa615b6
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Install system dependencies
run: sudo apt-get install cmake make gcc libtool
- name: Install gems
run: bundle install
- name: Run tests
run: bundle exec rake spec
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ 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.7.2] - 2020-07-17
### Fixed
- kRing of invalid indexes should not crash.

## [3.7.1] - 2020-10-7
### Added
- Area and haversine distance functions:
Expand Down
26 changes: 4 additions & 22 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,26 +1,18 @@
PATH
remote: .
specs:
h3 (3.7.1)
h3 (3.7.2)
ffi (~> 1.9)
rgeo-geojson (~> 2.1)
zeitwerk (~> 2.1)

GEM
remote: https://rubygems.org/
specs:
coveralls (0.8.22)
json (>= 1.8, < 3)
simplecov (~> 0.16.1)
term-ansicolor (~> 1.3)
thor (~> 0.19.4)
tins (~> 1.6)
diff-lcs (1.3)
docile (1.3.1)
ffi (1.13.1)
json (2.3.1)
ffi (1.15.3)
rake (12.3.3)
rgeo (2.1.1)
rgeo (2.3.0)
rgeo-geojson (2.1.1)
rgeo (>= 1.0.0)
rspec (3.8.0)
Expand All @@ -36,23 +28,13 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-support (3.8.0)
simplecov (0.16.1)
docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
term-ansicolor (1.7.0)
tins (~> 1.0)
thor (0.19.4)
tins (1.20.2)
yard (0.9.20)
zeitwerk (2.4.0)
zeitwerk (2.4.2)

PLATFORMS
ruby

DEPENDENCIES
coveralls (~> 0.8)
h3!
rake (~> 12.3)
rspec (~> 3.8)
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

![h3](https://user-images.githubusercontent.com/98526/50283275-48177300-044d-11e9-8337-eba8d3cc88a2.png)

[![Build Status](https://travis-ci.org/StuartApp/h3_ruby.svg?branch=master)](https://travis-ci.org/StuartApp/h3_ruby)
[![Maintainability](https://api.codeclimate.com/v1/badges/74a47e7fa516588ab545/maintainability)](https://codeclimate.com/repos/5ca38395a86379029800281f/maintainability) [![Coverage Status](https://coveralls.io/repos/github/StuartApp/h3_ruby/badge.svg?branch=master)](https://coveralls.io/github/StuartApp/h3_ruby?branch=master) [![Gem Version](https://badge.fury.io/rb/h3.svg)](https://badge.fury.io/rb/h3)
![Build Status](https://github.com/StuartApp/h3_ruby/actions/workflows/ruby_ci/badge.svg) [![Coverage Status](https://coveralls.io/repos/github/StuartApp/h3_ruby/badge.svg?branch=master)](https://coveralls.io/github/StuartApp/h3_ruby?branch=master) [![Maintainability](https://api.codeclimate.com/v1/badges/74a47e7fa516588ab545/maintainability)](https://codeclimate.com/repos/5ca38395a86379029800281f/maintainability) [![Gem Version](https://badge.fury.io/rb/h3.svg)](https://badge.fury.io/rb/h3)

Ruby-to-C bindings for Uber's [H3 library](https://uber.github.io/h3/).

Expand Down
2 changes: 1 addition & 1 deletion h3.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency "rgeo-geojson", "~> 2.1"
spec.add_runtime_dependency "zeitwerk", "~> 2.1"

spec.add_development_dependency "coveralls", "~> 0.8"
# spec.add_development_dependency "coveralls", "~> 0.8"
spec.add_development_dependency "rake", "~> 12.3"
spec.add_development_dependency "rspec", "~> 3.8"
spec.add_development_dependency "yard", "~> 0.9"
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.7.1".freeze
VERSION = "3.7.2".freeze
end
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require "coveralls"
Coveralls.wear!
# require "coveralls"
# Coveralls.wear!

begin
require "h3"
Expand Down

0 comments on commit 47f7a46

Please sign in to comment.