awspec 1.5.3 → 1.5.4

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
  SHA1:
3
- metadata.gz: 612b8feb9bcabc485e720db0464a3303241bd28a
4
- data.tar.gz: '01717679fe98783f79f982c964986164392720b0'
3
+ metadata.gz: d3dd1f87ab2d0a77198490a1c4d7ce2f6ecfec3a
4
+ data.tar.gz: ca66b94b12692232f78f2afe0da625f87929da18
5
5
  SHA512:
6
- metadata.gz: b7708c1249aad0cfe5f1bd63277feac89fa4fbde08be5a380f6a6067d52a141c0cd173cdb6d50b40f6df61fbccfcdcf9df6454f5b41ea7e4e950d7e85e8a42cc
7
- data.tar.gz: ee6f48066a3390607337b37f9243ced44c83612f989bc603dadd41fe55afa08a9aa0d25dd8ea4dab20b829d91541563a48bba0f3f6595b2ddc9b65b76e1f0082
6
+ metadata.gz: f11b9587a7753c5adf5051b87f3a9dba108cabbb12b02494f08f2fa1114e7ab0ff64fa79c3879151698ab446edadf01994340953b5722d1e700219b88be0e1d9
7
+ data.tar.gz: d8bc3088a66e3a0777e0a183ee0de1fd3fea80652a2bfbe6659592884c9773e8e9d0f035862d65251571ef659239fab69345cac77d41648a29d632e477281c52
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # awspec [![Gem](https://img.shields.io/gem/v/awspec.svg)](https://rubygems.org/gems/awspec) [![Travis](https://img.shields.io/travis/k1LoW/awspec.svg)](https://travis-ci.org/k1LoW/awspec) [![Scrutinizer](https://img.shields.io/scrutinizer/g/k1LoW/awspec.svg)](https://scrutinizer-ci.com/g/k1LoW/awspec/) [![Gemnasium](https://img.shields.io/gemnasium/k1LoW/awspec.svg)](https://gemnasium.com/k1LoW/awspec)
1
+ # awspec [![Gem](https://img.shields.io/gem/v/awspec.svg)](https://rubygems.org/gems/awspec) [![Travis](https://img.shields.io/travis/k1LoW/awspec.svg)](https://travis-ci.org/k1LoW/awspec) [![Scrutinizer](https://img.shields.io/scrutinizer/g/k1LoW/awspec.svg)](https://scrutinizer-ci.com/g/k1LoW/awspec/)
2
2
 
3
3
  ![Logo](./awspec-logo.png)
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
@@ -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
@@ -30,6 +30,7 @@ Aws.config[:cloudwatch] = {
30
30
  period: 300,
31
31
  unit: 'Seconds',
32
32
  evaluation_periods: 1,
33
+ datapoints_to_alarm: 1,
33
34
  threshold: 5.0,
34
35
  comparison_operator: 'LessThanOrEqualToThreshold'
35
36
  }
@@ -1,3 +1,3 @@
1
1
  module Awspec
2
- VERSION = '1.5.3'
2
+ VERSION = '1.5.4'
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.5.3
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-02 00:00:00.000000000 Z
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.5.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.