Skip to content

Commit 6532a52

Browse files
committed
Release v2.0.0 Ruby SDK
1 parent 2fc9037 commit 6532a52

238 files changed

Lines changed: 2559 additions & 28041 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,4 @@
1-
# Generated by: https://openapi-generator.tech
2-
#
3-
1+
.bundle/
2+
.gems/
43
*.gem
5-
*.rbc
6-
/.config
7-
/coverage/
8-
/InstalledFiles
9-
/pkg/
10-
/spec/reports/
11-
/spec/examples.txt
12-
/test/tmp/
13-
/test/version_tmp/
14-
/tmp/
15-
16-
## Specific to RubyMotion:
17-
.dat*
18-
.repl_history
19-
build/
20-
21-
## Documentation cache and generated files:
22-
/.yardoc/
23-
/_yardoc/
24-
/doc/
25-
/rdoc/
26-
27-
## Environment normalization:
28-
/.bundle/
29-
/vendor/bundle
30-
/lib/bundler/man/
31-
32-
# for a library or gem, you might want to ignore these files since the code is
33-
# intended to run in multiple environments; otherwise, check them in:
34-
# Gemfile.lock
35-
# .ruby-version
36-
# .ruby-gemset
37-
38-
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
39-
.rvmrc
40-
41-
# Ignore idea directory
42-
.idea/
4+
spec/examples.txt

.gitlab-ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
- bundle install -j $(nproc)
88
parallel:
99
matrix:
10-
- RUBY_VERSION: ['2.7', '3.0', '3.1']
10+
- RUBY_VERSION: ['2.7', '3.2', '3.3', '3.4']
1111
image: "ruby:$RUBY_VERSION"
1212
cache:
1313
paths:
@@ -23,4 +23,3 @@ gem:
2323
artifacts:
2424
paths:
2525
- pkg/*.gem
26-

.rspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
--color
21
--require spec_helper
2+
--pattern spec/ip_location/**/*_spec.rb

.rubocop.yml

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

.travis.yml

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

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changelog
2+
3+
## 2.0.0
4+
5+
- Replaced the old generated v1 gem with the new Ruby SDK for the IPGeolocation.io IP Location API.
6+
- Added typed and raw single lookup methods for `/v3/ipgeo`.
7+
- Added typed and raw bulk lookup methods for `/v3/ipgeo-bulk`.
8+
- Added request validation, metadata parsing, JSON helpers, and explicit error mapping.

Gemfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
source 'https://rubygems.org'
1+
source "https://rubygems.org"
22

33
gemspec
4-
5-
group :development, :test do
6-
gem 'rake', '~> 13.0.1'
7-
gem 'pry-byebug'
8-
gem 'rubocop', '~> 0.66.0'
9-
end

0 commit comments

Comments
 (0)