From 3bdbc51f1ed16bdf5427194a0f519ab228e9bccf Mon Sep 17 00:00:00 2001 From: joker1007 Date: Thu, 7 Sep 2023 14:45:29 +0900 Subject: [PATCH] chore: update rbs_collection --- rbs_collection.lock.yaml | 18 +++++++++--------- rbs_collection.yaml | 2 -- sig/yaml_vault.rbs | 10 ++++++---- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/rbs_collection.lock.yaml b/rbs_collection.lock.yaml index 2aefa79..51ad548 100644 --- a/rbs_collection.lock.yaml +++ b/rbs_collection.lock.yaml @@ -2,7 +2,7 @@ sources: - type: git name: ruby/gem_rbs_collection - revision: b42e4de88058603a34446942143b3ac197b9685c + revision: 248499a924c3cb331d40ca667d40528814043788 remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems path: ".gem_rbs_collection" @@ -12,7 +12,7 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: b42e4de88058603a34446942143b3ac197b9685c + revision: 248499a924c3cb331d40ca667d40528814043788 remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: aws-sdk-core @@ -20,7 +20,7 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: b42e4de88058603a34446942143b3ac197b9685c + revision: 248499a924c3cb331d40ca667d40528814043788 remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: aws-sdk-kms @@ -28,7 +28,7 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: b42e4de88058603a34446942143b3ac197b9685c + revision: 248499a924c3cb331d40ca667d40528814043788 remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: concurrent-ruby @@ -36,7 +36,7 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: b42e4de88058603a34446942143b3ac197b9685c + revision: 248499a924c3cb331d40ca667d40528814043788 remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: date @@ -52,7 +52,7 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: b42e4de88058603a34446942143b3ac197b9685c + revision: 248499a924c3cb331d40ca667d40528814043788 remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: forwardable @@ -64,7 +64,7 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: b42e4de88058603a34446942143b3ac197b9685c + revision: 248499a924c3cb331d40ca667d40528814043788 remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: i18n @@ -72,7 +72,7 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: b42e4de88058603a34446942143b3ac197b9685c + revision: 248499a924c3cb331d40ca667d40528814043788 remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: jwt @@ -80,7 +80,7 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: b42e4de88058603a34446942143b3ac197b9685c + revision: 248499a924c3cb331d40ca667d40528814043788 remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: logger diff --git a/rbs_collection.yaml b/rbs_collection.yaml index b73db80..fb6e118 100644 --- a/rbs_collection.yaml +++ b/rbs_collection.yaml @@ -20,5 +20,3 @@ gems: ignore: true - name: steep ignore: true - - name: yaml_vault - ignore: true diff --git a/sig/yaml_vault.rbs b/sig/yaml_vault.rbs index c5a6098..2b12a5d 100644 --- a/sig/yaml_vault.rbs +++ b/sig/yaml_vault.rbs @@ -33,16 +33,18 @@ module YamlVault @client: Aws::KMS::Client @key_id: String - def encrypt: (String) -> String - def decrypt: (String) -> String + def initialize: (String, ?region: String?, ?aws_access_key_id: String?, ?aws_secret_access_key: String?, ?aws_profile: String?) -> void + + include _Cryptor end class GCPKMS @client: untyped # Google::Apis::CloudkmsV1::CloudKMSService @resource_id: String - def encrypt: (String) -> String - def decrypt: (String) -> String + def initialize: (String, String) -> void + + include _Cryptor end end end