onfido 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e01591b4bd8952e983ea3f65ad8b534dcc43efa6e4243c33c340150771081b49
4
- data.tar.gz: c40818067b6634ac7af1a0e4472163fbbd2538a462730d364b0b7de82e5de405
3
+ metadata.gz: dac270e812885659e0a16e9a2a65c934de0b82c5df4f3422755665094e261d93
4
+ data.tar.gz: f2f66564aa340e239fde067fcff022d0b8db316fbb472e55d429d83dc051b4af
5
5
  SHA512:
6
- metadata.gz: 3774da7d757f4e3a48e1fecd437792d7dc69e39bb765b5828383b84ee8ecf508504deddb1cbd1770c600e01be3d610619049f7cbe1aa6b78113c5c699313c768
7
- data.tar.gz: d27a782d5304688d4437ab8bf5d7218c25396502e71e802bf9af8d70b5ff55aaf59f2dafc5ad458e37db54614af769104f022aca4ff11dc0b9c42d200dabd9c4
6
+ metadata.gz: 3d14985d14c7fab0ddd535154cdb9c67d5bc7c4b70405d70faec190e7fa87fd5efff3248264261137f5db97371aebc41dd2e6fc03118b2cca402f50285986420
7
+ data.tar.gz: 5f8af0136caaba37b6a5c37c5f912e01f89d5b79f03e53fa5eccb442cde2ca67dd5999228d815c13e8161bdc8ecdf4a134e8d24749eff4c17f2503e22fe332b3
@@ -0,0 +1,31 @@
1
+ name: Ruby Gem
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ build:
9
+ name: Build + Publish
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: read
13
+ packages: write
14
+
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ - name: Set up Ruby 2.6
18
+ uses: actions/setup-ruby@v1
19
+ with:
20
+ ruby-version: 2.6.x
21
+
22
+ - name: Publish to RubyGems
23
+ run: |
24
+ mkdir -p $HOME/.gem
25
+ touch $HOME/.gem/credentials
26
+ chmod 0600 $HOME/.gem/credentials
27
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
28
+ gem build *.gemspec
29
+ gem push *.gem
30
+ env:
31
+ GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
@@ -0,0 +1,25 @@
1
+ name: Ruby
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
+ strategy:
14
+ matrix:
15
+ ruby-version: ['2.4', '2.5', '2.6', '2.7', '3.0']
16
+
17
+ steps:
18
+ - uses: actions/checkout@v2
19
+ - name: Set up Ruby
20
+ uses: ruby/setup-ruby@v1
21
+ with:
22
+ ruby-version: ${{ matrix.ruby-version }}
23
+ bundler-cache: true
24
+ - name: Run tests
25
+ run: bundle exec rspec spec
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v2.0.1, 27 May 2021
2
+
3
+ - Remove onfido/null_logger
4
+
1
5
  ## v2.0.0, 5 May 2021
2
6
 
3
7
  - Remove global configuration, all configuration is now per `Onfido::API` instance
data/README.md CHANGED
@@ -14,7 +14,7 @@ This version uses Onfido API v3.1 and is compatible with Ruby 2.4 onwards. Refer
14
14
  Add this line to your application's Gemfile:
15
15
 
16
16
  ```ruby
17
- gem 'onfido', '~> 2.0.0'
17
+ gem 'onfido', '~> 2.0.1'
18
18
  ```
19
19
 
20
20
  ## Getting started
data/lib/onfido.rb CHANGED
@@ -10,7 +10,6 @@ require 'onfido/errors/onfido_error'
10
10
  require 'onfido/errors/request_error'
11
11
  require 'onfido/errors/server_error'
12
12
  require 'onfido/errors/connection_error'
13
- require 'onfido/null_logger'
14
13
  require 'onfido/api'
15
14
  require 'onfido/options'
16
15
  require 'onfido/resource'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Onfido
4
- VERSION = '2.0.0'
4
+ VERSION = '2.0.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onfido
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Onfido
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-05 00:00:00.000000000 Z
11
+ date: 2021-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -117,6 +117,8 @@ executables: []
117
117
  extensions: []
118
118
  extra_rdoc_files: []
119
119
  files:
120
+ - ".github/workflows/gem-push.yml"
121
+ - ".github/workflows/ruby.yml"
120
122
  - ".gitignore"
121
123
  - ".rspec"
122
124
  - ".rubocop.yml"
@@ -186,7 +188,7 @@ homepage: http://github.com/onfido/onfido-ruby
186
188
  licenses:
187
189
  - MIT
188
190
  metadata: {}
189
- post_install_message:
191
+ post_install_message:
190
192
  rdoc_options: []
191
193
  require_paths:
192
194
  - lib
@@ -201,8 +203,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
201
203
  - !ruby/object:Gem::Version
202
204
  version: '0'
203
205
  requirements: []
204
- rubygems_version: 3.1.4
205
- signing_key:
206
+ rubygems_version: 3.0.3.1
207
+ signing_key:
206
208
  specification_version: 4
207
209
  summary: A wrapper for Onfido API
208
210
  test_files: