train-aws 0.1.12 → 0.1.13

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
  SHA256:
3
- metadata.gz: f12716bfe83d525bf3283209f86ff9d94dbf6bb236d008f4755d7da1e5826c1b
4
- data.tar.gz: 36181b6c56d09e996efc4c22020a9c5559e60472152ddb101b898e71b72f84c4
3
+ metadata.gz: bf4e898eda7790289764b5835d7ae09877230522fa4aeb4aa06e1e3dccff3ee4
4
+ data.tar.gz: f057138d670ced493a23986a787d7c696104f84268e23d7baecd75e0c4c68c55
5
5
  SHA512:
6
- metadata.gz: af8a97cbf3101d0800e20cfc5722f3841fb8fcd07823a52eb8d91ad56f6c2d94db3d46c9c4135ca13e311f632e3aacbd45d2b97f413544582e5c70c83e45d333
7
- data.tar.gz: c2697ec2c1f4ac129f80acac20c1a37d6a7bc5612796724f44efd1b209c25be9a4d9e7f9825c9b93142d87ab4a24dc4a9c6393b8b8fc7486fcfd73b2e9443ce4
6
+ metadata.gz: 2bd755d69452f994ddeba7b382349fb2a674f33e4364a6455abed87604c9f30135a5424eb7b3865b1727ad19b0e05c5c30593dbfe0561f347a00f157e208c683
7
+ data.tar.gz: 7226903726417ffdbd321c3a8e22fa3678a3309196ece079e81d17577a4e644057a98b8581b5be5ca218d915ebcf451a49b9dd2c71a424841e28cc1e92c3fbf5
data/LICENSE ADDED
@@ -0,0 +1,13 @@
1
+ Copyright (c) 2018 Chef Software Inc.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
@@ -76,6 +76,7 @@ module TrainPlugins
76
76
  # We support caching on the aws_client call, but not the aws_resource call
77
77
  def aws_client(klass)
78
78
  return klass.new unless cache_enabled?(:api_call)
79
+
79
80
  @cache[:api_call][klass.to_s.to_sym] ||= klass.new
80
81
  end
81
82
 
@@ -5,6 +5,6 @@
5
5
 
6
6
  module TrainPlugins
7
7
  module Aws
8
- VERSION = "0.1.12".freeze
8
+ VERSION = "0.1.13".freeze
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: train-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef InSpec Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-31 00:00:00.000000000 Z
11
+ date: 2019-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-apigateway
@@ -662,13 +662,12 @@ executables: []
662
662
  extensions: []
663
663
  extra_rdoc_files: []
664
664
  files:
665
- - Gemfile
665
+ - LICENSE
666
666
  - lib/train-aws.rb
667
667
  - lib/train-aws/connection.rb
668
668
  - lib/train-aws/platform.rb
669
669
  - lib/train-aws/transport.rb
670
670
  - lib/train-aws/version.rb
671
- - train-aws.gemspec
672
671
  homepage: https://github.com/inspec/train-aws
673
672
  licenses:
674
673
  - Apache-2.0
data/Gemfile DELETED
@@ -1,16 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec
4
-
5
- gem "train-core", "~> 3.0"
6
-
7
- group :development do
8
- gem "pry"
9
- gem "bundler"
10
- gem "byebug"
11
- gem "minitest"
12
- gem "mocha"
13
- gem "m"
14
- gem "rake"
15
- gem "chefstyle"
16
- end
@@ -1,226 +0,0 @@
1
- # As plugins are usually packaged and distributed as a RubyGem,
2
- # we have to provide a .gemspec file, which controls the gembuild
3
- # and publish process. This is a fairly generic gemspec.
4
-
5
- # It is traditional in a gemspec to dynamically load the current version
6
- # from a file in the source tree. The next three lines make that happen.
7
- lib = File.expand_path("../lib", __FILE__)
8
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
9
- require "train-aws/version"
10
-
11
- Gem::Specification.new do |spec|
12
- # Importantly, all Train plugins must be prefixed with `train-`
13
- spec.name = "train-aws"
14
-
15
- # It is polite to namespace your plugin under InspecPlugins::YourPluginInCamelCase
16
- spec.version = TrainPlugins::Aws::VERSION
17
- spec.authors = ["Chef InSpec Team"]
18
- spec.email = ["inspec@chef.io"]
19
- spec.summary = "AWS API Transport for Train"
20
- spec.description = "Allows applications using Train to speak to AWS; handles authentication, cacheing, and SDK dependency management."
21
- spec.homepage = "https://github.com/inspec/train-aws"
22
- spec.license = "Apache-2.0"
23
-
24
- # Though complicated-looking, this is pretty standard for a gemspec.
25
- # It just filters what will actually be packaged in the gem (leaving
26
- # out tests, etc)
27
- spec.files = %w{
28
- train-aws.gemspec Gemfile
29
- } + Dir.glob(
30
- "lib/**/*", File::FNM_DOTMATCH
31
- ).reject { |f| File.directory?(f) }
32
- spec.require_paths = ["lib"]
33
-
34
- # If you rely on any other gems, list them here with any constraints.
35
- # This is how `inspec plugin install` is able to manage your dependencies.
36
-
37
- # If you only need certain gems during development or testing, list
38
- # them in Gemfile, not here.
39
-
40
- # Do not list inspec as a dependency of a train plugin.
41
- # Do not list train as a dependency of a train plugin.
42
-
43
- # spec.add_dependency "aws-sdk-acm", "~> 1"
44
- # spec.add_dependency "aws-sdk-acmpca", "~> 1"
45
- # spec.add_dependency "aws-sdk-alexaforbusiness", "~> 1"
46
- # spec.add_dependency "aws-sdk-amplify", "~> 1"
47
- spec.add_dependency "aws-sdk-apigateway", "~> 1"
48
- # spec.add_dependency "aws-sdk-apigatewaymanagementapi", "~> 1"
49
- spec.add_dependency "aws-sdk-apigatewayv2", "~> 1"
50
- # spec.add_dependency "aws-sdk-applicationautoscaling", "~> 1"
51
- # spec.add_dependency "aws-sdk-applicationdiscoveryservice", "~> 1"
52
- # spec.add_dependency "aws-sdk-applicationinsights", "~> 1"
53
- # spec.add_dependency "aws-sdk-appmesh", "~> 1"
54
- # spec.add_dependency "aws-sdk-appstream", "~> 1"
55
- # spec.add_dependency "aws-sdk-appsync", "~> 1"
56
- spec.add_dependency "aws-sdk-athena", "~> 1"
57
- spec.add_dependency "aws-sdk-autoscaling", "~> 1.22.0"
58
- # spec.add_dependency "aws-sdk-autoscalingplans", "~> 1"
59
- # spec.add_dependency "aws-sdk-backup", "~> 1"
60
- # spec.add_dependency "aws-sdk-batch", "~> 1"
61
- spec.add_dependency "aws-sdk-budgets", "~> 1"
62
- # spec.add_dependency "aws-sdk-chime", "~> 1"
63
- # spec.add_dependency "aws-sdk-cloud9", "~> 1"
64
- # spec.add_dependency "aws-sdk-clouddirectory", "~> 1"
65
- spec.add_dependency "aws-sdk-cloudformation", "~> 1"
66
- # spec.add_dependency "aws-sdk-cloudfront", "~> 1"
67
- spec.add_dependency "aws-sdk-cloudhsm", "~> 1"
68
- spec.add_dependency "aws-sdk-cloudhsmv2", "~> 1"
69
- # spec.add_dependency "aws-sdk-cloudsearch", "~> 1"
70
- # spec.add_dependency "aws-sdk-cloudsearchdomain", "~> 1"
71
- spec.add_dependency "aws-sdk-cloudtrail", "~> 1.8"
72
- spec.add_dependency "aws-sdk-cloudwatch", "~> 1.13"
73
- # spec.add_dependency "aws-sdk-cloudwatchevents", "~> 1"
74
- spec.add_dependency "aws-sdk-cloudwatchlogs", "~> 1.13"
75
- # spec.add_dependency "aws-sdk-codebuild", "~> 1"
76
- spec.add_dependency "aws-sdk-codecommit", "~> 1"
77
- spec.add_dependency "aws-sdk-codedeploy", "~> 1"
78
- spec.add_dependency "aws-sdk-codepipeline", "~> 1"
79
- # spec.add_dependency "aws-sdk-codestar", "~> 1"
80
- # spec.add_dependency "aws-sdk-cognitoidentity", "~> 1"
81
- # spec.add_dependency "aws-sdk-cognitoidentityprovider", "~> 1"
82
- # spec.add_dependency "aws-sdk-cognitosync", "~> 1"
83
- # spec.add_dependency "aws-sdk-comprehend", "~> 1"
84
- # spec.add_dependency "aws-sdk-comprehendmedical", "~> 1"
85
- spec.add_dependency "aws-sdk-configservice", "~> 1.21"
86
- spec.add_dependency "aws-sdk-core", "~> 3.0"
87
- spec.add_dependency "aws-sdk-costandusagereportservice", "~> 1.6"
88
- # spec.add_dependency "aws-sdk-costexplorer", "~> 1"
89
- # spec.add_dependency "aws-sdk-databasemigrationservice", "~> 1"
90
- # spec.add_dependency "aws-sdk-datapipeline", "~> 1"
91
- # spec.add_dependency "aws-sdk-datasync", "~> 1"
92
- # spec.add_dependency "aws-sdk-dax", "~> 1"
93
- # spec.add_dependency "aws-sdk-devicefarm", "~> 1"
94
- # spec.add_dependency "aws-sdk-directconnect", "~> 1"
95
- # spec.add_dependency "aws-sdk-directoryservice", "~> 1"
96
- # spec.add_dependency "aws-sdk-dlm", "~> 1"
97
- # spec.add_dependency "aws-sdk-docdb", "~> 1"
98
- spec.add_dependency "aws-sdk-dynamodb", "~> 1.31"
99
- # spec.add_dependency "aws-sdk-dynamodbstreams", "~> 1"
100
- spec.add_dependency "aws-sdk-ec2", "~> 1.70"
101
- # spec.add_dependency "aws-sdk-ec2instanceconnect", "~> 1"
102
- spec.add_dependency "aws-sdk-ecr", "~> 1.18"
103
- spec.add_dependency "aws-sdk-ecs", "~> 1.30"
104
- # spec.add_dependency "aws-sdk-efs", "~> 1"
105
- spec.add_dependency "aws-sdk-eks", "~> 1.9"
106
- spec.add_dependency "aws-sdk-elasticache", "~> 1"
107
- spec.add_dependency "aws-sdk-elasticbeanstalk", "~> 1"
108
- spec.add_dependency "aws-sdk-elasticloadbalancing", "~> 1.8"
109
- spec.add_dependency "aws-sdk-elasticloadbalancingv2", "~> 1"
110
- spec.add_dependency "aws-sdk-elasticsearchservice", "~> 1"
111
- # spec.add_dependency "aws-sdk-elastictranscoder", "~> 1"
112
- # spec.add_dependency "aws-sdk-emr", "~> 1"
113
- spec.add_dependency "aws-sdk-firehose", "~> 1"
114
- # spec.add_dependency "aws-sdk-fms", "~> 1"
115
- # spec.add_dependency "aws-sdk-fsx", "~> 1"
116
- # spec.add_dependency "aws-sdk-gamelift", "~> 1"
117
- # spec.add_dependency "aws-sdk-glacier", "~> 1"
118
- # spec.add_dependency "aws-sdk-globalaccelerator", "~> 1"
119
- # spec.add_dependency "aws-sdk-glue", "~> 1"
120
- # spec.add_dependency "aws-sdk-greengrass", "~> 1"
121
- # spec.add_dependency "aws-sdk-groundstation", "~> 1"
122
- # spec.add_dependency "aws-sdk-guardduty", "~> 1"
123
- # spec.add_dependency "aws-sdk-health", "~> 1"
124
- spec.add_dependency "aws-sdk-iam", "~> 1.13"
125
- # spec.add_dependency "aws-sdk-importexport", "~> 1"
126
- # spec.add_dependency "aws-sdk-inspector", "~> 1"
127
- # spec.add_dependency "aws-sdk-iot", "~> 1"
128
- # spec.add_dependency "aws-sdk-iot1clickdevicesservice", "~> 1"
129
- # spec.add_dependency "aws-sdk-iot1clickprojects", "~> 1"
130
- # spec.add_dependency "aws-sdk-iotanalytics", "~> 1"
131
- # spec.add_dependency "aws-sdk-iotdataplane", "~> 1"
132
- # spec.add_dependency "aws-sdk-iotevents", "~> 1"
133
- # spec.add_dependency "aws-sdk-ioteventsdata", "~> 1"
134
- # spec.add_dependency "aws-sdk-iotjobsdataplane", "~> 1"
135
- # spec.add_dependency "aws-sdk-iotthingsgraph", "~> 1"
136
- spec.add_dependency "aws-sdk-kafka", "~> 1"
137
- spec.add_dependency "aws-sdk-kinesis", "~> 1"
138
- # spec.add_dependency "aws-sdk-kinesisanalytics", "~> 1"
139
- # spec.add_dependency "aws-sdk-kinesisanalyticsv2", "~> 1"
140
- # spec.add_dependency "aws-sdk-kinesisvideo", "~> 1"
141
- # spec.add_dependency "aws-sdk-kinesisvideoarchivedmedia", "~> 1"
142
- # spec.add_dependency "aws-sdk-kinesisvideomedia", "~> 1"
143
- spec.add_dependency "aws-sdk-kms", "~> 1.13"
144
- spec.add_dependency "aws-sdk-lambda", "~> 1"
145
- # spec.add_dependency "aws-sdk-lambdapreview", "~> 1"
146
- # spec.add_dependency "aws-sdk-lex", "~> 1"
147
- # spec.add_dependency "aws-sdk-lexmodelbuildingservice", "~> 1"
148
- # spec.add_dependency "aws-sdk-licensemanager", "~> 1"
149
- # spec.add_dependency "aws-sdk-lightsail", "~> 1"
150
- # spec.add_dependency "aws-sdk-machinelearning", "~> 1"
151
- # spec.add_dependency "aws-sdk-macie", "~> 1"
152
- # spec.add_dependency "aws-sdk-managedblockchain", "~> 1"
153
- # spec.add_dependency "aws-sdk-marketplacecommerceanalytics", "~> 1"
154
- # spec.add_dependency "aws-sdk-marketplaceentitlementservice", "~> 1"
155
- # spec.add_dependency "aws-sdk-marketplacemetering", "~> 1"
156
- # spec.add_dependency "aws-sdk-mediaconnect", "~> 1"
157
- # spec.add_dependency "aws-sdk-mediaconvert", "~> 1"
158
- # spec.add_dependency "aws-sdk-medialive", "~> 1"
159
- # spec.add_dependency "aws-sdk-mediapackage", "~> 1"
160
- # spec.add_dependency "aws-sdk-mediapackagevod", "~> 1"
161
- # spec.add_dependency "aws-sdk-mediastore", "~> 1"
162
- # spec.add_dependency "aws-sdk-mediastoredata", "~> 1"
163
- # spec.add_dependency "aws-sdk-mediatailor", "~> 1"
164
- # spec.add_dependency "aws-sdk-migrationhub", "~> 1"
165
- # spec.add_dependency "aws-sdk-mobile", "~> 1"
166
- # spec.add_dependency "aws-sdk-mq", "~> 1"
167
- # spec.add_dependency "aws-sdk-mturk", "~> 1"
168
- # spec.add_dependency "aws-sdk-neptune", "~> 1"
169
- # spec.add_dependency "aws-sdk-opsworks", "~> 1"
170
- # spec.add_dependency "aws-sdk-opsworkscm", "~> 1"
171
- spec.add_dependency "aws-sdk-organizations", "~> 1.17.0"
172
- # spec.add_dependency "aws-sdk-personalize", "~> 1"
173
- # spec.add_dependency "aws-sdk-personalizeevents", "~> 1"
174
- # spec.add_dependency "aws-sdk-personalizeruntime", "~> 1"
175
- # spec.add_dependency "aws-sdk-pi", "~> 1"
176
- # spec.add_dependency "aws-sdk-pinpoint", "~> 1"
177
- # spec.add_dependency "aws-sdk-pinpointemail", "~> 1"
178
- # spec.add_dependency "aws-sdk-pinpointsmsvoice", "~> 1"
179
- # spec.add_dependency "aws-sdk-polly", "~> 1"
180
- # spec.add_dependency "aws-sdk-pricing", "~> 1"
181
- # spec.add_dependency "aws-sdk-quicksight", "~> 1"
182
- # spec.add_dependency "aws-sdk-ram", "~> 1"
183
- spec.add_dependency "aws-sdk-rds", "~> 1.43"
184
- # spec.add_dependency "aws-sdk-rdsdataservice", "~> 1"
185
- spec.add_dependency "aws-sdk-redshift", "~> 1"
186
- # spec.add_dependency "aws-sdk-rekognition", "~> 1"
187
- # spec.add_dependency "aws-sdk-resourcegroups", "~> 1"
188
- # spec.add_dependency "aws-sdk-resourcegroupstaggingapi", "~> 1"
189
- # spec.add_dependency "aws-sdk-robomaker", "~> 1"
190
- spec.add_dependency "aws-sdk-route53", "~> 1"
191
- spec.add_dependency "aws-sdk-route53domains", "~> 1"
192
- spec.add_dependency "aws-sdk-route53resolver", "~> 1"
193
- spec.add_dependency "aws-sdk-s3", "~> 1.30"
194
- # spec.add_dependency "aws-sdk-s3control", "~> 1"
195
- # spec.add_dependency "aws-sdk-sagemaker", "~> 1"
196
- # spec.add_dependency "aws-sdk-sagemakerruntime", "~> 1"
197
- # spec.add_dependency "aws-sdk-secretsmanager", "~> 1"
198
- spec.add_dependency "aws-sdk-securityhub", "~> 1"
199
- # spec.add_dependency "aws-sdk-serverlessapplicationrepository", "~> 1"
200
- # spec.add_dependency "aws-sdk-servicecatalog", "~> 1"
201
- # spec.add_dependency "aws-sdk-servicediscovery", "~> 1"
202
- # spec.add_dependency "aws-sdk-servicequotas", "~> 1"
203
- spec.add_dependency "aws-sdk-ses", "~> 1"
204
- # spec.add_dependency "aws-sdk-shield", "~> 1"
205
- # spec.add_dependency "aws-sdk-signer", "~> 1"
206
- # spec.add_dependency "aws-sdk-simpledb", "~> 1"
207
- spec.add_dependency "aws-sdk-sms", "~> 1"
208
- # spec.add_dependency "aws-sdk-snowball", "~> 1"
209
- spec.add_dependency "aws-sdk-sns", "~> 1.9"
210
- spec.add_dependency "aws-sdk-sqs", "~> 1.10"
211
- spec.add_dependency "aws-sdk-ssm", "~> 1"
212
- # spec.add_dependency "aws-sdk-states", "~> 1"
213
- # spec.add_dependency "aws-sdk-storagegateway", "~> 1"
214
- # spec.add_dependency "aws-sdk-support", "~> 1"
215
- # spec.add_dependency "aws-sdk-swf", "~> 1"
216
- # spec.add_dependency "aws-sdk-textract", "~> 1"
217
- # spec.add_dependency "aws-sdk-transcribeservice", "~> 1"
218
- # spec.add_dependency "aws-sdk-transcribestreamingservice", "~> 1"
219
- # spec.add_dependency "aws-sdk-transfer", "~> 1"
220
- # spec.add_dependency "aws-sdk-translate", "~> 1"
221
- # spec.add_dependency "aws-sdk-waf", "~> 1"
222
- # spec.add_dependency "aws-sdk-wafregional", "~> 1"
223
- # spec.add_dependency "aws-sdk-workdocs", "~> 1"
224
- # spec.add_dependency "aws-sdk-worklink", "~> 1"
225
- # spec.add_dependency "aws-sdk-workmail", "~> 1"
226
- end