awspec 1.21.0 → 1.21.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: 411e9900b039017d4cb1ab067c512728105934125b959b89556c35a6c6f33e7b
4
- data.tar.gz: df8150172eae082592be40c90e60b1eff367bb372346fc16e65b3ac71b3e9731
3
+ metadata.gz: e80f68b8b745754eb273e3826b3c577fec784d55459f94bc169787768ab45a6a
4
+ data.tar.gz: 6fc0e5ee0ec92981dd60d8f1fc140e3354ca1b5e3f04b4367633369060509d96
5
5
  SHA512:
6
- metadata.gz: ddca46e882fe9e4ee4bae44cc14e624c7d8843615a5334c90ae3b5b83437b58419d27be4d97b4787161613ebd11abaa4e7d3b98585c8fad37df0b53ced71cdd7
7
- data.tar.gz: 80d6f1ea03a390f20f4cb8ff67641aa654a77460dfcd53d5f782d9def3862e3d9186cc9cdd67c1cb312a674a3a81cacd84eb939c383e7ae2afa2de59d9f5a635
6
+ metadata.gz: 0ad3f68adf8e7bdc8664d45d9b63d7252cfcb5ac1dafb3d84acb70b537c79bec3fe86e510052890309509f06e1a5ea1dcc6d943f36f411a059785445126629eb
7
+ data.tar.gz: a27df4bf4b9e4dbf71377d4354e69d5be54831d18839fcbde1e7b77b78a69194eacf46fe886042e43948374b237a455578ca040a5543624d8612b6364e20d119
@@ -1303,7 +1303,7 @@ describe efs('my-efs') do
1303
1303
  end
1304
1304
  ```
1305
1305
 
1306
- ### its(:owner_id), its(:creation_token), its(:file_system_id), its(:creation_time), its(:life_cycle_state), its(:name), its(:number_of_mount_targets), its(:performance_mode), its(:encrypted), its(:kms_key_id), its(:throughput_mode), its(:provisioned_throughput_in_mibps)
1306
+ ### its(:owner_id), its(:creation_token), its(:file_system_id), its(:file_system_arn), its(:creation_time), its(:life_cycle_state), its(:name), its(:number_of_mount_targets), its(:performance_mode), its(:encrypted), its(:kms_key_id), its(:throughput_mode), its(:provisioned_throughput_in_mibps)
1307
1307
  ## <a name="elastic_ip">elastic_ip</a>
1308
1308
 
1309
1309
  Elastic IP resource type.
@@ -2234,7 +2234,7 @@ describe launch_configuration('my-lc') do
2234
2234
  end
2235
2235
  ```
2236
2236
 
2237
- ### its(:launch_configuration_name), its(:launch_configuration_arn), its(:image_id), its(:key_name), its(:security_groups), its(:classic_link_vpc_id), its(:classic_link_vpc_security_groups), its(:user_data), its(:instance_type), its(:kernel_id), its(:ramdisk_id), its(:spot_price), its(:iam_instance_profile), its(:created_time), its(:ebs_optimized), its(:associate_public_ip_address), its(:placement_tenancy)
2237
+ ### its(:launch_configuration_name), its(:launch_configuration_arn), its(:image_id), its(:key_name), its(:security_groups), its(:classic_link_vpc_id), its(:classic_link_vpc_security_groups), its(:user_data), its(:instance_type), its(:kernel_id), its(:ramdisk_id), its(:spot_price), its(:iam_instance_profile), its(:created_time), its(:ebs_optimized), its(:associate_public_ip_address), its(:placement_tenancy), its(:metadata_options)
2238
2238
  ## <a name="launch_template">launch_template</a>
2239
2239
 
2240
2240
  LaunchTemplate resource type.
@@ -2332,7 +2332,7 @@ describe mq('my-mq') do
2332
2332
  end
2333
2333
  ```
2334
2334
 
2335
- ### its(:vpc_id), its(:auto_minor_version_upgrade), its(:broker_arn), its(:broker_id), its(:broker_name), its(:broker_state), its(:created), its(:deployment_mode), its(:encryption_options), its(:engine_type), its(:engine_version), its(:host_instance_type), its(:pending_engine_version), its(:pending_host_instance_type), its(:pending_security_groups), its(:publicly_accessible), its(:security_groups), its(:storage_type), its(:subnet_ids)
2335
+ ### its(:vpc_id), its(:authentication_strategy), its(:auto_minor_version_upgrade), its(:broker_arn), its(:broker_id), its(:broker_name), its(:broker_state), its(:created), its(:deployment_mode), its(:encryption_options), its(:engine_type), its(:engine_version), its(:host_instance_type), its(:ldap_server_metadata), its(:pending_authentication_strategy), its(:pending_engine_version), its(:pending_host_instance_type), its(:pending_ldap_server_metadata), its(:pending_security_groups), its(:publicly_accessible), its(:security_groups), its(:storage_type), its(:subnet_ids)
2336
2336
  ## <a name="msk">msk</a>
2337
2337
 
2338
2338
  Msk resource type.
@@ -3232,7 +3232,7 @@ describe secretsmanager('my-secret') do
3232
3232
  end
3233
3233
  ```
3234
3234
 
3235
- ### its(:arn), its(:name), its(:description), its(:kms_key_id), its(:rotation_enabled), its(:rotation_lambda_arn), its(:last_rotated_date), its(:last_changed_date), its(:last_accessed_date), its(:deleted_date), its(:owning_service)
3235
+ ### its(:arn), its(:name), its(:description), its(:kms_key_id), its(:rotation_enabled), its(:rotation_lambda_arn), its(:last_rotated_date), its(:last_changed_date), its(:last_accessed_date), its(:deleted_date), its(:owning_service), its(:created_date)
3236
3236
  ## <a name="security_group">security_group</a>
3237
3237
 
3238
3238
  SecurityGroup resource type.
@@ -5,6 +5,10 @@ module Awspec::Helper
5
5
  res = ecr_client.describe_repositories(repository_names: [repository_name])
6
6
  res.repositories.first if res.repositories.count == 1
7
7
  end
8
+
9
+ def get_policy_text(repository_name)
10
+ res = ecr_client.get_repository_policy(repository_name: repository_name)[:policy_text]
11
+ end
8
12
  end
9
13
  end
10
14
  end
@@ -14,5 +14,9 @@ module Awspec::Type
14
14
  def id
15
15
  @id ||= resource_via_client.repository_name if resource_via_client
16
16
  end
17
+
18
+ def policy_text
19
+ @policy_text ||= get_policy_text(@display_name)
20
+ end
17
21
  end
18
22
  end
@@ -1,3 +1,3 @@
1
1
  module Awspec
2
- VERSION = '1.21.0'
2
+ VERSION = '1.21.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.0
4
+ version: 1.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - k1LoW
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-04 00:00:00.000000000 Z
11
+ date: 2020-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -753,7 +753,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
753
753
  - !ruby/object:Gem::Version
754
754
  version: '0'
755
755
  requirements: []
756
- rubygems_version: 3.0.6
756
+ rubygems_version: 3.0.3
757
757
  signing_key:
758
758
  specification_version: 4
759
759
  summary: RSpec tests for your AWS resources.