regio 0.3.2 → 0.3.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 33db1ff3f8b85f69b9dd9a305ec77e9fbf5f4f7f127ed5286a5b1ad5a1abd83a
4
- data.tar.gz: 860d8377889cbf7893d5868a5e73af61748057e9f77a4cd6854453d752e476bd
3
+ metadata.gz: 31398e20f35c92dda1741f1aa3130bde18d9d53192ed708dda0613cfa288faa2
4
+ data.tar.gz: cf25884d244f0ed37f93d11eda30b124b0e80436a82b8de4e4857cda7550fbde
5
5
  SHA512:
6
- metadata.gz: a68c78729907b94fb0fd6fab2a33ac53b1b8bdc661ab33cacd3b70d93f4c94712a64ba8b7c108df4d4c48e35df2ab0f8f967ac26b94fe955318ea37bccf4bcd9
7
- data.tar.gz: f3794cb61072a66c2ecbae6f9dcb30fcb07e1b7de3950c8a48a4ccde17c3002e26a969ffa24588057d65da023f885af12c7d3f5e430fe812bd0868c393d1a466
6
+ metadata.gz: 03ad3c09e053973747ec234318b899a481056fe7cfaebb8dbec649e6b76da8529c8b5bbf8f1aae77433fc78df4a2a7d88a00fcd8ec7439155e3d39e99bcf6c3a
7
+ data.tar.gz: ad3d80ee9e683bd90b4514674f4032a442959a07609af99be3cbebb431ed8c0929bf713f6e55fce1ca303badceee3320def1b6ca726abd9358b0364019ad1042
data/.dockerignore ADDED
@@ -0,0 +1,13 @@
1
+ **/.git
2
+ **/.idea
3
+ /.github
4
+ /docs
5
+ /log
6
+ /tmp
7
+ /.dockerignore
8
+ /.editorconfig
9
+ /.gitattributes
10
+ /.gitignore
11
+ /docker-compose.yaml
12
+ /Dockerfile
13
+ /README.md
@@ -6,9 +6,27 @@ concurrency:
6
6
  group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
7
7
  cancel-in-progress: true
8
8
  jobs:
9
+ rspec-legacy:
10
+ name: RSpec with legacy ruby ${{matrix.ruby}}
11
+ runs-on: ubuntu-latest
12
+ env:
13
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/ruby_${{matrix.ruby}}.gemfile
14
+ strategy:
15
+ fail-fast: false
16
+ matrix:
17
+ ruby: ['2.4', '2.5', '2.6']
18
+ steps:
19
+ - uses: actions/checkout@v3
20
+ - uses: ruby/setup-ruby@v1
21
+ with:
22
+ ruby-version: ${{matrix.ruby}}
23
+ bundler-cache: true
24
+ - name: Test with RSpec
25
+ run: bundle exec rspec
9
26
  rspec:
10
27
  name: RSpec with ruby ${{matrix.ruby}}
11
28
  runs-on: ubuntu-latest
29
+ needs: rubocop
12
30
  strategy:
13
31
  fail-fast: false
14
32
  matrix:
@@ -20,7 +38,7 @@ jobs:
20
38
  ruby-version: ${{matrix.ruby}}
21
39
  bundler-cache: true
22
40
  - name: Test with RSpec
23
- run: COVERAGE=true bundle exec rspec
41
+ run: bundle exec rspec
24
42
  rubocop:
25
43
  name: RuboCop
26
44
  runs-on: ubuntu-latest
@@ -28,7 +46,7 @@ jobs:
28
46
  - uses: actions/checkout@v3
29
47
  - uses: ruby/setup-ruby@v1
30
48
  with:
31
- ruby-version: 3.1.2
49
+ ruby-version: 3.1.3
32
50
  bundler-cache: true
33
51
  - name: Check with RuboCop
34
52
  run: bundle exec rubocop
