awspec 1.5.3 → 1.5.4
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 +4 -4
- data/README.md +2 -2
- data/doc/resource_types.md +2 -2
- data/lib/awspec/generator/spec/cloudwatch_alarm.rb +1 -0
- data/lib/awspec/stub/cloudwatch_alarm.rb +1 -0
- data/lib/awspec/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3dd1f87ab2d0a77198490a1c4d7ce2f6ecfec3a
|
4
|
+
data.tar.gz: ca66b94b12692232f78f2afe0da625f87929da18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f11b9587a7753c5adf5051b87f3a9dba108cabbb12b02494f08f2fa1114e7ab0ff64fa79c3879151698ab446edadf01994340953b5722d1e700219b88be0e1d9
|
7
|
+
data.tar.gz: d8bc3088a66e3a0777e0a183ee0de1fd3fea80652a2bfbe6659592884c9773e8e9d0f035862d65251571ef659239fab69345cac77d41648a29d632e477281c52
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# awspec [](https://rubygems.org/gems/awspec) [](https://travis-ci.org/k1LoW/awspec) [](https://scrutinizer-ci.com/g/k1LoW/awspec/)
|
1
|
+
# awspec [](https://rubygems.org/gems/awspec) [](https://travis-ci.org/k1LoW/awspec) [](https://scrutinizer-ci.com/g/k1LoW/awspec/)
|
2
2
|
|
3
3
|

|
4
4
|
|
@@ -31,7 +31,7 @@ Or install it yourself as:
|
|
31
31
|
If you're starting on a fresh RSpec project, you can use awspec to generate your init files:
|
32
32
|
|
33
33
|
$ awspec init
|
34
|
-
|
34
|
+
|
35
35
|
If you're working on an exisitng RSpec project, you will need to add the following lines to your `spec_helper.rb` file:
|
36
36
|
|
37
37
|
```ruby
|
data/doc/resource_types.md
CHANGED
@@ -986,7 +986,7 @@ describe ecs_service('my-ecs-service') do
|
|
986
986
|
end
|
987
987
|
```
|
988
988
|
|
989
|
-
### its(:service_arn), its(:service_name), its(:cluster_arn), its(:load_balancers), its(:service_registries), its(:status), its(:desired_count), its(:running_count), its(:pending_count), its(:launch_type), its(:platform_version), its(:task_definition), its(:role_arn), its(:created_at), its(:placement_constraints), its(:placement_strategy), its(:network_configuration), its(:health_check_grace_period_seconds)
|
989
|
+
### its(:service_arn), its(:service_name), its(:cluster_arn), its(:load_balancers), its(:service_registries), its(:status), its(:desired_count), its(:running_count), its(:pending_count), its(:launch_type), its(:platform_version), its(:task_definition), its(:role_arn), its(:created_at), its(:placement_constraints), its(:placement_strategy), its(:network_configuration), its(:health_check_grace_period_seconds), its(:scheduling_strategy)
|
990
990
|
## <a name="ecs_task_definition">ecs_task_definition</a>
|
991
991
|
|
992
992
|
ECS Task Definition resource type.
|
@@ -2152,7 +2152,7 @@ end
|
|
2152
2152
|
```
|
2153
2153
|
|
2154
2154
|
|
2155
|
-
### its(:vpc_id), its(:db_instance_identifier), its(:db_instance_class), its(:engine), its(:db_instance_status), its(:master_username), its(:db_name), its(:endpoint), its(:allocated_storage), its(:instance_create_time), its(:preferred_backup_window), its(:backup_retention_period), its(:db_security_groups), its(:availability_zone), its(:preferred_maintenance_window), its(:pending_modified_values), its(:latest_restorable_time), its(:multi_az), its(:engine_version), its(:auto_minor_version_upgrade), its(:read_replica_source_db_instance_identifier), its(:read_replica_db_instance_identifiers), its(:read_replica_db_cluster_identifiers), its(:license_model), its(:iops), its(:character_set_name), its(:secondary_availability_zone), its(:publicly_accessible), its(:status_infos), its(:storage_type), its(:tde_credential_arn), its(:db_instance_port), its(:db_cluster_identifier), its(:storage_encrypted), its(:kms_key_id), its(:dbi_resource_id), its(:ca_certificate_identifier), its(:domain_memberships), its(:copy_tags_to_snapshot), its(:monitoring_interval), its(:enhanced_monitoring_resource_arn), its(:monitoring_role_arn), its(:promotion_tier), its(:db_instance_arn), its(:timezone), its(:iam_database_authentication_enabled), its(:performance_insights_enabled), its(:performance_insights_kms_key_id), its(:enabled_cloudwatch_logs_exports)
|
2155
|
+
### its(:vpc_id), its(:db_instance_identifier), its(:db_instance_class), its(:engine), its(:db_instance_status), its(:master_username), its(:db_name), its(:endpoint), its(:allocated_storage), its(:instance_create_time), its(:preferred_backup_window), its(:backup_retention_period), its(:db_security_groups), its(:availability_zone), its(:preferred_maintenance_window), its(:pending_modified_values), its(:latest_restorable_time), its(:multi_az), its(:engine_version), its(:auto_minor_version_upgrade), its(:read_replica_source_db_instance_identifier), its(:read_replica_db_instance_identifiers), its(:read_replica_db_cluster_identifiers), its(:license_model), its(:iops), its(:character_set_name), its(:secondary_availability_zone), its(:publicly_accessible), its(:status_infos), its(:storage_type), its(:tde_credential_arn), its(:db_instance_port), its(:db_cluster_identifier), its(:storage_encrypted), its(:kms_key_id), its(:dbi_resource_id), its(:ca_certificate_identifier), its(:domain_memberships), its(:copy_tags_to_snapshot), its(:monitoring_interval), its(:enhanced_monitoring_resource_arn), its(:monitoring_role_arn), its(:promotion_tier), its(:db_instance_arn), its(:timezone), its(:iam_database_authentication_enabled), its(:performance_insights_enabled), its(:performance_insights_kms_key_id), its(:enabled_cloudwatch_logs_exports), its(:processor_features)
|
2156
2156
|
### :unlock: Advanced use
|
2157
2157
|
|
2158
2158
|
`rds` can use `Aws::RDS::DBInstance` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/RDS/DBInstance.html).
|
@@ -28,6 +28,7 @@ describe cloudwatch_alarm('<%= alarm.alarm_name %>') do
|
|
28
28
|
its(:period) { should eq <%= alarm.period %> }
|
29
29
|
its(:unit) { should eq '<%= alarm.unit %>' }
|
30
30
|
its(:evaluation_periods) { should eq <%= alarm.evaluation_periods %> }
|
31
|
+
its(:datapoints_to_alarm) { should eq <%= alarm.datapoints_to_alarm %> }
|
31
32
|
its(:threshold) { should eq <%= alarm.threshold %> }
|
32
33
|
its(:comparison_operator) { should eq '<%= alarm.comparison_operator %>' }
|
33
34
|
end
|
data/lib/awspec/version.rb
CHANGED
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.5.
|
4
|
+
version: 1.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- k1LoW
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -612,7 +612,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
612
612
|
version: '0'
|
613
613
|
requirements: []
|
614
614
|
rubyforge_project:
|
615
|
-
rubygems_version: 2.
|
615
|
+
rubygems_version: 2.6.14
|
616
616
|
signing_key:
|
617
617
|
specification_version: 4
|
618
618
|
summary: RSpec tests for your AWS resources.
|