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 +4 -4
- data/lib/seiton/init.rb +6 -6
- data/lib/seiton/version.rb +1 -1
- data/seiton.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9066a9f491889c3dded8379e4798f98bc99aee4a1cbae191368a3a6d634cbd9
|
4
|
+
data.tar.gz: ef1c4e9809d8393370f01d63f2689f6196a78c9d55c3bc0aea991e67b8e82c0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb4074b6a8fc4b5fe520c0a174d54395773d21399c36b5185e6763588183238fbf373f5cdf54a284f06311d9072d4e6c8548fb1850147d6adaa226e3d1ad4031
|
7
|
+
data.tar.gz: f8f37955bffacf1fc3b6f18be5b619d1c0654ab6e8b676036d8d11a862eab404d9236f5f34532286003f82306dd69fb47f2de60a38dfdf646aaddfc3c2033ec1
|
data/lib/seiton/init.rb
CHANGED
@@ -7,14 +7,14 @@ module Seiton
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def self.create_directory
|
10
|
-
puts 'Create
|
11
|
-
FileUtils.mkdir_p('
|
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('
|
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/*'
|
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"
|
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('./
|
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
|
data/lib/seiton/version.rb
CHANGED
data/seiton.gemspec
CHANGED
@@ -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.
|
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.
|
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: :
|
34
|
+
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|