rspec-terraspace 0.3.1 → 0.3.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
2
  SHA256:
3
- metadata.gz: 86b718772c65d61edfd892aab57116ec4414f6302162d59c7369090a2864cd50
4
- data.tar.gz: d27b219c170bd11a122d71ca07f6d06b3f10a3056524f23a4a9a55104b3c8b48
3
+ metadata.gz: 3b24652382c4bd7642216f608a6c09a125a06b8a8387efc455c86a25799d1ac4
4
+ data.tar.gz: ddff030a229f8270e8bd2e9bb84ff9a66df1ee384ab41788ef36c7a547825b90
5
5
  SHA512:
6
- metadata.gz: 7cf1300e159a1bd5be2c0ad59236e889b426a83f955829be294b504981290e3da22a5af83835f8bc5b6dafb780e8350835b4acda49a3aa6f349d50a92b1d8002
7
- data.tar.gz: cd0486c714961d6e4d34e577e2c60b313dcae8112e59affead2a1228588eaf517d5137acbe2cbae9952ded6c9624e0c925fc4f1c221f681ea7c3a91cb5989893
6
+ metadata.gz: 8c2625f88ae1869a308011773366450dc2c58c312442367fdc48e883e85684e14f3434d55c661ffcc8c48e84ff34d19df0120469d7c837ffc7bb97ad120dd836
7
+ data.tar.gz: '023913866e83e5da03ce8090f82bc84ffd6cc7457eab9e43e65cbdf7e960dd71a86c2168665b960a7ba8589f2b3f079b3f0dc1fe9389bf74d11b90fdc8930e4b'
data/CHANGELOG.md CHANGED
@@ -3,6 +3,11 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *tries* to adhere to [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## [0.3.2] - 2022-10-19
7
+ - [#10](https://github.com/boltops-tools/rspec-terraspace/pull/10) Fix for 'detect_type' failing when Dir.pwd returns a path without trailing slash
8
+ - clear logs
9
+ - require ruby 2.6+
10
+
6
11
  ## [0.3.1] - 2021-12-29
7
12
  - [#8](https://github.com/boltops-tools/rspec-terraspace/pull/8) provider autodetection
8
13
 
data/Gemfile CHANGED
@@ -3,8 +3,8 @@ source "https://rubygems.org"
3
3
  # Specify your gem's dependencies in rspec-terraspace.gemspec
4
4
  gemspec
5
5
 
6
- gem "rake", "~> 12.0"
7
- gem "rspec", "~> 3.0"
6
+ gem "rake"
7
+ gem "rspec"
8
8
 
9
9
  group :development, :test do
10
10
  gem "terraspace"
@@ -133,7 +133,7 @@ module RSpec::Terraspace
133
133
  # Returns: modules or stacks
134
134
  def detected_type
135
135
  dir = Dir.pwd
136
- md = dir.match(%r{app/(stacks|modules)/(.*)?/})
136
+ md = dir.match(%r{app/(stacks|modules)/(.*)?/?})
137
137
  md[1]
138
138
  end
139
139
 
@@ -23,12 +23,14 @@ module RSpec::Terraspace
23
23
  end
24
24
 
25
25
  def up(args)
26
+ Terraspace::Logger.clear
26
27
  run("up #{args} -y")
27
28
  mod = args.split(' ').first
28
29
  @mod = ::Terraspace::Mod.new(mod)
29
30
  end
30
31
 
31
32
  def down(args)
33
+ Terraspace::Logger.clear
32
34
  run("down #{args} -y")
33
35
  end
34
36
 
@@ -1,5 +1,5 @@
1
1
  module Rspec
2
2
  module Terraspace
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.summary = "Terraspace RSpec support"
10
10
  spec.homepage = "https://github.com/boltops-tools/rspec-terraspace"
11
11
  spec.license = "Apache-2.0"
12
- spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
12
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
13
13
 
14
14
  # Specify which files should be added to the gem when it is released.
15
15
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-terraspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-29 00:00:00.000000000 Z
11
+ date: 2022-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -132,14 +132,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
132
132
  requirements:
133
133
  - - ">="
134
134
  - !ruby/object:Gem::Version
135
- version: 2.3.0
135
+ version: 2.6.0
136
136
  required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  requirements:
138
138
  - - ">="
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  requirements: []
142
- rubygems_version: 3.2.32
142
+ rubygems_version: 3.3.21
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: Terraspace RSpec support