vaultkit 1.0.5 → 1.0.6

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: 54539cd71269336d1d6f28ae503e69dde515064cf9691f7765dada484871338c
4
- data.tar.gz: 9673bf91e370801c5b15a773cfa06fddd315ebec3d0d3ca1bf54128757e26ea4
3
+ metadata.gz: c99e29a96bcd6b84bf3de1322b79f256118f5025918ef7573563d66f42ad9b93
4
+ data.tar.gz: bb09e5336124994c39127859bc9cb978b86cb6c4d5a2a610080f608f262f4c6a
5
5
  SHA512:
6
- metadata.gz: 75ed8dfe21acc6a91a58a154fb5c7df2280a3590a0352c89e1f55f093a1cf1d59f367e81097102d5e44483fb82d5cbca2f199508bdd73cb8cc75b694ab46444e
7
- data.tar.gz: c74e3b80643a0887d411ca6e183bf7feabb4adbbb06db405d572c171c3d5d9d8bdc8f136e20e341df3efa37eaf80401b4dbe01d2e4ce12f8dd7818791b10c5cc
6
+ metadata.gz: 1899ddef1628cf6d67e394b5d2c7e616e25a6c17e7ee86c609beff0cf02c8339e2611e2b78a55438312a59e3e51389cf5163e55089efc5a4a498548077837f63
7
+ data.tar.gz: 0a2b23c898735fc6b706549d8e45872bc976a00bc4750843115f3eaf825b587595a40ed5095b72dc57f8c61e292ef489e478754bd92f5459e57aa97bf5048e73
@@ -13,9 +13,6 @@ module Vkit
13
13
  user = require_admin!
14
14
  org = user["organization_slug"]
15
15
 
16
- validate_region!(region)
17
- validate_environment!(environment)
18
-
19
16
  config_hash = config ? JSON.parse(config) : {}
20
17
 
21
18
  response = authenticated_client.post(
@@ -92,18 +89,6 @@ module Vkit
92
89
  }
93
90
  )
94
91
  end
95
-
96
- def validate_region!(region)
97
- unless VALID_REGIONS.include?(region.to_s.upcase)
98
- raise "Invalid region. Must be one of: #{VALID_REGIONS.join(', ')}"
99
- end
100
- end
101
-
102
- def validate_environment!(env)
103
- unless VALID_ENVIRONMENTS.include?(env.to_s)
104
- raise "Invalid environment. Must be one of: #{VALID_ENVIRONMENTS.join(', ')}"
105
- end
106
- end
107
92
  end
108
93
  end
109
94
  end
data/lib/vkit/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Vkit
4
- VERSION = "1.0.5"
4
+ VERSION = "1.0.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vaultkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nnamdi Ogundu