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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 7e87175c5c9edd062b2773f1baa26fe916a6bd9ae8da2e069afe8519f413bbba
4
- data.tar.gz: 142add9848f375cac263ad9fa0fb41f2c1735332ed080d097526804b5777985e
2
+ SHA1:
3
+ metadata.gz: 50dc50c7d2d718b81511a0aa54e7bd0810f27a67
4
+ data.tar.gz: 9f8d702204ab54f26e49e94eee7665c155d71885
5
5
  SHA512:
6
- metadata.gz: c0fcbdcafdb41ccdff28557b5843c4fa011e06c40f5497acb75521045e625fe6509603a1d4e90841204f0e8bc216909d4aae808da741b8c20e096e3a09b47d24
7
- data.tar.gz: 978e093b54dd4f93e895522ccd57079b914d559884514e89773314a557718eb72a2a0806f09030229e81930b5135de434915b83fa2dcbce57eae796ab3941d3d
6
+ metadata.gz: c0ed8267ac4935999f8a2361b90b2a10384a656288fbf0c73edc41b7c0de1df2a4286a7da96109d88f8c5090f1dc678168430a931211b16c9246eab99f0c1fe8
7
+ data.tar.gz: 0fe595e231cc617f0f629205bca898cd111c1b95498ef9890db8cc807d097492b561db34cde639bf6fa03fb9b64f4ee2264954ad487783aeafd457ea7512417a
@@ -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', '~> 1.17'
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
@@ -1,7 +1,7 @@
1
1
  module Aws
2
2
  module Spec
3
3
  module Etl
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
6
6
  end
7
7
  end
@@ -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.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: 2018-12-04 00:00:00.000000000 Z
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: '1.17'
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: '1.17'
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.7.8
147
+ rubygems_version: 2.6.8
148
148
  signing_key:
149
149
  specification_version: 4
150
150
  summary: Refactor tests generated by awspec generate