strongdm 3.5.4 → 3.5.5

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: 26bb5c6d3b67af78738a037db602560b047d19147e80125624bf26b9e5094ff1
4
- data.tar.gz: 78889f6a6119715e2a2d97c712f337aa54242275090b4c71f073e743a1d3cb8d
3
+ metadata.gz: 05f597f5d34b2450a28bf04dffc2921eb8fd6a51b4e80ddf7967da4d4dca1522
4
+ data.tar.gz: 0fbb02d96799b6fc07866ed9e62555be5ab7cf00b723ed7d95c9e26ed9fce4c3
5
5
  SHA512:
6
- metadata.gz: 5f2172eab367d58c9d06a6bcc3e212ca9f0f40ed085f95da31b6213405f86f09be3c11d22d702a58bc74df297a0e6ec124a7b82420d8cc565509c1f8c7acfb51
7
- data.tar.gz: 57473b6a8f090d9757935750b537e78c3110a18e6cbfe56fb062d4b4ef436f089aa2ca19394dab256f7376c7b5b0a5381a19b10d9a3ebe6b6bc107d6bedcc9f7
6
+ metadata.gz: cf0903d086fa186201d64fdd22653f65bb677c8d9cb26e05a07fed4b08b5bb294b686b6a9c8414bf598f5b434c284c7aa9e07e0c7ca3d7d60679541ef21f2f78
7
+ data.tar.gz: d68a6d9fe5a7676dcd31920c4ebf799abdc609d322e6fa5aa34efe293db1c78452d7ebbed9834544b22e003b9d98faec1f5fdef89be27eabcf23151e86795ddd
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- 003b46a249146cb3a4f25d16432c89f0b78ac37c
1
+ 67d9309e77842e64a4b43d8c3fa2c52ece706a3d
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 003b46a249146cb3a4f25d16432c89f0b78ac37c sdmrelease <support@strongdm.com> 1671147054 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
- 003b46a249146cb3a4f25d16432c89f0b78ac37c 003b46a249146cb3a4f25d16432c89f0b78ac37c sdmrelease <support@strongdm.com> 1671147054 +0000 checkout: moving from master to master
3
- 003b46a249146cb3a4f25d16432c89f0b78ac37c 67d9309e77842e64a4b43d8c3fa2c52ece706a3d sdmrelease <support@strongdm.com> 1671147054 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 67d9309e77842e64a4b43d8c3fa2c52ece706a3d sdmrelease <support@strongdm.com> 1671651098 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
+ 67d9309e77842e64a4b43d8c3fa2c52ece706a3d 67d9309e77842e64a4b43d8c3fa2c52ece706a3d sdmrelease <support@strongdm.com> 1671651098 +0000 checkout: moving from master to master
3
+ 67d9309e77842e64a4b43d8c3fa2c52ece706a3d ed61eaceb77e62a0c1a0bb8d36fc0bda7b242af4 sdmrelease <support@strongdm.com> 1671651098 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 003b46a249146cb3a4f25d16432c89f0b78ac37c sdmrelease <support@strongdm.com> 1671147054 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
- 003b46a249146cb3a4f25d16432c89f0b78ac37c 67d9309e77842e64a4b43d8c3fa2c52ece706a3d sdmrelease <support@strongdm.com> 1671147054 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 67d9309e77842e64a4b43d8c3fa2c52ece706a3d sdmrelease <support@strongdm.com> 1671651098 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
+ 67d9309e77842e64a4b43d8c3fa2c52ece706a3d ed61eaceb77e62a0c1a0bb8d36fc0bda7b242af4 sdmrelease <support@strongdm.com> 1671651098 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 003b46a249146cb3a4f25d16432c89f0b78ac37c sdmrelease <support@strongdm.com> 1671147054 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 67d9309e77842e64a4b43d8c3fa2c52ece706a3d sdmrelease <support@strongdm.com> 1671651098 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
data/.git/packed-refs CHANGED
@@ -1,6 +1,6 @@
1
1
  # pack-refs with: peeled fully-peeled sorted
2
- 67d9309e77842e64a4b43d8c3fa2c52ece706a3d refs/remotes/origin/development
3
- 003b46a249146cb3a4f25d16432c89f0b78ac37c refs/remotes/origin/master
2
+ ed61eaceb77e62a0c1a0bb8d36fc0bda7b242af4 refs/remotes/origin/development
3
+ 67d9309e77842e64a4b43d8c3fa2c52ece706a3d refs/remotes/origin/master
4
4
  2e4fe8087177ddea9b3991ca499f758384839c89 refs/tags/untagged-84fd83a4484c785cce63
5
5
  04f604866214fab4d5663b5171a3e596331577bd refs/tags/v0.9.4
6
6
  6f9a7b75b345c65fb554884907b7060680c807b7 refs/tags/v0.9.5
@@ -52,3 +52,4 @@ c07c84aa4982d50d60f10720b331c76f56f8c53f refs/tags/v3.3.2
52
52
  bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 refs/tags/v3.5.0
