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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9d5513c560f711b0d5c9474d7ed49d572cf9d0d9333518cf49f7a4182639053
4
- data.tar.gz: b1a9e1cdec67822a63707b524145ae14d71eb43c29b96a7990a553724d76c1b0
3
+ metadata.gz: 5b1ae9a2d6899c5b2b5017f9cef164d078472d35491c6adf80aae8fb78792ca3
4
+ data.tar.gz: 56fbc87ba41e92a0f4995fda8a6637e653d65f207b21909da6c5a6648af3e9d9
5
5
  SHA512:
6
- metadata.gz: 28c66c575ee2fdde038c6614f424093860c18894e85b32f481023256f2a0625db382041675bf3a5d45153024061b206cf8c2d1838daaa179c87e7140cf70ea41
7
- data.tar.gz: ee03f6b8c706838059c1cb0f614c50aa23baafbc9ad256df763167abb055a7b7924af02690f6b3eba187a2e796e17478a4b91314e8d9396c13b3ab697c8be2a5
6
+ metadata.gz: a06cb2f21b274762fa470f2157adb23df042aeea89ad5ff041129d23b69f3c27035d03a9383f39dd59c174c547c3345c8d415fe794deab0a81fd73987f3d6a38
7
+ data.tar.gz: b51d138e4141d4ff0c94d814a4afcab6d98ab3a9d3cd908b4adfd1b94219d64af67e6a208fa890972d0fd2e38c825d1e4ffadce364e1c2daf25d2f519e6f903a
@@ -17,8 +17,7 @@ end
17
17
  <%- end -%>
18
18
  <% end %>
19
19
  EOF
20
- FileUtils.mkdir_p("check") unless FileTest.exist?("check")
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
- FileUtils.mkdir_p("check") unless FileTest.exist?("check")
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
- FileUtils.mkdir_p("check") unless FileTest.exist?("check")
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
- FileUtils.mkdir_p("check") unless FileTest.exist?("check")
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
- FileUtils.mkdir_p("check") unless FileTest.exist?("check")
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
@@ -11,8 +11,7 @@ ignore|<%= resouce.db_cluster_snapshot_identifier %>
11
11
  <%- end -%>
12
12
  <% end %>
13
13
  EOF
14
- FileUtils.mkdir_p("check") unless FileTest.exist?("check")
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
@@ -17,8 +17,7 @@ end
17
17
  <%- end -%>
18
18
  <% end %>
19
19
  EOF
20
- FileUtils.mkdir_p("check") unless FileTest.exist?("check")
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
@@ -1,3 +1,3 @@
1
1
  module Seiton
2
- VERSION = "0.0.9"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seiton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - inokappa