bashcov 1.3.0 → 1.3.1

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
  SHA1:
3
- metadata.gz: f2fc246b18fc2cbae42869d11c95270f5a5343b4
4
- data.tar.gz: a82eae685fd50447bc27e5fe73eff1ff48513f1d
3
+ metadata.gz: 3681e4625478878ae7c5a9438d92c4e4a7997d4f
4
+ data.tar.gz: 0e3658daf9c4a2826da7df042565f38d56e22327
5
5
  SHA512:
6
- metadata.gz: 1e417c499432768996d30fac933516aa2baa52ac4087eec92d0a36c74b8a8df74d55331a3548e4c8e1f3cef9c80e65c6f2deac5d7d9d3629fedf518a92dff85e
7
- data.tar.gz: e2f657b4097abcc4973ba66d81ec26e00ef29c881d761f0b02f3b5c1f467d3a6d2c0a11075c4c62115859aacfff9ff78e340043cf51ff0d337f2fa77d0d2fcf9
6
+ metadata.gz: 2221d53847bfcfae69bb7594075e864dba7942aa83171ac9a75bd54ae4ded53b5904138a5856fd9e5bb2090910e306a533222bc87867d41fe51ddd4e48dfe2de
7
+ data.tar.gz: 9110bebfcdce140144574f9d64702720a09f727db0562e73202df1ebb71482e57fedfd6d0c1921453da2e16b79bf21eaa294e3a9525d6d751f8170f9d8eafc49
data/CHANGELOG.md CHANGED
@@ -1,7 +1,12 @@
1
- ## Unreleased ([changes](https://github.com/infertux/bashcov/compare/v1.3.0...master))
1
+ ## Unreleased ([changes](https://github.com/infertux/bashcov/compare/v1.3.1...master))
2
2
 
3
3
  * TBD
4
4
 
5
+ ## v1.3.1, 2016-02-19 ([changes](https://github.com/infertux/bashcov/compare/v1.3.0...v1.3.1))
6
+
7
+ * [FEATURE] Add support back for Ruby 2.0.0 until it's officially EOL
8
+ * [BUGFIX] Expand `PS4` variables to empty strings so that Bashcov won't cause scripts to abort when Bash is running under `set -o nounset`
9
+
5
10
  ## v1.3.0, 2016-02-10 ([changes](https://github.com/infertux/bashcov/compare/v1.2.1...v1.3.0))
6
11
 
7
12
  * [FEATURE] Upgrade SimpleCov dependency to 0.11
data/bashcov.gemspec CHANGED
@@ -15,14 +15,15 @@ Gem::Specification.new do |gem|
15
15
  gem.license = "MIT"
16
16
 
17
17
  gem.files = `git ls-files -z`.split("\x0").reject { |f| f.start_with?(".") || f.match(%r{\A(test|spec|features)/}) }
18
- gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
19
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
+ gem.executables = gem.files.grep(%r{\Abin/}).map { |f| File.basename(f) }
20
19
  gem.require_paths = ["lib"]
21
20
 
21
+ gem.required_ruby_version = ">= 2.0.0"
22
+
22
23
  gem.add_dependency "simplecov", "~> 0.11"
23
24
 
24
25
  gem.add_development_dependency "rake"
25
- gem.add_development_dependency "rspec", "~> 3"
26
+ gem.add_development_dependency "rspec"
26
27
  gem.add_development_dependency "guard-rspec"
27
28
  gem.add_development_dependency "rb-inotify"
28
29
  gem.add_development_dependency "cane"
@@ -3,5 +3,5 @@
3
3
  # :nodoc:
4
4
  module Bashcov
5
5
  # Current Bashcov version
6
- VERSION = "1.3.0"
6
+ VERSION = "1.3.1"
7
7
  end
@@ -19,7 +19,7 @@ module Bashcov
19
19
 
20
20
  # [Array<String>] A collection of Bash internal variables to expand in the
21
21
  # {PS4}
22
- FIELDS = %w(${LINENO} ${BASH_SOURCE} ${PWD} ${OLDPWD}).freeze
22
+ FIELDS = %w(${LINENO-} ${BASH_SOURCE-} ${PWD-} ${OLDPWD-}).freeze
23
23
 
24
24
  class << self
25
25
  attr_writer :delimiter, :ps4
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bashcov
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cédric Félizard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-10 00:00:00.000000000 Z
11
+ date: 2016-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simplecov
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '3'
47
+ version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '3'
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: guard-rspec
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -174,7 +174,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
174
174
  requirements:
175
175
  - - ">="
176
176
  - !ruby/object:Gem::Version
177
- version: '0'
177
+ version: 2.0.0
178
178
  required_rubygems_version: !ruby/object:Gem::Requirement
179
179
  requirements:
180
180
  - - ">="