Skip to content

Commit e825637

Browse files
authored
Add examples/batch.rb script to demo batch geocoding with the async gem (#29)
* Add examples/batch.rb script to demo batch geocoding with the async gem * Stop testing Ruby 3.0 Ruby 3.0 is end of life and the async gem is not compatible with it.
1 parent fb65fa8 commit e825637

File tree

5 files changed

+682
-1
lines changed

5 files changed

+682
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
matrix:
1414
os: [ubuntu-latest]
1515
# https://www.ruby-lang.org/en/downloads/branches/
16-
ruby: ["3.0", "3.1", "3.2", "3.3"]
16+
ruby: ["3.1", "3.2", "3.3"]
1717
runs-on: ${{ matrix.os }}
1818
steps:
1919
- uses: actions/checkout@v4

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ source 'https://rubygems.org'
33
gemspec
44

55
group :development, :test do
6+
gem 'async'
67
gem 'rake'
78
gem 'rspec'
89
gem 'rubocop'

Gemfile.lock

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,25 @@ GEM
99
addressable (2.8.6)
1010
public_suffix (>= 2.0.2, < 6.0)
1111
ast (2.4.2)
12+
async (2.19.0)
13+
console (~> 1.29)
14+
fiber-annotation
15+
io-event (~> 1.6, >= 1.6.5)
1216
bigdecimal (3.1.8)
17+
console (1.29.0)
18+
fiber-annotation
19+
fiber-local (~> 1.1)
20+
json
1321
crack (1.0.0)
1422
bigdecimal
1523
rexml
1624
diff-lcs (1.5.1)
25+
fiber-annotation (0.2.0)
26+
fiber-local (1.1.0)
27+
fiber-storage
28+
fiber-storage (1.0.0)
1729
hashdiff (1.1.0)
30+
io-event (1.7.3)
1831
json (2.7.2)
1932
language_server-protocol (3.17.0.3)
2033
parallel (1.25.1)
@@ -78,6 +91,7 @@ PLATFORMS
7891
ruby
7992

8093
DEPENDENCIES
94+
async
8195
opencage-geocoder!
8296
rake
8397
rspec

0 commit comments

Comments
 (0)