@@ -0,0 +1,70 @@
1
+ name: Release
2
+ on:
3
+ release:
4
+ types: [ released ]
5
+ jobs:
6
+ rubocop:
7
+ name: RuboCop
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v3
11
+ - uses: ruby/setup-ruby@v1
12
+ with:
13
+ ruby-version: 3.1.3
14
+ bundler-cache: true
15
+ - name: Check with RuboCop
16
+ run: bundle exec rubocop
17
+ rspec-legacy:
18
+ name: RSpec with legacy ruby ${{matrix.ruby}}
19
+ runs-on: ubuntu-latest
20
+ env:
21
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/ruby_${{matrix.ruby}}.gemfile
22
+ strategy:
23
+ fail-fast: false
24
+ matrix:
25
+ ruby: ['2.4', '2.5', '2.6']
26
+ steps:
27
+ - uses: actions/checkout@v3
28
+ - uses: ruby/setup-ruby@v1
29
+ with:
30
+ ruby-version: ${{matrix.ruby}}
31
+ bundler-cache: true
32
+ - name: Test with RSpec
33
+ run: bundle exec rspec
34
+ rspec:
35
+ name: RSpec with ruby ${{matrix.ruby}}
36
+ runs-on: ubuntu-latest
37
+ needs: rubocop
38
+ strategy:
39
+ fail-fast: false
40
+ matrix:
41
+ ruby: ['2.6', '2.7', '3.0', '3.1', head]
42
+ steps:
43
+ - uses: actions/checkout@v3
44
+ - uses: ruby/setup-ruby@v1
45
+ with:
46
+ ruby-version: ${{matrix.ruby}}
47
+ bundler-cache: true
48
+ - name: Test with RSpec
49
+ run: bundle exec rspec
50
+ build-and-push:
51
+ name: Build and push gem
52
+ runs-on: ubuntu-latest
53
+ needs: rspec
54
+ steps:
55
+ - uses: actions/checkout@v3
56
+ - uses: ruby/setup-ruby@v1
57
+ with:
58
+ ruby-version: 3.1.3
59
+ bundler-cache: true
60
+ - name: Setup credentials
61
+ run: |
62
+ mkdir -p $HOME/.gem
63
+ touch $HOME/.gem/credentials
64
+ chmod 0600 $HOME/.gem/credentials
65
+ printf -- "---\n:rubygems_api_key: ${RUBYGEMS_API_KEY}\n" > $HOME/.gem/credentials
66
+ env:
67
+ RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
68
+ - name: Release gem
69
+ run: |
70
+ bundle exec rake release
data/.rubocop.yml CHANGED
@@ -5,7 +5,7 @@ require:
5
5
  AllCops:
6
6
  NewCops: enable
7
7
  SuggestExtensions: false
8
- TargetRubyVersion: 2.6
8
+ TargetRubyVersion: 2.4
9
9
 
10
10
  RSpec/NestedGroups:
11
11
  Enabled: true
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Change log
2
2
 
3
+ ## v0.3.4 (06.07.2023)
4
+
5
+ * 2 minor enhancements:
6
+ * Add `ads_adr_id` into default options
7
+ * Set ruby 2.4 as minimum ruby version
8
+
9
+ ## v0.3.3 (21.03.2023)
10
+
11
+ * 1 minor enhancement:
12
+ * Development in docker
13
+
3
14
  ## v0.3.2 (10.03.2023)
4
15
 
5
16
  * 1 minor enhancement:
