aws_log_cleaner 0.1.3 → 0.1.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: e0253331366894b4b77ece9c5d7bc1fd3d9d652f
4
- data.tar.gz: 00cd865249540f4268a55303f748e4a15e6a6127
3
+ metadata.gz: 5712cc5575b552cb87dc9a16380e5bf0e0a905e2
4
+ data.tar.gz: f54f4af93b751d371418e883c40e1e6ae5a43127
5
5
  SHA512:
6
- metadata.gz: 3534b15480fb89f62168e5800c791303c26fa5fb54f8dd8a0a347637d91d39fe85d4798a2cdad8651c157253a90b2f048048c3fceed6b363cfc28b816d5dba52
7
- data.tar.gz: 9fc84b6ade388df9e2449ad368990b4ee14254d26df212c5906e5085977aacf5bbcb99998818ec09fe763f2ee33c3cc7fb77a1fd820d3857211d266e99ab6fac
6
+ metadata.gz: d6de8cb2fcd74b10541b5dd5667e291025e85ea30de6ec6f774d33c5fb810d13f21bcd14ffebc12717b0287bea3acabbdeaba8bf19cb0d9b71f5038c0fa0a662
7
+ data.tar.gz: 3f64bac239a3516a583bda3ec9f43134e9a1875aad726a0647965a056e05c2b3af1e56c264cec98e580a61695ad75d231d262c41ea1162c167ff786e8987712e
data/Gemfile.lock CHANGED
@@ -1,3 +1,10 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ aws_log_cleaner (0.1.3)
5
+ aws-sdk (~> 2.9.25)
6
+ colorize (~> 0.8.1)
7
+
1
8
  GEM
2
9
  remote: https://rubygems.org/
3
10
  remote: http://vbuartifactory.vistaprint.svc/artifactory/api/gems/gems-release-local/
@@ -7,16 +14,20 @@ GEM
7
14
  artifactory (~> 2.2.0)
8
15
  vp_rake_core (~> 0.9.44)
9
16
  asciidoctor (0.1.4)
10
- aws-sdk (2.9.25)
11
- aws-sdk-resources (= 2.9.25)
12
- aws-sdk-core (2.9.25)
17
+ aws-sdk (2.9.44)
18
+ aws-sdk-resources (= 2.9.44)
19
+ aws-sdk-core (2.9.44)
13
20
  aws-sigv4 (~> 1.0)
14
21
  jmespath (~> 1.0)
15
- aws-sdk-resources (2.9.25)
16
- aws-sdk-core (= 2.9.25)
22
+ aws-sdk-resources (2.9.44)
23
+ aws-sdk-core (= 2.9.44)
17
24
  aws-sigv4 (1.0.0)
18
25
  colorize (0.8.1)
19
26
  diff-lcs (1.3)
27
+ facter (2.4.6-x64-mingw32)
28
+ ffi (~> 1.9.5)
29
+ win32-dir (~> 0.4.8)
30
+ win32-security (~> 0.2.5)
20
31
  facter (2.4.6-x86-mingw32)
21
32
  ffi (~> 1.9.5)
22
33
  win32-dir (~> 0.4.8)
@@ -27,6 +38,7 @@ GEM
27
38
  faraday_middleware (0.10.1)
28
39
  faraday (>= 0.7.4, < 1.0)
29
40
  fast_gettext (1.1.0)
41
+ ffi (1.9.18-x64-mingw32)
30
42
  ffi (1.9.18-x86-mingw32)
31
43
  ffi-win32-extensions (1.0.3)
32
44
  ffi
@@ -51,6 +63,17 @@ GEM
51
63
  minitar (0.5.4)
52
64
  multi_json (1.12.1)
53
65
  multipart-post (2.0.0)
66
+ puppet (3.7.5-x64-mingw32)
67
+ facter (> 1.6, < 3)
68
+ ffi (~> 1.9.5)
69
+ hiera (~> 1.0)
70
+ json_pure
71
+ minitar (~> 0.5.4)
72
+ win32-dir (~> 0.4.9)
73
+ win32-eventlog (~> 0.6.1)
74
+ win32-process (~> 0.7.4)
75
+ win32-security (~> 0.2.5)
76
+ win32-service (~> 0.8.6)
54
77
  puppet (3.7.5-x86-mingw32)
55
78
  facter (> 1.6, < 3)
56
79
  ffi (~> 1.9.5)
@@ -69,7 +92,7 @@ GEM
69
92
  gettext-setup (~> 0.11)
70
93
  minitar
71
94
  semantic_puppet (~> 0.1.0)
72
- rake (12.0.0)
95
+ rake (10.5.0)
73
96
  rspec (3.6.0)
74
97
  rspec-core (~> 3.6.0)
75
98
  rspec-expectations (~> 3.6.0)
@@ -125,13 +148,15 @@ GEM
125
148
  win32console (1.3.2-x86-mingw32)
126
149
 
127
150
  PLATFORMS
151
+ x64-mingw32
128
152
  x86-mingw32
129
153
 
130
154
  DEPENDENCIES
131
- aws-sdk (~> 2.9.25)
132
- colorize (~> 0.8.1)
133
- rspec
155
+ aws_log_cleaner!
156
+ bundler (~> 1.13)
157
+ rake (~> 10.0)
158
+ rspec (~> 3.6.0)
134
159
  vp_devkit_dotnet
135
160
 
136
161
  BUNDLED WITH
137
- 1.13.6
162
+ 1.15.1
data/bin/aws_log_cleaner CHANGED
@@ -45,14 +45,14 @@ if args[:help] || (!args[:plan] && !args[:delete])
45
45
  exit
46
46
  end
47
47
 
48
- like = args[:like].nil? ? '' : args[:like]
48
+ like = args[:like].nil? ? '' : args[:like].downcase
49
49
 
50
50
  log_cleaner = \
51
51
  AwsLogCleaner::AwsLogCleaner.new(args[:access_key], args[:secret], args[:region])
52
52
 
53
53
  if args[:plan]
54
54
  puts "== PLAN MODE ==\n\n"
55
-
55
+
56
56
  result = log_cleaner.plan(like)
57
57
 
58
58
  puts "Found #{result.count} item(s) to remove\n\n"
@@ -1,3 +1,3 @@
1
1
  module AwsLogCleaner
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws_log_cleaner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - dbaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-14 00:00:00.000000000 Z
11
+ date: 2017-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  version: '0'
130
130
  requirements: []
131
131
  rubyforge_project:
132
- rubygems_version: 2.6.8
132
+ rubygems_version: 2.6.12
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: Clean up lambda and API Gateway logs in AWS that contain a search term in