aws_recon 0.2.3 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac6fae11753e715682d656eba8c922267831fe7324d9a44bd96296543cf9653e
4
- data.tar.gz: 900bf49cc999b1fd9d227067609ad85c3b6a462886156c94e7dfb5d5e1c0a982
3
+ metadata.gz: 0ea30bb9feaa68c1aa5a90c8888ff341f6d67f38f7a113a43d80cadfc25e6ec1
4
+ data.tar.gz: 7c417745acb025337f8f9d1843691acc37569bacdaf83e6d5423a218c9af6eae
5
5
  SHA512:
6
- metadata.gz: 6c76cf3f96cbf58501c61861361be27e76cc95e1c60cf83ae141d2e4aa0a4d12efe7ed9b1dae74094fff2a5a157a2d17a49ef37ecc471de7f985156b4228e608
7
- data.tar.gz: 93341c804a9daf7c4f849927ff429a34b72af74acdbe741e324829e938d01aa805550e7a41b0aeeeb68c2dc80ec37e14cb83e7c5ef1f9406c7c94815eca6757e
6
+ metadata.gz: e9eb11461d22069eb2f26da22dece1ad3d641d253b7aa231b107807e3d001fa86e5049b50d9ee2b9df4052519935d156bed2dfddef15caf24e6f94ed9948394b
7
+ data.tar.gz: 9e311bddbd3632829c109815ef6ff8a65eff147a855eaae347147b2af301d33c5837c9423536c119058a6af0864cf4ffd02a599b6d98f51a0193fdbf5a71ae9e
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aws_recon (0.2.2)
4
+ aws_recon (0.2.3)
5
5
  aws-sdk (~> 3.0)
6
6
  parallel (~> 1.19)
7
7
 
@@ -12,7 +12,7 @@ require 'aws-sdk'
12
12
  require 'aws_recon/options.rb'
13
13
  require 'aws_recon/lib/mapper.rb'
14
14
  require 'aws_recon/lib/formatter.rb'
15
- require 'aws_recon/collectors/collectors.rb'
15
+ require 'aws_recon/collectors.rb'
16
16
 
17
17
  require 'aws_recon/version'
18
18
  require 'aws_recon/aws_recon'
@@ -0,0 +1,2 @@
1
+ # require all collectors
2
+ Dir[File.join(__dir__, 'collectors', '*.rb')].each { |file| require file }
@@ -1,6 +1,5 @@
1
1
  class Lambda < Mapper
2
2
  def collect
3
- service = self.class.to_s.downcase
4
3
  resources = []
5
4
 
6
5
  #
@@ -1,3 +1,3 @@
1
1
  module AwsRecon
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
data/readme.md CHANGED
@@ -227,23 +227,27 @@ One of the primary motivations for AWS Recon was to build a tool that is easy to
227
227
 
228
228
  ### Development
229
229
 
230
- Clone this repository, then install the required gems using `bundle`:
230
+ Clone this repository:
231
231
 
232
232
  ```
233
233
  $ git clone git@github.com:darkbitio/aws-recon.git
234
234
  $ cd aws-recon
235
- $ bundle
236
- ...
237
- Using aws-sdk-core 3.103.0
238
- ...
239
- Bundle complete! 5 Gemfile dependencies, 259 gems now installed.
240
- Use `bundle info [gemname]` to see where a bundled gem is installed.
241
235
  ```
242
236
 
237
+ Create a sticky gemset if using RVM:
238
+
239
+ ```
240
+ $ rvm use 2.6.5@aws_recon_dev --create --ruby-version
241
+ ```
242
+
243
+ Run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
244
+
245
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
246
+
243
247
  ### TODO
244
248
 
245
249
  - [ ] Optionally suppress AWS API errors instead of re-raising them
246
- - [ ] Package as a gem
250
+ - [x] Package as a gem
247
251
  - [ ] Test coverage with AWS SDK stubbed resources
248
252
 
249
253
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws_recon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Larsen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-08-11 00:00:00.000000000 Z
12
+ date: 2020-08-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk
@@ -150,8 +150,6 @@ extra_rdoc_files: []
150
150
  files:
151
151
  - ".gitignore"
152
152
  - ".rubocop.yml"
153
- - ".ruby-gemset"
154
- - ".ruby-version"
155
153
  - ".travis.yml"
156
154
  - Gemfile
157
155
  - Gemfile.lock
@@ -163,6 +161,7 @@ files:
163
161
  - bin/setup
164
162
  - lib/aws_recon.rb
165
163
  - lib/aws_recon/aws_recon.rb
164
+ - lib/aws_recon/collectors.rb
166
165
  - lib/aws_recon/collectors/acm.rb
167
166
  - lib/aws_recon/collectors/apigateway.rb
168
167
  - lib/aws_recon/collectors/apigatewayv2.rb
@@ -175,7 +174,6 @@ files:
175
174
  - lib/aws_recon/collectors/cloudwatchlogs.rb
176
175
  - lib/aws_recon/collectors/codebuild.rb
177
176
  - lib/aws_recon/collectors/codepipeline.rb
178
- - lib/aws_recon/collectors/collectors.rb
179
177
  - lib/aws_recon/collectors/configservice.rb
180
178
  - lib/aws_recon/collectors/directconnect.rb
181
179
  - lib/aws_recon/collectors/directyservice.rb
@@ -221,7 +219,6 @@ files:
221
219
  - lib/aws_recon/services.yaml
222
220
  - lib/aws_recon/version.rb
223
221
  - readme.md
224
- - readme_gem.md
225
222
  homepage: https://github.com/darkbitio/aws-recon
226
223
  licenses:
227
224
  - MIT
@@ -1,2 +0,0 @@
1
- # require all collectors
2
- Dir[File.join(__dir__, '*.rb')].each { |file| require file }
@@ -1,39 +0,0 @@
1
- # AwsRecon
2
-
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/aws_recon`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
6
-
7
- ## Installation
8
-
9
- Add this line to your application's Gemfile:
10
-
11
- ```ruby
12
- gem 'aws_recon'
13
- ```
14
-
15
- And then execute:
16
-
17
- $ bundle
18
-
19
- Or install it yourself as:
20
-
21
- $ gem install aws_recon
22
-
23
- ## Usage
24
-
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
-
33
- ## Contributing
34
-
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/aws_recon.
36
-
37
- ## License
38
-
39
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).