Skip to content

Commit 47f7a46

Browse files
authored
Update H3 to 3.7.2 (#72)
* Update H3 to 3.7.2 * Bye bye Travis, hello GitHub Actions.
1 parent 82e482f commit 47f7a46

File tree

9 files changed

+44
-42
lines changed

9 files changed

+44
-42
lines changed

.github/workflows/ruby_ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Ruby CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
test:
11+
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
ruby-version: [3.0.1, 2.7.3, 2.6.7, 2.5.9]
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Set up Ruby ${{ matrix.ruby-version }}
21+
uses: ruby/setup-ruby@477b21f02be01bcb8030d50f37cfec92bfa615b6
22+
with:
23+
ruby-version: ${{ matrix.ruby-version }}
24+
bundler-cache: true
25+
- name: Install system dependencies
26+
run: sudo apt-get install cmake make gcc libtool
27+
- name: Install gems
28+
run: bundle install
29+
- name: Run tests
30+
run: bundle exec rake spec

.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
66

77
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.
88

9+
## [3.7.2] - 2020-07-17
10+
### Fixed
11+
- kRing of invalid indexes should not crash.
12+
913
## [3.7.1] - 2020-10-7
1014
### Added
1115
- Area and haversine distance functions:

Gemfile.lock

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,18 @@
11
PATH
22
remote: .
33
specs:
4-
h3 (3.7.1)
4+
h3 (3.7.2)
55
ffi (~> 1.9)
66
rgeo-geojson (~> 2.1)
77
zeitwerk (~> 2.1)
88

99
GEM
1010
remote: https://rubygems.org/
1111
specs:
12-
coveralls (0.8.22)
13-
json (>= 1.8, < 3)
14-
simplecov (~> 0.16.1)
15-
term-ansicolor (~> 1.3)
16-
thor (~> 0.19.4)
17-
tins (~> 1.6)
1812
diff-lcs (1.3)
19-
docile (1.3.1)
20-
ffi (1.13.1)
21-
json (2.3.1)
13+
ffi (1.15.3)
2214
rake (12.3.3)
23-
rgeo (2.1.1)
15+
rgeo (2.3.0)
2416
rgeo-geojson (2.1.1)
2517
rgeo (>= 1.0.0)
2618
rspec (3.8.0)
@@ -36,23 +28,13 @@ GEM
3628
diff-lcs (>= 1.2.0, < 2.0)
3729
rspec-support (~> 3.8.0)
3830
rspec-support (3.8.0)
39-
simplecov (0.16.1)
40-
docile (~> 1.1)
41-
json (>= 1.8, < 3)
42-
simplecov-html (~> 0.10.0)
43-
simplecov-html (0.10.2)
44-
term-ansicolor (1.7.0)
45-
tins (~> 1.0)
46-
thor (0.19.4)
47-
tins (1.20.2)
4831
yard (0.9.20)
49-
zeitwerk (2.4.0)
32+
zeitwerk (2.4.2)
5033

5134
PLATFORMS
5235
ruby
5336

5437
DEPENDENCIES
55-
coveralls (~> 0.8)
5638
h3!
5739
rake (~> 12.3)
5840
rspec (~> 3.8)

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

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

5-
[![Build Status](https://travis-ci.org/StuartApp/h3_ruby.svg?branch=master)](https://travis-ci.org/StuartApp/h3_ruby)
6-
[![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)
5+
![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)
76

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

h3.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
1616
spec.add_runtime_dependency "rgeo-geojson", "~> 2.1"
1717
spec.add_runtime_dependency "zeitwerk", "~> 2.1"
1818

19-
spec.add_development_dependency "coveralls", "~> 0.8"
19+
# spec.add_development_dependency "coveralls", "~> 0.8"
2020
spec.add_development_dependency "rake", "~> 12.3"
2121
spec.add_development_dependency "rspec", "~> 3.8"
2222
spec.add_development_dependency "yard", "~> 0.9"

lib/h3/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module H3
2-
VERSION = "3.7.1".freeze
2+
VERSION = "3.7.2".freeze
33
end

spec/spec_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
require "coveralls"
2-
Coveralls.wear!
1+
# require "coveralls"
2+
# Coveralls.wear!
33

44
begin
55
require "h3"

0 commit comments

Comments
 (0)