specinfra 2.24.1 → 2.24.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 049ed8535b25cb5425d626dbad0d219d1198c904
4
- data.tar.gz: fd516a1b0c88126d8a8cd27329df0502ddba283c
3
+ metadata.gz: 13a5592e8b5efed7685e1b48360901f91cf048cc
4
+ data.tar.gz: 768c899780b0c52b35cee4562055ad154e4c424b
5
5
  SHA512:
6
- metadata.gz: 61a34df9b84a72bf6027e02d7c8a41cbf1d41cc6766c4b4cf93fd31299fa3f0591367bc3c4abe8aac7b1977e1ff65fc201a8fd3f86787a41144c9f7691e51c5f
7
- data.tar.gz: 7a54e2da5d2f8b8ae4086a93e0df57e137717231723d73d1795d761bf5b7987e7a7dfd1a0510a6a2d058a906ea2f7d447ad972000ab3097fb0489d2ad7fbf0ca
6
+ metadata.gz: 0cb1d7080ee1880b3ebefe804456909a2aba9658bba3878a5dc46480682c8d35ca81d5984eaf3944ab7fcf40c8579b6ec84cbe0efe27044035cf438439fb8076
7
+ data.tar.gz: d3afc9012dcda128d3c8382dd95c614156d133b411bbc2d6b30bc82ee1318142ca8de294ff5d8632c4711ee20389a29a9d5e327cde27cf00f6df9dc766e89fb6
data/lib/specinfra.rb CHANGED
@@ -23,6 +23,10 @@ module Specinfra
23
23
  def backend
24
24
  type = Specinfra.configuration.backend
25
25
  if type.nil?
26
+ if Specinfra.configuration.error_on_missing_backend_type
27
+ raise "No backend type is specified."
28
+ end
29
+
26
30
  warn "No backend type is specified. Fall back to :exec type."
27
31
  type = :exec
28
32
  end
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.24.1"
2
+ VERSION = "2.24.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specinfra
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.24.1
4
+ version: 2.24.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita