aws-spec-etl 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/aws-spec-etl.gemspec +1 -1
- data/lib/aws/spec/etl/version.rb +1 -1
- data/lib/spec_rb_transformer.rb +13 -3
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 50dc50c7d2d718b81511a0aa54e7bd0810f27a67
|
4
|
+
data.tar.gz: 9f8d702204ab54f26e49e94eee7665c155d71885
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0ed8267ac4935999f8a2361b90b2a10384a656288fbf0c73edc41b7c0de1df2a4286a7da96109d88f8c5090f1dc678168430a931211b16c9246eab99f0c1fe8
|
7
|
+
data.tar.gz: 0fe595e231cc617f0f629205bca898cd111c1b95498ef9890db8cc807d097492b561db34cde639bf6fa03fb9b64f4ee2264954ad487783aeafd457ea7512417a
|
data/aws-spec-etl.gemspec
CHANGED
@@ -38,7 +38,7 @@ Gem::Specification.new do |spec|
|
|
38
38
|
spec.require_paths = ['lib']
|
39
39
|
|
40
40
|
spec.add_development_dependency 'activesupport'
|
41
|
-
spec.add_development_dependency 'bundler'
|
41
|
+
spec.add_development_dependency 'bundler'
|
42
42
|
spec.add_development_dependency 'minitest', '~> 5.0'
|
43
43
|
spec.add_development_dependency 'rake', '~> 10.0'
|
44
44
|
end
|
data/lib/aws/spec/etl/version.rb
CHANGED
data/lib/spec_rb_transformer.rb
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative 'file_sieve'
|
4
|
-
require_relative 'matches'
|
2
|
+
#
|
5
3
|
require 'active_support'
|
6
4
|
require 'active_support/core_ext'
|
5
|
+
require 'pathname'
|
6
|
+
require_relative 'file_sieve'
|
7
|
+
require_relative 'matches'
|
8
|
+
|
7
9
|
|
8
10
|
# Transform a generated spec.rb file for running
|
9
11
|
class SpecRbTransformer
|
@@ -19,6 +21,14 @@ class SpecRbTransformer
|
|
19
21
|
@described = false
|
20
22
|
end
|
21
23
|
|
24
|
+
# Clear out the last run
|
25
|
+
def clear_last_run(root_dir)
|
26
|
+
Pathname.new(root_dir).children.select { |c| c.directory? }.collect { |p| p.to_s }.each do |dir|
|
27
|
+
next unless dir.include?("_test_")
|
28
|
+
FileUtils.remove_dir(dir)
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
22
32
|
def transform
|
23
33
|
@sieve.found_files.each {|file|
|
24
34
|
parse_environment_tag_from_test_file(file)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-spec-etl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bradley Atkins
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: minitest
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
version: '0'
|
145
145
|
requirements: []
|
146
146
|
rubyforge_project:
|
147
|
-
rubygems_version: 2.
|
147
|
+
rubygems_version: 2.6.8
|
148
148
|
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: Refactor tests generated by awspec generate
|