seiton 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/seiton/ec2_check.rb +5 -10
- data/lib/seiton/rds_check.rb +1 -2
- data/lib/seiton/sqs_check.rb +1 -2
- data/lib/seiton/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b1ae9a2d6899c5b2b5017f9cef164d078472d35491c6adf80aae8fb78792ca3
|
4
|
+
data.tar.gz: 56fbc87ba41e92a0f4995fda8a6637e653d65f207b21909da6c5a6648af3e9d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a06cb2f21b274762fa470f2157adb23df042aeea89ad5ff041129d23b69f3c27035d03a9383f39dd59c174c547c3345c8d415fe794deab0a81fd73987f3d6a38
|
7
|
+
data.tar.gz: b51d138e4141d4ff0c94d814a4afcab6d98ab3a9d3cd908b4adfd1b94219d64af67e6a208fa890972d0fd2e38c825d1e4ffadce364e1c2daf25d2f519e6f903a
|
data/lib/seiton/ec2_check.rb
CHANGED
@@ -17,8 +17,7 @@ end
|
|
17
17
|
<%- end -%>
|
18
18
|
<% end %>
|
19
19
|
EOF
|
20
|
-
|
21
|
-
File.open("check/" + "ec2_instance_spec.rb", "w") do |file|
|
20
|
+
File.open("spec/" + "ec2_instance_spec.rb", "w") do |file|
|
22
21
|
file.puts "require 'spec_helper'"
|
23
22
|
file.puts ERB.new(template, nil, "-").result(binding).gsub(/^\n/, "")
|
24
23
|
end
|
@@ -32,8 +31,7 @@ describe ebs("<%= resource.volume_id %>") do
|
|
32
31
|
end
|
33
32
|
<% end %>
|
34
33
|
EOF
|
35
|
-
|
36
|
-
File.open("check/" + "ec2_volumes_spec.rb", "w") do |file|
|
34
|
+
File.open("spec/" + "ec2_volumes_spec.rb", "w") do |file|
|
37
35
|
file.puts "require 'spec_helper'"
|
38
36
|
file.puts ERB.new(template, nil, "-").result(binding).gsub(/^\n/, "")
|
39
37
|
end
|
@@ -56,8 +54,7 @@ end
|
|
56
54
|
<%- end -%>
|
57
55
|
<% end %>
|
58
56
|
EOF
|
59
|
-
|
60
|
-
File.open("check/" + "ec2_images_spec.rb", "w") do |file|
|
57
|
+
File.open("spec/" + "ec2_images_spec.rb", "w") do |file|
|
61
58
|
file.puts "require 'spec_helper'"
|
62
59
|
file.puts ERB.new(template, nil, "-").result(binding).gsub(/^\n/, "")
|
63
60
|
end
|
@@ -69,8 +66,7 @@ EOF
|
|
69
66
|
<%= resource.snapshot_id %>
|
70
67
|
<% end %>
|
71
68
|
EOF
|
72
|
-
|
73
|
-
File.open("check/" + "ec2_snapshots_list.txt", "w") do |file|
|
69
|
+
File.open("spec/" + "ec2_snapshots_list.txt", "w") do |file|
|
74
70
|
file.puts ERB.new(template, nil, "-").result(binding).gsub(/^\n/, "")
|
75
71
|
end
|
76
72
|
end
|
@@ -92,8 +88,7 @@ end
|
|
92
88
|
<%- end -%>
|
93
89
|
<% end %>
|
94
90
|
EOF
|
95
|
-
|
96
|
-
File.open("check/" + "ec2_eips_spec.rb", "w") do |file|
|
91
|
+
File.open("spec/" + "ec2_eips_spec.rb", "w") do |file|
|
97
92
|
file.puts "require 'spec_helper'"
|
98
93
|
file.puts ERB.new(template, nil, "-").result(binding).gsub(/^\n/, "")
|
99
94
|
end
|
data/lib/seiton/rds_check.rb
CHANGED
@@ -11,8 +11,7 @@ ignore|<%= resouce.db_cluster_snapshot_identifier %>
|
|
11
11
|
<%- end -%>
|
12
12
|
<% end %>
|
13
13
|
EOF
|
14
|
-
|
15
|
-
File.open("check/" + "db_snapshots_list.txt", "w") do |file|
|
14
|
+
File.open("spec/" + "db_snapshots_list.txt", "w") do |file|
|
16
15
|
file.puts ERB.new(template, nil, "-").result(binding).gsub(/^\n/, "")
|
17
16
|
end
|
18
17
|
end
|
data/lib/seiton/sqs_check.rb
CHANGED
@@ -17,8 +17,7 @@ end
|
|
17
17
|
<%- end -%>
|
18
18
|
<% end %>
|
19
19
|
EOF
|
20
|
-
|
21
|
-
File.open("check/" + "sqs_queue_spec.rb", "w") do |file|
|
20
|
+
File.open("spec/" + "sqs_queue_spec.rb", "w") do |file|
|
22
21
|
file.puts "require 'spec_helper'"
|
23
22
|
file.puts ERB.new(template, nil, "-").result(binding).gsub(/^\n/, "")
|
24
23
|
end
|
data/lib/seiton/version.rb
CHANGED