data/Dockerfile ADDED
@@ -0,0 +1,13 @@
1
+ FROM ruby:3.1.3-alpine3.17
2
+
3
+ WORKDIR /package
4
+
5
+ COPY . .
6
+
7
+ RUN apk add --update-cache --no-cache --virtual .build-deps g++ make \
8
+ && apk add --update-cache --no-cache gcompat git openssh-client \
9
+ && bundle install --jobs $(nproc) --retry 3 \
10
+ && rm -rf /usr/local/bundle/cache/*.gem \
11
+ && find /usr/local/bundle/gems/ -name "*.c" -delete \
12
+ && find /usr/local/bundle/gems/ -name "*.o" -delete \
13
+ && apk --purge del .build-deps
data/Gemfile CHANGED
@@ -8,7 +8,8 @@ gemspec
8
8
 
9
9
  group :development, :test do
10
10
  gem 'rspec', '~> 3.12.0'
11
- gem 'rubocop', '~> 1.48.0'
11
+
12
+ gem 'rubocop', '~> 1.48.1'
12
13
  gem 'rubocop-performance', '~> 1.16.0'
13
14
  gem 'rubocop-rspec', '~> 2.19.0'
14
15
  end
data/Gemfile.lock CHANGED
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- regio (0.3.2)
4
+ regio (0.3.4)
5
5
  httparty (>= 0.20, < 0.22)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- addressable (2.8.1)
10
+ addressable (2.8.4)
11
11
  public_suffix (>= 2.0.2, < 6.0)
12
12
  ast (2.4.2)
13
13
  crack (0.4.5)
@@ -21,28 +21,30 @@ GEM
21
21
  json (2.6.3)
22
22
  mini_mime (1.1.2)
23
23
  multi_xml (0.6.0)
24
- parallel (1.22.1)
25
- parser (3.2.1.1)
24
+ parallel (1.23.0)
25
+ parser (3.2.2.3)
26
26
  ast (~> 2.4.1)
27
+ racc
27
28
  public_suffix (5.0.1)
29
+ racc (1.7.1)
28
30
  rainbow (3.1.1)
29
31
  rake (13.0.6)
30
- regexp_parser (2.7.0)
32
+ regexp_parser (2.8.1)
31
33
  rexml (3.2.5)
32
34
  rspec (3.12.0)
33
35
  rspec-core (~> 3.12.0)
34
36
  rspec-expectations (~> 3.12.0)
35
37
  rspec-mocks (~> 3.12.0)
36
- rspec-core (3.12.1)
38
+ rspec-core (3.12.2)
37
39
  rspec-support (~> 3.12.0)
38
- rspec-expectations (3.12.2)
40
+ rspec-expectations (3.12.3)
39
41
  diff-lcs (>= 1.2.0, < 2.0)
40
42
  rspec-support (~> 3.12.0)
41
- rspec-mocks (3.12.3)
43
+ rspec-mocks (3.12.5)
42
44
  diff-lcs (>= 1.2.0, < 2.0)
43
45
  rspec-support (~> 3.12.0)
44
- rspec-support (3.12.0)
45
- rubocop (1.48.0)
46
+ rspec-support (3.12.1)
47
+ rubocop (1.48.1)
46
48
  json (~> 2.3)
47
49
  parallel (~> 1.10)
48
50
  parser (>= 3.2.0.0)
@@ -52,9 +54,9 @@ GEM
52
54
  rubocop-ast (>= 1.26.0, < 2.0)
53
55
  ruby-progressbar (~> 1.7)
54
56
  unicode-display_width (>= 2.4.0, < 3.0)
55
- rubocop-ast (1.27.0)
57
+ rubocop-ast (1.29.0)
56
58
  parser (>= 3.2.1.0)
57
- rubocop-capybara (2.17.1)
59
+ rubocop-capybara (2.18.0)
58
60
  rubocop (~> 1.41)
59
61
  rubocop-performance (1.16.0)
60
62
  rubocop (>= 1.7.0, < 2.0)
@@ -86,11 +88,11 @@ DEPENDENCIES
86
88
  rake (~> 13.0.6)
87
89
  regio!
88
90
  rspec (~> 3.12.0)
89
- rubocop (~> 1.48.0)
91
+ rubocop (~> 1.48.1)
90
92
  rubocop-performance (~> 1.16.0)
91
93
  rubocop-rspec (~> 2.19.0)
92
94
  simplecov (~> 0.22.0)
93
95
  webmock (~> 3.18.1)
94
96
 
95
97
  BUNDLED WITH
96
- 2.3.7
98
+ 2.3.26
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Regio
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/regio.svg)](https://badge.fury.io/rb/regio)
4
+ [![Release](https://github.com/tab/regio/actions/workflows/release.yaml/badge.svg?event=release)](https://github.com/tab/regio/actions/workflows/release.yaml)
4
5
 
5
6
  [Regio geocoding API](https://api.regio.ee/documentation/#docs/geocode) lets you search for addresses from complete Estonian address database.
6
7
 
@@ -11,7 +12,7 @@
11
12
  Add this line to your application's Gemfile:
12
13
 
13
14
  ```ruby
14
- gem 'regio', '~> 0.3.2'
15
+ gem 'regio', '~> 0.3.4'
15
16
  ```
16
17
 
17
18
  And then execute:
@@ -146,9 +147,25 @@ Check Regio [routing and directions](https://api.regio.ee/documentation/#docs/ro
146
147
 
147
148
  ## Development
148
149
 
149
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
150
+ Build docker container with compose:
150
151
 
151
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
152
+ ```bash
153
+ docker-compose build
154
+ docker-compose up
155
+ ```
156
+
157
+ Access to the container:
158
+
159
+ ```bash
160
+ docker-compose exec regio sh
161
+ ```
162
+
163
+ Run rspec or rubocop checks:
164
+
165
+ ```bash
166
+ /package # bundle exec rubocop
167
+ /package # bundle exec rspec
168
+ ```
152
169
 
153
170
  ## Contributing
154
171
 
@@ -0,0 +1,7 @@
1
+ services:
2
+ regio:
3
+ build: .
4
+ tty: true
5
+ stdin_open: true
6
+ volumes:
7
+ - .:/package
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
+
7
+ gemspec path: '../'
8
+
9
+ group :development, :test do
10
+ gem 'rspec', '~> 3.12.0'
11
+ end
12
+
13
+ group :test do
14
+ gem 'simplecov', '~> 0.18.0'
15
+ gem 'webmock', '~> 3.18.1'
16
+ end
@@ -0,0 +1,59 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ regio (0.3.4)
5
+ httparty (>= 0.20, < 0.22)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ addressable (2.8.4)
11
+ public_suffix (>= 2.0.2, < 6.0)
12
+ crack (0.4.5)
13
+ rexml
14
+ diff-lcs (1.5.0)
15
+ docile (1.3.5)
16
+ hashdiff (1.0.1)
17
+ httparty (0.21.0)
18
+ mini_mime (>= 1.0.0)
19
+ multi_xml (>= 0.5.2)
20
+ mini_mime (1.1.2)
21
+ multi_xml (0.6.0)
22
+ public_suffix (4.0.7)
23
+ rake (13.0.6)
24
+ rexml (3.2.5)
25
+ rspec (3.12.0)
26
+ rspec-core (~> 3.12.0)
27
+ rspec-expectations (~> 3.12.0)
28
+ rspec-mocks (~> 3.12.0)
29
+ rspec-core (3.12.2)
30
+ rspec-support (~> 3.12.0)
31
+ rspec-expectations (3.12.3)
32
+ diff-lcs (>= 1.2.0, < 2.0)
33
+ rspec-support (~> 3.12.0)
34
+ rspec-mocks (3.12.5)
35
+ diff-lcs (>= 1.2.0, < 2.0)
36
+ rspec-support (~> 3.12.0)
37
+ rspec-support (3.12.1)
38
+ simplecov (0.18.5)
39
+ docile (~> 1.1)
40
+ simplecov-html (~> 0.11)
41
+ simplecov-html (0.12.3)
42
+ webmock (3.18.1)
43
+ addressable (>= 2.8.0)
44
+ crack (>= 0.3.2)
45
+ hashdiff (>= 0.4.0, < 2.0.0)
46
+
47
+ PLATFORMS
48
+ x86_64-linux-musl
49
+
50
+ DEPENDENCIES
51
+ bundler (~> 2.3.0)
52
+ rake (~> 13.0.6)
53
+ regio!
54
+ rspec (~> 3.12.0)
55
+ simplecov (~> 0.18.0)
56
+ webmock (~> 3.18.1)
57
+
58
+ BUNDLED WITH
59
+ 2.3.26
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
+
7
+ gemspec path: '../'
8
+
9
+ group :development, :test do
10
+ gem 'rspec', '~> 3.12.0'
11
+ end
12
+
13
+ group :test do
14
+ gem 'simplecov', '~> 0.18.0'
15
+ gem 'webmock', '~> 3.18.1'
16
+ end
@@ -0,0 +1,59 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ regio (0.3.4)
5
+ httparty (>= 0.20, < 0.22)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ addressable (2.8.4)
11
+ public_suffix (>= 2.0.2, < 6.0)
12
+ crack (0.4.5)
13
+ rexml
14
+ diff-lcs (1.5.0)
15
+ docile (1.4.0)
16
+ hashdiff (1.0.1)
17
+ httparty (0.21.0)
18
+ mini_mime (>= 1.0.0)
19
+ multi_xml (>= 0.5.2)
20
+ mini_mime (1.1.2)
21
+ multi_xml (0.6.0)
22
+ public_suffix (4.0.7)
23
+ rake (13.0.6)
24
+ rexml (3.2.5)
25
+ rspec (3.12.0)
26
+ rspec-core (~> 3.12.0)
27
+ rspec-expectations (~> 3.12.0)
28
+ rspec-mocks (~> 3.12.0)
29
+ rspec-core (3.12.2)
30
+ rspec-support (~> 3.12.0)
31
+ rspec-expectations (3.12.3)
32
+ diff-lcs (>= 1.2.0, < 2.0)
33
+ rspec-support (~> 3.12.0)
34
+ rspec-mocks (3.12.5)
35
+ diff-lcs (>= 1.2.0, < 2.0)
36
+ rspec-support (~> 3.12.0)
37
+ rspec-support (3.12.1)
38
+ simplecov (0.18.5)
39
+ docile (~> 1.1)
40
+ simplecov-html (~> 0.11)
41
+ simplecov-html (0.12.3)
42
+ webmock (3.18.1)
43
+ addressable (>= 2.8.0)
44
+ crack (>= 0.3.2)
45
+ hashdiff (>= 0.4.0, < 2.0.0)
46
+
47
+ PLATFORMS
48
+ x86_64-linux-musl
49
+
50
+ DEPENDENCIES
51
+ bundler (~> 2.3.0)
52
+ rake (~> 13.0.6)
53
+ regio!
54
+ rspec (~> 3.12.0)
55
+ simplecov (~> 0.18.0)
56
+ webmock (~> 3.18.1)
57
+
58
+ BUNDLED WITH
59
+ 2.3.26
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
+
7
+ gemspec path: '../'
8
+
9
+ group :development, :test do
10
+ gem 'rspec', '~> 3.12.0'
11
+ end
12
+
13
+ group :test do
14
+ gem 'simplecov', '~> 0.18.0'
15
+ gem 'webmock', '~> 3.18.1'
16
+ end
@@ -0,0 +1,59 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ regio (0.3.4)
5
+ httparty (>= 0.20, < 0.22)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ addressable (2.8.4)
11
+ public_suffix (>= 2.0.2, < 6.0)
12
+ crack (0.4.5)
13
+ rexml
14
+ diff-lcs (1.5.0)
15
+ docile (1.4.0)
16
+ hashdiff (1.0.1)
17
+ httparty (0.21.0)
18
+ mini_mime (>= 1.0.0)
19
+ multi_xml (>= 0.5.2)
20
+ mini_mime (1.1.2)
21
+ multi_xml (0.6.0)
22
+ public_suffix (5.0.1)
23
+ rake (13.0.6)
24
+ rexml (3.2.5)
25
+ rspec (3.12.0)
26
+ rspec-core (~> 3.12.0)
27
+ rspec-expectations (~> 3.12.0)
28
+ rspec-mocks (~> 3.12.0)
29
+ rspec-core (3.12.2)
30
+ rspec-support (~> 3.12.0)
31
+ rspec-expectations (3.12.3)
32
+ diff-lcs (>= 1.2.0, < 2.0)
33
+ rspec-support (~> 3.12.0)
34
+ rspec-mocks (3.12.5)
35
+ diff-lcs (>= 1.2.0, < 2.0)
36
+ rspec-support (~> 3.12.0)
37
+ rspec-support (3.12.1)
38
+ simplecov (0.18.5)
39
+ docile (~> 1.1)
40
+ simplecov-html (~> 0.11)
41
+ simplecov-html (0.12.3)
42
+ webmock (3.18.1)
43
+ addressable (>= 2.8.0)
44
+ crack (>= 0.3.2)
45
+ hashdiff (>= 0.4.0, < 2.0.0)
46
+
47
+ PLATFORMS
48
+ x86_64-linux-musl
49
+
50
+ DEPENDENCIES
51
+ bundler (~> 2.3.0)
52
+ rake (~> 13.0.6)
53
+ regio!
54
+ rspec (~> 3.12.0)
55
+ simplecov (~> 0.18.0)
56
+ webmock (~> 3.18.1)
57
+
58
+ BUNDLED WITH
59
+ 2.3.26
data/lib/regio/core.rb CHANGED
@@ -45,6 +45,7 @@ module Regio
45
45
 
46
46
  def default_hash_for(result)
47
47
  {
48
+ ads_adr_id: result[:ads_adr_id],
48
49
  regio_id: result[:id],
49
50
  title: result[:address],
50
51
  valid: result[:is_valid],
data/lib/regio/geocode.rb CHANGED
@@ -23,7 +23,7 @@ module Regio
23
23
  country: 'ee',
24
24
  apikey: Configuration.api_key,
25
25
  address_format: 'long_address',
26
- details: 'id,address,postcode,type,components,geometry,is_valid,is_complete',
26
+ details: 'id,address,ads_adr_id,postcode,type,components,geometry,is_valid,is_complete',
27
27
  output_format: 'json',
28
28
  limit: 25
29
29
  }
@@ -22,7 +22,7 @@ module Regio
22
22
  {
23
23
  apikey: Configuration.api_key,
24
24
  address_format: 'long_address',
25
- details: 'id,address,postcode,type,components,geometry,is_valid,is_complete',
25
+ details: 'id,address,ads_adr_id,postcode,type,components,geometry,is_valid,is_complete',
26
26
  output_format: 'json',
27
27
  limit: 25
28
28
  }
data/lib/regio/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Regio
4
- VERSION = '0.3.2'
4
+ VERSION = '0.3.4'
5
5
  end
data/regio.gemspec CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.homepage = 'https://github.com/tab/regio'
16
16
  spec.license = 'MIT'
17
17
 
18
- spec.required_ruby_version = '>= 2.6'
18
+ spec.required_ruby_version = '>= 2.4'
19
19
 
20
20
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
21
21
  # to allow pushing to a single host or delete this section to allow pushing to any host.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: regio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - tab
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-10 00:00:00.000000000 Z
11
+ date: 2023-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -66,15 +66,18 @@ executables: []
66
66
  extensions: []
67
67
  extra_rdoc_files: []
68
68
  files:
69
+ - ".dockerignore"
69
70
  - ".editorconfig"
70
71
  - ".github/PULL_REQUEST_TEMPLATE.md"
71
72
  - ".github/dependabot.yml"
72
- - ".github/workflows/checks.yml"
73
+ - ".github/workflows/checks.yaml"
74
+ - ".github/workflows/release.yaml"
73
75
  - ".gitignore"
74
76
  - ".rspec"
75
77
  - ".rubocop.yml"
76
78
  - CHANGELOG.md
77
79
  - CODE_OF_CONDUCT.md
80
+ - Dockerfile
78
81
  - Gemfile
79
82
  - Gemfile.lock
80
83
  - LICENSE.txt
@@ -82,6 +85,13 @@ files:
82
85
  - Rakefile
83
86
  - bin/console
84
87
  - bin/setup
88
+ - docker-compose.yaml
89
+ - gemfiles/ruby_2.4.gemfile
90
+ - gemfiles/ruby_2.4.gemfile.lock
91
+ - gemfiles/ruby_2.5.gemfile
92
+ - gemfiles/ruby_2.5.gemfile.lock
93
+ - gemfiles/ruby_2.6.gemfile
94
+ - gemfiles/ruby_2.6.gemfile.lock
85
95
  - lib/regio.rb
86
96
  - lib/regio/configuration.rb
87
97
  - lib/regio/core.rb
@@ -103,7 +113,7 @@ metadata:
103
113
  source_code_uri: https://github.com/tab/regio
104
114
  changelog_uri: https://github.com/tab/regio/blob/master/CHANGELOG.md
105
115
  rubygems_mfa_required: 'true'
106
- post_install_message:
116
+ post_install_message:
107
117
  rdoc_options: []
108
118
  require_paths:
109
119
  - lib
@@ -111,15 +121,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
121
  requirements:
112
122
  - - ">="
113
123
  - !ruby/object:Gem::Version
114
- version: '2.6'
124
+ version: '2.4'
115
125
  required_rubygems_version: !ruby/object:Gem::Requirement
116
126
  requirements:
117
127
  - - ">="
118
128
  - !ruby/object:Gem::Version
119
129
  version: '0'
120
130
  requirements: []
121
- rubygems_version: 3.3.7
122
- signing_key:
131
+ rubygems_version: 3.3.26
132
+ signing_key:
123
133
  specification_version: 4
124
134
  summary: Regio geocoding API
125
135
  test_files: []