53
53
  8ddacf3c9cbe388ee11ed4617ba41cf7b0cc2a41 refs/tags/v3.5.1
54
54
  003b46a249146cb3a4f25d16432c89f0b78ac37c refs/tags/v3.5.3
55
+ 67d9309e77842e64a4b43d8c3fa2c52ece706a3d refs/tags/v3.5.4
@@ -1 +1 @@
1
- 67d9309e77842e64a4b43d8c3fa2c52ece706a3d
1
+ ed61eaceb77e62a0c1a0bb8d36fc0bda7b242af4
data/lib/errors/errors.rb CHANGED
@@ -84,4 +84,11 @@ module SDM
84
84
  super(msg, 8)
85
85
  end
86
86
  end
87
+
88
+ # UnknownError is a generic wrapper that indicates an unknown internal error in the SDK
89
+ class UnknownError < RPCError
90
+ def initialize(msg)
91
+ super(msg, 2)
92
+ end
93
+ end
87
94
  end
data/lib/grpc/plumbing.rb CHANGED
@@ -659,6 +659,7 @@ module SDM
659
659
  if plumbing.user != nil
660
660
  return convert_user_to_porcelain(plumbing.user)
661
661
  end
662
+ raise UnknownError.new("unknown polymorphic type, please upgrade your SDK")
662
663
  end
663
664
  def self.convert_repeated_account_to_plumbing(porcelains)
664
665
  items = Array.new
@@ -4513,6 +4514,7 @@ module SDM
4513
4514
  if plumbing.relay != nil
4514
4515
  return convert_relay_to_porcelain(plumbing.relay)
4515
4516
  end
4517
+ raise UnknownError.new("unknown polymorphic type, please upgrade your SDK")
4516
4518
  end
4517
4519
  def self.convert_repeated_node_to_plumbing(porcelains)
4518
4520
  items = Array.new
@@ -5963,6 +5965,7 @@ module SDM
5963
5965
  if plumbing.teradata != nil
5964
5966
  return convert_teradata_to_porcelain(plumbing.teradata)
5965
5967
  end
5968
+ raise UnknownError.new("unknown polymorphic type, please upgrade your SDK")
5966
5969
  end
5967
5970
  def self.convert_repeated_resource_to_plumbing(porcelains)
5968
5971
  items = Array.new
@@ -6643,6 +6646,7 @@ module SDM
6643
6646
  if plumbing.vault_token != nil
6644
6647
  return convert_vault_token_store_to_porcelain(plumbing.vault_token)
6645
6648
  end
6649
+ raise UnknownError.new("unknown polymorphic type, please upgrade your SDK")
6646
6650
  end
6647
6651
  def self.convert_repeated_secret_store_to_plumbing(porcelains)
6648
6652
  items = Array.new
@@ -7441,7 +7445,7 @@ module SDM
7441
7445
  end
7442
7446
  def self.convert_error_to_porcelain(err)
7443
7447
  if not err.is_a? GRPC::BadStatus
7444
- return RPCError.new(err, 2) # Unknown
7448
+ return UnknownError.new(err.message)
7445
7449
  end
7446
7450
 
7447
7451
  if err.code == 4
data/lib/strongdm.rb CHANGED
@@ -29,7 +29,7 @@ module SDM #:nodoc:
29
29
  DEFAULT_BASE_RETRY_DELAY = 0.0030 # 30 ms
30
30
  DEFAULT_MAX_RETRY_DELAY = 300 # 300 seconds
31
31
  API_VERSION = "2021-08-23"
32
- USER_AGENT = "strongdm-sdk-ruby/3.5.4"
32
+ USER_AGENT = "strongdm-sdk-ruby/3.5.5"
33
33
  private_constant :DEFAULT_MAX_RETRIES, :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :API_VERSION, :USER_AGENT
34
34
 
35
35
  # Creates a new strongDM API client.
data/lib/version CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "3.5.4"
16
+ VERSION = "3.5.5"
17
17
  end
data/lib/version.rb CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "3.5.4"
16
+ VERSION = "3.5.5"
17
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strongdm
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.4
4
+ version: 3.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - strongDM Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-15 00:00:00.000000000 Z
11
+ date: 2022-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -79,8 +79,8 @@ files:
79
79
  - "./.git/logs/HEAD"
80
80
  - "./.git/logs/refs/heads/master"
81
81
  - "./.git/logs/refs/remotes/origin/HEAD"
82
- - "./.git/objects/pack/pack-a5b4e02cbc1c08b531cebf199d6368c7d3de1b49.idx"
83
- - "./.git/objects/pack/pack-a5b4e02cbc1c08b531cebf199d6368c7d3de1b49.pack"
82
+ - "./.git/objects/pack/pack-ebefa28012a8f08cd83ed884ef22b6c72831eb2a.idx"
83
+ - "./.git/objects/pack/pack-ebefa28012a8f08cd83ed884ef22b6c72831eb2a.pack"
84
84
  - "./.git/packed-refs"
85
85
  - "./.git/refs/heads/master"
86
86
  - "./.git/refs/remotes/origin/HEAD"