seiton 0.0.7 → 0.0.8

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: 4ca88500e2cb82f72a109df3845003a96aac75a4f70250e048b104ca61312fce
4
- data.tar.gz: 86bebb3172fdbe5fd875be9a1c2f749912c113e560a316dd775de5ccfd5dd205
3
+ metadata.gz: a9066a9f491889c3dded8379e4798f98bc99aee4a1cbae191368a3a6d634cbd9
4
+ data.tar.gz: ef1c4e9809d8393370f01d63f2689f6196a78c9d55c3bc0aea991e67b8e82c0a
5
5
  SHA512:
6
- metadata.gz: 0c7af9bf568841ab95cd4b24582f0f02ec78175fb1ba456c62f5ea921cc465f701b25896ac00c7956d112a3cf25448b1969b93161274fdffc72ae1f29fed9301
7
- data.tar.gz: de0b4787a22a0fe405ca28b3f38ee98c0d588482b419ce1c8d8b5f9f94a690fe181755e8e1aeb7323a940d04f3c88b27edeb97e1cb8f08e34aac2a75b9cb103b
6
+ metadata.gz: bb4074b6a8fc4b5fe520c0a174d54395773d21399c36b5185e6763588183238fbf373f5cdf54a284f06311d9072d4e6c8548fb1850147d6adaa226e3d1ad4031
7
+ data.tar.gz: f8f37955bffacf1fc3b6f18be5b619d1c0654ab6e8b676036d8d11a862eab404d9236f5f34532286003f82306dd69fb47f2de60a38dfdf646aaddfc3c2033ec1
@@ -7,14 +7,14 @@ module Seiton
7
7
  end
8
8
 
9
9
  def self.create_directory
10
- puts 'Create check directory...'
11
- FileUtils.mkdir_p('check') unless FileTest.exist?('check')
10
+ puts 'Create spec directory...'
11
+ FileUtils.mkdir_p('spec') unless FileTest.exist?('spec')
12
12
  spec_helper = <<~SPEC_HELPER
13
13
  require 'awspec'
14
14
  Awsecrets.load(secrets_path: File.expand_path('./secrets.yml', File.dirname(__FILE__)))
15
15
  SPEC_HELPER
16
16
 
17
- File.open('check/spec_helper.rb', 'w') do |f|
17
+ File.open('spec/spec_helper.rb', 'w') do |f|
18
18
  f.puts(spec_helper)
19
19
  end
20
20
  end
@@ -30,7 +30,7 @@ require 'logger'
30
30
  namespace :check do
31
31
  targets1 = []
32
32
  targets2 = []
33
- Dir.glob(['./spec/*', './check/*']).each do |file|
33
+ Dir.glob(['./spec/*']).each do |file|
34
34
  target = File.basename(file)
35
35
  if target.include?('_spec.rb') then
36
36
  targets1 << File.basename(target, '_spec.rb')
@@ -44,7 +44,7 @@ namespace :check do
44
44
 
45
45
  RSpec::Core::RakeTask.new(target.to_sym) do |t|
46
46
  # t.rspec_opts = ["--format documentation", "--format html", "--out ./result_html/\#{target}_result.html"]
47
- t.rspec_opts = ["--format documentation", "--format html", "--out ./result_html/\#{target}_result.html"]
47
+ t.rspec_opts = ["--format documentation"]
48
48
  t.pattern = "spec/\#{target}_spec.rb"
49
49
  t.verbose = true
50
50
  end if target != 'ec2_snapshot'
@@ -55,7 +55,7 @@ namespace :check do
55
55
  task target.to_sym do
56
56
  log.info('Check that ' + target + ' has been deleted.')
57
57
  resouces = []
58
- File.open('./check/' + target + '_list.txt', "r") do |f|
58
+ File.open('./spec/' + target + '_list.txt', "r") do |f|
59
59
  f.each_line do |line|
60
60
  resouces << line.chomp
61
61
  end
@@ -1,3 +1,3 @@
1
1
  module Seiton
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.require_paths = ["lib"]
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 2.1.4"
24
- spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_dependency "rake", "~> 10.0"
25
25
  spec.add_dependency 'thor'
26
26
  spec.add_dependency 'aws-sdk'
27
27
  spec.add_dependency 'terminal-table'
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.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - inokappa
@@ -31,7 +31,7 @@ dependencies:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
- type: :development
34
+ type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements: