assinafy 1.8.0 → 1.8.1

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: 5c8637c85e37c7dc8a524e97a7e32ffeeed8b4f2a0f8772d51dc8966a1a6b716
4
- data.tar.gz: 8ac098cbe6a55604c944ec60645ea4cbace737d56b840862ea8945ba7607e70c
3
+ metadata.gz: de868e0ed87ada5a4456c4a811a1aa8057a6c482b344944661a0a4670ab86057
4
+ data.tar.gz: cef6d34ac264a694a194ca46ec35810836d0660001fcea5d351a1bbfff1dc638
5
5
  SHA512:
6
- metadata.gz: 1f8f64f0af1beace16c369b7fd7638931b34f46da608f48d54dde4e5e1d0a69b3b54b00fdef3d8278dee965e961d161697f33097d962d0317e321e5cfa5a0f04
7
- data.tar.gz: 8dc95c0b6ebbbfba1ef7e3798e5b728e09232cd340258449693cc385e45fdf95331e9f3ae6b957b685c8cfc979058a0553038dae79dcf216081089dc99d8cd9a
6
+ metadata.gz: 24fff2f9be29fbcf69788f6f217f541c9d68ba22c10ec6dbb2f557e2c9c3d827fe57004294d6c8af7cc1c38dd6e8ca2ff12bb826995a97ea7a111eae8589dac4
7
+ data.tar.gz: 6e7ffbaa337b9480c118bd1d5ef2d3423bba3622e333a5b6c11b20ed594df78cc03772e7243ff2ca919f272aab8efdf439db3bb06d3f9180553c8388e7f0753b
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to the `assinafy` Ruby gem are documented here.
4
4
 
5
+ ## 1.8.1
6
+
7
+ - The SDK's own HTTPS client now requires TLS 1.2 or newer; TLS 1.0 and 1.1 are refused. Caller-supplied clients are unchanged.
8
+
5
9
  ## 1.8.0
6
10
 
7
11
  - The OAuth scope catalog includes `webhooks:write` for configuring and deactivating a workspace webhook subscription.
data/README.en.md CHANGED
@@ -18,6 +18,7 @@ The SDK exposes every Assinafy API v1 operation — including the OAuth 2.1 flow
18
18
 
19
19
  - Ruby 3.2+ (maintained support: 3.3+; 3.2 is legacy/EOL compatibility)
20
20
  - Bundler
21
+ - TLS 1.2 or newer (the SDK refuses TLS 1.0 and 1.1)
21
22
 
22
23
  ## Installation
23
24
 
data/README.md CHANGED
@@ -42,6 +42,7 @@ Este documento acompanha uma integração do início ao fim. Para consulta rápi
42
42
 
43
43
  - Ruby 3.2+ (suporte mantido: 3.3+; 3.2 é compatibilidade legada/EOL)
44
44
  - Bundler
45
+ - TLS 1.2 ou superior (o SDK recusa TLS 1.0 e 1.1)
45
46
 
46
47
  Do RubyGems.org:
47
48
 
@@ -253,7 +253,8 @@ module Assinafy
253
253
  private
254
254
 
255
255
  def build_connection(config)
256
- Faraday.new(url: config.base_url) do |f|
256
+ # The API rejects TLS 1.0 and 1.1; never offer them.
257
+ Faraday.new(url: config.base_url, ssl: { min_version: OpenSSL::SSL::TLS1_2_VERSION }) do |f|
257
258
  f.request :multipart
258
259
  f.request :json
259
260
  f.response :json, content_type: /\bjson/
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Assinafy
4
- VERSION = '1.8.0'
4
+ VERSION = '1.8.1'
5
5
  USER_AGENT = "Assinafy-Ruby-SDK/v#{VERSION}".freeze
6
6
  end
data/lib/assinafy.rb CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  require 'faraday'
4
4
  require 'faraday/multipart'
5
+ require 'openssl'
5
6
  require 'stringio'
6
7
 
7
8
  require_relative 'assinafy/version'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: assinafy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Assinafy SDK Contributors