Skip to content

Commit df24c04

Browse files
authored
⬆️ switch to origamindee (#12)
1 parent 37d45a4 commit df24c04

File tree

3 files changed

+19
-15
lines changed

3 files changed

+19
-15
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,19 @@ on:
88

99
jobs:
1010
tests:
11-
name: Run Tests
12-
runs-on: ubuntu-latest
11+
name: Test ${{ matrix.os }}, Ruby ${{ matrix.ruby }}
12+
runs-on: ${{ matrix.os }}
1313
strategy:
1414
matrix:
15+
os:
16+
- "ubuntu-22.04"
17+
- "ubuntu-20.04"
18+
- "macos-latest"
1519
ruby:
1620
- "2.6"
1721
- "2.7"
22+
- "3.0"
23+
- "3.1"
1824
steps:
1925
- uses: actions/checkout@v3
2026
with:
@@ -28,4 +34,4 @@ jobs:
2834

2935
- name: Run Rspec
3036
run: |
31-
bundle exec rspec ./spec/*
37+
bundle exec rake spec

Gemfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,3 @@ source 'https://rubygems.org'
44

55
# Specify your gem's dependencies in mindee.gemspec
66
gemspec
7-
8-
gem 'rake', '~> 12.0'
9-
gem 'rubocop', require: false
10-
11-
group :test do
12-
gem 'rspec', '~> 3.10'
13-
end

mindee.gemspec

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ require_relative 'lib/mindee/version'
55
Gem::Specification.new do |spec|
66
spec.name = 'mindee'
77
spec.version = Mindee::VERSION
8-
spec.authors = ['Mindee']
8+
spec.authors = ['Mindee, SA']
99
spec.email = ['devrel@mindee.co']
1010

1111
spec.summary = 'Mindee API Helper Library for Ruby'
12-
# spec.description = %q{TODO: Write a longer description or delete this line.}
12+
spec.description = "Quickly and easily connect to Mindee's API services using Ruby."
1313
spec.homepage = 'https://github.com/mindee/mindee-api-ruby'
1414
spec.license = 'MIT'
15-
spec.required_ruby_version = Gem::Requirement.new('>= 2.6.0')
1615

1716
spec.metadata['homepage_uri'] = 'https://mindee.com/'
1817
spec.metadata['source_code_uri'] = 'https://github.com/mindee/mindee-api-ruby'
@@ -28,7 +27,13 @@ Gem::Specification.new do |spec|
2827
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
2928
spec.require_paths = ['lib']
3029

30+
spec.required_ruby_version = Gem::Requirement.new('>= 2.6')
31+
3132
spec.add_runtime_dependency 'marcel', '~> 1.0.2'
32-
spec.add_runtime_dependency 'mrz', '~> 0.2.0'
33-
spec.add_runtime_dependency 'origami', '~> 2.1.0'
33+
spec.add_runtime_dependency 'mrz', '~> 0.2'
34+
spec.add_runtime_dependency 'origamindee', '~> 3.0'
35+
36+
spec.add_development_dependency 'rake', '~> 12.3.1'
37+
spec.add_development_dependency 'rspec', '~> 3.11'
38+
spec.add_development_dependency 'rubocop', '~> 1.41'
3439
end

0 commit comments

Comments
 (0)