awspec 1.24.2 → 1.25.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +69 -0
- data/.github/workflows/doc.yml +29 -0
- data/.rubocop.yml +47 -2
- data/Gemfile +2 -0
- data/README.md +1 -3
- data/Rakefile +0 -1
- data/awspec.gemspec +3 -5
- data/doc/_resource_types/cloudwatch_logs.md +9 -0
- data/doc/_resource_types/eks_nodegroup.md +53 -0
- data/doc/resource_types.md +63 -10
- data/lib/awspec/command/generate.rb +1 -1
- data/lib/awspec/generator/spec/cloudwatch_logs.rb +5 -1
- data/lib/awspec/generator/spec/elasticache.rb +43 -0
- data/lib/awspec/generator.rb +1 -0
- data/lib/awspec/helper/finder/ec2.rb +41 -17
- data/lib/awspec/helper/finder/ecs.rb +1 -1
- data/lib/awspec/helper/finder/subnet.rb +123 -20
- data/lib/awspec/matcher/belong_to_subnets.rb +14 -0
- data/lib/awspec/matcher/have_metric_filter.rb +9 -0
- data/lib/awspec/matcher.rb +4 -0
- data/lib/awspec/setup.rb +1 -1
- data/lib/awspec/stub/cloudwatch_logs.rb +2 -1
- data/lib/awspec/stub/eks_nodegroup.rb +61 -1
- data/lib/awspec/stub/elasticsearch.rb +0 -1
- data/lib/awspec/stub/rds_db_parameter_group.rb +8 -0
- data/lib/awspec/stub/sns_topic.rb +15 -8
- data/lib/awspec/stub/sns_topic_error.rb +13 -0
- data/lib/awspec/type/cloudwatch_logs.rb +8 -3
- data/lib/awspec/type/eks_nodegroup.rb +105 -0
- data/lib/awspec/type/rds_db_parameter_group.rb +54 -0
- data/lib/awspec/type/s3_bucket.rb +1 -1
- data/lib/awspec/version.rb +1 -1
- metadata +24 -20
- data/.tachikoma.yml +0 -1
- data/.travis.yml +0 -27
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.25.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- k1LoW
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: addressable
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: aws-sdk
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,20 +136,6 @@ dependencies:
|
|
122
136
|
- - ">="
|
123
137
|
- !ruby/object:Gem::Version
|
124
138
|
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: addressable
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :runtime
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ">="
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: bundler
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -204,14 +204,14 @@ dependencies:
|
|
204
204
|
requirements:
|
205
205
|
- - "~>"
|
206
206
|
- !ruby/object:Gem::Version
|
207
|
-
version: 0.
|
207
|
+
version: 0.57.0
|
208
208
|
type: :development
|
209
209
|
prerelease: false
|
210
210
|
version_requirements: !ruby/object:Gem::Requirement
|
211
211
|
requirements:
|
212
212
|
- - "~>"
|
213
213
|
- !ruby/object:Gem::Version
|
214
|
-
version: 0.
|
214
|
+
version: 0.57.0
|
215
215
|
description: RSpec tests for your AWS resources.
|
216
216
|
email:
|
217
217
|
- k1lowxb@gmail.com
|
@@ -221,9 +221,9 @@ extensions: []
|
|
221
221
|
extra_rdoc_files: []
|
222
222
|
files:
|
223
223
|
- ".editorconfig"
|
224
|
+
- ".github/workflows/ci.yml"
|
225
|
+
- ".github/workflows/doc.yml"
|
224
226
|
- ".rubocop.yml"
|
225
|
-
- ".tachikoma.yml"
|
226
|
-
- ".travis.yml"
|
227
227
|
- Gemfile
|
228
228
|
- LICENSE.txt
|
229
229
|
- README.md
|
@@ -435,6 +435,7 @@ files:
|
|
435
435
|
- lib/awspec/generator/spec/ec2.rb
|
436
436
|
- lib/awspec/generator/spec/efs.rb
|
437
437
|
- lib/awspec/generator/spec/eip.rb
|
438
|
+
- lib/awspec/generator/spec/elasticache.rb
|
438
439
|
- lib/awspec/generator/spec/elasticsearch.rb
|
439
440
|
- lib/awspec/generator/spec/elb.rb
|
440
441
|
- lib/awspec/generator/spec/iam_group.rb
|
@@ -538,6 +539,7 @@ files:
|
|
538
539
|
- lib/awspec/matcher/belong_to_nlb.rb
|
539
540
|
- lib/awspec/matcher/belong_to_replication_group.rb
|
540
541
|
- lib/awspec/matcher/belong_to_subnet.rb
|
542
|
+
- lib/awspec/matcher/belong_to_subnets.rb
|
541
543
|
- lib/awspec/matcher/belong_to_vpc.rb
|
542
544
|
- lib/awspec/matcher/have_attribute_definition.rb
|
543
545
|
- lib/awspec/matcher/have_cluster_parameter_group.rb
|
@@ -549,6 +551,7 @@ files:
|
|
549
551
|
- lib/awspec/matcher/have_inline_policy.rb
|
550
552
|
- lib/awspec/matcher/have_key_policy.rb
|
551
553
|
- lib/awspec/matcher/have_key_schema.rb
|
554
|
+
- lib/awspec/matcher/have_metric_filter.rb
|
552
555
|
- lib/awspec/matcher/have_network_interface.rb
|
553
556
|
- lib/awspec/matcher/have_option_group.rb
|
554
557
|
- lib/awspec/matcher/have_origin.rb
|
@@ -642,6 +645,7 @@ files:
|
|
642
645
|
- lib/awspec/stub/security_group.rb
|
643
646
|
- lib/awspec/stub/ses_identity.rb
|
644
647
|
- lib/awspec/stub/sns_topic.rb
|
648
|
+
- lib/awspec/stub/sns_topic_error.rb
|
645
649
|
- lib/awspec/stub/sqs.rb
|
646
650
|
- lib/awspec/stub/ssm_parameter.rb
|
647
651
|
- lib/awspec/stub/subnet.rb
|
data/.tachikoma.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
strategy: 'bundler'
|
data/.travis.yml
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
---
|
2
|
-
language: ruby
|
3
|
-
env:
|
4
|
-
global:
|
5
|
-
DISABLE_AWS_CLIENT_CHECK: true
|
6
|
-
matrix:
|
7
|
-
include:
|
8
|
-
- rvm: 2.7.3
|
9
|
-
env: RUBYGEMS_VERSION=
|
10
|
-
- rvm: 2.6.2
|
11
|
-
env: RUBYGEMS_VERSION=
|
12
|
-
- rvm: 2.5.3
|
13
|
-
env: RUBYGEMS_VERSION=
|
14
|
-
- rvm: 2.4.5
|
15
|
-
env: RUBYGEMS_VERSION=
|
16
|
-
- rvm: 2.3.8
|
17
|
-
env: RUBYGEMS_VERSION=
|
18
|
-
- rvm: 2.2.10
|
19
|
-
env: RUBYGEMS_VERSION=2.7.8
|
20
|
-
- rvm: 2.1.10
|
21
|
-
env: RUBYGEMS_VERSION=2.7.8
|
22
|
-
before_install:
|
23
|
-
- gem update --system ${RUBYGEMS_VERSION}
|
24
|
-
- gem pristine bundler
|
25
|
-
|
26
|
-
script:
|
27
|
-
- bundle exec rake spec
|